18c2ecf20Sopenharmony_ciWM8741 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,wm8741" 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci - reg : the I2C address of the device for I2C, the chip select 118c2ecf20Sopenharmony_ci number for SPI. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciOptional properties: 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci - diff-mode: Differential output mode configuration. Default value for field 168c2ecf20Sopenharmony_ci DIFF in register R8 (MODE_CONTROL_2). If absent, the default is 0, shall be: 178c2ecf20Sopenharmony_ci 0 = stereo 188c2ecf20Sopenharmony_ci 1 = mono left 198c2ecf20Sopenharmony_ci 2 = stereo reversed 208c2ecf20Sopenharmony_ci 3 = mono right 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciExample: 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciwm8741: codec@1a { 258c2ecf20Sopenharmony_ci compatible = "wlf,wm8741"; 268c2ecf20Sopenharmony_ci reg = <0x1a>; 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci diff-mode = <3>; 298c2ecf20Sopenharmony_ci}; 30