xref: /linux/Documentation/devicetree/bindings/sound/asahi-kasei,ak4104.yaml (revision 6e7fd890f1d6ac83805409e9c346240de2705584)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/asahi-kasei,ak4104.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: AK4104 S/PDIF transmitter
8
9allOf:
10  - $ref: dai-common.yaml#
11
12maintainers:
13  - Daniel Mack <github@zonque.org>
14  - Xiaxi Shen <shenxiaxi26@gmail.com>
15
16properties:
17  compatible:
18    const: asahi-kasei,ak4104
19
20  reg:
21    description: Chip select number on the SPI bus
22    maxItems: 1
23
24  vdd-supply:
25    description: A regulator node providing between 2.7V and 3.6V.
26
27  reset-gpios:
28    maxItems: 1
29    description: Optional GPIO spec for the reset pin, deasserted
30                  before communication starts.
31
32required:
33  - compatible
34  - reg
35  - vdd-supply
36
37unevaluatedProperties: false
38
39examples:
40  - |
41    i2c {
42        #address-cells = <1>;
43        #size-cells = <0>;
44        codec@0 {
45            compatible = "asahi-kasei,ak4104";
46            reg = <0>;
47            vdd-supply = <&vdd_3v3_reg>;
48        };
49    };
50