[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y/kmj36e4jSfLdVN@makrotopia.org>
Date: Fri, 24 Feb 2023 21:06:17 +0000
From: Daniel Golle <daniel@...rotopia.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: linux-clk@...r.kernel.org, linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
Matthias Brugger <matthias.bgg@...il.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Chen-Yu Tsai <wenst@...omium.org>,
Edward-JW Yang <edward-jw.yang@...iatek.com>,
Johnson Wang <johnson.wang@...iatek.com>,
Chun-Jie Chen <chun-jie.chen@...iatek.com>,
Miles Chen <miles.chen@...iatek.com>,
Sam Shih <sam.shih@...iatek.com>
Subject: Re: [PATCH RFC 1/4] dt-bindings: clock: rename mt7986-clk.h to
mediatek,mt7986-clk.h
On Thu, Feb 23, 2023 at 11:18:37AM +0100, Krzysztof Kozlowski wrote:
> On 22/02/2023 19:09, Daniel Golle wrote:
> > Rename dt-bindings header file mt7986-clk.h to mediatek,mt7986-clk.h,
> > propagate this change also to mt7986a.dtsi which is the only user.
> >
> > Signed-off-by: Daniel Golle <daniel@...rotopia.org>
> > ---
> > arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 2 +-
> > drivers/clk/mediatek/clk-mt7986-infracfg.c | 2 +-
> > drivers/clk/mediatek/clk-mt7986-topckgen.c | 2 +-
> > .../dt-bindings/clock/{mt7986-clk.h => mediatek,mt7986-clk.h} | 0
>
> You cannot have bindings and DTS and drivers mixed together. Which
> points to fact - you cannot make such change... Also your commit msg
> does not justify "why" you are doing it.
The reason is simply consistency with most other SoCs.
So to make such a change possible, I should do it in three steps, right?
Step 1: dt-bindings: copy mt7986-clk.h to mediatek,mt7986-clk.h
Step 2: changes in drivers
Step 3: dt-bindings: remove mt7986-clk.h
Would this change be acceptable if carried out in 3 commits?
And using the same strategy also the other changes suggested in the
series?
Thank you!
Best regards
Daniel
Powered by blists - more mailing lists