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,wm8904.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Wolfson WM8904/WM8912 audio codecs 7 title: Wolfson WM8904/WM8912 audio codecs 8 8 9 maintainers: 9 maintainers: 10 - patches@opensource.cirrus.com 10 - patches@opensource.cirrus.com 11 11 12 description: | 12 description: | 13 Pins on the device (for linking into audio r 13 Pins on the device (for linking into audio routes): 14 IN1L, IN1R, IN2L, IN2R, IN3L, IN3R, HPOUTL, 14 IN1L, IN1R, IN2L, IN2R, IN3L, IN3R, HPOUTL, HPOUTR, LINEOUTL, LINEOUTR, 15 MICBIAS 15 MICBIAS 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 enum: 19 enum: 20 - wlf,wm8904 20 - wlf,wm8904 21 - wlf,wm8912 21 - wlf,wm8912 22 22 23 reg: 23 reg: 24 maxItems: 1 24 maxItems: 1 25 25 26 "#sound-dai-cells": 26 "#sound-dai-cells": 27 const: 0 27 const: 0 28 28 29 clocks: 29 clocks: 30 maxItems: 1 30 maxItems: 1 31 31 32 clock-names: 32 clock-names: 33 const: mclk 33 const: mclk 34 34 35 AVDD-supply: true 35 AVDD-supply: true 36 CPVDD-supply: true 36 CPVDD-supply: true 37 DBVDD-supply: true 37 DBVDD-supply: true 38 DCVDD-supply: true 38 DCVDD-supply: true 39 MICVDD-supply: true 39 MICVDD-supply: true 40 40 41 required: 41 required: 42 - compatible 42 - compatible 43 - reg 43 - reg 44 - clocks 44 - clocks 45 - clock-names 45 - clock-names 46 - AVDD-supply 46 - AVDD-supply 47 - CPVDD-supply 47 - CPVDD-supply 48 - DBVDD-supply 48 - DBVDD-supply 49 - DCVDD-supply 49 - DCVDD-supply 50 - MICVDD-supply 50 - MICVDD-supply 51 51 52 allOf: 52 allOf: 53 - $ref: dai-common.yaml# 53 - $ref: dai-common.yaml# 54 54 55 unevaluatedProperties: false 55 unevaluatedProperties: false 56 56 57 examples: 57 examples: 58 - | 58 - | 59 i2c { 59 i2c { 60 #address-cells = <1>; 60 #address-cells = <1>; 61 #size-cells = <0>; 61 #size-cells = <0>; 62 62 63 codec@1a { 63 codec@1a { 64 compatible = "wlf,wm8904"; 64 compatible = "wlf,wm8904"; 65 reg = <0x1a>; 65 reg = <0x1a>; 66 clocks = <&pck0>; 66 clocks = <&pck0>; 67 clock-names = "mclk"; 67 clock-names = "mclk"; 68 AVDD-supply = <®_1p8v>; 68 AVDD-supply = <®_1p8v>; 69 CPVDD-supply = <®_1p8v>; 69 CPVDD-supply = <®_1p8v>; 70 DBVDD-supply = <®_1p8v>; 70 DBVDD-supply = <®_1p8v>; 71 DCVDD-supply = <®_1p8v>; 71 DCVDD-supply = <®_1p8v>; 72 MICVDD-supply = <®_1p8v>; 72 MICVDD-supply = <®_1p8v>; 73 }; 73 }; 74 }; 74 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.