[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1407127827-1741-1-git-send-email-yzq@rock-chips.com>
Date: Mon, 4 Aug 2014 12:50:27 +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 4/9] Add devicetree bindings for Rockchip lcd controller
Signed-off-by: mark yao <yzq@...k-chips.com>
---
.../devicetree/bindings/video/rockchip-lcdc.txt | 33 ++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 Documentation/devicetree/bindings/video/rockchip-lcdc.txt
diff --git a/Documentation/devicetree/bindings/video/rockchip-lcdc.txt b/Documentation/devicetree/bindings/video/rockchip-lcdc.txt
new file mode 100644
index 0000000..7fb2b73
--- /dev/null
+++ b/Documentation/devicetree/bindings/video/rockchip-lcdc.txt
@@ -0,0 +1,33 @@
+Device-Tree bindings for Rockchip SoC display controller (LCDC)
+
+LCDC (LCD Controller) is the Display Controller for the Rockchip
+series of SoCs which transfers the image data from a video memory
+buffer to an external LCD interface.
+
+Required properties:
+- compatible: value should be one of the following
+ "rockchip,rk3066-lcdc";
+ "rockchip,rk3188-lcdc";
+ "rockchip,rk3288-lcdc";
+
+- interrupts: should contain a list of all LCDC IP block interrupts in the
+ order: VSYNC, LCD_SYSTEM. The interrupt specifier
+ format depends on the interrupt controller used.
+
+- clocks: must include clock specifiers corresponding to entries in the
+ clock-names property.
+
+- clock-names: Must contain
+ aclk_lcdc: for ddr buffer transfer.
+ hclk_lcdc: for ahb bus to R/W the phy regs.
+ dclk_lcdc: pixel clock.
+
+Example:
+SoC specific DT entry:
+ lcdc1: lcdc@...40000 {
+ compatible = "rockchip,rk3288-lcdc";
+ reg = <0xff940000 0x19c>;
+ interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru ACLK_LCDC1>, <&cru DCLK_LCDC1>, <&cru HCLK_LCDC1>;
+ clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc";
+ };
--
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