]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: rockchip: Remove unnecessary setting of UART0 SCLK rate on veyron
authorMatthias Kaehlcke <mka@chromium.org>
Wed, 10 Apr 2019 18:30:10 +0000 (11:30 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 11 Apr 2019 11:35:55 +0000 (13:35 +0200)
Some veyron devices have a Bluetooth controller connected on UART0.
The UART needs to operate at a high speed, however setting the clock
rate at initialization has no practical effect. During initialization
user space adjusts the UART baudrate multiple times, which ends up
changing the SCLK rate. After a successful initiatalization the clk
is running at the desired speed (48MHz).

Remove the unnecessary clock rate configuration from the DT.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-veyron.dtsi

index 5181d9435fda612777aad67baa4a6e2e37dbb4bb..fa38eb967f12f455490aa487f5d2d980f1fc8555 100644 (file)
 &uart0 {
        status = "okay";
 
-       /* We need to go faster than 24MHz, so adjust clock parents / rates */
-       assigned-clocks = <&cru SCLK_UART0>;
-       assigned-clock-rates = <48000000>;
-
        /* Pins don't include flow control by default; add that in */
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;