From patchwork Wed Jun 15 08:06:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12881902 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3AD6AC433EF for ; Wed, 15 Jun 2022 08:05:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :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=ZYnTw3K+ZHIkEuBFjP9uv1B74RO3FGi+EvDqItefj2w=; b=cAhY6nehOcZ8hz 5dR/ti+DEeMYgT2JDOU0IARGi87tiajf8zWPfJ7HBhE6Pv4QfU6pUkvs9FTWtQIoK3vYR6foVJRCW 7ovt7MGDX8pEH4MioS4jK3v3+6bv+TYcta23xi66hNZp+tK8nxonWvrokKrroLlVNL+e1Uf+PB0+e 4Q+mpvyxuZfjnL12at9y27PP4HpV3UKFoqxbWjxDWykjB/nsOUB+WvKTxE242b+5/SBhfPq18epA0 P85qEGSJ0CgFSw23aJaZOXfVMLvry5AmtGgS38tOvAZjWG5GqJfjEe/mzInn4YZuUDQ3ucnyRAeOo l2+tFQlG88IE6j5yNJug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1O0d-00D9mE-Sm; Wed, 15 Jun 2022 08:04:16 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1O0a-00D9iy-Ey for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 08:04:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1655280252; x=1686816252; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ekMFSDApn8f/L2DLduY6YJpgD+dLG401qisoT15FBo4=; b=eJIFv0ncYbHMrLI7DOFVZiFJPzSOHpyf+hnt2gcwjDyq6/ls6CwTQX6D O1jviZEjfCvwcchMkMhV42ozxI51GmQbaxEYbHwJA7y6ssAfGYVHHDEWG LY645py8QUxiJf2gGW1bSzBIkzOtMwkwJhJEREI4Z8JhOqTfXQRJBD7d6 LZf0jSbiaYxGgyhSY31Ou9EnE4u9R/6hG8HvlghtM2ShiNSL8Wu2EZKCC MsGXNOBLi2vqF9csINtYiq1NjUZgVaz2Yctwhu8dCuuZljuGJb7ErQwd4 h1cZh84bRtSZAl/wnMGZ/RW+isN/6IkPQS9drRO0KvyQ5XpFE1z5M1e9R A==; X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="168484480" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Jun 2022 01:04:07 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Wed, 15 Jun 2022 01:04:07 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Wed, 15 Jun 2022 01:04:05 -0700 From: Claudiu Beznea To: , , , CC: , , , Claudiu Beznea Subject: [PATCH 1/2] ARM: dts: at91: sama5d2: fix compilation warning Date: Wed, 15 Jun 2022 11:06:32 +0300 Message-ID: <20220615080633.1881196-1-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220615_010412_550112_BCF8114F X-CRM114-Status: UNSURE ( 9.05 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix the following compilation warning: Warning (simple_bus_reg): /ahb/apb/resistive-touch: missing or empty reg/ranges property Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/sama5d2.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi index 89c71d419f82..b147db8b973f 100644 --- a/arch/arm/boot/dts/sama5d2.dtsi +++ b/arch/arm/boot/dts/sama5d2.dtsi @@ -99,6 +99,16 @@ ns_sram: sram@200000 { ranges = <0 0x00200000 0x20000>; }; + resistive_touch: resistive-touch { + compatible = "resistive-adc-touch"; + io-channels = <&adc AT91_SAMA5D2_ADC_X_CHANNEL>, + <&adc AT91_SAMA5D2_ADC_Y_CHANNEL>, + <&adc AT91_SAMA5D2_ADC_P_CHANNEL>; + io-channel-names = "x", "y", "pressure"; + touchscreen-min-pressure = <50000>; + status = "disabled"; + }; + ahb { compatible = "simple-bus"; #address-cells = <1>; @@ -1050,16 +1060,6 @@ adc: adc@fc030000 { status = "disabled"; }; - resistive_touch: resistive-touch { - compatible = "resistive-adc-touch"; - io-channels = <&adc AT91_SAMA5D2_ADC_X_CHANNEL>, - <&adc AT91_SAMA5D2_ADC_Y_CHANNEL>, - <&adc AT91_SAMA5D2_ADC_P_CHANNEL>; - io-channel-names = "x", "y", "pressure"; - touchscreen-min-pressure = <50000>; - status = "disabled"; - }; - pioA: pinctrl@fc038000 { compatible = "atmel,sama5d2-pinctrl"; reg = <0xfc038000 0x600>;