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.
64 - $ref: dai-common.yaml#
65 - $ref: /schemas/spi/spi-peripheral-props.yaml#
67 unevaluatedProperties: false
75 compatible = "wlf,wm8731";
77 spi-max-frequency = <12500000>;
79 AVDD-supply = <&avdd_reg>;
80 HPVDD-supply = <&hpvdd_reg>;
81 DCVDD-supply = <&dcvdd_reg>;
82 DBVDD-supply = <&dbvdd_reg>;
90 wm8731_spi: codec@1b {
91 compatible = "wlf,wm8731";
94 AVDD-supply = <&avdd_reg>;
95 HPVDD-supply = <&hpvdd_reg>;
96 DCVDD-supply = <&dcvdd_reg>;
97 DBVDD-supply = <&dbvdd_reg>;