* [PATCH] arm: armada: dts: Add clock to armada-ap80x uart1
@ 2022-10-20 21:21 Hamish Martin
2022-10-24 6:08 ` Stefan Roese
2022-11-07 8:23 ` Stefan Roese
0 siblings, 2 replies; 3+ messages in thread
From: Hamish Martin @ 2022-10-20 21:21 UTC (permalink / raw)
To: sr; +Cc: kostap, u-boot, Hamish Martin
The uart1 node was missing the 'clock-frequency' property. This meant
the driver for this device would fail at probe.
The clock for uart1 is fed from the same source as uart0 and is a fixed
200MHz clock. This is confirmed via documentation for the CN9130 SoC
and from the equivalent code in Linux at:
<linux>/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi
where uart0 and uart1 share a common 'clocks' definition.
Signed-off-by: Hamish Martin <hamish.martin@alliedtelesis.co.nz>
---
arch/arm/dts/armada-ap80x.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/armada-ap80x.dtsi b/arch/arm/dts/armada-ap80x.dtsi
index 8787a872d85e..ab3c32e0e586 100644
--- a/arch/arm/dts/armada-ap80x.dtsi
+++ b/arch/arm/dts/armada-ap80x.dtsi
@@ -181,7 +181,7 @@
reg-io-width = <1>;
clocks = <&ap_syscon 3>;
status = "disabled";
-
+ clock-frequency = <200000000>;
};
watchdog: watchdog@610000 {
--
2.37.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm: armada: dts: Add clock to armada-ap80x uart1
2022-10-20 21:21 [PATCH] arm: armada: dts: Add clock to armada-ap80x uart1 Hamish Martin
@ 2022-10-24 6:08 ` Stefan Roese
2022-11-07 8:23 ` Stefan Roese
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2022-10-24 6:08 UTC (permalink / raw)
To: Hamish Martin; +Cc: kostap, u-boot
On 20.10.22 23:21, Hamish Martin wrote:
> The uart1 node was missing the 'clock-frequency' property. This meant
> the driver for this device would fail at probe.
> The clock for uart1 is fed from the same source as uart0 and is a fixed
> 200MHz clock. This is confirmed via documentation for the CN9130 SoC
> and from the equivalent code in Linux at:
> <linux>/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi
> where uart0 and uart1 share a common 'clocks' definition.
>
> Signed-off-by: Hamish Martin <hamish.martin@alliedtelesis.co.nz>
> ---
> arch/arm/dts/armada-ap80x.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/dts/armada-ap80x.dtsi b/arch/arm/dts/armada-ap80x.dtsi
> index 8787a872d85e..ab3c32e0e586 100644
> --- a/arch/arm/dts/armada-ap80x.dtsi
> +++ b/arch/arm/dts/armada-ap80x.dtsi
> @@ -181,7 +181,7 @@
> reg-io-width = <1>;
> clocks = <&ap_syscon 3>;
> status = "disabled";
> -
> + clock-frequency = <200000000>;
> };
>
> watchdog: watchdog@610000 {
Even though we should strive to sync the A7/8k dts/dtsi files with
Linux, this looks okay in the meantime. So:
Reviewed-by: Stefan Roese <sr@denx.de>
But I you could find some time to work on the DT sync (with driver
updates where needed) I would be grateful.
Thanks,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm: armada: dts: Add clock to armada-ap80x uart1
2022-10-20 21:21 [PATCH] arm: armada: dts: Add clock to armada-ap80x uart1 Hamish Martin
2022-10-24 6:08 ` Stefan Roese
@ 2022-11-07 8:23 ` Stefan Roese
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2022-11-07 8:23 UTC (permalink / raw)
To: Hamish Martin; +Cc: kostap, u-boot
On 20.10.22 23:21, Hamish Martin wrote:
> The uart1 node was missing the 'clock-frequency' property. This meant
> the driver for this device would fail at probe.
> The clock for uart1 is fed from the same source as uart0 and is a fixed
> 200MHz clock. This is confirmed via documentation for the CN9130 SoC
> and from the equivalent code in Linux at:
> <linux>/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi
> where uart0 and uart1 share a common 'clocks' definition.
>
> Signed-off-by: Hamish Martin <hamish.martin@alliedtelesis.co.nz>
Applied to u-boot-marvell/master
Thanks,
Stefan
> ---
> arch/arm/dts/armada-ap80x.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/dts/armada-ap80x.dtsi b/arch/arm/dts/armada-ap80x.dtsi
> index 8787a872d85e..ab3c32e0e586 100644
> --- a/arch/arm/dts/armada-ap80x.dtsi
> +++ b/arch/arm/dts/armada-ap80x.dtsi
> @@ -181,7 +181,7 @@
> reg-io-width = <1>;
> clocks = <&ap_syscon 3>;
> status = "disabled";
> -
> + clock-frequency = <200000000>;
> };
>
> watchdog: watchdog@610000 {
Viele Grüße,
Stefan Roese
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-07 8:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-20 21:21 [PATCH] arm: armada: dts: Add clock to armada-ap80x uart1 Hamish Martin
2022-10-24 6:08 ` Stefan Roese
2022-11-07 8:23 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).