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,ak4375.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: AK4375 DAC and headphones amplifier 8 9maintainers: 10 - Vincent Knecht <vincent.knecht@mailoo.org> 11 12allOf: 13 - $ref: dai-common.yaml# 14 15properties: 16 compatible: 17 const: asahi-kasei,ak4375 18 19 reg: 20 maxItems: 1 21 22 '#sound-dai-cells': 23 const: 0 24 25 avdd-supply: 26 description: regulator phandle for the AVDD power supply. 27 28 tvdd-supply: 29 description: regulator phandle for the TVDD power supply. 30 31 pdn-gpios: 32 description: optional GPIO to set the PDN pin. 33 34required: 35 - compatible 36 - reg 37 - '#sound-dai-cells' 38 - avdd-supply 39 - tvdd-supply 40 41unevaluatedProperties: false 42 43examples: 44 - | 45 #include <dt-bindings/gpio/gpio.h> 46 i2c { 47 #address-cells = <1>; 48 #size-cells = <0>; 49 50 headphones: audio-codec@10 { 51 compatible = "asahi-kasei,ak4375"; 52 reg = <0x10>; 53 avdd-supply = <®_headphones_avdd>; 54 tvdd-supply = <&pm8916_l6>; 55 pdn-gpios = <&msmgpio 114 GPIO_ACTIVE_HIGH>; 56 pinctrl-names = "default"; 57 pinctrl-0 = <&headphones_pdn_default>; 58 #sound-dai-cells = <0>; 59 }; 60 }; 61