starfive: add new target for StarFive JH7100/7110 SoC
[openwrt/staging/981213.git] / target / linux / starfive / patches-6.1 / 1021-dt-bindings-reset-Add-starfive-jh7100-audrst-binding.patch
1 From 9220294c675a111651ff12b2389a81f0935553fd Mon Sep 17 00:00:00 2001
2 From: Emil Renner Berthing <kernel@esmil.dk>
3 Date: Tue, 7 Dec 2021 21:48:51 +0100
4 Subject: [PATCH 1021/1024] dt-bindings: reset: Add starfive,jh7100-audrst
5 bindings
6
7 Add bindings for the audio reset controller on the StarFive JH7100
8 RISC-V SoC.
9
10 Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
11 ---
12 .../reset/starfive,jh7100-audrst.yaml | 38 +++++++++++++++++++
13 1 file changed, 38 insertions(+)
14 create mode 100644 Documentation/devicetree/bindings/reset/starfive,jh7100-audrst.yaml
15
16 --- /dev/null
17 +++ b/Documentation/devicetree/bindings/reset/starfive,jh7100-audrst.yaml
18 @@ -0,0 +1,38 @@
19 +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
20 +%YAML 1.2
21 +---
22 +$id: http://devicetree.org/schemas/reset/starfive,jh7100-audrst.yaml#
23 +$schema: http://devicetree.org/meta-schemas/core.yaml#
24 +
25 +title: StarFive JH7100 SoC Audio Reset Controller Device Tree Bindings
26 +
27 +maintainers:
28 + - Emil Renner Berthing <kernel@esmil.dk>
29 +
30 +properties:
31 + compatible:
32 + enum:
33 + - starfive,jh7100-audrst
34 +
35 + reg:
36 + maxItems: 1
37 +
38 + "#reset-cells":
39 + const: 1
40 +
41 +required:
42 + - compatible
43 + - reg
44 + - "#reset-cells"
45 +
46 +additionalProperties: false
47 +
48 +examples:
49 + - |
50 + reset-controller@10490000 {
51 + compatible = "starfive,jh7100-audrst";
52 + reg = <0x10490000 0x10000>;
53 + #reset-cells = <1>;
54 + };
55 +
56 +...