cs53l30.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. CS53L30 audio CODEC
  2. Required properties:
  3. - compatible : "cirrus,cs53l30"
  4. - reg : the I2C address of the device
  5. - VA-supply, VP-supply : power supplies for the device,
  6. as covered in Documentation/devicetree/bindings/regulator/regulator.txt.
  7. Optional properties:
  8. - reset-gpios : a GPIO spec for the reset pin.
  9. - mute-gpios : a GPIO spec for the MUTE pin. The active state can be either
  10. GPIO_ACTIVE_HIGH or GPIO_ACTIVE_LOW, which would be handled
  11. by the driver automatically.
  12. - cirrus,micbias-lvl : Set the output voltage level on the MICBIAS Pin.
  13. 0 = Hi-Z
  14. 1 = 1.80 V
  15. 2 = 2.75 V
  16. - cirrus,use-sdout2 : This is a boolean property. If present, it indicates
  17. the hardware design connects both SDOUT1 and SDOUT2
  18. pins to output data. Otherwise, it indicates that
  19. only SDOUT1 is connected for data output.
  20. * CS53l30 supports 4-channel data output in the same
  21. * frame using two different ways:
  22. * 1) Normal I2S mode on two data pins -- each SDOUT
  23. * carries 2-channel data in the same time.
  24. * 2) TDM mode on one signle data pin -- SDOUT1 carries
  25. * 4-channel data per frame.
  26. Example:
  27. codec: cs53l30@48 {
  28. compatible = "cirrus,cs53l30";
  29. reg = <0x48>;
  30. reset-gpios = <&gpio 54 0>;
  31. VA-supply = <&cs53l30_va>;
  32. VP-supply = <&cs53l30_vp>;
  33. };