From patchwork Tue Mar 28 18:51:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13191448 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 32D05C6FD18 for ; Tue, 28 Mar 2023 18:52:54 +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=1snYyJ8b2GkpQ35kkkmMGJ+DM/irn6Ou5moSUASNxRY=; b=cqzYNw/g5T6C0m rj5zgBWlI8xIH/ltT3cycbHAIGY95SzDio2YPTkknK+gRPSqAbZCna/6n+9j9bhZrp3sUj9PlDebn K4EjQvc8NGRfvAuQ+REZfJxaiSwDlYOjQsyL6sygEk0OkTUMHwosyaQYv2WvYx5b+dADSFm2kcsbU 7hRyzbRJt1vKOltbT5ihV0HqwTjqMG+bIqB2GbaKNr0LWKUIEx3OojL35ksHR6Q3zIt0cI41YWe32 mu8OEdYdN9Ks19vnuwiO338n+ezqJpB9mSokfwXp3X0MxBgRhXSkBvPvlxfS/8GGvfPVJSPijubwm wOxA/aSc0TNvE9YOB5zw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phEQK-00FWUu-0h; Tue, 28 Mar 2023 18:52:00 +0000 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phEQH-00FWTp-1b for linux-arm-kernel@lists.infradead.org; Tue, 28 Mar 2023 18:51:58 +0000 Received: by mail-oi1-x22e.google.com with SMTP id q27so9002410oiw.0 for ; Tue, 28 Mar 2023 11:51:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680029515; x=1682621515; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9ugK0mF23Fyz7hIZHjINC4te6PX9o49izU9uda+2KhI=; b=nw9r5fgqg0Ld7v6lHR2FfbA8mt90+LUawTK5sC/KLTefo6PORIkIMwKScaTdFO5Wi2 xvfcFBbBGjBzUKWVYEEt7oASg+5FQ+i40ruACfLGwj5q4PxJGUp72W61zXz6xZ7u9wqg p63hTZj8b/kjsYM4l0G8feJrnBuqOE+zOX96W3tyf0PcJPD4nZ+j6sqjqzl0L0aN7PSf vZNkoJoIn8bqoOHJC+IpQKZlNYkM6Yl5rZZD+mTy0jDinzUpp/oDvg1aC3s2/gh+6ZTl 4IMKLjpVuTpNKs71PQDcRtF3/Ao1t6M0MCoLbxrdW4X87jCvO/rRIVhAJZaToSXVKtNu qjog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680029515; x=1682621515; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9ugK0mF23Fyz7hIZHjINC4te6PX9o49izU9uda+2KhI=; b=GnKRXgxflA1SaigO2RL7H5BNYfOOwNY/6LsBWg5SsD4kmBTVJnKH3yzbfnROEMfaRr HiJmDNwIF9nm18G+A7Cv05QlJD5IVH9X0O9U+G09zZpNHtu+eK1/qRefMBPuyBC9RpuQ slw3W3+ilNjHQxcEZwFbuwKhoqbG51EPLZXApUxGjfUiiVAkdmQaYhOhaF1n/4b/YhrX oqJGY5LNrvUx5AFFlMZRmYDfXVHGiTWc+I3ZoeuUhsaz5fNqiRP3GNEDzQx+9hk2U+fG GU9t0Q9imx494CnrSNHTDGx9bhSlE0afc6cAyxD4pWFv+JCUU+ViWefr0AiGZNKTsThr 9sGg== X-Gm-Message-State: AO0yUKUPSOngRaz0GANXoSbC3gI0OKONZB2isUeHzra8bdd1XmX/EiHJ dZTMAAjAHyxNQlnqxkNNDNQ= X-Google-Smtp-Source: AK7set/XSOgsuu6JYhcUEdpMJdG62pxJ60qdWX0FA1mTc36MAqWyFM7OCnPMvuOdHyyTfmSloIU3kw== X-Received: by 2002:aca:2b01:0:b0:36f:9a3:7cdd with SMTP id i1-20020aca2b01000000b0036f09a37cddmr6559468oik.1.1680029514996; Tue, 28 Mar 2023 11:51:54 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b69:3342:12c0:f0a:8ea8]) by smtp.gmail.com with ESMTPSA id m206-20020acabcd7000000b0037d7f4eb7e8sm12683518oif.31.2023.03.28.11.51.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Mar 2023 11:51:54 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alistair@alistair23.me, philippe.schenker@toradex.com, Fabio Estevam Subject: [PATCH 1/2] ARM: dts: imx7d-remarkable2: Remove unnecessary #address-cells/#size-cells Date: Tue, 28 Mar 2023 15:51:46 -0300 Message-Id: <20230328185147.529718-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230328_115157_533411_4000A74C X-CRM114-Status: UNSURE ( 9.99 ) 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 From: Fabio Estevam Building with W=1 leads to the following dtc warning: arch/arm/boot/dts/imx7d-remarkable2.dts:319.19-335.4: Warning (avoid_unnecessary_addr_size): /soc/bus@30800000/i2c@30a50000/pmic@62: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Remove unnecessary #address-cells/#size-cells to fix it. Fixes: 9076cbaa7757 ("ARM: dts: imx7d-remarkable2: Enable silergy,sy7636a") Signed-off-by: Fabio Estevam Reviewed-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts index dc954e4f63e0..92cb45dacda6 100644 --- a/arch/arm/boot/dts/imx7d-remarkable2.dts +++ b/arch/arm/boot/dts/imx7d-remarkable2.dts @@ -321,8 +321,6 @@ sy7636a: pmic@62 { reg = <0x62>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_epdpmic>; - #address-cells = <1>; - #size-cells = <0>; #thermal-sensor-cells = <0>; epd-pwr-good-gpios = <&gpio6 21 GPIO_ACTIVE_HIGH>;