ARM: dts: keystone: k2g: Update dts node for yaml
cover ARM: dts: keystone: k2g: Update dts node for yaml
Hi,
Series of patches to cleanup the dts for k2g to sync the dts with yaml fixups (information provided per patch)
Basic tests performed on k2g-evm. Series has been based on v5.13-rc1 - will be good to get it in the 5.13 window if possible.
Nishanth Menon (4):
ARM: dts: keystone: k2g: Rename message-manager node
ARM: dts: keystone: k2g: Rename the TI-SCI node
ARM: dts: keystone: k2g: Rename the TI-SCI clocks node name
ARM: dts: keystone: k2g-evm: Move audio oscillator assigned clock to
mcasp
arch/arm/boot/dts/keystone-k2g-evm.dts | 11 +++-------- arch/arm/boot/dts/keystone-k2g.dtsi | 6 +++--- 2 files changed, 6 insertions(+), 11 deletions(-)
Signature · 1 line
2.31.0
PATCH RESEND 1/4 ARM: dts: keystone: k2g: Rename message-manager node
Rename message-manager instance node name to be better aligned with current style of device tree nodes for mailboxes.
---
Original patch:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
Change since original patch (subject line update keystone: k2g instead of keystone-k2g)
Schema update:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
arch/arm/boot/dts/keystone-k2g.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/keystone-k2g.dtsi +1 -1
@@ -242,7 +242,7 @@ dsp0: dsp@10800000 { status = "disabled"; }; - msgmgr: msgmgr@2a00000 { + msgmgr: mailbox@2a00000 { compatible = "ti,k2g-message-manager"; #mbox-cells = <2>; reg-names = "queue_proxy_region",
Signature · 1 line
2.31.0
PATCH 2/4 ARM: dts: keystone: k2g: Rename the TI-SCI node
In reply to Nishanth MenonLets rename the node name of TI-SCI node to be system-controller as it is a better standardized name for the function that TI-SCI plays in the SoC.
---
yaml fixup series:
https://lore.kernel.org/linux-arm-kernel/[email protected]
Specific yaml:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
arch/arm/boot/dts/keystone-k2g.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/keystone-k2g.dtsi +1 -1
@@ -254,7 +254,7 @@ msgmgr: mailbox@2a00000 { <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>; }; - pmmc: pmmc@2921c00 { + pmmc: system-controller@2921c00 { compatible = "ti,k2g-sci"; /* * In case of rare platforms that does not use k2g as
Signature · 1 line
2.31.0
PATCH 3/4 ARM: dts: keystone: k2g: Rename the TI-SCI clocks node name
In reply to Nishanth MenonWe currently use clocks as the node name for the node representing TI-SCI clock nodes. This is better renamed to being clock-controller as that is a better representative of the system controller function as a clock controller for the SoC.
---
yaml fixup series:
https://lore.kernel.org/linux-arm-kernel/[email protected]
Specific yaml:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
arch/arm/boot/dts/keystone-k2g.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/keystone-k2g.dtsi +1 -1
@@ -272,7 +272,7 @@ k2g_pds: power-controller { #power-domain-cells = <1>; }; - k2g_clks: clocks { + k2g_clks: clock-controller { compatible = "ti,k2g-sci-clk"; #clock-cells = <2>; };
Signature · 1 line
2.31.0
PATCH 4/4 ARM: dts: keystone: k2g-evm: Move audio oscillator assigned clock to mcasp
In reply to Nishanth MenonSetting assigned clock with a dependency on itself for k2g_clks creates a circular dependency. Instead, Lets model the audio clock as a assigned-clock configuration for mcasp and set it up as the first clock assigned-clock to be satisfied. Following the standard convention, we use null entries to indicate entries that doesn't need to be programmed.
References:
[1] schematics: https://www.ti.com/lit/df/sprr302/sprr302.pdf
[2] TRM: https://www.ti.com/lit/ug/spruhy8i/spruhy8i.pdf
---
yaml fixup series:
https://lore.kernel.org/linux-arm-kernel/[email protected]
Specific yaml:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
arch/arm/boot/dts/keystone-k2g-evm.dts | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)
arch/arm/boot/dts/keystone-k2g-evm.dts +3 -8
@@ -544,20 +544,15 @@ dpi_out: endpoint { }; }; -&k2g_clks { - /* on the board 22.5792MHz is connected to AUDOSC_IN */ - assigned-clocks = <&k2g_clks 0x4c 2>; - assigned-clock-rates = <22579200>; -}; - &mcasp2 { #sound-dai-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&mcasp2_pins>; - assigned-clocks = <&k2g_clks 0x6 1>; - assigned-clock-parents = <&k2g_clks 0x6 2>; + assigned-clocks = <&k2g_clks 0x4c 2>, <&k2g_clks 0x6 1>; + assigned-clock-parents = <0>, <&k2g_clks 0x6 2>; + assigned-clock-rates = <22579200>, <0>; status = "okay";
Signature · 1 line
2.31.0
Quoted 16 lines · Nishanth Menon
Hi,
Series of patches to cleanup the dts for k2g to sync the dts with yaml fixups (information provided per patch)
Basic tests performed on k2g-evm. Series has been based on v5.13-rc1 - will be good to get it in the 5.13 window if possible.
Nishanth Menon (4):
ARM: dts: keystone: k2g: Rename message-manager node
ARM: dts: keystone: k2g: Rename the TI-SCI node
ARM: dts: keystone: k2g: Rename the TI-SCI clocks node name
ARM: dts: keystone: k2g-evm: Move audio oscillator assigned clock to
mcasp
Quoted 4 lines
arch/arm/boot/dts/keystone-k2g-evm.dts | 11 +++-------- arch/arm/boot/dts/keystone-k2g.dtsi | 6 +++--- 2 files changed, 6 insertions(+), 11 deletions(-)
For the whole series: