wlf,arizona.txt 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Cirrus Logic Arizona class audio SoCs
  2. These devices are audio SoCs with extensive digital capabilities and a range
  3. of analogue I/O.
  4. This document lists sound specific bindings, see the primary binding
  5. document:
  6. ../mfd/arizona.txt
  7. Optional properties:
  8. - wlf,inmode : A list of INn_MODE register values, where n is the number
  9. of input signals. Valid values are 0 (Differential), 1 (Single-ended) and
  10. 2 (Digital Microphone). If absent, INn_MODE registers set to 0 by default.
  11. If present, values must be specified less than or equal to the number of
  12. input signals. If values less than the number of input signals, elements
  13. that have not been specified are set to 0 by default. Entries are:
  14. <IN1, IN2, IN3, IN4> (wm5102, wm5110, wm8280, wm8997)
  15. <IN1A, IN2A, IN1B, IN2B> (wm8998, wm1814)
  16. - wlf,out-mono : A list of boolean values indicating whether each output is
  17. mono or stereo. Position within the list indicates the output affected
  18. (eg. First entry in the list corresponds to output 1). A non-zero value
  19. indicates a mono output. If present, the number of values should be less
  20. than or equal to the number of outputs, if less values are supplied the
  21. additional outputs will be treated as stereo.
  22. - wlf,dmic-ref : DMIC reference voltage source for each input, can be
  23. selected from either MICVDD or one of the MICBIAS's, defines
  24. (ARIZONA_DMIC_xxxx) are provided in <dt-bindings/mfd/arizona.txt>. If
  25. present, the number of values should be less than or equal to the
  26. number of inputs, unspecified inputs will use the chip default.
  27. - wlf,max-channels-clocked : The maximum number of channels to be clocked on
  28. each AIF, useful for I2S systems with multiple data lines being mastered.
  29. Specify one cell for each AIF to be configured, specify zero for AIFs that
  30. should be handled normally.
  31. If present, number of cells must be less than or equal to the number of
  32. AIFs. If less than the number of AIFs, for cells that have not been
  33. specified the corresponding AIFs will be treated as default setting.
  34. - wlf,spk-fmt : PDM speaker data format, must contain 2 cells (OUT5 and OUT6).
  35. See the datasheet for values.
  36. The second cell is ignored for codecs that do not have OUT6 (wm5102, wm8997,
  37. wm8998, wm1814)
  38. - wlf,spk-mute : PDM speaker mute setting, must contain 2 cells (OUT5 and OUT6).
  39. See the datasheet for values.
  40. The second cell is ignored for codecs that do not have OUT6 (wm5102, wm8997,
  41. wm8998, wm1814)
  42. - wlf,out-volume-limit : The volume limit value that should be applied to each
  43. output channel. See the datasheet for exact values. Channels are specified
  44. in the order OUT1L, OUT1R, OUT2L, OUT2R, etc.