cs4271.txt 657 B

123456789101112131415161718192021222324252627282930313233343536
  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. Examples:
  13. codec_i2c: cs4271@10 {
  14. compatible = "cirrus,cs4271";
  15. reg = <0x10>;
  16. reset-gpio = <&gpio 23 0>;
  17. };
  18. codec_spi: cs4271@0 {
  19. compatible = "cirrus,cs4271";
  20. reg = <0x0>;
  21. reset-gpio = <&gpio 23 0>;
  22. spi-max-frequency = <6000000>;
  23. };