1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/wlf,wm8962.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Wolfson WM8962 Ultra-Low Power Stereo CODEC
10 - patches@opensource.cirrus.com
13 - $ref: dai-common.yaml#
32 description: Analogue supply.
35 description: Charge pump power supply.
38 description: Digital Buffer Supply.
41 description: Digital Core Supply.
44 description: Microphone bias amp supply.
47 description: PLL Supply
50 description: Supply for left speaker drivers.
53 description: Supply for right speaker drivers.
56 $ref: /schemas/types.yaml#/definitions/flag
58 If present, the SPK_MONO bit of R51 (Class D Control 2) gets set,
59 indicating that the speaker is in mono mode.
62 $ref: /schemas/types.yaml#/definitions/uint32
64 Default register value for R48 (Additional Control 4).
65 If absent, the default should be the register default.
68 $ref: /schemas/types.yaml#/definitions/uint32-array
72 A list of GPIO configuration register values. If absent, no
73 configuration of these registers is performed. Note that only values
74 within [0x0, 0xffff] are valid. Any other value is regarded as setting
75 the GPIO register to its reset value 0x0.
78 $ref: audio-graph-port.yaml#
79 unevaluatedProperties: false
93 unevaluatedProperties: false
97 #include <dt-bindings/clock/imx6qdl-clock.h>
100 #address-cells = <1>;
104 compatible = "wlf,wm8962";
106 clocks = <&clks IMX6QDL_CLK_CKO>;
107 DCVDD-supply = <®_audio>;
108 DBVDD-supply = <®_audio>;
109 AVDD-supply = <®_audio>;
110 CPVDD-supply = <®_audio>;
111 MICVDD-supply = <®_audio>;
112 PLLVDD-supply = <®_audio>;
113 SPKVDD1-supply = <®_audio>;
114 SPKVDD2-supply = <®_audio>;
116 0x0000 /* 0:Default */
117 0x0000 /* 1:Default */
118 0x0013 /* 2:FN_DMICCLK */
119 0x0000 /* 3:Default */
120 0x8014 /* 4:FN_DMICCDAT */
121 0x0000 /* 5:Default */