arm64: dts: ti: k3-am64: Enable TSCADC nodes at the board level
authorAndrew Davis <afd@ti.com>
Thu, 10 Aug 2023 00:38:14 +0000 (19:38 -0500)
committerNishanth Menon <nm@ti.com>
Thu, 10 Aug 2023 03:31:07 +0000 (22:31 -0500)
TSCADC nodes defined in the top-level AM64 SoC dtsi files are incomplete
and may not be functional unless they are extended with pinmux and/or
device information.

Disable the TSCADC nodes in the dtsi files and only enable the ones that
are actually pinned out on a given board.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20230810003814.85450-14-afd@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am64-main.dtsi
arch/arm64/boot/dts/ti/k3-am642-sk.dts
arch/arm64/boot/dts/ti/k3-am642-tqma64xxl-mbax4xxl.dts

index ed1b63b9c1c5f9b13578f7d92c4bc425a59b234b..0df54a74182474841d2ba0870d8d637fefcd525f 100644 (file)
                assigned-clock-parents = <&k3_clks 0 3>;
                assigned-clock-rates = <60000000>;
                clock-names = "fck";
+               status = "disabled";
 
                adc {
                        #io-channel-cells = <1>;
index af06ccd466802617a715b878e5eecf7133b840c9..722fd285a34ecaeea4b2bda8bf96660f19376a1e 100644 (file)
        };
 };
 
-&tscadc0 {
-       status = "disabled";
-};
-
 &ospi0 {
        status = "okay";
        pinctrl-names = "default";
index ac132a0867d0639e19262e30926c4cb00353467c..04c15b64f0b776c41945aa05f50a135df21aecef 100644 (file)
 };
 
 &tscadc0 {
+       status = "okay";
        adc {
                ti,adc-channels = <0 1 2 3 4 5 6 7>;
        };