arizona.txt 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Wolfson Arizona class audio SoCs
  2. These devices are audio SoCs with extensive digital capabilites and a range
  3. of analogue I/O.
  4. Required properties:
  5. - compatible : one of the following chip-specific strings:
  6. "wlf,wm5102"
  7. "wlf,wm5110"
  8. - reg : I2C slave address when connected using I2C, chip select number when
  9. using SPI.
  10. - interrupts : The interrupt line the /IRQ signal for the device is
  11. connected to.
  12. - interrupt-controller : Arizona class devices contain interrupt controllers
  13. and may provide interrupt services to other devices.
  14. - interrupt-parent : The parent interrupt controller.
  15. - #interrupt-cells: the number of cells to describe an IRQ, this should be 2.
  16. The first cell is the IRQ number.
  17. The second cell is the flags, encoded as the trigger masks from
  18. Documentation/devicetree/bindings/interrupts.txt
  19. - gpio-controller : Indicates this device is a GPIO controller.
  20. - #gpio-cells : Must be 2. The first cell is the pin number and the
  21. second cell is used to specify optional parameters (currently unused).
  22. - AVDD1-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply, CPVDD-supply,
  23. SPKVDDL-supply, SPKVDDR-supply : power supplies for the device, as covered
  24. in Documentation/devicetree/bindings/regulator/regulator.txt
  25. Optional properties:
  26. - wlf,reset : GPIO specifier for the GPIO controlling /RESET
  27. - wlf,ldoena : GPIO specifier for the GPIO controlling LDOENA
  28. - wlf,gpio-defaults : A list of GPIO configuration register values. If
  29. absent, no configuration of these registers is performed. If any
  30. entry has a value that is out of range for a 16 bit register then
  31. the chip default will be used. If present exactly five values must
  32. be specified.
  33. Example:
  34. codec: wm5102@1a {
  35. compatible = "wlf,wm5102";
  36. reg = <0x1a>;
  37. interrupts = <347>;
  38. #interrupt-cells = <2>;
  39. interrupt-parent = <&gic>;
  40. gpio-controller;
  41. #gpio-cells = <2>;
  42. wlf,gpio-defaults = <
  43. 0x00000000, /* AIF1TXLRCLK */
  44. 0xffffffff,
  45. 0xffffffff,
  46. 0xffffffff,
  47. 0xffffffff,
  48. >;
  49. };