mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: mark yao <yzq@rock-chips.com>
To: heiko@sntech.de, Rob Clark <robdclark@gmail.com>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	David Airlie <airlied@linux.ie>,
	Grant Likely <grant.likely@linaro.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	John Stultz <john.stultz@linaro.org>,
	Rom Lemarchand <romlem@google.com>
Cc: devicetree@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linux-api@vger.kernel.org, olof@lixom.net, djkurtz@chromium.org,
	xjq@rock-chips.com, kfx@rock-chips.com, cym@rock-chips.com,
	cf@rock-chips.com, zyw@rock-chips.com, zwl@rock-chips.com,
	xxm@rock-chips.com, huangtao@rock-chips.com,
	kever.yang@rock-chips.com, zhangqing@rock-chips.com,
	yxj@rock-chips.com, wxt@rock-chips.com, xw@rock-chips.com,
	mark yao <yzq@rock-chips.com>
Subject: [PATCH 2/9] Add devicetree bindings for panels used by the Rockchip DRM
Date: Mon,  4 Aug 2014 12:47:00 +0800	[thread overview]
Message-ID: <1407127620-1654-1-git-send-email-yzq@rock-chips.com> (raw)
In-Reply-To: <1407127274-1356-1-git-send-email-mark.yao@rock-chips.com>

Signed-off-by: mark yao <yzq@rock-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



  parent reply	other threads:[~2014-08-04  4:48 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-04  4:41 [PATCH 0/9] Add drm driver for Rockchip Socs mark yao
2014-08-04  4:45 ` [PATCH 1/9] drm: " mark yao
2014-08-04 14:46   ` Daniel Vetter
2014-08-07  8:32   ` mark yao
2014-08-04  4:47 ` mark yao [this message]
2014-08-04  4:48 ` [PATCH 3/9] drm: add driver for panels used by the Rockchip DRM mark yao
2014-08-04  4:50 ` [PATCH 4/9] Add devicetree bindings for Rockchip lcd controller mark yao
2014-08-04  4:51 ` [PATCH 5/9] drm: add Rockchip rk3288 lcd controller driver mark yao
2014-08-04  4:53 ` [PATCH 6/9] Add devicetree bindings for Rockchip Soc LVDS mark yao
2014-08-04  4:54 ` [PATCH 7/9] drm: add Rockchip Soc rk3288 lvds connector mark yao
2014-08-04  4:55 ` [PATCH 8/9] Add devicetree bindings for Rockchip Soc EDP mark yao
2014-08-04 19:39   ` Heiko Stübner
2014-08-04  4:57 ` [PATCH 9/9] drm: add Rockchip Soc rk3288 edp connector mark yao
2014-09-18  9:34 ` [PATCH v2 0/5] Add drm driver for Rockchip Socs Mark yao
2014-09-18  9:36   ` [PATCH v2 1/5] drm/rockchip: Add basic drm driver Mark yao
2014-09-18 14:52     ` Daniel Vetter
2014-09-18 14:53       ` Daniel Vetter
2014-09-19  2:03         ` yaozq
2014-09-18  9:37   ` [PATCH v2 2/5] dt-bindings: video: Add for rockchip display subsytem Mark yao
2014-09-18  9:39   ` [PATCH v2 3/5] dt-bindings: video: Add documentation for rockchip vop Mark yao
2014-09-18  9:41   ` [PATCH v2 4/5] dt-bindings: video: Add documentation for rockchip edp Mark yao
2014-09-18  9:42   ` [PATCH v2 5/5] drm/rockchip: Add support for Rockchip Soc EDP Mark yao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1407127620-1654-1-git-send-email-yzq@rock-chips.com \
    --to=yzq@rock-chips.com \
    --cc=airlied@linux.ie \
    --cc=cf@rock-chips.com \
    --cc=cym@rock-chips.com \
    --cc=devicetree@vger.kernel.org \
    --cc=djkurtz@chromium.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=galak@codeaurora.org \
    --cc=grant.likely@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=heiko@sntech.de \
    --cc=huangtao@rock-chips.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=john.stultz@linaro.org \
    --cc=kever.yang@rock-chips.com \
    --cc=kfx@rock-chips.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=olof@lixom.net \
    --cc=pawel.moll@arm.com \
    --cc=rdunlap@infradead.org \
    --cc=robdclark@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=romlem@google.com \
    --cc=wxt@rock-chips.com \
    --cc=xjq@rock-chips.com \
    --cc=xw@rock-chips.com \
    --cc=xxm@rock-chips.com \
    --cc=yxj@rock-chips.com \
    --cc=zhangqing@rock-chips.com \
    --cc=zwl@rock-chips.com \
    --cc=zyw@rock-chips.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®