1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*cb7aa33aSEmmanuel Vadot%YAML 1.2 3*cb7aa33aSEmmanuel Vadot--- 4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/maxim,max98095.yaml# 5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*cb7aa33aSEmmanuel Vadot 7*cb7aa33aSEmmanuel Vadottitle: Maxim Integrated MAX98095 audio codec 8*cb7aa33aSEmmanuel Vadot 9*cb7aa33aSEmmanuel Vadotmaintainers: 10*cb7aa33aSEmmanuel Vadot - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11*cb7aa33aSEmmanuel Vadot 12*cb7aa33aSEmmanuel VadotallOf: 13*cb7aa33aSEmmanuel Vadot - $ref: dai-common.yaml# 14*cb7aa33aSEmmanuel Vadot 15*cb7aa33aSEmmanuel Vadotproperties: 16*cb7aa33aSEmmanuel Vadot compatible: 17*cb7aa33aSEmmanuel Vadot enum: 18*cb7aa33aSEmmanuel Vadot - maxim,max98095 19*cb7aa33aSEmmanuel Vadot 20*cb7aa33aSEmmanuel Vadot reg: 21*cb7aa33aSEmmanuel Vadot maxItems: 1 22*cb7aa33aSEmmanuel Vadot 23*cb7aa33aSEmmanuel Vadot clocks: 24*cb7aa33aSEmmanuel Vadot items: 25*cb7aa33aSEmmanuel Vadot - description: master clock 26*cb7aa33aSEmmanuel Vadot 27*cb7aa33aSEmmanuel Vadot clock-names: 28*cb7aa33aSEmmanuel Vadot items: 29*cb7aa33aSEmmanuel Vadot - const: mclk 30*cb7aa33aSEmmanuel Vadot 31*cb7aa33aSEmmanuel Vadot '#sound-dai-cells': 32*cb7aa33aSEmmanuel Vadot const: 1 33*cb7aa33aSEmmanuel Vadot 34*cb7aa33aSEmmanuel Vadotrequired: 35*cb7aa33aSEmmanuel Vadot - compatible 36*cb7aa33aSEmmanuel Vadot - reg 37*cb7aa33aSEmmanuel Vadot 38*cb7aa33aSEmmanuel VadotunevaluatedProperties: false 39*cb7aa33aSEmmanuel Vadot 40*cb7aa33aSEmmanuel Vadotexamples: 41*cb7aa33aSEmmanuel Vadot - | 42*cb7aa33aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 43*cb7aa33aSEmmanuel Vadot 44*cb7aa33aSEmmanuel Vadot i2c { 45*cb7aa33aSEmmanuel Vadot #address-cells = <1>; 46*cb7aa33aSEmmanuel Vadot #size-cells = <0>; 47*cb7aa33aSEmmanuel Vadot 48*cb7aa33aSEmmanuel Vadot audio-codec@11 { 49*cb7aa33aSEmmanuel Vadot compatible = "maxim,max98095"; 50*cb7aa33aSEmmanuel Vadot reg = <0x11>; 51*cb7aa33aSEmmanuel Vadot clocks = <&i2s0 0>; 52*cb7aa33aSEmmanuel Vadot clock-names = "mclk"; 53*cb7aa33aSEmmanuel Vadot }; 54*cb7aa33aSEmmanuel Vadot }; 55