gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / Documentation / devicetree / bindings / sound / renesas,fsi.yaml
blobd1b65554e68111662bcd860cdf7d84bc51659c16
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/renesas,fsi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas FSI Sound Driver Device Tree Bindings
9 maintainers:
10   - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
12 properties:
13   $nodename:
14     pattern: "^sound@.*"
16   compatible:
17     oneOf:
18       # for FSI2 SoC
19       - items:
20         - enum:
21           - renesas,fsi2-sh73a0
22           - renesas,fsi2-r8a7740
23         - enum:
24           - renesas,sh_fsi2
25       # for Generic
26       - items:
27         - enum:
28           - renesas,sh_fsi
29           - renesas,sh_fsi2
31   reg:
32     maxItems: 1
34   interrupts:
35     maxItems: 1
37   fsia,spdif-connection:
38     $ref: /schemas/types.yaml#/definitions/flag
39     description: FSI is connected by S/PDIF
41   fsia,stream-mode-support:
42     $ref: /schemas/types.yaml#/definitions/flag
43     description: FSI supports 16bit stream mode
45   fsia,use-internal-clock:
46     $ref: /schemas/types.yaml#/definitions/flag
47     description: FSI uses internal clock when master mode
49   fsib,spdif-connection:
50     $ref: /schemas/types.yaml#/definitions/flag
51     description: same as fsia
53   fsib,stream-mode-support:
54     $ref: /schemas/types.yaml#/definitions/flag
55     description: same as fsia
57   fsib,use-internal-clock:
58     $ref: /schemas/types.yaml#/definitions/flag
59     description: same as fsia
61 required:
62   - compatible
63   - reg
64   - interrupts
66 additionalProperties: false
68 examples:
69   - |
70     sh_fsi2: sound@ec230000 {
71             compatible = "renesas,fsi2-r8a7740", "renesas,sh_fsi2";
72             reg = <0xec230000 0x400>;
73             interrupts = <0 146 0x4>;
75             fsia,spdif-connection;
76             fsia,stream-mode-support;
77             fsia,use-internal-clock;
78     };