Browse Source

mfd: arizona: Update DT binding to support INn_MODE init_data

This patch update DT binding to support INn_MODE init_data. Each
input signal path can be configurated either as a Analogue or
Digital using the INn_MODE registers.

Signed-off-by: Inha Song <ideal.song@samsung.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Inha Song 11 years ago
parent
commit
dc5193cc4a
1 changed files with 7 additions and 0 deletions
  1. 7 0
      Documentation/devicetree/bindings/mfd/arizona.txt

+ 7 - 0
Documentation/devicetree/bindings/mfd/arizona.txt

@@ -42,6 +42,13 @@ Optional properties:
     the chip default will be used.  If present exactly five values must
     the chip default will be used.  If present exactly five values must
     be specified.
     be specified.
 
 
+  - wlf,inmode : A list of INn_MODE register values, where n is the number
+    of input signals. Valid values are 0 (Differential), 1 (Single-ended) and
+    2 (Digital Microphone). If absent, INn_MODE registers set to 0 by default.
+    If present, values must be specified less than or equal to the number of
+    input singals. If values less than the number of input signals, elements
+    that has not been specifed are set to 0 by default.
+
   - DCVDD-supply, MICVDD-supply : Power supplies, only need to be specified if
   - DCVDD-supply, MICVDD-supply : Power supplies, only need to be specified if
     they are being externally supplied. As covered in
     they are being externally supplied. As covered in
     Documentation/devicetree/bindings/regulator/regulator.txt
     Documentation/devicetree/bindings/regulator/regulator.txt