18c2ecf20Sopenharmony_ciPCM512x audio CODECs 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThese devices support both I2C and SPI (configured with pin strapping 48c2ecf20Sopenharmony_cion the board). 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciRequired properties: 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci - compatible : One of "ti,pcm5121", "ti,pcm5122", "ti,pcm5141" or 98c2ecf20Sopenharmony_ci "ti,pcm5142" 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci - reg : the I2C address of the device for I2C, the chip select 128c2ecf20Sopenharmony_ci number for SPI. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci - AVDD-supply, DVDD-supply, and CPVDD-supply : power supplies for the 158c2ecf20Sopenharmony_ci device, as covered in bindings/regulator/regulator.txt 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciOptional properties: 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci - clocks : A clock specifier for the clock connected as SCLK. If this 208c2ecf20Sopenharmony_ci is absent the device will be configured to clock from BCLK. If pll-in 218c2ecf20Sopenharmony_ci and pll-out are specified in addition to a clock, the device is 228c2ecf20Sopenharmony_ci configured to accept clock input on a specified gpio pin. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci - pll-in, pll-out : gpio pins used to connect the pll using <1> 258c2ecf20Sopenharmony_ci through <6>. The device will be configured for clock input on the 268c2ecf20Sopenharmony_ci given pll-in pin and PLL output on the given pll-out pin. An 278c2ecf20Sopenharmony_ci external connection from the pll-out pin to the SCLK pin is assumed. 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciExamples: 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci pcm5122: pcm5122@4c { 328c2ecf20Sopenharmony_ci compatible = "ti,pcm5122"; 338c2ecf20Sopenharmony_ci reg = <0x4c>; 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci AVDD-supply = <®_3v3_analog>; 368c2ecf20Sopenharmony_ci DVDD-supply = <®_1v8>; 378c2ecf20Sopenharmony_ci CPVDD-supply = <®_3v3>; 388c2ecf20Sopenharmony_ci }; 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci pcm5142: pcm5142@4c { 428c2ecf20Sopenharmony_ci compatible = "ti,pcm5142"; 438c2ecf20Sopenharmony_ci reg = <0x4c>; 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci AVDD-supply = <®_3v3_analog>; 468c2ecf20Sopenharmony_ci DVDD-supply = <®_1v8>; 478c2ecf20Sopenharmony_ci CPVDD-supply = <®_3v3>; 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci clocks = <&sck>; 508c2ecf20Sopenharmony_ci pll-in = <3>; 518c2ecf20Sopenharmony_ci pll-out = <6>; 528c2ecf20Sopenharmony_ci }; 53