^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) WM8731 audio CODEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) This device supports both I2C and SPI (configured with pin strapping
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) on the board).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - compatible : "wlf,wm8731"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - reg : the I2C address of the device for I2C, the chip select
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) number for SPI.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) wm8731: codec@1a {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) compatible = "wlf,wm8731";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) reg = <0x1a>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Available audio endpoints for an audio-routing table:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) * LOUT: Left Channel Line Output
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) * ROUT: Right Channel Line Output
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) * LHPOUT: Left Channel Headphone Output
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) * RHPOUT: Right Channel Headphone Output
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) * LLINEIN: Left Channel Line Input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) * RLINEIN: Right Channel Line Input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) * MICIN: Microphone Input