pcm512x.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. PCM512x audio CODECs
  2. These devices support both I2C and SPI (configured with pin strapping
  3. on the board).
  4. Required properties:
  5. - compatible : One of "ti,pcm5121", "ti,pcm5122", "ti,pcm5141" or
  6. "ti,pcm5142"
  7. - reg : the I2C address of the device for I2C, the chip select
  8. number for SPI.
  9. - AVDD-supply, DVDD-supply, and CPVDD-supply : power supplies for the
  10. device, as covered in bindings/regulator/regulator.txt
  11. Optional properties:
  12. - clocks : A clock specifier for the clock connected as SCLK. If this
  13. is absent the device will be configured to clock from BCLK. If pll-in
  14. and pll-out are specified in addition to a clock, the device is
  15. configured to accept clock input on a specified gpio pin.
  16. - pll-in, pll-out : gpio pins used to connect the pll using <1>
  17. through <6>. The device will be configured for clock input on the
  18. given pll-in pin and PLL output on the given pll-out pin. An
  19. external connection from the pll-out pin to the SCLK pin is assumed.
  20. Examples:
  21. pcm5122: pcm5122@4c {
  22. compatible = "ti,pcm5122";
  23. reg = <0x4c>;
  24. AVDD-supply = <&reg_3v3_analog>;
  25. DVDD-supply = <&reg_1v8>;
  26. CPVDD-supply = <&reg_3v3>;
  27. };
  28. pcm5142: pcm5142@4c {
  29. compatible = "ti,pcm5142";
  30. reg = <0x4c>;
  31. AVDD-supply = <&reg_3v3_analog>;
  32. DVDD-supply = <&reg_1v8>;
  33. CPVDD-supply = <&reg_3v3>;
  34. clocks = <&sck>;
  35. pll-in = <3>;
  36. pll-out = <6>;
  37. };