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