* [PATCH 0/2] ARM: dts: sun6i: Disable display pipeline by default
@ 2016-11-24 6:43 Chen-Yu Tsai
2016-11-24 6:43 ` [PATCH 1/2] " Chen-Yu Tsai
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Chen-Yu Tsai @ 2016-11-24 6:43 UTC (permalink / raw)
To: Maxime Ripard
Cc: Chen-Yu Tsai, devicetree, linux-arm-kernel, linux-kernel, linux-sunxi
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(+)
--
2.10.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: dts: sun6i: Disable display pipeline by default
2016-11-24 6:43 [PATCH 0/2] ARM: dts: sun6i: Disable display pipeline by default Chen-Yu Tsai
@ 2016-11-24 6:43 ` Chen-Yu Tsai
2016-11-24 6:43 ` [PATCH 2/2] ARM: dts: sun6i: hummingbird: Enable display engine again Chen-Yu Tsai
2016-11-24 20:00 ` [PATCH 0/2] ARM: dts: sun6i: Disable display pipeline by default Maxime Ripard
2 siblings, 0 replies; 4+ messages in thread
From: Chen-Yu Tsai @ 2016-11-24 6:43 UTC (permalink / raw)
To: Maxime Ripard
Cc: Chen-Yu Tsai, devicetree, linux-arm-kernel, linux-kernel, linux-sunxi
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")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
arch/arm/boot/dts/sun6i-a31.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index 20a0331ddfb5..4662d3344cd2 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -234,6 +234,7 @@
de: display-engine {
compatible = "allwinner,sun6i-a31-display-engine";
allwinner,pipelines = <&fe0>;
+ status = "disabled";
};
soc@01c00000 {
--
2.10.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: dts: sun6i: hummingbird: Enable display engine again
2016-11-24 6:43 [PATCH 0/2] ARM: dts: sun6i: Disable display pipeline by default Chen-Yu Tsai
2016-11-24 6:43 ` [PATCH 1/2] " Chen-Yu Tsai
@ 2016-11-24 6:43 ` Chen-Yu Tsai
2016-11-24 20:00 ` [PATCH 0/2] ARM: dts: sun6i: Disable display pipeline by default Maxime Ripard
2 siblings, 0 replies; 4+ messages in thread
From: Chen-Yu Tsai @ 2016-11-24 6:43 UTC (permalink / raw)
To: Maxime Ripard
Cc: Chen-Yu Tsai, devicetree, linux-arm-kernel, linux-kernel, linux-sunxi
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.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
index b168d6df2b30..83643bbd51dc 100644
--- a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
+++ b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
@@ -140,6 +140,10 @@
cpu-supply = <®_dcdc3>;
};
+&de {
+ status = "okay";
+};
+
&ehci0 {
status = "okay";
};
--
2.10.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] ARM: dts: sun6i: Disable display pipeline by default
2016-11-24 6:43 [PATCH 0/2] ARM: dts: sun6i: Disable display pipeline by default Chen-Yu Tsai
2016-11-24 6:43 ` [PATCH 1/2] " Chen-Yu Tsai
2016-11-24 6:43 ` [PATCH 2/2] ARM: dts: sun6i: hummingbird: Enable display engine again Chen-Yu Tsai
@ 2016-11-24 20:00 ` Maxime Ripard
2 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2016-11-24 20:00 UTC (permalink / raw)
To: Chen-Yu Tsai; +Cc: devicetree, linux-arm-kernel, linux-kernel, linux-sunxi
[-- Attachment #1: Type: text/plain, Size: 831 bytes --]
On Thu, Nov 24, 2016 at 02:43:37PM +0800, Chen-Yu Tsai wrote:
> 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.
Applied both, thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-11-24 20:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-24 6:43 [PATCH 0/2] ARM: dts: sun6i: Disable display pipeline by default Chen-Yu Tsai
2016-11-24 6:43 ` [PATCH 1/2] " Chen-Yu Tsai
2016-11-24 6:43 ` [PATCH 2/2] ARM: dts: sun6i: hummingbird: Enable display engine again Chen-Yu Tsai
2016-11-24 20:00 ` [PATCH 0/2] ARM: dts: sun6i: Disable display pipeline by default Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).