gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / Documentation / devicetree / bindings / ata / renesas,rcar-sata.yaml
blob7b69831060d8b9c5544baf19834d4d746da59d06
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: "http://devicetree.org/schemas/ata/renesas,rcar-sata.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Renesas R-Car Serial-ATA Interface
9 maintainers:
10   - Geert Uytterhoeven <geert+renesas@glider.be>
12 properties:
13   compatible:
14     oneOf:
15       - items:
16           - enum:
17               - renesas,sata-r8a7779      # R-Car H1
18       - items:
19           - enum:
20               - renesas,sata-r8a7790-es1  # R-Car H2 ES1
21               - renesas,sata-r8a7790      # R-Car H2 other than ES1
22               - renesas,sata-r8a7791      # R-Car M2-W
23               - renesas,sata-r8a7793      # R-Car M2-N
24           - const: renesas,rcar-gen2-sata # generic R-Car Gen2
25       - items:
26           - enum:
27               - renesas,sata-r8a774b1     # RZ/G2N
28               - renesas,sata-r8a7795      # R-Car H3
29               - renesas,sata-r8a77965     # R-Car M3-N
30           - const: renesas,rcar-gen3-sata # generic R-Car Gen3 or RZ/G2
32   reg:
33     maxItems: 1
35   interrupts:
36     maxItems: 1
38   clocks:
39     maxItems: 1
41   iommus:
42     maxItems: 1
44   power-domains:
45     maxItems: 1
47   resets:
48     maxItems: 1
50 required:
51   - compatible
52   - reg
53   - interrupts
54   - clocks
56 additionalProperties: false
58 examples:
59   - |
60     #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
61     #include <dt-bindings/interrupt-controller/arm-gic.h>
62     #include <dt-bindings/power/r8a7791-sysc.h>
64     sata@ee300000 {
65             compatible = "renesas,sata-r8a7791", "renesas,rcar-gen2-sata";
66             reg = <0xee300000 0x200000>;
67             interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
68             clocks = <&cpg CPG_MOD 815>;
69             power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
70             resets = <&cpg 815>;
71     };