From patchwork Mon May 14 01:11:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 10396509 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CBC9B6053A for ; Mon, 14 May 2018 01:14:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8D4128FFA for ; Mon, 14 May 2018 01:14:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D8A02907E; Mon, 14 May 2018 01:14:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 131A928FFA for ; Mon, 14 May 2018 01:14:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=dEH2reM/CZwaKGqzJLE0UeZgW5ad3Rg9VhrWMj2B18I=; b=pFn yQvdlJfdC7201/tsF0Kwv7FaY8xWFW9SK3s7cYTR7/rwa7f/yoe3Td3p2kepNJ5J00alDVdKaNCQu ONPFug/X6BCkgEYe9cw1+wSsniWMIWu3EFy0bgQkO1lsU6S3GDDlXkuujuPEDz37a7hBzC69OMQsy bNjLjvFYV3LVjGLLRV+IkU/ZJXGdlrrpaZmpObmap5wuhTa5PURlvsSEU6iM4RasX5lx3QIfPiZ4S Nxo8pZHVsT3yqlw4g9J3RbDHivehLhEAhTpPCvnFrmMeTIZLYk0AVaOV3eLaJriEKdwEeHV8TQUA1 byAkGPIjd2v4PZPlliay1CANHE+tsAQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fI23e-0001Tc-Hp; Mon, 14 May 2018 01:13:46 +0000 Received: from mail-pg0-f66.google.com ([74.125.83.66]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fI23b-0001T2-G3 for linux-arm-kernel@lists.infradead.org; Mon, 14 May 2018 01:13:44 +0000 Received: by mail-pg0-f66.google.com with SMTP id p9-v6so4732575pgc.9 for ; Sun, 13 May 2018 18:13: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=Ro6YE/SRWLVaEK/3gPuHrJ9RYTlpjN+AaUD7Lkp6Wew=; b=jfFtKrqq+il2eI03uah+Kb5zpl7nOEXtsoU/tLBngmFJCoFJJRB12AgCEl5Y7TZXuG 0F4MOqAhsLseseRnjLO6jkZXlpm+BUTwJ52IM2pwHiunV6wO4igdEUgAybs6bK2MnrSA s/ERr+4ILwBxxXJNDg0+CugkClre+m1sWl3itIHYynhz996yifhhOncjddXAMosXlfQa JJIPNhQYQp1RYO854Gu5sMIQvomqwN20ARkSw9yYgNpR86qbi6CDOsO5BlbmfbfScU8K qOD84Ut/wXuyjyfxZY9Gtxkmtf5S6smAFwZbXcjvOiQXtyezSqHO+Bcby/B1af00eQ3N Uoyw== X-Gm-Message-State: ALKqPwcrFWZKhgSuNEkD/k7hNgu3RxAciwknSGxNZ0CpeE4Y6U/oIFpx 4tEMxfQX+7zrQrEykSttQWQH41BCW+4= X-Google-Smtp-Source: AB8JxZow9M/hfYqM+fVALHSV4e5O97Yt+136al0sWIPHW1w9xQtmqn0ATho5guIB+9/oDxvYPmOrpg== X-Received: by 2002:a65:58c2:: with SMTP id e2-v6mr6787144pgu.204.1526260412039; Sun, 13 May 2018 18:13:32 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.100]) by smtp.gmail.com with ESMTPSA id q8-v6sm14412926pfh.26.2018.05.13.18.13.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 13 May 2018 18:13:30 -0700 (PDT) From: Shawn Guo To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: imx: add proper #address-cells/#size-cells for ipu_di port nodes Date: Mon, 14 May 2018 09:11:46 +0800 Message-Id: <1526260306-14063-1-git-send-email-shawnguo@kernel.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180513_181343_539691_81964FE3 X-CRM114-Status: GOOD ( 11.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Rothwell , Rob Herring , linux-imx@nxp.com, kernel@pengutronix.de, Fabio Estevam , Shawn Guo MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP It adds proper #address-cells/#size-cells for ipu_di port nodes to fix the following DTC warnings. arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (reg_format): /soc/ipu@2400000/port@2/endpoint@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format' arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (simple_bus_reg): Failed prerequisite 'reg_format' arch/arm/boot/dts/imx6dl-aristainetos_7.dtb: Warning (avoid_default_addr_size): /soc/ipu@2400000/port@2/endpoint@0: Relying on default #address-cells value ... Fixes: e6bb17850d1e ("ARM: dts: imx: fix IPU OF graph endpoint node names") Reported-by: Stephen Rothwell Cc: Rob Herring Signed-off-by: Shawn Guo Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx6q.dtsi | 4 ++++ arch/arm/boot/dts/imx6qdl.dtsi | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 40d85888a6b3..70483ce72ba6 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -152,6 +152,8 @@ }; ipu2_di0: port@2 { + #address-cells = <1>; + #size-cells = <0>; reg = <2>; ipu2_di0_disp0: endpoint@0 { @@ -180,6 +182,8 @@ }; ipu2_di1: port@3 { + #address-cells = <1>; + #size-cells = <0>; reg = <3>; ipu2_di1_hdmi: endpoint@1 { diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 087379c21842..e50fd1cfaee2 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -1284,6 +1284,8 @@ }; ipu1_di0: port@2 { + #address-cells = <1>; + #size-cells = <0>; reg = <2>; ipu1_di0_disp0: endpoint@0 { @@ -1312,6 +1314,8 @@ }; ipu1_di1: port@3 { + #address-cells = <1>; + #size-cells = <0>; reg = <3>; ipu1_di1_disp1: endpoint@0 {