[PATCH v2 4/5] dt-bindings: hwlock: sun6i: Add a64 compatible string

From: Bastian Germann
Date: Wed Feb 15 2023 - 15:37:40 EST


Add an allwinner,sun50i-a64-hwspinlock compatible string to the device
tree binding. The A31 and A64 have compatible hwspinlocks.

Signed-off-by: Bastian Germann <bage@xxxxxxxxxx>
---
.../bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
index 6cdfe22deb3c..281c285282a1 100644
--- a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
+++ b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
@@ -15,7 +15,9 @@ description:

properties:
compatible:
- const: allwinner,sun6i-a31-hwspinlock
+ items:
+ - const: allwinner,sun6i-a31-hwspinlock
+ - const: allwinner,sun50i-a64-hwspinlock

reg:
maxItems: 1
--
2.39.1