1 Dialog Semiconductor DA7219 Audio Codec bindings
3 DA7219 is an audio codec with advanced accessory detect features.
8 - compatible : Should be "dlg,da7219"
9 - reg: Specifies the I2C slave address
11 - interrupt-parent : Specifies the phandle of the interrupt controller to which
12 the IRQs from DA7219 are delivered to.
13 - interrupts : IRQ line info for DA7219.
14 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
15 further information relating to interrupt properties)
17 - VDD-supply: VDD power supply for the device
18 - VDDMIC-supply: VDDMIC power supply for the device
19 - VDDIO-supply: VDDIO power supply for the device
20 (See Documentation/devicetree/bindings/regulator/regulator.txt for further
21 information relating to regulators)
24 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if
25 interrupt is to be used to wake system, otherwise "irq" should be used.
26 - wakeup-source: Flag to indicate this device can wake system (suspend/resume).
28 - #clock-cells : Should be set to '<0>', only one clock source provided;
29 - clock-output-names : Name given for DAI clocks output;
31 - clocks : phandle and clock specifier for codec MCLK.
32 - clock-names : Clock name string for 'clocks' attribute, should be "mclk".
34 - dlg,micbias-lvl : Voltage (mV) for Mic Bias
35 [<1600>, <1800>, <2000>, <2200>, <2400>, <2600>]
36 - dlg,mic-amp-in-sel : Mic input source type
37 ["diff", "se_p", "se_n"]
39 Deprecated properties:
40 - dlg,ldo-lvl : Required internal LDO voltage (mV) level for digital engine
41 (LDO unavailable in production HW so property no longer required).
45 Child node - 'da7219_aad':
48 - dlg,micbias-pulse-lvl : Mic bias higher voltage pulse level (mV).
50 - dlg,micbias-pulse-time : Mic bias higher voltage pulse duration (ms)
51 - dlg,btn-cfg : Periodic button press measurements for 4-pole jack (ms)
52 [<2>, <5>, <10>, <50>, <100>, <200>, <500>]
53 - dlg,mic-det-thr : Impedance threshold for mic detection measurement (Ohms)
54 [<200>, <500>, <750>, <1000>]
55 - dlg,jack-ins-deb : Debounce time for jack insertion (ms)
56 [<5>, <10>, <20>, <50>, <100>, <200>, <500>, <1000>]
57 - dlg,jack-det-rate: Jack type detection latency (3/4 pole)
58 ["32ms_64ms", "64ms_128ms", "128ms_256ms", "256ms_512ms"]
59 - dlg,jack-rem-deb : Debounce time for jack removal (ms)
60 [<1>, <5>, <10>, <20>]
61 - dlg,a-d-btn-thr : Impedance threshold between buttons A and D
63 - dlg,d-b-btn-thr : Impedance threshold between buttons D and B
65 - dlg,b-c-btn-thr : Impedance threshold between buttons B and C
67 - dlg,c-mic-btn-thr : Impedance threshold between button C and Mic
69 - dlg,btn-avg : Number of 8-bit readings for averaged button measurement
71 - dlg,adc-1bit-rpt : Repeat count for 1-bit button measurement
79 compatible = "dlg,da7219";
82 interrupt-parent = <&gpio6>;
83 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
85 VDD-supply = <®_audio>;
86 VDDMIC-supply = <®_audio>;
87 VDDIO-supply = <®_audio>;
90 clock-output-names = "dai-clks";
96 dlg,micbias-lvl = <2600>;
97 dlg,mic-amp-in-sel = "diff";
101 dlg,mic-det-thr = <500>;
102 dlg,jack-ins-deb = <20>;
103 dlg,jack-det-rate = "32ms_64ms";
104 dlg,jack-rem-deb = <1>;
106 dlg,a-d-btn-thr = <0xa>;
107 dlg,d-b-btn-thr = <0x16>;
108 dlg,b-c-btn-thr = <0x21>;
109 dlg,c-mic-btn-thr = <0x3E>;
112 dlg,adc-1bit-rpt = <1>;