···11+Dialog Semiconductor DA7219 Audio Codec bindings22+33+DA7219 is an audio codec with advanced accessory detect features.44+55+======66+77+Required properties:88+- compatible : Should be "dlg,da7219"99+- reg: Specifies the I2C slave address1010+1111+- interrupt-parent : Specifies the phandle of the interrupt controller to which1212+ the IRQs from DA7219 are delivered to.1313+- interrupts : IRQ line info for DA7219.1414+ (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for1515+ further information relating to interrupt properties)1616+1717+- VDD-supply: VDD power supply for the device1818+- VDDMIC-supply: VDDMIC power supply for the device1919+- VDDIO-supply: VDDIO power supply for the device2020+ (See Documentation/devicetree/bindings/regulator/regulator.txt for further2121+ information relating to regulators)2222+2323+Optional properties:2424+- interrupt-names : Name associated with interrupt line. Should be "wakeup" if2525+ interrupt is to be used to wake system, otherwise "irq" should be used.2626+- wakeup-source: Flag to indicate this device can wake system (suspend/resume).2727+2828+- clocks : phandle and clock specifier for codec MCLK.2929+- clock-names : Clock name string for 'clocks' attribute, should be "mclk".3030+3131+- dlg,ldo-lvl : Required internal LDO voltage (mV) level for digital engine3232+ [<1050>, <1100>, <1200>, <1400>]3333+- dlg,micbias-lvl : Voltage (mV) for Mic Bias3434+ [<1800>, <2000>, <2200>, <2400>, <2600>]3535+- dlg,mic-amp-in-sel : Mic input source type3636+ ["diff", "se_p", "se_n"]3737+3838+======3939+4040+Child node - 'da7219_aad':4141+4242+Optional properties:4343+- dlg,micbias-pulse-lvl : Mic bias higher voltage pulse level (mV).4444+ [<2800>, <2900>]4545+- dlg,micbias-pulse-time : Mic bias higher voltage pulse duration (ms)4646+- dlg,btn-cfg : Periodic button press measurements for 4-pole jack (ms)4747+ [<2>, <5>, <10>, <50>, <100>, <200>, <500>]4848+- dlg,mic-det-thr : Impedance threshold for mic detection measurement (Ohms)4949+ [<200>, <500>, <750>, <1000>]5050+- dlg,jack-ins-deb : Debounce time for jack insertion (ms)5151+ [<5>, <10>, <20>, <50>, <100>, <200>, <500>, <1000>]5252+- dlg,jack-det-rate: Jack type detection latency (3/4 pole)5353+ ["32ms_64ms", "64ms_128ms", "128ms_256ms", "256ms_512ms"]5454+- dlg,jack-rem-deb : Debounce time for jack removal (ms)5555+ [<1>, <5>, <10>, <20>]5656+- dlg,a-d-btn-thr : Impedance threshold between buttons A and D5757+ [0x0 - 0xFF]5858+- dlg,d-b-btn-thr : Impedance threshold between buttons D and B5959+ [0x0 - 0xFF]6060+- dlg,b-c-btn-thr : Impedance threshold between buttons B and C6161+ [0x0 - 0xFF]6262+- dlg,c-mic-btn-thr : Impedance threshold between button C and Mic6363+ [0x0 - 0xFF]6464+- dlg,btn-avg : Number of 8-bit readings for averaged button measurement6565+ [<1>, <2>, <4>, <8>]6666+- dlg,adc-1bit-rpt : Repeat count for 1-bit button measurement6767+ [<1>, <2>, <4>, <8>]6868+6969+======7070+7171+Example:7272+7373+ codec: da7219@1a {7474+ compatible = "dlg,da7219";7575+ reg = <0x1a>;7676+7777+ interrupt-parent = <&gpio6>;7878+ interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;7979+8080+ VDD-supply = <®_audio>;8181+ VDDMIC-supply = <®_audio>;8282+ VDDIO-supply = <®_audio>;8383+8484+ clocks = <&clks 201>;8585+ clock-names = "mclk";8686+8787+ dlg,ldo-lvl = <1200>;8888+ dlg,micbias-lvl = <2600>;8989+ dlg,mic-amp-in-sel = "diff";9090+9191+ da7219_aad {9292+ dlg,btn-cfg = <50>;9393+ dlg,mic-det-thr = <500>;9494+ dlg,jack-ins-deb = <20>;9595+ dlg,jack-det-rate = "32ms_64ms";9696+ dlg,jack-rem-deb = <1>;9797+9898+ dlg,a-d-btn-thr = <0xa>;9999+ dlg,d-b-btn-thr = <0x16>;100100+ dlg,b-c-btn-thr = <0x21>;101101+ dlg,c-mic-btn-thr = <0x3E>;102102+103103+ dlg,btn-avg = <4>;104104+ dlg,adc-1bit-rpt = <1>;105105+ };106106+ };