cs4271.txt 744 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. Cirrus Logic CS4271 DT bindings
  2. This driver supports both the I2C and the SPI bus.
  3. Required properties:
  4. - compatible: "cirrus,cs4271"
  5. For required properties on SPI, please consult
  6. Documentation/devicetree/bindings/spi/spi-bus.txt
  7. Required properties on I2C:
  8. - reg: the i2c address
  9. Optional properties:
  10. - reset-gpio: a GPIO spec to define which pin is connected to the chip's
  11. !RESET pin
  12. - cirrus,amuteb-eq-bmutec: When given, the Codec's AMUTEB=BMUTEC flag
  13. is enabled.
  14. Examples:
  15. codec_i2c: cs4271@10 {
  16. compatible = "cirrus,cs4271";
  17. reg = <0x10>;
  18. reset-gpio = <&gpio 23 0>;
  19. };
  20. codec_spi: cs4271@0 {
  21. compatible = "cirrus,cs4271";
  22. reg = <0x0>;
  23. reset-gpio = <&gpio 23 0>;
  24. spi-max-frequency = <6000000>;
  25. };