From patchwork Mon Mar 9 12:44:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zubair Lutfullah Kakakhel X-Patchwork-Id: 448004 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id A875414012F for ; Mon, 9 Mar 2015 23:46:04 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753402AbbCIMop (ORCPT ); Mon, 9 Mar 2015 08:44:45 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:37049 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753384AbbCIMon (ORCPT ); Mon, 9 Mar 2015 08:44:43 -0400 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 4DEA5DAC80EF4; Mon, 9 Mar 2015 12:44:39 +0000 (GMT) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 9 Mar 2015 12:44:41 +0000 Received: from zkakakhel-linux.le.imgtec.org (192.168.154.89) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.210.2; Mon, 9 Mar 2015 12:44:41 +0000 From: Zubair Lutfullah Kakakhel To: CC: , , , Subject: [PATCH_V2 2/5] dt-bindings: video: Add jz4780-lcd binding Date: Mon, 9 Mar 2015 12:44:02 +0000 Message-ID: <1425905045-14007-3-git-send-email-Zubair.Kakakhel@imgtec.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1425905045-14007-1-git-send-email-Zubair.Kakakhel@imgtec.com> References: <1425905045-14007-1-git-send-email-Zubair.Kakakhel@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.154.89] Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add DT bindings for the LCD controller on the jz4780 SoC Signed-off-by: Zubair Lutfullah Kakakhel --- V1 -> V2 Rebased to 4.0-rc3 --- .../bindings/video/ingenic-jz4780-lcd.txt | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/ingenic-jz4780-lcd.txt diff --git a/Documentation/devicetree/bindings/video/ingenic-jz4780-lcd.txt b/Documentation/devicetree/bindings/video/ingenic-jz4780-lcd.txt new file mode 100644 index 0000000..8512ce3 --- /dev/null +++ b/Documentation/devicetree/bindings/video/ingenic-jz4780-lcd.txt @@ -0,0 +1,39 @@ +Bindings for Ingenic JZ4780 LCD Controller + +LCD Controller is the Display Controller for the Ingenic JZ4780 SoC + +Required properties: +- compatible: should be "ingenic,jz4780-lcd" +- reg: Should contain the address & size of the LCD controller registers. +- interrupts: Should specify the interrupt provided by parent. +- clocks: Should contain two clock specifiers for the JZ4780_CLK_TVE JZ4780_CLK_LCD0PIXCLK. +- clock-names : Must be "lcd_clk", "lcd_pixclk"; +- port: A port node with endpoint definitions as defined in + Documentation/devicetree/bindings/media/video-interfaces.txt. + +Optional properties: +- interrupt-parent: phandle to parent interrupt controller + +Example: + +lcd: jz4780-lcdk@0x13050000 { + compatible = "ingenic,jz4780-lcd"; + reg = <0x13050000 0x1800>; + + clocks = <&cgu JZ4780_CLK_TVE>, <&cgu JZ4780_CLK_LCD0PIXCLK>; + clock-names = "lcd_clk", "lcd_pixclk"; + + interrupt-parent = <&intc>; + interrupts = <31>; + + jz4780_lcd_out: port { + #address-cells = <1>; + #size-cells = <0>; + + jz4780_out_hdmi: endpoint@0 { + reg = <0>; + remote-endpoint = <&hdmi_in_lcd>; + }; + }; + +};