1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/sound/wlf,w 4 $id: http://devicetree.org/schemas/sound/wlf,wm8750.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: WM8750 and WM8987 audio CODECs 7 title: WM8750 and WM8987 audio CODECs 8 8 9 description: | 9 description: | 10 These devices support both I2C and SPI (conf 10 These devices support both I2C and SPI (configured with pin strapping 11 on the board). 11 on the board). 12 12 13 maintainers: 13 maintainers: 14 - Mark Brown <broonie@kernel.org> 14 - Mark Brown <broonie@kernel.org> 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - wlf,wm8750 19 - wlf,wm8750 20 - wlf,wm8987 20 - wlf,wm8987 21 21 22 reg: 22 reg: 23 description: 23 description: 24 The I2C address of the device for I2C, t 24 The I2C address of the device for I2C, the chip select number for SPI 25 maxItems: 1 25 maxItems: 1 26 26 27 additionalProperties: false 27 additionalProperties: false 28 28 29 required: 29 required: 30 - reg 30 - reg 31 31 32 examples: 32 examples: 33 - | 33 - | 34 i2c { 34 i2c { 35 #address-cells = <1>; 35 #address-cells = <1>; 36 #size-cells = <0>; 36 #size-cells = <0>; 37 37 38 codec@1a { 38 codec@1a { 39 compatible = "wlf,wm8750"; 39 compatible = "wlf,wm8750"; 40 reg = <0x1a>; 40 reg = <0x1a>; 41 }; 41 }; 42 }; 42 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.