Thread (19 messages) 19 messages, 5 authors, 2023-02-16

Re: [PATCH v2 5/5] arm64: dts: allwinner: a64: Add hwspinlock node

From: Krzysztof Kozlowski <hidden>
Date: 2023-02-16 08:37:05
Also in: linux-devicetree, linux-remoteproc, linux-sunxi, lkml

On 15/02/2023 21:37, Bastian Germann wrote:
quoted hunk ↗ jump to hunk
Add the hwspinlock to A64 which is already implemented for A31.

Signed-off-by: Bastian Germann <redacted>
---
 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";
Please drop.
+			resets = <&ccu RST_BUS_SPINLOCK>;
+			reset-names = "ahb";
Please drop.

Fix the driver instead.

Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help