[RFC 7/7] ARM: at91/dt: define sama5d3xek panel as a DPI device
Boris Brezillon
boris.brezillon at free-electrons.com
Mon Oct 6 08:37:53 PDT 2014
Replace old panel node with a new one relying on DPI bus support.
Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
arch/arm/boot/dts/sama5d36ek.dts | 12 ++++++++----
arch/arm/boot/dts/sama5d3_lcd.dtsi | 6 +++---
arch/arm/boot/dts/sama5d3xdm.dtsi | 28 ++++++----------------------
3 files changed, 17 insertions(+), 29 deletions(-)
diff --git a/arch/arm/boot/dts/sama5d36ek.dts b/arch/arm/boot/dts/sama5d36ek.dts
index 1c65741..c83b846 100644
--- a/arch/arm/boot/dts/sama5d36ek.dts
+++ b/arch/arm/boot/dts/sama5d36ek.dts
@@ -43,6 +43,14 @@
hlcdc: hlcdc at f0030000 {
status = "okay";
+
+ hlcdc-display-controller {
+ dpi {
+ panel at 0 {
+ status = "okay";
+ };
+ };
+ };
};
macb1: ethernet at f802c000 {
@@ -63,10 +71,6 @@
status = "okay";
};
- panel: panel {
- status = "okay";
- };
-
sound {
status = "okay";
};
diff --git a/arch/arm/boot/dts/sama5d3_lcd.dtsi b/arch/arm/boot/dts/sama5d3_lcd.dtsi
index 611ff8a..7c516c3 100644
--- a/arch/arm/boot/dts/sama5d3_lcd.dtsi
+++ b/arch/arm/boot/dts/sama5d3_lcd.dtsi
@@ -179,10 +179,10 @@
#address-cells = <1>;
#size-cells = <0>;
- port at 0 {
- #address-cells = <1>;
+ dpi {
+ compatible = "atmel,hlcdc-dpi-host";
#size-cells = <0>;
- reg = <0>;
+ #address-cells = <1>;
};
};
diff --git a/arch/arm/boot/dts/sama5d3xdm.dtsi b/arch/arm/boot/dts/sama5d3xdm.dtsi
index 91975eb..39aba49 100644
--- a/arch/arm/boot/dts/sama5d3xdm.dtsi
+++ b/arch/arm/boot/dts/sama5d3xdm.dtsi
@@ -42,10 +42,13 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888_alt>;
- port at 0 {
- hlcdc_panel_output: endpoint at 0 {
+ dpi {
+ panel at 0 {
+ compatible = "foxlink,fl500wvr00-a0t";
reg = <0>;
- remote-endpoint = <&panel_input>;
+ backlight = <&backlight>;
+ power-supply = <&panel_reg>;
+ status = "disabled";
};
};
};
@@ -77,23 +80,4 @@
power-supply = <&bl_reg>;
status = "disabled";
};
-
- panel: panel {
- compatible = "foxlink,fl500wvr00-a0t", "simple-panel";
- backlight = <&backlight>;
- power-supply = <&panel_reg>;
- #address-cells = <1>;
- #size-cells = <0>;
- status = "disabled";
-
- port at 0 {
- #address-cells = <1>;
- #size-cells = <0>;
-
- panel_input: endpoint at 0 {
- reg = <0>;
- remote-endpoint = <&hlcdc_panel_output>;
- };
- };
- };
};
--
1.9.1
More information about the dri-devel
mailing list