From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93FDED2E7 for ; Wed, 15 Feb 2023 20:52:58 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B769B143D; Wed, 15 Feb 2023 12:53:40 -0800 (PST) Received: from slackpad.lan (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 06C113F881; Wed, 15 Feb 2023 12:52:55 -0800 (PST) Date: Wed, 15 Feb 2023 20:50:56 +0000 From: Andre Przywara To: Bastian Germann Cc: Wilken Gottwalt , Ohad Ben-Cohen , Bjorn Andersson , Baolin Wang , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Samuel Holland , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org Subject: Re: [PATCH v2 5/5] arm64: dts: allwinner: a64: Add hwspinlock node Message-ID: <20230215205056.5aac7550@slackpad.lan> In-Reply-To: <20230215203711.6293-6-bage@debian.org> References: <20230215203711.6293-1-bage@debian.org> <20230215203711.6293-6-bage@debian.org> Organization: Arm Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.31; x86_64-slackware-linux-gnu) Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 15 Feb 2023 21:37:10 +0100 Bastian Germann wrote: Hi, > Add the hwspinlock to A64 which is already implemented for A31. > > Signed-off-by: Bastian Germann This looks alright to me, but there is still the debate what to do with the names properties. So holding any tags back until this is resolved. Cheers, Andre > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > index 77b5349f6087..f2ecc21f06ed 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > @@ -851,6 +851,17 @@ wdt0: watchdog@1c20ca0 { > clocks = <&osc24M>; > }; > > + hwspinlock: hwlock@1c18000 { > + compatible = "allwinner,sun50i-a64-hwspinlock", > + "allwinner,sun6i-a31-hwspinlock"; > + reg = <0x01c18000 0x1000>; > + clocks = <&ccu CLK_BUS_SPINLOCK>; > + clock-names = "ahb"; > + resets = <&ccu RST_BUS_SPINLOCK>; > + reset-names = "ahb"; > + #hwlock-cells = <1>; > + }; > + > spdif: spdif@1c21000 { > #sound-dai-cells = <0>; > compatible = "allwinner,sun50i-a64-spdif",