From patchwork Fri Mar 21 09:48:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Francois Moine X-Patchwork-Id: 23163 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1WQxD5-0001WZ-HQ; Fri, 21 Mar 2014 12:01:59 +0100 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.72/mailfrontend-7) with esmtp id 1WQxD3-0006WV-1h; Fri, 21 Mar 2014 12:01:59 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760594AbaCULBz (ORCPT + 1 other); Fri, 21 Mar 2014 07:01:55 -0400 Received: from smtpfb1-g21.free.fr ([212.27.42.9]:60491 "EHLO smtpfb1-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760559AbaCULBy (ORCPT ); Fri, 21 Mar 2014 07:01:54 -0400 Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by smtpfb1-g21.free.fr (Postfix) with ESMTP id 836AE2C9EB for ; Fri, 21 Mar 2014 12:01:51 +0100 (CET) Received: from localhost (unknown [IPv6:2a01:e35:2f5c:9de0:212:bfff:fe1e:9ce4]) by smtp5-g21.free.fr (Postfix) with ESMTP id BB92DD480AD; Fri, 21 Mar 2014 12:01:28 +0100 (CET) X-Mailbox-Line: From 2ad6cd1afa7800826da991ae522ef54368fe8d78 Mon Sep 17 00:00:00 2001 Message-Id: <2ad6cd1afa7800826da991ae522ef54368fe8d78.1395397665.git.moinejf@free.fr> In-Reply-To: References: From: Jean-Francois Moine Date: Fri, 21 Mar 2014 10:48:43 +0100 Subject: [PATCH RFC v2 1/6] drm/i2c: tda998x: Add the required port property To: Russell King , Rob Clark , dri-devel@lists.freedesktop.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.3.21.105414 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1400_1499 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_MEDIA_BODY 0, __CP_URI_IN_BODY 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILING_LIST 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SXL_SIG_ERROR_SERVFAIL , __SXL_URI_ERROR_SERVFAIL , __TO_MALFORMED_2 0, __URI_NO_WWW 0, __URI_NS ' According to the media video interface, the video source and sink ports must be identified by mutual phandles. This patch adds the 'port' property of the tda998x (sink side). Signed-off-by: Jean-Francois Moine --- Documentation/devicetree/bindings/drm/i2c/tda998x.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/drm/i2c/tda998x.txt b/Documentation/devicetree/bindings/drm/i2c/tda998x.txt index e3f3d65..10c5b5e 100644 --- a/Documentation/devicetree/bindings/drm/i2c/tda998x.txt +++ b/Documentation/devicetree/bindings/drm/i2c/tda998x.txt @@ -17,13 +17,22 @@ Optional properties: - video-ports: 24 bits value which defines how the video controller output is wired to the TDA998x input - default: <0x230145> +Required nodes: + - port: reference of the video source as described in media/video-interfaces + Example: - tda998x: hdmi-encoder { + hdmi: hdmi-encoder { compatible = "nxp,tda19988"; reg = <0x70>; interrupt-parent = <&gpio0>; interrupts = <27 2>; /* falling edge */ pinctrl-0 = <&pmx_camera>; pinctrl-names = "default"; + + port { + hdmi_0: endpoint@0 { + remote-endpoint = <&lcd0_0>; + }; + }; };