Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8645070rwb; Thu, 24 Nov 2022 02:19:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf6BBLENX8hKBl3CSDtn1sC9rah7J2H+oCVofthlmFujDxA7+AyHb97bcOYP4vADrqH957BJ X-Received: by 2002:a17:90a:fa81:b0:218:c5c1:991c with SMTP id cu1-20020a17090afa8100b00218c5c1991cmr15770250pjb.152.1669285194460; Thu, 24 Nov 2022 02:19:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669285194; cv=none; d=google.com; s=arc-20160816; b=WyJIzAC+CFra+8IuNphqAVEolV2h+i7uXtRQXnWEJjcrYagkrZlc4NGzu9qFwdhFi2 hOEUgTr+1ZmeNsCp4L9dmc2oTWoMgENs9x4Q8Kp0DeVCVantWUgapL26KHb0Ru9ZG5HP EaXRqYMZsWq1sCkG5L+FgVfkXTyjep58HjAejXQjYzXLXaAW5WtPAKJXpTIdE2qsOLOx pGe6qrmErxn9NG9QcoVfQaKIJOQkmSMhoAbQASWUQfmddLcjVTtkW4gXOvjYnmvi60aY BFhoqrqfCRlQlx7za5R8BDgzHqEFYrgZyvCRLrOrGLRoTRdjQTPMShbBwVKgAZ/zmkmq 3z3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=AGMjyjuU9DiC3LQYzO4NC9bzSJYi37c7YUAhI8KGN3o=; b=aXaVQuxFefDmemDqLedLxM9PsehOGWHY/1o/TMlp832h52Fc0sTQemN04m+0hqz5AK +HnUbFc4dAGvSrvF0E8OjeG5U4LVX5zdDjKm1IzFA+sMAjB9sTImIO9HyTFMKdiLYtM7 QfYPYU+TraXT+HB7xGYVytnqzTL4lfQGFO3b81SWTKQRgx9tmFIEM8PdgDd4tXKN+qLJ 7zMThuOwvrQp6CamdtIDU2rn943j7tYmlKrxiy6JhQVwfpCrpTLyd4rJGmcvOYPc4YhP EKaDirY/bkqtl7xboA/I8GIckidS0fkAyqEESZ8FijEj7L1qjpYLUAkdH2n2zrBY42US EWOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b=Vqt+iezX; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i7-20020a63cd07000000b004770764db65si885300pgg.798.2022.11.24.02.19.42; Thu, 24 Nov 2022 02:19:54 -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; dkim=pass header.i=@gmx.net header.s=s31663417 header.b=Vqt+iezX; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbiKXKBm (ORCPT + 87 others); Thu, 24 Nov 2022 05:01:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbiKXKBl (ORCPT ); Thu, 24 Nov 2022 05:01:41 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35A372F3B1; Thu, 24 Nov 2022 02:01:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1669284079; bh=/9FLyEj0n+MtWEUQoIkaa/u0bNRlgIDP3h/BXKUCiKE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Vqt+iezXMd5oCrYIPMXCWThYVsfWSeR554qJKc0wqV2PVFpz0HTXb7MU1e/KvMiBL VbqTW3vqDYzy+aQNoDnoyNmB+DQQZhGCI5WWBwf7Wk5lGrkSe4AakFLbpz3aYX+GvD 9cZy9erDwlNKE6oDYgeGYOSqIgKu+WFKmQuffFBV+n4+sWNx8ZNqAWIgSJ14OG0XiR kVP30V1rer1ch9jr0XQlbtfg/7drmI9PRbmC79MO1ohKpb6eWH1Z6d9C9LgoVMXTbL +wWWGvBI0nA3DUZdd1yQuYPlHo44DdQyjdvSCx9PSnmqw7pW1Tx8O61VHoYzrT9uu5 NW3aMIWMwJeXQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([95.223.44.31]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M72sJ-1opeam0Oyt-008Wfq; Thu, 24 Nov 2022 11:01:19 +0100 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= To: linux-arm-kernel@lists.infradead.org Cc: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: pxa2xx: Don't mention &pwri2c where it doesn't exist Date: Thu, 24 Nov 2022 11:01:12 +0100 Message-Id: <20221124100112.4172513-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:9Ot0OMkcsI4e0y6ae0wMYriPlY4QX5twMZ+8eHAvrmRPa6fXQ5l pAXyEmVKQUVRuQDTtyRDb2SfEmO6blPrZoX6wWhuDshJ23pbJ6eHEYCoxId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FvIpek5otseJxexOji9tiBLFUTR6r62evQjVvemgkgo UbXN3g== X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no 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 The pwri2c node does not exist in all PXA2xx SoCs (specifically not in PXA25x), and thus isn't defined in pxa2xx.dtsi. It is, however, currently mentioned in /aliases, causing an error when building a devicetree that doesn't define it. Move the mention of &pwri2c in /aliases to the files that define it (pxa27x.dtsi and pxa3xx.dtsi), to avoid the error mentioned above. Signed-off-by: Jonathan Neusch=C3=A4fer =2D-- arch/arm/boot/dts/pxa27x.dtsi | 5 +++++ arch/arm/boot/dts/pxa2xx.dtsi | 3 +-- arch/arm/boot/dts/pxa3xx.dtsi | 5 +++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts/pxa27x.dtsi index a2cbfb3be6090..1f217eceabbf7 100644 =2D-- a/arch/arm/boot/dts/pxa27x.dtsi +++ b/arch/arm/boot/dts/pxa27x.dtsi @@ -7,6 +7,11 @@ / { model =3D "Marvell PXA27x familiy SoC"; compatible =3D "marvell,pxa27x"; + aliases { + i2c0 =3D &pwri2c; + i2c1 =3D &pxai2c1; + }; + pxabus { pdma: dma-controller@40000000 { compatible =3D "marvell,pdma-1.0"; diff --git a/arch/arm/boot/dts/pxa2xx.dtsi b/arch/arm/boot/dts/pxa2xx.dtsi index 84154c43fe654..1332183f87456 100644 =2D-- a/arch/arm/boot/dts/pxa2xx.dtsi +++ b/arch/arm/boot/dts/pxa2xx.dtsi @@ -38,8 +38,7 @@ aliases { serial1 =3D &btuart; serial2 =3D &stuart; serial3 =3D &hwuart; - i2c0 =3D &pwri2c; - i2c1 =3D &pxai2c1; + i2c0 =3D &pxai2c1; }; cpus { diff --git a/arch/arm/boot/dts/pxa3xx.dtsi b/arch/arm/boot/dts/pxa3xx.dtsi index f9c216f918653..57ff0a63e9acd 100644 =2D-- a/arch/arm/boot/dts/pxa3xx.dtsi +++ b/arch/arm/boot/dts/pxa3xx.dtsi @@ -117,6 +117,11 @@ / { model =3D "Marvell PXA3xx familiy SoC"; compatible =3D "marvell,pxa3xx"; + aliases { + i2c0 =3D &pwri2c; + i2c1 =3D &pxai2c1; + }; + pxabus { pdma: dma-controller@40000000 { compatible =3D "marvell,pdma-1.0"; =2D- 2.35.1