1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*aa1a8ff2SEmmanuel Vadot%YAML 1.2 3*aa1a8ff2SEmmanuel Vadot--- 4*aa1a8ff2SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml# 5*aa1a8ff2SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*aa1a8ff2SEmmanuel Vadot 7*aa1a8ff2SEmmanuel Vadottitle: Wolfson WM8904/WM8912 audio codecs 8*aa1a8ff2SEmmanuel Vadot 9*aa1a8ff2SEmmanuel Vadotmaintainers: 10*aa1a8ff2SEmmanuel Vadot - patches@opensource.cirrus.com 11*aa1a8ff2SEmmanuel Vadot 12*aa1a8ff2SEmmanuel Vadotdescription: | 13*aa1a8ff2SEmmanuel Vadot Pins on the device (for linking into audio routes): 14*aa1a8ff2SEmmanuel Vadot IN1L, IN1R, IN2L, IN2R, IN3L, IN3R, HPOUTL, HPOUTR, LINEOUTL, LINEOUTR, 15*aa1a8ff2SEmmanuel Vadot MICBIAS 16*aa1a8ff2SEmmanuel Vadot 17*aa1a8ff2SEmmanuel Vadotproperties: 18*aa1a8ff2SEmmanuel Vadot compatible: 19*aa1a8ff2SEmmanuel Vadot enum: 20*aa1a8ff2SEmmanuel Vadot - wlf,wm8904 21*aa1a8ff2SEmmanuel Vadot - wlf,wm8912 22*aa1a8ff2SEmmanuel Vadot 23*aa1a8ff2SEmmanuel Vadot reg: 24*aa1a8ff2SEmmanuel Vadot maxItems: 1 25*aa1a8ff2SEmmanuel Vadot 26*aa1a8ff2SEmmanuel Vadot "#sound-dai-cells": 27*aa1a8ff2SEmmanuel Vadot const: 0 28*aa1a8ff2SEmmanuel Vadot 29*aa1a8ff2SEmmanuel Vadot clocks: 30*aa1a8ff2SEmmanuel Vadot maxItems: 1 31*aa1a8ff2SEmmanuel Vadot 32*aa1a8ff2SEmmanuel Vadot clock-names: 33*aa1a8ff2SEmmanuel Vadot const: mclk 34*aa1a8ff2SEmmanuel Vadot 35*aa1a8ff2SEmmanuel Vadot AVDD-supply: true 36*aa1a8ff2SEmmanuel Vadot CPVDD-supply: true 37*aa1a8ff2SEmmanuel Vadot DBVDD-supply: true 38*aa1a8ff2SEmmanuel Vadot DCVDD-supply: true 39*aa1a8ff2SEmmanuel Vadot MICVDD-supply: true 40*aa1a8ff2SEmmanuel Vadot 41*aa1a8ff2SEmmanuel Vadotrequired: 42*aa1a8ff2SEmmanuel Vadot - compatible 43*aa1a8ff2SEmmanuel Vadot - reg 44*aa1a8ff2SEmmanuel Vadot - clocks 45*aa1a8ff2SEmmanuel Vadot - clock-names 46*aa1a8ff2SEmmanuel Vadot - AVDD-supply 47*aa1a8ff2SEmmanuel Vadot - CPVDD-supply 48*aa1a8ff2SEmmanuel Vadot - DBVDD-supply 49*aa1a8ff2SEmmanuel Vadot - DCVDD-supply 50*aa1a8ff2SEmmanuel Vadot - MICVDD-supply 51*aa1a8ff2SEmmanuel Vadot 52*aa1a8ff2SEmmanuel VadotallOf: 53*aa1a8ff2SEmmanuel Vadot - $ref: dai-common.yaml# 54*aa1a8ff2SEmmanuel Vadot 55*aa1a8ff2SEmmanuel VadotunevaluatedProperties: false 56*aa1a8ff2SEmmanuel Vadot 57*aa1a8ff2SEmmanuel Vadotexamples: 58*aa1a8ff2SEmmanuel Vadot - | 59*aa1a8ff2SEmmanuel Vadot i2c { 60*aa1a8ff2SEmmanuel Vadot #address-cells = <1>; 61*aa1a8ff2SEmmanuel Vadot #size-cells = <0>; 62*aa1a8ff2SEmmanuel Vadot 63*aa1a8ff2SEmmanuel Vadot codec@1a { 64*aa1a8ff2SEmmanuel Vadot compatible = "wlf,wm8904"; 65*aa1a8ff2SEmmanuel Vadot reg = <0x1a>; 66*aa1a8ff2SEmmanuel Vadot clocks = <&pck0>; 67*aa1a8ff2SEmmanuel Vadot clock-names = "mclk"; 68*aa1a8ff2SEmmanuel Vadot AVDD-supply = <®_1p8v>; 69*aa1a8ff2SEmmanuel Vadot CPVDD-supply = <®_1p8v>; 70*aa1a8ff2SEmmanuel Vadot DBVDD-supply = <®_1p8v>; 71*aa1a8ff2SEmmanuel Vadot DCVDD-supply = <®_1p8v>; 72*aa1a8ff2SEmmanuel Vadot MICVDD-supply = <®_1p8v>; 73*aa1a8ff2SEmmanuel Vadot }; 74*aa1a8ff2SEmmanuel Vadot }; 75