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