Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3905053pxb; Fri, 11 Feb 2022 10:16:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTDobJCWqoQ/T/qN8f4aHkOP5koCYB4ewCZPbcXhJoZyO3kI+oGT53g4/Ic1YNguUiLuWT X-Received: by 2002:a17:90a:d58b:: with SMTP id v11mr1685917pju.100.1644603418750; Fri, 11 Feb 2022 10:16:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644603418; cv=none; d=google.com; s=arc-20160816; b=EhWizqZ1PPkUgawds20w8m5kOV+3Cu/i3l2bqju5uvxeOjFpDFNvDnUCGvuNfm6MKo tRRsi8OessKgV+2cFh8V5da7Mj/u4av0PcEpeI2R9q6sO4OTC7eItCRj+8UvnN4Sk39n D4yXX1ZewbyP2/mvURn0rDdx6qEaTN5R7t+DX7suEeXIY4DRM5+FP2o+yKDMJdux9RjF wMCEA1YEwz1JBtnZwx3oTQFHIAyQdTKYA5H7PSfUrwdkff8yqpzeDjPq4K2DbplFLF23 3/1V3koUOTUNUSZ82DweU4eo+zZx3kRfhDPjTlR/QvgPl+pdgMYM24Q0c0QSKsplqUkH blyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=fs/JiYeH+rUwulB9iYKCgDD2j+eXKnSs5Y1HlnnSQS4=; b=T/+tK+w5AOfhS8Fe5PzhKdBE45OCP40fof1Xyagj4UcB2Odf7fuKWltSfnXOX5Xcvu G6L3WEQTPb2VDjBUIpcW6sEEnMHDdF1yLcg2gOh8k6U9wt9KPE6p45jk+ukjk+aUR9tM C7YLn755119Mf8ty3HxTpkP/L8T633S3Ui89sMevVjVRW1hXzsDSTyvN1CGoOgdamF9y tQWPLEs92CZDTbBWi+1K6OTiy5F7Vb1432sAcW4whfvHQzWD4N852f0bWfItdzIYf9Kg IEYN5Y+nhghagE2yYnRre3NELpUJhY8X5ghS3hW/K5nVZAfOVEUe+Hd5vQh1y+JgFmtx u9Iw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9si14059872pfl.10.2022.02.11.10.16.44; Fri, 11 Feb 2022 10:16:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350577AbiBKNbD (ORCPT + 99 others); Fri, 11 Feb 2022 08:31:03 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:53954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350572AbiBKNbA (ORCPT ); Fri, 11 Feb 2022 08:31:00 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E50F2BE for ; Fri, 11 Feb 2022 05:30:59 -0800 (PST) Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIW0V-0005wy-IV; Fri, 11 Feb 2022 14:30:39 +0100 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nIW0T-009juP-2v; Fri, 11 Feb 2022 14:30:37 +0100 From: Oleksij Rempel To: Mark Rutland , Rob Herring , Sascha Hauer , Shawn Guo , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter Cc: Robin van der Gracht , Oleksij Rempel , devicetree@vger.kernel.org, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , David Jander , dri-devel@lists.freedesktop.org Subject: [PATCH v3 2/5] ARM: dts: imx6dl-prtvt7: Add missing tvp5150 video decoder node Date: Fri, 11 Feb 2022 14:30:32 +0100 Message-Id: <20220211133035.2321330-3-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220211133035.2321330-1-o.rempel@pengutronix.de> References: <20220211133035.2321330-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Robin van der Gracht Add missing tvp5150 video decoder node to make composite video input work. Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 42 +++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/boot/dts/imx6dl-prtvt7.dts index be7c4cb339e7..baaa6ffc4df9 100644 --- a/arch/arm/boot/dts/imx6dl-prtvt7.dts +++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts @@ -6,6 +6,7 @@ /dts-v1/; #include "imx6dl.dtsi" #include "imx6qdl-prti6q.dtsi" +#include #include #include #include @@ -171,6 +172,18 @@ panel_in: endpoint { }; }; + connector { + compatible = "composite-video-connector"; + label = "Composite0"; + sdtv-standards = ; + + port { + comp0_out: endpoint { + remote-endpoint = <&tvp5150_comp0_in>; + }; + }; + }; + reg_bl_12v0: regulator-bl-12v0 { compatible = "regulator-fixed"; pinctrl-names = "default"; @@ -295,6 +308,31 @@ sgtl5000: audio-codec@a { VDDIO-supply = <®_3v3>; VDDD-supply = <®_1v8>; }; + + video@5c { + compatible = "ti,tvp5150"; + reg = <0x5c>; + + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + tvp5150_comp0_in: endpoint { + remote-endpoint = <&comp0_out>; + }; + }; + + /* Output port 2 is video output pad */ + port@2 { + reg = <2>; + + tvp5151_to_ipu1_csi0_mux: endpoint { + remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>; + }; + }; + }; }; &i2c3 { @@ -322,6 +360,10 @@ &ipu1_di0_disp0 { remote-endpoint = <&display_in>; }; +&ipu1_csi0_mux_from_parallel_sensor { + remote-endpoint = <&tvp5151_to_ipu1_csi0_mux>; +}; + &pwm1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; -- 2.30.2