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: 411217 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 5C9EC1400AB for ; Sun, 16 Nov 2014 04:49:40 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754266AbaKORtg (ORCPT ); Sat, 15 Nov 2014 12:49:36 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:45216 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754199AbaKORtg (ORCPT ); Sat, 15 Nov 2014 12:49:36 -0500 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 CC: Shawn Guo , , , , 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] Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>;