From patchwork Thu Nov 30 17:56:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 748653 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 A3ECD58103 for ; Thu, 30 Nov 2023 17:56:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pWL/8XCQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39605C433C9; Thu, 30 Nov 2023 17:56:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701366969; bh=gNNI6Vpn1UZq1RAioCl0smWD/0FRBB3YSPywtR360Dc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pWL/8XCQPjjyv2Z+YaeYOEMIAPX++Jzi3PJt2x27hS13WKN4IDrL66P2BFg2eNWjt L7VrK6rKGGfQ2JTN84Hum0YUGEVSEVj5Nx1kxjp4QdezxfrQAEQTvluJxCooI/7wf6 Wq0eWusxG5BjV3rj4/3TmkrcMIah8RsPFZ4XS7fUyE2YAz7JxJoI03aXbK3WFjEKjQ CRhqBY9T450UtHMMkJa+MBl5umX6VPOGV0BRZEtS75G4UGY+dzAeIvkbPaO/PQxe7u dpC4jDuDl8e2oPXHn4fA4oX3z/hJ8626tlnl8l/BFDYxTlz2U+JYHDQiruREFxYxbP Wc9OFPs/03W2g== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r8lHG-0003iC-34; Thu, 30 Nov 2023 18:56:42 +0100 From: Johan Hovold To: Wei Xu Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 2/2] arm64: dts: hisilicon: hikey970-pmic: clean up SPMI node Date: Thu, 30 Nov 2023 18:56:35 +0100 Message-ID: <20231130175635.14251-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231130175635.14251-1-johan+linaro@kernel.org> References: <20231130175635.14251-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Clean up the SPMI node by dropping the redundant status property and moving the 'reg' property after 'compatible' for consistency. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi b/arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi index c06e011a6c3f..299c4ab630e8 100644 --- a/arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi @@ -10,10 +10,9 @@ / { spmi: spmi@fff24000 { compatible = "hisilicon,kirin970-spmi-controller"; + reg = <0x0 0xfff24000 0x0 0x1000>; #address-cells = <2>; #size-cells = <0>; - status = "okay"; - reg = <0x0 0xfff24000 0x0 0x1000>; hisilicon,spmi-channel = <2>; pmic: pmic@0 {