d1: add new target
[openwrt/staging/mans0n.git] / target / linux / d1 / patches-6.1 / 0046-dt-bindings-hwlock-sun6i-Add-per-SoC-compatibles.patch
1 From e7b8c42c6bf02f4c2e24b015a12cd9edad094644 Mon Sep 17 00:00:00 2001
2 From: Samuel Holland <samuel@sholland.org>
3 Date: Sun, 14 Nov 2021 12:36:52 -0600
4 Subject: [PATCH 046/117] dt-bindings: hwlock: sun6i: Add per-SoC compatibles
5
6 While all implementations of this hardware appear to be indentical, it
7 is possible that some difference exists. To be safe, add a compatible
8 for each SoC integration, using the A31 compatible only as a fallback.
9
10 Signed-off-by: Samuel Holland <samuel@sholland.org>
11 ---
12 .../hwlock/allwinner,sun6i-a31-hwspinlock.yaml | 16 +++++++++++++++-
13 1 file changed, 15 insertions(+), 1 deletion(-)
14
15 --- a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
16 +++ b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
17 @@ -15,7 +15,21 @@ description:
18
19 properties:
20 compatible:
21 - const: allwinner,sun6i-a31-hwspinlock
22 + oneOf:
23 + - items:
24 + - enum:
25 + - allwinner,sun8i-a23-hwspinlock
26 + - allwinner,sun8i-a33-hwspinlock
27 + - allwinner,sun8i-a50-hwspinlock
28 + - allwinner,sun8i-a83t-hwspinlock
29 + - allwinner,sun8i-h3-hwspinlock
30 + - allwinner,sun9i-a80-hwspinlock
31 + - allwinner,sun20i-d1-hwspinlock
32 + - allwinner,sun50i-a64-hwspinlock
33 + - allwinner,sun50i-h6-hwspinlock
34 + - allwinner,sun50i-r329-hwspinlock
35 + - const: allwinner,sun6i-a31-hwspinlock
36 + - const: allwinner,sun6i-a31-hwspinlock
37
38 reg:
39 maxItems: 1