1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/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 12properties: 13 compatible: 14 const: asahi-kasei,ak4375 15 16 reg: 17 maxItems: 1 18 19 '#sound-dai-cells': 20 const: 0 21 22 avdd-supply: 23 description: regulator phandle for the AVDD power supply. 24 25 tvdd-supply: 26 description: regulator phandle for the TVDD power supply. 27 28 pdn-gpios: 29 description: optional GPIO to set the PDN pin. 30 31required: 32 - compatible 33 - reg 34 - '#sound-dai-cells' 35 - avdd-supply 36 - tvdd-supply 37 38additionalProperties: false 39 40examples: 41 - | 42 #include <dt-bindings/gpio/gpio.h> 43 i2c { 44 #address-cells = <1>; 45 #size-cells = <0>; 46 47 headphones: audio-codec@10 { 48 compatible = "asahi-kasei,ak4375"; 49 reg = <0x10>; 50 avdd-supply = <®_headphones_avdd>; 51 tvdd-supply = <&pm8916_l6>; 52 pdn-gpios = <&msmgpio 114 GPIO_ACTIVE_HIGH>; 53 pinctrl-names = "default"; 54 pinctrl-0 = <&headphones_pdn_default>; 55 #sound-dai-cells = <0>; 56 }; 57 }; 58