Skip to contentSkip to conversation

ARM: dts: sun6i: Disable display pipeline by default

PATCH Applied Chen-Yu Tsai 2 participants 4 messages Nov 24, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover ARM: dts: sun6i: Disable display pipeline by default

Hi,

While we now support the internal display pipeline found on sun6i, it is possible that we are unable to enable the display for some boards, due to a lack of drivers for the panels or bridges found on them. If the display pipeline is enabled, the driver will try to enable, and possibly screw up the simple framebuffer U-boot had configured.

This series disables the display pipeline by default, and re-enables it for the A31 Hummingbird, which already had its display pipeline enabled.

The series can go in after 4.10-rc1, as a fix, but should not be delayed till the next release.

Regards
ChenYu

Chen-Yu Tsai (2):
ARM: dts: sun6i: Disable display pipeline by default
ARM: dts: sun6i: hummingbird: Enable display engine again

 arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 4 ++++
 arch/arm/boot/dts/sun6i-a31.dtsi            | 1 +
 2 files changed, 5 insertions(+)
Signature · 1 line
2.10.2
#1 lore raw

PATCH 1/2 ARM: dts: sun6i: Disable display pipeline by default

While we now support the internal display pipeline found on sun6i, it is possible that we are unable to enable the display for some boards, due to a lack of drivers for the panels or bridges found on them. If the display pipeline is enabled, the driver will try to enable, and possibly screw up the simple framebuffer U-boot had configured.

Disable the display pipeline by default.

Fixes 6d0e5b70be13 ("ARM: dts: sun6i: Add device nodes for first

display pipeline")

---
 arch/arm/boot/dts/sun6i-a31.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/sun6i-a31.dtsi +1 -0
index 20a0331ddfb5..4662d3344cd2 100644
@@ -234,6 +234,7 @@
 	de: display-engine {
 		compatible = "allwinner,sun6i-a31-display-engine";
 		allwinner,pipelines = <&fe0>;
+		status = "disabled";
 	};
 
 	soc at 01c00000 {
Signature · 1 line
2.10.2
#2 lore raw

PATCH 2/2 ARM: dts: sun6i: hummingbird: Enable display engine again

In reply to Chen-Yu Tsai

Now that we disable the display engine by default, we need to re-enable it for the Hummingbird A31, which already had its display pipeline enabled.

---
 arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/sun6i-a31-hummingbird.dts +4 -0
index b168d6df2b30..83643bbd51dc 100644
@@ -140,6 +140,10 @@
 	cpu-supply = <&reg_dcdc3>;
 };
 
+&de {
+	status = "okay";
+};
+
 &ehci0 {
 	status = "okay";
 };
Signature · 1 line
2.10.2
#3 lore raw
In reply to Chen-Yu Tsai
Quoted 8 lines · Chen-Yu Tsai

Hi,

While we now support the internal display pipeline found on sun6i, it is possible that we are unable to enable the display for some boards, due to a lack of drivers for the panels or bridges found on them. If the display pipeline is enabled, the driver will try to enable, and possibly screw up the simple framebuffer U-boot had configured.

Quoted 6 lines

This series disables the display pipeline by default, and re-enables it for the A31 Hummingbird, which already had its display pipeline enabled.

The series can go in after 4.10-rc1, as a fix, but should not be delayed till the next release.

Applied both, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161124/fc6a71f2/attachment.sig>