From patchwork Tue May 8 13:59:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 135164 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp4422009lji; Tue, 8 May 2018 06:59:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqpDBKMpj/7sGmXbYUDKi2zYF+KqbJrlD/3/5xAiztOtacM6pUkkEpBp6Lsxzp21qBxEkMq X-Received: by 2002:a63:7e5c:: with SMTP id o28-v6mr32417288pgn.194.1525787975669; Tue, 08 May 2018 06:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525787975; cv=none; d=google.com; s=arc-20160816; b=RNB/J2NmZ/4hfMYjjl96PSz4+436k9D5qsr7IfXGMvk4mJgxdzEl0hAU9PVIWd0NbZ AHbKtVKkgZn20LU2+cHWszQ+JWKHYM9ulMr9hNlXckFJ5wrvjjCX/p5YhHvxraBk036R FhecaMgq+0VIazK2bS+bWe2kxwm+vS03lMoNI3NOLglU+kI9CQU9yRFSH6nWN1Yom+s9 Ne5d6WSLtRuACsr6t4h11Ys00ptHv0dn2Z+Trf+7rw+XRIv/lneBHwmtIXr1sP84Wgom epVoX+xjDTCWINXtVnw8WyqLVofkZEnEPsAzW2EUm8D27X4cq/3RKbGBIhzY+b9t7mBj YEBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=bzZZf/WDbuBISG+TLwmNWTdiitXZimwoI2XLQAQ/7X0=; b=XfutawUMbX9SbAOJLe6cxYvOrNp3/tt4zFDcuXXvy2711cStGvTqWhrxpbOWD3SAUB Y/hU2BB4092rhlrO8iE8vqiw3neccCIvrRhzte3BkfVMTJ0KllB+6SBg47bN2yqLCU56 VnIn6iUvnaektckSpobF2NURYnQAOo/8ll/mYpPtPqZeuZdwUj1zvdiMA1jkWhX6ty5m Jx9ayEZeOk0FasX9RIMk93GCEwsH1vJiBwcGho0T56XDsiH5eowmWXgnryPcynEe11uz eglfwZdGrd/ZG0bTvT+8uIMe6cUXEBrC6Srghuoe2i89Sbq2FK09HtNRxYO06UJpOwOk st0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4-v6si1744266pgn.403.2018.05.08.06.59.35; Tue, 08 May 2018 06:59:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932289AbeEHN7e (ORCPT + 6 others); Tue, 8 May 2018 09:59:34 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:44638 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932104AbeEHN7d (ORCPT ); Tue, 8 May 2018 09:59:33 -0400 Received: by mail-oi0-f67.google.com with SMTP id e80-v6so28382959oig.11 for ; Tue, 08 May 2018 06:59:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=HZ5ABh1f03wksclLOO09OOFe48QzQSVzORwZtj2d4LM=; b=lgqXPHat4s21sSHGnbk9cGAgxTFJw9F3H4v5JCfE8/Bno8KIBKjSZtlyeflcIRKf12 9xeNVKh3ljeci+1MZkRosHZ8AyXbjxphETqKw0eekGwO8NfJ9sTsVCNlAqhznwo9DlPR 2Vz8MiiWqUImnxv9OHuLA7r0JfJ/U00bGZaW8DvnMCIVOoAxMOG6bgvIKSEjXEiHjkto kO7ECYy8AMpbvyiBnOUQoiEY4NqBwUDY8D2xZEWO/w6iGqzO5G9gcCKsNYv1Ub8aNjf1 7zk5xBqj4AVNYzaXc3srKC17vFGvu24yFa3+ErCFDjaVaZRVdz3iB1JC8rPZlsHCJVZI VWHQ== X-Gm-Message-State: ALQs6tBonrvYXUqCZtUykiwQRoO284EZwT2AwZWp5j0VSe5yhy9kpOJU 63IBGVJidgTDo4W9Hz0lUW4hsg806Q== X-Received: by 2002:aca:a685:: with SMTP id t5-v6mr27325494oij.48.1525787972699; Tue, 08 May 2018 06:59:32 -0700 (PDT) Received: from xps15.herring.priv (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.googlemail.com with ESMTPSA id l51-v6sm16534311otb.13.2018.05.08.06.59.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 06:59:32 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Subject: [PATCH] arm: dts: imx: fix IPU OF graph endpoint node names Date: Tue, 8 May 2018 08:59:26 -0500 Message-Id: <20180508135930.5768-2-robh@kernel.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180508135930.5768-1-robh@kernel.org> References: <20180508135930.5768-1-robh@kernel.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org OF graph endpoint nodes are supposed to be named 'endpoint' with an address if there is more than one. The i.MX IPU binding graph has used unique endpoint names instead which now generate dtc warnings: Warning (graph_endpoint): /soc/ipu@2400000/port@2/disp0-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2400000/port@2/hdmi-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2400000/port@2/mipi-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2400000/port@2/lvds0-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2400000/port@2/lvds1-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2400000/port@3/disp1-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2400000/port@3/hdmi-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2400000/port@3/mipi-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2400000/port@3/lvds0-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2400000/port@3/lvds1-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2800000/port@2/disp0-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2800000/port@2/hdmi-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2800000/port@2/mipi-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2800000/port@2/lvds0-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2800000/port@2/lvds1-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2800000/port@3/hdmi-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2800000/port@3/mipi-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2800000/port@3/lvds0-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /soc/ipu@2800000/port@3/lvds1-endpoint: graph endpont node name should be 'endpoint' Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Signed-off-by: Rob Herring --- arch/arm/boot/dts/imx6q.dtsi | 27 ++++++++++++++------- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 3 --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 3 --- arch/arm/boot/dts/imx6qdl.dtsi | 30 ++++++++++++++++-------- 4 files changed, 38 insertions(+), 25 deletions(-) -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index ae7b3f107893..c2fda9d21a17 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -162,22 +162,27 @@ #size-cells = <0>; reg = <2>; - ipu2_di0_disp0: disp0-endpoint { + ipu2_di0_disp0: endpoint@0 { + reg = <0>; }; - ipu2_di0_hdmi: hdmi-endpoint { + ipu2_di0_hdmi: endpoint@1 { + reg = <1>; remote-endpoint = <&hdmi_mux_2>; }; - ipu2_di0_mipi: mipi-endpoint { + ipu2_di0_mipi: endpoint@2 { + reg = <2>; remote-endpoint = <&mipi_mux_2>; }; - ipu2_di0_lvds0: lvds0-endpoint { + ipu2_di0_lvds0: endpoint@3 { + reg = <3>; remote-endpoint = <&lvds0_mux_2>; }; - ipu2_di0_lvds1: lvds1-endpoint { + ipu2_di0_lvds1: endpoint@4 { + reg = <4>; remote-endpoint = <&lvds1_mux_2>; }; }; @@ -187,19 +192,23 @@ #size-cells = <0>; reg = <3>; - ipu2_di1_hdmi: hdmi-endpoint { + ipu2_di1_hdmi: endpoint@1 { + reg = <1>; remote-endpoint = <&hdmi_mux_3>; }; - ipu2_di1_mipi: mipi-endpoint { + ipu2_di1_mipi: endpoint@2 { + reg = <2>; remote-endpoint = <&mipi_mux_3>; }; - ipu2_di1_lvds0: lvds0-endpoint { + ipu2_di1_lvds0: endpoint@3 { + reg = <3>; remote-endpoint = <&lvds0_mux_3>; }; - ipu2_di1_lvds1: lvds1-endpoint { + ipu2_di1_lvds1: endpoint@4 { + reg = <4>; remote-endpoint = <&lvds1_mux_3>; }; }; diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi index 18b65052553d..654cf2c9b073 100644 --- a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi @@ -379,9 +379,6 @@ powerdown-gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>; /* NANDF_WP_B */ port { - #address-cells = <1>; - #size-cells = <0>; - ov5640_to_mipi_csi2: endpoint { remote-endpoint = <&mipi_csi2_in>; clock-lanes = <0>; diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index f019f9900369..c2de2250718c 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -294,9 +294,6 @@ reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>; port { - #address-cells = <1>; - #size-cells = <0>; - ov5640_to_mipi_csi2: endpoint { remote-endpoint = <&mipi_csi2_in>; clock-lanes = <0>; diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index c003e62bf290..0ebcf057961e 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -1300,22 +1300,27 @@ #size-cells = <0>; reg = <2>; - ipu1_di0_disp0: disp0-endpoint { + ipu1_di0_disp0: endpoint@0 { + reg = <0>; }; - ipu1_di0_hdmi: hdmi-endpoint { + ipu1_di0_hdmi: endpoint@1 { + reg = <1>; remote-endpoint = <&hdmi_mux_0>; }; - ipu1_di0_mipi: mipi-endpoint { + ipu1_di0_mipi: endpoint@2 { + reg = <2>; remote-endpoint = <&mipi_mux_0>; }; - ipu1_di0_lvds0: lvds0-endpoint { + ipu1_di0_lvds0: endpoint@3 { + reg = <3>; remote-endpoint = <&lvds0_mux_0>; }; - ipu1_di0_lvds1: lvds1-endpoint { + ipu1_di0_lvds1: endpoint@4 { + reg = <4>; remote-endpoint = <&lvds1_mux_0>; }; }; @@ -1325,22 +1330,27 @@ #size-cells = <0>; reg = <3>; - ipu1_di1_disp1: disp1-endpoint { + ipu1_di1_disp1: endpoint@0 { + reg = <0>; }; - ipu1_di1_hdmi: hdmi-endpoint { + ipu1_di1_hdmi: endpoint@1 { + reg = <1>; remote-endpoint = <&hdmi_mux_1>; }; - ipu1_di1_mipi: mipi-endpoint { + ipu1_di1_mipi: endpoint@2 { + reg = <2>; remote-endpoint = <&mipi_mux_1>; }; - ipu1_di1_lvds0: lvds0-endpoint { + ipu1_di1_lvds0: endpoint@3 { + reg = <3>; remote-endpoint = <&lvds0_mux_1>; }; - ipu1_di1_lvds1: lvds1-endpoint { + ipu1_di1_lvds1: endpoint@4 { + reg = <4>; remote-endpoint = <&lvds1_mux_1>; }; };