From patchwork Fri Sep 23 07:24:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 76825 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp424643qgf; Fri, 23 Sep 2016 00:25:15 -0700 (PDT) X-Received: by 10.66.34.101 with SMTP id y5mr10186802pai.95.1474615515033; Fri, 23 Sep 2016 00:25:15 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g70si6483235pfc.293.2016.09.23.00.25.14; Fri, 23 Sep 2016 00:25:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965194AbcIWHZN (ORCPT + 7 others); Fri, 23 Sep 2016 03:25:13 -0400 Received: from mail.kernel.org ([198.145.29.136]:59846 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752652AbcIWHZM (ORCPT ); Fri, 23 Sep 2016 03:25:12 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 59ECD2042A; Fri, 23 Sep 2016 07:25:10 +0000 (UTC) Received: from localhost.localdomain (unknown [85.203.21.26]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8E16F20429; Fri, 23 Sep 2016 07:25:07 +0000 (UTC) From: Shawn Guo To: Daniel Vetter , David Airlie Cc: Rob Herring , Mark Rutland , Baoyou Xie , Jun Nie , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Shawn Guo Subject: [PATCH 1/2] dt-bindings: add bindings doc for ZTE VOU display controller Date: Fri, 23 Sep 2016 15:24:08 +0800 Message-Id: <1474615449-16893-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.9.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org It adds initial bindings doc for ZTE VOU display controller. HDMI is the only supported output device right now. Signed-off-by: Shawn Guo --- .../devicetree/bindings/display/zte,vou.txt | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/zte,vou.txt -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/display/zte,vou.txt b/Documentation/devicetree/bindings/display/zte,vou.txt new file mode 100644 index 000000000000..b7407219cfa1 --- /dev/null +++ b/Documentation/devicetree/bindings/display/zte,vou.txt @@ -0,0 +1,67 @@ +ZTE VOU Display Controller + +This is a display controller found on ZTE ZX296718 SoC. It includes multiple +Graphic Layer (GL) and Video Layer (VL), two Mixers/Channels, and a few blocks +handling scaling, color space conversion etc. VOU also integrates the support +for typical output devices, like HDMI, TV Encoder, VGA, and RGB LCD. + +* Master display-subsystem node + +It must be the parent node of all the sub-device nodes. + +Required properties: + - compatible: should be "zte,zx-display-subsystem" + - #address-cells: should be <1> + - #size-cells: should be <1> + - ranges: to allow probing of sub-devices + +* VOU controller device + +Required properties: + - compatible: should be "zte,zx296718-vou" + - reg: Physical base address and length of the whole VOU IO region + - interrupts: VOU interrupt number to the CPU + - clocks: A list of phandle + clock-specifier pairs, one for each entry + in 'clock-names' + - clock-names: A list of clock names. It should contain: "aclk", "ppu_wclk", + "main_wclk" and "aux_wclk". + +* HDMI output device + +Required properties: + - compatible: should be "zte,zx296718-hdmi" + - reg: Physical base address and length of the HDMI device IO region + - interrupts : HDMI interrupt number to the CPU + - clocks: A list of phandle + clock-specifier pairs, one for each entry + in 'clock-names' + - clock-names: A list of clock names. It should contain: "osc_cec", "osc_clk" + and "xclk". + +Example: + +display-subsystem { + compatible = "zte,zx-display-subsystem"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + vou: vou@1440000 { + compatible = "zte,zx296718-vou"; + reg = <0x1440000 0x10000>; + interrupts = ; + clocks = <&topcrm VOU_ACLK>, <&topcrm VOU_PPU_WCLK>, + <&topcrm VOU_MAIN_WCLK>, <&topcrm VOU_AUX_WCLK>; + clock-names = "aclk", "ppu_wclk", + "main_wclk", "aux_wclk"; + }; + + hdmi: hdmi@144c000 { + compatible = "zte,zx296718-hdmi"; + reg = <0x144c000 0x4000>; + interrupts = ; + clocks = <&topcrm HDMI_OSC_CEC>, + <&topcrm HDMI_OSC_CLK>, + <&topcrm HDMI_XCLK>; + clock-names = "osc_cec", "osc_clk", "xclk"; + }; +};