From mboxrd@z Thu Jan 1 00:00:00 1970 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 17EF7CD1284 for ; Tue, 2 Apr 2024 19:32:40 +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:References:In-Reply-To: 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: List-Owner; bh=o1XR2DkghtUWmOVKXHiMyiJ+Cct8c5m9mYnpueoSIG0=; b=JxbRj0dqb1F10E Uqqhnd3wuPDCnTtuOFEb6mpbAn9OJxlFXQreMiRGsrJEvoiL/sl+RYfIRFq62VSvmYDmZh3Mlxe7q +6Q5zvpC4PN94pEYcRSAPUiIlv2sATwvnY7VWvpINl4r+XFtd2OIiUTHlyqxIoNtilDFg0B6xOF64 fRbPvTvz8GZX3iMjdfFJGXUQQWt4mt2ypgoPku5nYoUMhVIFmPcQpfhrLQ3rveE5qbBPDshJjE1Rg WYTD1vAKjXOSJRkOYGCcwxWQCGePeYDvZ3CFsZvW8izP/LvqPrEOtqw8lfmDm+AJLaTAq2DVYVvVM bJd6km/C4SumBxbX8LJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrjrz-0000000CWWI-1CdO; Tue, 02 Apr 2024 19:32:31 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrjrn-0000000CWMz-1TpX for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2024 19:32:24 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id B197F61068; Tue, 2 Apr 2024 19:32:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA066C43399; Tue, 2 Apr 2024 19:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712086338; bh=eBlE96tIOWBCJILzF+odJbWB2jOmGErusUnoe0WS9tk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jYd1wR8bHjnqh8fuKeN2S9Cf4sKMUWnBdsuoAPr2C0ZtJZVr7sYhaaRzOB2wUgYGo IZNMJWbHdYfgFQ3ty73N1ZBYumPOEh0Fozi4BH/prHTZAZWZBhswNIpd4I0h9pyurL u1mIiNQscpdmKgDC+OOWrtio9w213VipF8K20sMq6h7WXWzZLH+a0Pc4c7NWlsdA9P s4+CQpb0g2jJ3K9c2Ra0ZqGlW+h/7p3FYtrmZdkiUax/MnJEy3n3efD5303uhJO3aD 8lJXNiuYVry8/m5W7MbcUthGSrzVyxDjSn8f9vNLfrJ1frcQbSXaXjCHfWjtlV6iBt auIfC5Ddi5X0w== From: Krzysztof Kozlowski To: Wei Xu , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 8/9] arm64: dts: hisilicon: hi6220-hikey: drop unit addresses from fixed regulators Date: Tue, 2 Apr 2024 21:31:47 +0200 Message-Id: <20240402193148.62323-8-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240402193148.62323-1-krzk@kernel.org> References: <20240402193148.62323-1-krzk@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240402_123219_977770_542255C0 X-CRM114-Status: GOOD ( 10.64 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixed regulators are not part of any MMIO bus, so they should not have unit addresses. This fixes dtc W=1 warnings: hi6220-hikey.dts:85.26-92.4: Warning (unit_address_vs_reg): /regulator@0: node has a unit name, but no reg or ranges property hi6220-hikey.dts:94.27-102.4: Warning (unit_address_vs_reg): /regulator@1: node has a unit name, but no reg or ranges property hi6220-hikey.dts:104.26-113.4: Warning (unit_address_vs_reg): /regulator@2: node has a unit name, but no reg or ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index a2aa17e4dfdf..2d304efe081d 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -82,7 +82,7 @@ reboot-mode { }; }; - reg_sys_5v: regulator@0 { + reg_sys_5v: regulator-0 { compatible = "regulator-fixed"; regulator-name = "SYS_5V"; regulator-min-microvolt = <5000000>; @@ -91,7 +91,7 @@ reg_sys_5v: regulator@0 { regulator-always-on; }; - reg_vdd_3v3: regulator@1 { + reg_vdd_3v3: regulator-1 { compatible = "regulator-fixed"; regulator-name = "VDD_3V3"; regulator-min-microvolt = <3300000>; @@ -101,7 +101,7 @@ reg_vdd_3v3: regulator@1 { vin-supply = <®_sys_5v>; }; - reg_5v_hub: regulator@2 { + reg_5v_hub: regulator-2 { compatible = "regulator-fixed"; regulator-name = "5V_HUB"; regulator-min-microvolt = <5000000>; -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE38B15B966; Tue, 2 Apr 2024 19:32:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712086338; cv=none; b=ttyaKEHc9jR4xbkOFO/xE6Ma/+8FzZSqxP/IWl+pRcW1wWz4OS8ymard9RayzujKj54mH5x0Zq7PJtHrSDg4HvFSx3cvYF7tzFp0AgNHt7xslWsc8XqonN2lW6Nvm3aCe4dL8d5jzUWMJmErsrpP/ov5i+Ow5VbYX/NhhXkNyW8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712086338; c=relaxed/simple; bh=eBlE96tIOWBCJILzF+odJbWB2jOmGErusUnoe0WS9tk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=RuHOWG8ck6NYAB+MbQDoISiykQlOVpEBR5rcs4YOOMwr+Gnu3UTR2BGtr0LXG5NZWDjaJP1E4XPD7ak/qC7RsJ0FAdJgPVyUryGdb5RtgmBz4lEa0WvlHmorioHd3J5Cd+jAaiTAkXKjnsloYwv0dguYSqRm6P0yxMcG5VzydmI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jYd1wR8b; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jYd1wR8b" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA066C43399; Tue, 2 Apr 2024 19:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712086338; bh=eBlE96tIOWBCJILzF+odJbWB2jOmGErusUnoe0WS9tk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jYd1wR8bHjnqh8fuKeN2S9Cf4sKMUWnBdsuoAPr2C0ZtJZVr7sYhaaRzOB2wUgYGo IZNMJWbHdYfgFQ3ty73N1ZBYumPOEh0Fozi4BH/prHTZAZWZBhswNIpd4I0h9pyurL u1mIiNQscpdmKgDC+OOWrtio9w213VipF8K20sMq6h7WXWzZLH+a0Pc4c7NWlsdA9P s4+CQpb0g2jJ3K9c2Ra0ZqGlW+h/7p3FYtrmZdkiUax/MnJEy3n3efD5303uhJO3aD 8lJXNiuYVry8/m5W7MbcUthGSrzVyxDjSn8f9vNLfrJ1frcQbSXaXjCHfWjtlV6iBt auIfC5Ddi5X0w== From: Krzysztof Kozlowski To: Wei Xu , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 8/9] arm64: dts: hisilicon: hi6220-hikey: drop unit addresses from fixed regulators Date: Tue, 2 Apr 2024 21:31:47 +0200 Message-Id: <20240402193148.62323-8-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240402193148.62323-1-krzk@kernel.org> References: <20240402193148.62323-1-krzk@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fixed regulators are not part of any MMIO bus, so they should not have unit addresses. This fixes dtc W=1 warnings: hi6220-hikey.dts:85.26-92.4: Warning (unit_address_vs_reg): /regulator@0: node has a unit name, but no reg or ranges property hi6220-hikey.dts:94.27-102.4: Warning (unit_address_vs_reg): /regulator@1: node has a unit name, but no reg or ranges property hi6220-hikey.dts:104.26-113.4: Warning (unit_address_vs_reg): /regulator@2: node has a unit name, but no reg or ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index a2aa17e4dfdf..2d304efe081d 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -82,7 +82,7 @@ reboot-mode { }; }; - reg_sys_5v: regulator@0 { + reg_sys_5v: regulator-0 { compatible = "regulator-fixed"; regulator-name = "SYS_5V"; regulator-min-microvolt = <5000000>; @@ -91,7 +91,7 @@ reg_sys_5v: regulator@0 { regulator-always-on; }; - reg_vdd_3v3: regulator@1 { + reg_vdd_3v3: regulator-1 { compatible = "regulator-fixed"; regulator-name = "VDD_3V3"; regulator-min-microvolt = <3300000>; @@ -101,7 +101,7 @@ reg_vdd_3v3: regulator@1 { vin-supply = <®_sys_5v>; }; - reg_5v_hub: regulator@2 { + reg_5v_hub: regulator-2 { compatible = "regulator-fixed"; regulator-name = "5V_HUB"; regulator-min-microvolt = <5000000>; -- 2.34.1