2022-12-27 06:10:10

by Dhruva Gole

[permalink] [raw]
Subject: [PATCH] arm64: dts: ti: k3-am62-main: Fix clocks for McSPI

Fixes the clock Device ID's in the DT according to the tisci docs clock
identifiers for AM62x

Signed-off-by: Dhruva Gole <[email protected]>
---

For reference, TISCI Docs: clock id's for AM62
https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/am62x/clocks.html

arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
index 7ad7dd74e079..625e6a004292 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
@@ -418,7 +418,7 @@ main_spi0: spi@20100000 {
#address-cells = <1>;
#size-cells = <0>;
power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>;
- clocks = <&k3_clks 172 0>;
+ clocks = <&k3_clks 141 0>;
};

main_spi1: spi@20110000 {
@@ -428,7 +428,7 @@ main_spi1: spi@20110000 {
#address-cells = <1>;
#size-cells = <0>;
power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
- clocks = <&k3_clks 173 0>;
+ clocks = <&k3_clks 142 0>;
};

main_spi2: spi@20120000 {
@@ -438,7 +438,7 @@ main_spi2: spi@20120000 {
#address-cells = <1>;
#size-cells = <0>;
power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
- clocks = <&k3_clks 174 0>;
+ clocks = <&k3_clks 143 0>;
};

main_gpio_intr: interrupt-controller@a00000 {
--
2.25.1


2022-12-30 17:10:42

by Bryan Brattlof

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: ti: k3-am62-main: Fix clocks for McSPI

On December 27, 2022 thus sayeth Dhruva Gole:
> Fixes the clock Device ID's in the DT according to the tisci docs clock
> identifiers for AM62x
>
> Signed-off-by: Dhruva Gole <[email protected]>
> ---

Good catch!

Reviewed-by: Bryan Brattlof <[email protected]>

~Bryan

2023-01-02 04:16:51

by Vignesh Raghavendra

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: ti: k3-am62-main: Fix clocks for McSPI

Hi Dhruva

On 30/12/22 22:25, Bryan Brattlof wrote:
> On December 27, 2022 thus sayeth Dhruva Gole:
>> Fixes the clock Device ID's in the DT according to the tisci docs clock
>> identifiers for AM62x
>>
>> Signed-off-by: Dhruva Gole <[email protected]>
>> ---
>
> Good catch!
>

Indeed

> Reviewed-by: Bryan Brattlof <[email protected]>
>
> ~Bryan

This lacks Fixes: tag. Could you provide one?

--
Regards
Vignesh