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: 5312041 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B71979F2ED for ; Sat, 15 Nov 2014 17:49:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E4223201C7 for ; Sat, 15 Nov 2014 17:49:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F3123201B9 for ; Sat, 15 Nov 2014 17:49:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754277AbaKORth (ORCPT ); Sat, 15 Nov 2014 12:49:37 -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: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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>;