xref: /linux/Documentation/devicetree/bindings/sound/asahi-kasei,ak4375.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1*ae8fc294SKuninori Morimoto# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae8fc294SKuninori Morimoto%YAML 1.2
3*ae8fc294SKuninori Morimoto---
4*ae8fc294SKuninori Morimoto$id: http://devicetree.org/schemas/sound/asahi-kasei,ak4375.yaml#
5*ae8fc294SKuninori Morimoto$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae8fc294SKuninori Morimoto
7*ae8fc294SKuninori Morimototitle: AK4375 DAC and headphones amplifier
8*ae8fc294SKuninori Morimoto
9*ae8fc294SKuninori Morimotomaintainers:
10*ae8fc294SKuninori Morimoto  - Vincent Knecht <vincent.knecht@mailoo.org>
11*ae8fc294SKuninori Morimoto
12*ae8fc294SKuninori MorimotoallOf:
13*ae8fc294SKuninori Morimoto  - $ref: dai-common.yaml#
14*ae8fc294SKuninori Morimoto
15*ae8fc294SKuninori Morimotoproperties:
16*ae8fc294SKuninori Morimoto  compatible:
17*ae8fc294SKuninori Morimoto    const: asahi-kasei,ak4375
18*ae8fc294SKuninori Morimoto
19*ae8fc294SKuninori Morimoto  reg:
20*ae8fc294SKuninori Morimoto    maxItems: 1
21*ae8fc294SKuninori Morimoto
22*ae8fc294SKuninori Morimoto  '#sound-dai-cells':
23*ae8fc294SKuninori Morimoto    const: 0
24*ae8fc294SKuninori Morimoto
25*ae8fc294SKuninori Morimoto  avdd-supply:
26*ae8fc294SKuninori Morimoto    description: regulator phandle for the AVDD power supply.
27*ae8fc294SKuninori Morimoto
28*ae8fc294SKuninori Morimoto  tvdd-supply:
29*ae8fc294SKuninori Morimoto    description: regulator phandle for the TVDD power supply.
30*ae8fc294SKuninori Morimoto
31*ae8fc294SKuninori Morimoto  pdn-gpios:
32*ae8fc294SKuninori Morimoto    description: optional GPIO to set the PDN pin.
33*ae8fc294SKuninori Morimoto
34*ae8fc294SKuninori Morimotorequired:
35*ae8fc294SKuninori Morimoto  - compatible
36*ae8fc294SKuninori Morimoto  - reg
37*ae8fc294SKuninori Morimoto  - '#sound-dai-cells'
38*ae8fc294SKuninori Morimoto  - avdd-supply
39*ae8fc294SKuninori Morimoto  - tvdd-supply
40*ae8fc294SKuninori Morimoto
41*ae8fc294SKuninori MorimotounevaluatedProperties: false
42*ae8fc294SKuninori Morimoto
43*ae8fc294SKuninori Morimotoexamples:
44*ae8fc294SKuninori Morimoto  - |
45*ae8fc294SKuninori Morimoto    #include <dt-bindings/gpio/gpio.h>
46*ae8fc294SKuninori Morimoto    i2c {
47*ae8fc294SKuninori Morimoto      #address-cells = <1>;
48*ae8fc294SKuninori Morimoto      #size-cells = <0>;
49*ae8fc294SKuninori Morimoto
50*ae8fc294SKuninori Morimoto      headphones: audio-codec@10 {
51*ae8fc294SKuninori Morimoto        compatible = "asahi-kasei,ak4375";
52*ae8fc294SKuninori Morimoto        reg = <0x10>;
53*ae8fc294SKuninori Morimoto        avdd-supply = <&reg_headphones_avdd>;
54*ae8fc294SKuninori Morimoto        tvdd-supply = <&pm8916_l6>;
55*ae8fc294SKuninori Morimoto        pdn-gpios = <&msmgpio 114 GPIO_ACTIVE_HIGH>;
56*ae8fc294SKuninori Morimoto        pinctrl-names = "default";
57*ae8fc294SKuninori Morimoto        pinctrl-0 = <&headphones_pdn_default>;
58*ae8fc294SKuninori Morimoto        #sound-dai-cells = <0>;
59*ae8fc294SKuninori Morimoto      };
60*ae8fc294SKuninori Morimoto    };
61