madera.txt 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Cirrus Logic Madera class audio codecs Multi-Functional Device
  2. These devices are audio SoCs with extensive digital capabilities and a range
  3. of analogue I/O.
  4. See also the child driver bindings in:
  5. bindings/pinctrl/cirrus,madera-pinctrl.txt
  6. bindings/regulator/arizona-regulator.txt
  7. bindings/sound/madera.txt
  8. Required properties:
  9. - compatible : One of the following chip-specific strings:
  10. "cirrus,cs47l35"
  11. "cirrus,cs47l85"
  12. "cirrus,cs47l90"
  13. "cirrus,cs47l91"
  14. "cirrus,wm1840"
  15. - reg : I2C slave address when connected using I2C, chip select number when
  16. using SPI.
  17. - DCVDD-supply : Power supply for the device as defined in
  18. bindings/regulator/regulator.txt
  19. Mandatory on CS47L35, CS47L90, CS47L91
  20. Optional on CS47L85, WM1840
  21. - AVDD-supply, DBVDD1-supply, DBVDD2-supply, CPVDD1-supply, CPVDD2-supply :
  22. Power supplies for the device
  23. - DBVDD3-supply, DBVDD4-supply : Power supplies for the device
  24. (CS47L85, CS47L90, CS47L91, WM1840)
  25. - SPKVDDL-supply, SPKVDDR-supply : Power supplies for the device
  26. (CS47L85, WM1840)
  27. - SPKVDD-supply : Power supply for the device
  28. (CS47L35)
  29. - interrupt-controller : Indicates that this device is an interrupt controller
  30. - #interrupt-cells: the number of cells to describe an IRQ, must be 2.
  31. The first cell is the IRQ number.
  32. The second cell is the flags, encoded as the trigger masks from
  33. bindings/interrupt-controller/interrupts.txt
  34. - gpio-controller : Indicates this device is a GPIO controller.
  35. - #gpio-cells : Must be 2. The first cell is the pin number. The second cell
  36. is reserved for future use and must be zero
  37. - interrupt-parent : The parent interrupt controller.
  38. - interrupts : The interrupt line the /IRQ signal for the device is
  39. connected to.
  40. Optional properties:
  41. - MICVDD-supply : Power supply, only need to be specified if
  42. powered externally
  43. - reset-gpios : One entry specifying the GPIO controlling /RESET.
  44. As defined in bindings/gpio.txt.
  45. Although optional, it is strongly recommended to use a hardware reset
  46. - MICBIASx : Initial data for the MICBIAS regulators, as covered in
  47. Documentation/devicetree/bindings/regulator/regulator.txt.
  48. One for each MICBIAS generator (MICBIAS1, MICBIAS2, ...)
  49. (all codecs)
  50. One for each output pin (MICBIAS1A, MIBCIAS1B, MICBIAS2A, ...)
  51. (all except CS47L85, WM1840)
  52. The following following additional property is supported for the generator
  53. nodes:
  54. - cirrus,ext-cap : Set to 1 if the MICBIAS has external decoupling
  55. capacitors attached.
  56. Optional child nodes:
  57. micvdd : Node containing initialization data for the micvdd regulator
  58. See bindings/regulator/arizona-regulator.txt
  59. ldo1 : Node containing initialization data for the LDO1 regulator
  60. See bindings/regulator/arizona-regulator.txt
  61. (cs47l85, wm1840)
  62. Example:
  63. cs47l85@0 {
  64. compatible = "cirrus,cs47l85";
  65. reg = <0>;
  66. reset-gpios = <&gpio 0>;
  67. interrupt-controller;
  68. #interrupt-cells = <2>;
  69. interrupts = <&host_irq1>;
  70. interrupt-parent = <&gic>;
  71. gpio-controller;
  72. #gpio-cells = <2>;
  73. };