]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ARM: dts: sun8i: r40: Disable TCONs by default.
authorJernej Skrabec <jernej.skrabec@siol.net>
Tue, 10 Jul 2018 20:35:09 +0000 (22:35 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 11 Jul 2018 08:30:14 +0000 (10:30 +0200)
R40 has 4 TCONs, but only 2 of them can receive some kind of output at
the same time. Let's disable them by default, so only those which are
really connected on board can be enabled in board dts file.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
arch/arm/boot/dts/sun8i-r40.dtsi

index 737cf01b1acd88317349b17627b67d0636a4267b..c39b9169ea64144e4ecc7aece7b06c9def1c52fe 100644 (file)
        regulator-name = "vcc-wifi";
 };
 
+&tcon_tv0 {
+       status = "okay";
+};
+
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_pb_pins>;
index e5c7e480438415e463fed1631465f6d0b3be2791..e2cbd4f645c5d70d05790cc6db5a5402d2ac5356 100644 (file)
                        clock-names = "ahb", "tcon-ch1";
                        resets = <&ccu RST_BUS_TCON_TV0>;
                        reset-names = "lcd";
+                       status = "disabled";
 
                        ports {
                                #address-cells = <1>;
                        clock-names = "ahb", "tcon-ch1";
                        resets = <&ccu RST_BUS_TCON_TV1>;
                        reset-names = "lcd";
+                       status = "disabled";
 
                        ports {
                                #address-cells = <1>;