1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/wlf,wm8731.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Wolfson Microelectromics WM8731 audio CODEC
10 - patches@opensource.cirrus.com
13 Wolfson Microelectronics WM8731 audio CODEC
15 Pins on the device (for linking into audio routes):
16 * LOUT: Left Channel Line Output
17 * ROUT: Right Channel Line Output
18 * LHPOUT: Left Channel Headphone Output
19 * RHPOUT: Right Channel Headphone Output
20 * LLINEIN: Left Channel Line Input
21 * RLINEIN: Right Channel Line Input
22 * MICIN: Microphone Input
36 description: Clock provider for MCLK pin.
44 description: Analog power supply regulator on the AVDD pin.
47 description: Headphone power supply regulator on the HPVDD pin.
50 description: Digital buffer supply regulator for the DBVDD pin.
53 description: Digital core supply regulator for the DCVDD pin.
55 spi-max-frequency: true
57 additionalProperties: false
73 compatible = "wlf,wm8731";
75 spi-max-frequency = <12500000>;
77 AVDD-supply = <&avdd_reg>;
78 HPVDD-supply = <&hpvdd_reg>;
79 DCVDD-supply = <&dcvdd_reg>;
80 DBVDD-supply = <&dbvdd_reg>;
88 wm8731_spi: codec@1b {
89 compatible = "wlf,wm8731";
92 AVDD-supply = <&avdd_reg>;
93 HPVDD-supply = <&hpvdd_reg>;
94 DCVDD-supply = <&dcvdd_reg>;
95 DBVDD-supply = <&dbvdd_reg>;