1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/sound/wlf,wm8940.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 title: Wolfson WM8940 Codec 8 9 maintainers: 10 - patches@opensource.cirrus.com 11 12 allOf: 13 - $ref: dai-common.yaml# 14 15 properties: 16 '#sound-dai-cells': 17 const: 0 18 19 compatible: 20 const: wlf,wm8940 21 22 reg: 23 maxItems: 1 24 25 spi-max-frequency: 26 maximum: 526000 27 28 required: 29 - '#sound-dai-cells' 30 - compatible 31 - reg 32 33 unevaluatedProperties: false 34 35 examples: 36 - | 37 spi { 38 #address-cells = <1>; 39 #size-cells = <0>; 40 41 codec@0 { 42 #sound-dai-cells = <0>; 43 compatible = "wlf,wm8940"; 44 reg = <0>; 45 spi-max-frequency = <500000>; 46 }; 47 }; 48 - | 49 i2c { 50 #address-cells = <1>; 51 #size-cells = <0>; 52 53 codec@1a { 54 #sound-dai-cells = <0>; 55 compatible = "wlf,wm8940"; 56 reg = <0x1a>; 57 }; 58 }; 59 60 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.