18c2ecf20Sopenharmony_ciWM8731 audio CODEC 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThis device supports both I2C and SPI (configured with pin strapping 48c2ecf20Sopenharmony_cion the board). 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciRequired properties: 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci - compatible : "wlf,wm8731" 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci - reg : the I2C address of the device for I2C, the chip select 118c2ecf20Sopenharmony_ci number for SPI. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciExample: 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciwm8731: codec@1a { 168c2ecf20Sopenharmony_ci compatible = "wlf,wm8731"; 178c2ecf20Sopenharmony_ci reg = <0x1a>; 188c2ecf20Sopenharmony_ci}; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciAvailable audio endpoints for an audio-routing table: 218c2ecf20Sopenharmony_ci * LOUT: Left Channel Line Output 228c2ecf20Sopenharmony_ci * ROUT: Right Channel Line Output 238c2ecf20Sopenharmony_ci * LHPOUT: Left Channel Headphone Output 248c2ecf20Sopenharmony_ci * RHPOUT: Right Channel Headphone Output 258c2ecf20Sopenharmony_ci * LLINEIN: Left Channel Line Input 268c2ecf20Sopenharmony_ci * RLINEIN: Right Channel Line Input 278c2ecf20Sopenharmony_ci * MICIN: Microphone Input 28