From patchwork Tue May 8 13:59:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 135163 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp4421993lji; Tue, 8 May 2018 06:59:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqsBrB08ZAvnHS5yhLDVvY2fxrpFdIGZyA+vVLviapPB0DbeVa+rGm3t3p/WvkpUOP4XhTR X-Received: by 2002:a17:902:7615:: with SMTP id k21-v6mr26866192pll.97.1525787974623; Tue, 08 May 2018 06:59:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525787974; cv=none; d=google.com; s=arc-20160816; b=o2Dt4Ur6/TZge7HctoFMphUcyqIGGzNinSmRKySF+jctYRhj9TZ3N++S5FYDUX/djV 32oVXnAPTyGzPkPbn5O9UlBcG4AOsC2pgCyyXXVbkWC2ty0X2Xt2qrDifcsEgAlr+OfX SkkOIj6F3L3Bax3zkRLjfTMXcPBfVfyzbX3yqpn0SQHDUmBz51u6PINrKcUmz5DLEJSL hj2aXCpZvf+VyXzjVkUM2ZsB6JlukjZRRkN6nX6yG0yqMJ3A+8ifJlXtXI/0wqOI1wdw 3mNi08cSkDXYO+LFkja1/RqiSKXUUCihff4Q2VGJ28CUPgqDpCJSp5EXG+6Gp2fcFJ0V scmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=3NpBkzPyJazbMSrIh33eAqhJ+2YTyrv577TjVn8WNXA=; b=vQIV0R2ZsGHF8lafQ+20fPqJ0R4TwuHIovQGyGh1PhJnPTGgBwpuHjFmACVzHU5Mul vl04giAG8938vlL0TEpfSLqc8nU/WsJtMUgEz5oh5GGBmlqYUmBl5N+gsOTpjM+pDgVC g1agy2H8YkKagMMGFtynB5MTV/Hr9xbKYhC0SlPaya4dxA83jkpjmtc+YMqCLaTlIbJG QSYosz6ad9BNG95rOookQFBfEEckC9J8zjEQ7cEdm7QDBszyL4PgzOR2oHcDqGe8KnhB G4wlrEnPNfr8KYRk0ALQQlkf2yNEk93kqHOu4BDilwi6nseF/mUiiT2QLaspIJ6n7jRK iHKw== 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.34; Tue, 08 May 2018 06:59:34 -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 S932277AbeEHN7d (ORCPT + 6 others); Tue, 8 May 2018 09:59:33 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:43848 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932079AbeEHN7c (ORCPT ); Tue, 8 May 2018 09:59:32 -0400 Received: by mail-oi0-f66.google.com with SMTP id p62-v6so28383909oie.10 for ; Tue, 08 May 2018 06:59:32 -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; bh=+Izg7UnU9Emor3GgLZfcWp5puQpmvn4m9OQC04T8aVc=; b=JOU/gA40FJS2s0VnTI6U2jQE0CTcBJ5Gewg0COt8oSi8TALPJhBlGaqdXEv7MEcV3H +Su7i++0+XGk0LHRfJ3JpO+tI0KzlgaVbr+uHDOYSMmYTdZSm+eUqEQYP0OLzq3uc6Vd 2SNY2Z3vIOpL/pw2flumeVX80X7Kw8FMJE7Dk8JR+RKxNYY/lAeUreRVU6wdxcrzPijl y5cp3QYVrUw1CSaMon0wUNLQo4iUTeUcvBTcE2dd+EKRL2xmTQN9rneDjjyqqw/Kj08B WDFGuh1iM3F7bajTdAj1DJloas2MICeUSzIJFt64jT3mJC7CuxoaX6JLMLha1Dp1JZaM tKFA== X-Gm-Message-State: ALQs6tAN3CObV3mAqs4BQZg+7cY+4wQFLWNyunybIR5p3yJsBOO77nOL jnR5AHo17NChMuf9466nQWlfd9Xw7Q== X-Received: by 2002:aca:4242:: with SMTP id p63-v6mr27414471oia.260.1525787971587; Tue, 08 May 2018 06:59:31 -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.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 06:59:31 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Nicolas Ferre , Alexandre Belloni Subject: [PATCH] arm: dts: atmel: graph_child_address warning fixes Date: Tue, 8 May 2018 08:59:25 -0500 Message-Id: <20180508135930.5768-1-robh@kernel.org> X-Mailer: git-send-email 2.17.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Addresses for graph ports and endpoints are not necessary when there's only a single child. Fix the following warnings removing unnecessary addresses on OF graph nodes: Warning (graph_child_address): /ahb/apb/hlcdc@f0030000/hlcdc-display-controller: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary Warning (graph_child_address): /ahb/apb/hlcdc@f0030000/hlcdc-display-controller/port@0: graph node has single child node 'endpoint', #address-cells/#size-cells are not necessary Warning (graph_child_address): /ahb/apb/isi@f0034000/port: graph node has single child node 'endpoint', #address-cells/#size-cells are not necessary Warning (graph_child_address): /panel/port@0: graph node has single child node 'endpoint@0', #address-cells/#size-cells are not necessary Cc: Nicolas Ferre Cc: Alexandre Belloni Signed-off-by: Rob Herring --- arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts | 15 ++++----------- arch/arm/boot/dts/at91sam9g45.dtsi | 2 -- arch/arm/boot/dts/at91sam9n12.dtsi | 8 +------- arch/arm/boot/dts/at91sam9n12ek.dts | 14 ++++---------- arch/arm/boot/dts/at91sam9x5_lcd.dtsi | 7 +------ arch/arm/boot/dts/at91sam9x5dm.dtsi | 13 ++++--------- arch/arm/boot/dts/sama5d3.dtsi | 2 -- arch/arm/boot/dts/sama5d3_lcd.dtsi | 8 +------- arch/arm/boot/dts/sama5d4.dtsi | 8 +------- 9 files changed, 16 insertions(+), 61 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 Reviewed-by: Boris Brezillon diff --git a/arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts b/arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts index fe05aaa7ac87..72c3b077fb46 100644 --- a/arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts +++ b/arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts @@ -49,9 +49,8 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>; - port@0 { - hlcdc_panel_output: endpoint@0 { - reg = <0>; + port { + hlcdc_panel_output: endpoint { remote-endpoint = <&panel_input>; }; }; @@ -144,16 +143,10 @@ /* Actually Ampire 800480R2 */ compatible = "foxlink,fl500wvr00-a0t", "simple-panel"; backlight = <&backlight>; - #address-cells = <1>; - #size-cells = <0>; status = "okay"; - port@0 { - #address-cells = <1>; - #size-cells = <0>; - - panel_input: endpoint@0 { - reg = <0>; + port { + panel_input: endpoint { remote-endpoint = <&hlcdc_panel_output>; }; }; diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi index 1ee25a475be8..36729e3f2899 100644 --- a/arch/arm/boot/dts/at91sam9g45.dtsi +++ b/arch/arm/boot/dts/at91sam9g45.dtsi @@ -1114,8 +1114,6 @@ clock-names = "isi_clk"; status = "disabled"; port { - #address-cells = <1>; - #size-cells = <0>; }; }; diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi index 37cb81f457b5..a071fccb729b 100644 --- a/arch/arm/boot/dts/at91sam9n12.dtsi +++ b/arch/arm/boot/dts/at91sam9n12.dtsi @@ -475,13 +475,7 @@ hlcdc-display-controller { compatible = "atmel,hlcdc-display-controller"; - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; + port { }; }; diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index c43095c5cb5c..eb0c1e11fa4d 100644 --- a/arch/arm/boot/dts/at91sam9n12ek.dts +++ b/arch/arm/boot/dts/at91sam9n12ek.dts @@ -134,9 +134,8 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>; - port@0 { - hlcdc_panel_output: endpoint@0 { - reg = <0>; + port { + hlcdc_panel_output: endpoint { remote-endpoint = <&panel_input>; }; }; @@ -246,13 +245,8 @@ #size-cells = <0>; status = "okay"; - port@0 { - reg = <0>; - #address-cells = <1>; - #size-cells = <0>; - - panel_input: endpoint@0 { - reg = <0>; + port { + panel_input: endpoint { remote-endpoint = <&hlcdc_panel_output>; }; }; diff --git a/arch/arm/boot/dts/at91sam9x5_lcd.dtsi b/arch/arm/boot/dts/at91sam9x5_lcd.dtsi index 1629db9dd563..e243dff67a67 100644 --- a/arch/arm/boot/dts/at91sam9x5_lcd.dtsi +++ b/arch/arm/boot/dts/at91sam9x5_lcd.dtsi @@ -23,13 +23,8 @@ hlcdc-display-controller { compatible = "atmel,hlcdc-display-controller"; - #address-cells = <1>; - #size-cells = <0>; - port@0 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; + port { }; }; diff --git a/arch/arm/boot/dts/at91sam9x5dm.dtsi b/arch/arm/boot/dts/at91sam9x5dm.dtsi index 34c089fe0bc0..5aea8fd09ad6 100644 --- a/arch/arm/boot/dts/at91sam9x5dm.dtsi +++ b/arch/arm/boot/dts/at91sam9x5dm.dtsi @@ -29,9 +29,8 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>; - port@0 { - hlcdc_panel_output: endpoint@0 { - reg = <0>; + port { + hlcdc_panel_output: endpoint { remote-endpoint = <&panel_input>; }; }; @@ -80,12 +79,8 @@ #size-cells = <0>; status = "disabled"; - port@0 { - #address-cells = <1>; - #size-cells = <0>; - - panel_input: endpoint@0 { - reg = <0>; + port { + panel_input: endpoint { remote-endpoint = <&hlcdc_panel_output>; }; }; diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index eae5e1ee9cd8..2c51042e1f6b 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++ b/arch/arm/boot/dts/sama5d3.dtsi @@ -239,8 +239,6 @@ clock-names = "isi_clk"; status = "disabled"; port { - #address-cells = <1>; - #size-cells = <0>; }; }; diff --git a/arch/arm/boot/dts/sama5d3_lcd.dtsi b/arch/arm/boot/dts/sama5d3_lcd.dtsi index be7cfefc6c31..2d042d7ec531 100644 --- a/arch/arm/boot/dts/sama5d3_lcd.dtsi +++ b/arch/arm/boot/dts/sama5d3_lcd.dtsi @@ -23,13 +23,7 @@ hlcdc-display-controller { compatible = "atmel,hlcdc-display-controller"; - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; + port { }; }; diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi index 0cf9beddd556..90d7b64915ec 100644 --- a/arch/arm/boot/dts/sama5d4.dtsi +++ b/arch/arm/boot/dts/sama5d4.dtsi @@ -333,13 +333,7 @@ hlcdc-display-controller { compatible = "atmel,hlcdc-display-controller"; - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; + port { }; };