[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240124130623.3471236-1-avromanov@salutedevices.com>
Date: Wed, 24 Jan 2024 16:06:23 +0300
From: Alexey Romanov <avromanov@...utedevices.com>
To: <robh+dt@...nel.org>, <krzysztof.kozlowski+dt@...aro.org>,
<conor+dt@...nel.org>, <neil.armstrong@...aro.org>, <khilman@...libre.com>,
<jbrunet@...libre.com>, <martin.blumenstingl@...glemail.com>
CC: <linux-amlogic@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<kernel@...utedevices.com>, Alexey Romanov <avromanov@...utedevices.com>,
Dmitry Rokosov <ddrokosov@...utedevices.com>
Subject: [PATCH v1] arch: arm64: dts: meson: a1: add assigned-clocks for usb node
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@...utedevices.com>
Signed-off-by: Dmitry Rokosov <ddrokosov@...utedevices.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@...04400 {
<&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
Powered by blists - more mailing lists