arm64: dts: ti: k3-am65: Remove UART baud rate selection
authorAndrew Davis <afd@ti.com>
Tue, 26 Mar 2024 18:54:36 +0000 (13:54 -0500)
committerNishanth Menon <nm@ti.com>
Wed, 10 Apr 2024 00:29:15 +0000 (19:29 -0500)
As described in the binding document for the "current-speed" property:

"This should only be present in case a driver has no chance to know the
baud rate of the slave device."

This is not the case for the UART used in K3 devices, the current
baud-rate can be calculated from the registers. Having this property
has the effect of actually skipping the baud-rate setup in some drivers
as it assumes it will already be set to this rate, which may not always
be the case.

It seems this property's purpose was mistaken as selecting the desired
baud-rate, which it does not. It would have been wrong to select that
here anyway as DT is not the place for configuration, especially when
there are already more standard ways to set serial baud-rates.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240326185441.29656-1-afd@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am65-main.dtsi
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi

index ff857117d71937b132468ceb915500eb533fcb9a..670557c89f756c3ea04bc3ef07e5ecbf32d61aad 100644 (file)
@@ -89,7 +89,6 @@
                reg = <0x00 0x02800000 0x00 0x100>;
                interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
                clock-frequency = <48000000>;
-               current-speed = <115200>;
                power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
                status = "disabled";
        };
index 6ff3ccc39fb448c4ca9fd642740ff77bb20b558b..4f808e5089755950356d3a9f46308a308bf9f013 100644 (file)
@@ -43,7 +43,6 @@
                reg = <0x00 0x40a00000 0x00 0x100>;
                interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
                clock-frequency = <96000000>;
-               current-speed = <115200>;
                power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
                status = "disabled";
        };
index 37527890ddeaf9a5517d037deb7d7e98696e638d..eee072e44a42f5f66423200975016447d22bdc46 100644 (file)
@@ -59,7 +59,6 @@
                reg = <0x42300000 0x100>;
                interrupts = <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
                clock-frequency = <48000000>;
-               current-speed = <115200>;
                power-domains = <&k3_pds 150 TI_SCI_PD_EXCLUSIVE>;
                status = "disabled";
        };