Message ID | 20240316045442.31469-5-justin.swartz@risingedge.co.za (mailing list archive) |
---|---|
State | Accepted |
Commit | 9938cd312b8f1922b76e9d48a13425d56b597580 |
Headers | show |
Series | mips: dts: ralink: mt7621: improve DTS style | expand |
On 16.03.2024 07:54, Justin Swartz wrote: > Reorder the attributes of the sysc node so that the > ralink prefixed attribute is placed after those which lack > prefixes. > > Signed-off-by: Justin Swartz <justin.swartz@risingedge.co.za> Reviewed-by: Arınç ÜNAL <arinc.unal@arinc9.com> Arınç
On 16/03/2024 05:54, Justin Swartz wrote: > Reorder the attributes of the sysc node so that the > ralink prefixed attribute is placed after those which lack > prefixes. > > Signed-off-by: Justin Swartz <justin.swartz@risingedge.co.za> > --- > arch/mips/boot/dts/ralink/mt7621.dtsi | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi > index 696460b2d..d1d4399d7 100644 > --- a/arch/mips/boot/dts/ralink/mt7621.dtsi > +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi > @@ -68,12 +68,15 @@ palmbus: palmbus@1e000000 { > sysc: syscon@0 { > compatible = "mediatek,mt7621-sysc", "syscon"; > reg = <0x0 0x100>; > + > #clock-cells = <1>; > #reset-cells = <1>; > - ralink,memctl = <&memc>; > + Why do you move properties one-by-one? This is a lot of churn. Fixup entire file in one pass. Best regards, Krzysztof
Il 16/03/24 05:54, Justin Swartz ha scritto: > Reorder the attributes of the sysc node so that the > ralink prefixed attribute is placed after those which lack > prefixes. > > Signed-off-by: Justin Swartz <justin.swartz@risingedge.co.za> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index 696460b2d..d1d4399d7 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -68,12 +68,15 @@ palmbus: palmbus@1e000000 { sysc: syscon@0 { compatible = "mediatek,mt7621-sysc", "syscon"; reg = <0x0 0x100>; + #clock-cells = <1>; #reset-cells = <1>; - ralink,memctl = <&memc>; + clock-output-names = "xtal", "cpu", "bus", "50m", "125m", "150m", "250m", "270m"; + + ralink,memctl = <&memc>; }; wdt: watchdog@100 {
Reorder the attributes of the sysc node so that the ralink prefixed attribute is placed after those which lack prefixes. Signed-off-by: Justin Swartz <justin.swartz@risingedge.co.za> --- arch/mips/boot/dts/ralink/mt7621.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --