ak4642.txt 796 B

12345678910111213141516171819202122232425262728293031323334353637
  1. AK4642 I2C transmitter
  2. This device supports I2C mode only.
  3. Required properties:
  4. - compatible : "asahi-kasei,ak4642" or "asahi-kasei,ak4643" or "asahi-kasei,ak4648"
  5. - reg : The chip select number on the I2C bus
  6. Optional properties:
  7. - #clock-cells : common clock binding; shall be set to 0
  8. - clocks : common clock binding; MCKI clock
  9. - clock-frequency : common clock binding; frequency of MCKO
  10. - clock-output-names : common clock binding; MCKO clock name
  11. Example 1:
  12. &i2c {
  13. ak4648: ak4648@0x12 {
  14. compatible = "asahi-kasei,ak4642";
  15. reg = <0x12>;
  16. };
  17. };
  18. Example 2:
  19. &i2c {
  20. ak4643: codec@12 {
  21. compatible = "asahi-kasei,ak4643";
  22. reg = <0x12>;
  23. #clock-cells = <0>;
  24. clocks = <&audio_clock>;
  25. clock-frequency = <12288000>;
  26. clock-output-names = "ak4643_mcko";
  27. };
  28. };