linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] arch: arm64: dts: meson: a1: add assigned-clocks for usb node
@ 2024-01-24 13:06 Alexey Romanov
  2024-02-01 15:30 ` Alexey Romanov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexey Romanov @ 2024-01-24 13:06 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, conor+dt, neil.armstrong,
	khilman, jbrunet, martin.blumenstingl
  Cc: linux-amlogic, linux-kernel, devicetree, linux-arm-kernel,
	kernel, Alexey Romanov, Dmitry Rokosov

To ensure proper functionality of USB, it is necessary to use
the rate of 64000000 for CLKID_USB_BUS. For instance, adb may
not function correctly without this setting. This information
has been derived from the vendor SDK.

Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com>
---
 arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
index cf150f568335..b9fd69112535 100644
--- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
@@ -668,6 +668,8 @@ usb: usb@fe004400 {
 				 <&clkc_periphs CLKID_USB_BUS>,
 				 <&clkc_periphs CLKID_USB_CTRL_IN>;
 			clock-names = "usb_ctrl", "usb_bus", "xtal_usb_ctrl";
+			assigned-clocks = <&clkc_periphs CLKID_USB_BUS>;
+			assigned-clock-rates = <64000000>;
 			resets = <&reset RESET_USBCTRL>;
 			reset-name = "usb_ctrl";
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-13  8:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-24 13:06 [PATCH v1] arch: arm64: dts: meson: a1: add assigned-clocks for usb node Alexey Romanov
2024-02-01 15:30 ` Alexey Romanov
2024-02-01 15:33 ` neil.armstrong
2024-02-13  8:47 ` Neil Armstrong

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).