From patchwork Sat Nov 15 17:49:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 5312051 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6D9FCC11AC for ; Sat, 15 Nov 2014 17:54:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 74850201BC for ; Sat, 15 Nov 2014 17:54:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 94B12201B9 for ; Sat, 15 Nov 2014 17:53:59 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XphU1-0004F7-Jz; Sat, 15 Nov 2014 17:50:01 +0000 Received: from relay1.mentorg.com ([192.94.38.131]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XphTx-0004EV-OH for linux-arm-kernel@lists.infradead.org; Sat, 15 Nov 2014 17:49:58 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1XphTT-00027q-Fj from Vladimir_Zapolskiy@mentor.com ; Sat, 15 Nov 2014 09:49:27 -0800 Received: from eyas.fin.mentorg.com (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server (TLS) id 14.3.181.6; Sat, 15 Nov 2014 17:49:26 +0000 From: Vladimir Zapolskiy To: Wolfram Sang , Philipp Zabel Subject: [PATCH 1/3] staging: imx-drm: document internal HDMI I2C master controller DT binding Date: Sat, 15 Nov 2014 19:49:17 +0200 Message-ID: <1416073759-19939-2-git-send-email-vladimir_zapolskiy@mentor.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1416073759-19939-1-git-send-email-vladimir_zapolskiy@mentor.com> References: <1416073759-19939-1-git-send-email-vladimir_zapolskiy@mentor.com> MIME-Version: 1.0 X-Originating-IP: [137.202.0.76] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141115_094957_959426_3AE43BD4 X-CRM114-Status: UNSURE ( 9.04 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) Cc: devicetree@vger.kernel.org, Shawn Guo , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Provide information about how to bind internal iMX6Q/DL HDMI DDC I2C master controller. The property is set as optional one, because iMX6 HDMI DDC bus may be represented by one of general purpose I2C busses found on SoC. Signed-off-by: Vladimir Zapolskiy Cc: Wolfram Sang Cc: Philipp Zabel Cc: Shawn Guo Cc: devicetree@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org --- Documentation/devicetree/bindings/staging/imx-drm/hdmi.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/staging/imx-drm/hdmi.txt b/Documentation/devicetree/bindings/staging/imx-drm/hdmi.txt index 1b756cf..43c8924 100644 --- a/Documentation/devicetree/bindings/staging/imx-drm/hdmi.txt +++ b/Documentation/devicetree/bindings/staging/imx-drm/hdmi.txt @@ -10,6 +10,8 @@ Required properties: - #address-cells : should be <1> - #size-cells : should be <0> - compatible : should be "fsl,imx6q-hdmi" or "fsl,imx6dl-hdmi". + If internal HDMI DDC I2C master controller is supposed to be used, + then "simple-bus" should be added to compatible value. - gpr : should be <&gpr>. The phandle points to the iomuxc-gpr region containing the HDMI multiplexer control register. @@ -22,6 +24,7 @@ Required properties: Optional properties: - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing + - ddc: internal HDMI DDC I2C master controller example: @@ -32,7 +35,7 @@ example: hdmi: hdmi@0120000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6q-hdmi"; + compatible = "fsl,imx6q-hdmi", "simple-bus"; reg = <0x00120000 0x9000>; interrupts = <0 115 0x04>; gpr = <&gpr>; @@ -40,6 +43,11 @@ example: clock-names = "iahb", "isfr"; ddc-i2c-bus = <&i2c2>; + hdmi_ddc: ddc { + compatible = "fsl,imx6q-hdmi-ddc"; + status = "disabled"; + }; + port@0 { reg = <0>;