1*5956d97fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*5956d97fSEmmanuel Vadot%YAML 1.2 3*5956d97fSEmmanuel Vadot--- 4*5956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/wm8750.yaml# 5*5956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5956d97fSEmmanuel Vadot 7*5956d97fSEmmanuel Vadottitle: WM8750 and WM8987 audio CODECs 8*5956d97fSEmmanuel Vadot 9*5956d97fSEmmanuel Vadotdescription: | 10*5956d97fSEmmanuel Vadot These devices support both I2C and SPI (configured with pin strapping 11*5956d97fSEmmanuel Vadot on the board). 12*5956d97fSEmmanuel Vadot 13*5956d97fSEmmanuel Vadotmaintainers: 14*5956d97fSEmmanuel Vadot - Mark Brown <broonie@kernel.org> 15*5956d97fSEmmanuel Vadot 16*5956d97fSEmmanuel Vadotproperties: 17*5956d97fSEmmanuel Vadot compatible: 18*5956d97fSEmmanuel Vadot enum: 19*5956d97fSEmmanuel Vadot - wlf,wm8750 20*5956d97fSEmmanuel Vadot - wlf,wm8987 21*5956d97fSEmmanuel Vadot 22*5956d97fSEmmanuel Vadot reg: 23*5956d97fSEmmanuel Vadot description: 24*5956d97fSEmmanuel Vadot The I2C address of the device for I2C, the chip select number for SPI 25*5956d97fSEmmanuel Vadot maxItems: 1 26*5956d97fSEmmanuel Vadot 27*5956d97fSEmmanuel VadotadditionalProperties: false 28*5956d97fSEmmanuel Vadot 29*5956d97fSEmmanuel Vadotrequired: 30*5956d97fSEmmanuel Vadot - reg 31*5956d97fSEmmanuel Vadot 32*5956d97fSEmmanuel Vadotexamples: 33*5956d97fSEmmanuel Vadot - | 34*5956d97fSEmmanuel Vadot i2c { 35*5956d97fSEmmanuel Vadot #address-cells = <1>; 36*5956d97fSEmmanuel Vadot #size-cells = <0>; 37*5956d97fSEmmanuel Vadot 38*5956d97fSEmmanuel Vadot codec@1a { 39*5956d97fSEmmanuel Vadot compatible = "wlf,wm8750"; 40*5956d97fSEmmanuel Vadot reg = <0x1a>; 41*5956d97fSEmmanuel Vadot }; 42*5956d97fSEmmanuel Vadot }; 43