[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1407127620-1654-1-git-send-email-yzq@rock-chips.com>
Date: Mon, 4 Aug 2014 12:47:00 +0800
From: mark yao <yzq@...k-chips.com>
To: heiko@...ech.de, Rob Clark <robdclark@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Randy Dunlap <rdunlap@...radead.org>,
David Airlie <airlied@...ux.ie>,
Grant Likely <grant.likely@...aro.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
John Stultz <john.stultz@...aro.org>,
Rom Lemarchand <romlem@...gle.com>
Cc: devicetree@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-api@...r.kernel.org, olof@...om.net, djkurtz@...omium.org,
xjq@...k-chips.com, kfx@...k-chips.com, cym@...k-chips.com,
cf@...k-chips.com, zyw@...k-chips.com, zwl@...k-chips.com,
xxm@...k-chips.com, huangtao@...k-chips.com,
kever.yang@...k-chips.com, zhangqing@...k-chips.com,
yxj@...k-chips.com, wxt@...k-chips.com, xw@...k-chips.com,
mark yao <yzq@...k-chips.com>
Subject: [PATCH 2/9] Add devicetree bindings for panels used by the Rockchip DRM
Signed-off-by: mark yao <yzq@...k-chips.com>
---
.../devicetree/bindings/video/rockchip-panel.txt | 52 ++++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 Documentation/devicetree/bindings/video/rockchip-panel.txt
diff --git a/Documentation/devicetree/bindings/video/rockchip-panel.txt b/Documentation/devicetree/bindings/video/rockchip-panel.txt
new file mode 100644
index 0000000..9fc200a
--- /dev/null
+++ b/Documentation/devicetree/bindings/video/rockchip-panel.txt
@@ -0,0 +1,52 @@
+Rockchip LCD Display interface
+================================
+Required properties:
+-compatible: "rockchip,rockchip-panel";
+
+- rockchip,output-face: lcdc display mode value should set as following
+ "r8g8b8": 24bit display port, R8 G8 B8
+ "r6g6b6": 18bit display port, R6 G6 B6
+ "r5g6b5": 16bit display port, R5 G6 B5
+
+Optional properties:
+- display-timings: timings for the connected panel as described by
+ Documentation/devicetree/bindings/video/display-timing.txt
+Optional properties:
+- rockchip,power-gpios: gpio to power on or off the LCD (as many as needed)
+- lcdc-vcc18: Defined if power supply of lcd controller is 1.8v,
+ Not defined if power supply of lcd controller is 3.3v.
+- output-dither: support dithering the output color.
+- color-swap-rb: swap R and B color per pixel.
+- color-swap-rg: swap R and G color per pixel.
+- color-swap-bg: swap B and G color per pixel.
+
+Example:
+ panel {
+ compatible = "rockchip,rockchip-panel";
+ rockchip,output-face = "r6g6b6";
+
+ enable-gpios = <&gpio7 3 GPIO_ACTIVE_HIGH
+ &gpio7 4 GPIO_ACTIVE_HIGH>;
+ output-dither;
+
+ display-timings {
+ native-mode = <&timing_disp0>;
+
+ timing_disp0: 1280x800 {
+ clock-frequency = <71000000>;
+ hactive = <1280>;
+ vactive = <800>;
+ hback-porch = <100>;
+ hfront-porch = <18>;
+ vback-porch = <8>;
+ vfront-porch = <6>;
+ hsync-len = <10>;
+ vsync-len = <2>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <0>;
+ pixelclk-active = <0>;
+ };
+ };
+
+ };
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists