5 - compatible : "cirrus,cs42l42"
7 - reg : the I2C address of the device for I2C.
9 - VP-supply, VCP-supply, VD_FILT-supply, VL-supply, VA-supply :
10 power supplies for the device, as covered in
11 Documentation/devicetree/bindings/regulator/regulator.txt.
15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be
16 deasserted before communication to the codec starts.
18 - interrupts : IRQ line info CS42L42.
19 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
20 for further information relating to interrupt properties)
22 - cirrus,ts-inv : Boolean property. For jacks that invert the tip sense
23 polarity. Normal jacks will short tip sense pin to HS1 when headphones are
24 plugged in and leave tip sense floating when not plugged in. Inverting jacks
25 short tip sense when unplugged and float when plugged in.
27 0 = (Default) Non-inverted
30 - cirrus,ts-dbnc-rise : Debounce the rising edge of TIP_SENSE_PLUG. With no
31 debounce, the tip sense pin might be noisy on a plug event.
42 - cirrus,ts-dbnc-fall : Debounce the falling edge of TIP_SENSE_UNPLUG.
43 With no debounce, the tip sense pin might be noisy on an unplug event.
54 - cirrus,btn-det-init-dbnce : This sets how long the driver sleeps after
55 enabling button detection interrupts. After auto-detection and before
56 servicing button interrupts, the HS bias needs time to settle. If you
57 don't wait, there is possibility for erroneous button interrupt.
62 - cirrus,btn-det-event-dbnce : This sets how long the driver delays after
63 receiving a button press interrupt. With level detect interrupts, you want
64 to wait a small amount of time to make sure the button press is making a
65 clean connection with the bias resistors.
70 - cirrus,bias-lvls : For a level-detect headset button scheme, each button
71 will bias the mic pin to a certain voltage. To determine which button was
72 pressed, the driver will compare this biased voltage to sequential,
73 decreasing voltages and will stop when a comparator is tripped,
74 indicating a comparator voltage < bias voltage. This value represents a
75 percentage of the internally generated HS bias voltage. For different
76 hardware setups, a designer might want to tweak this. This is an array of
77 descending values for the comparator voltage.
88 compatible = "cirrus,cs42l42";
90 VA-supply = <&dummy_vreg>;
91 VP-supply = <&dummy_vreg>;
92 VCP-supply = <&dummy_vreg>;
93 VD_FILT-supply = <&dummy_vreg>;
94 VL-supply = <&dummy_vreg>;
96 reset-gpios = <&axi_gpio_0 1 0>;
97 interrupt-parent = <&gpio0>;
100 cirrus,ts-inv = <0x00>;
101 cirrus,ts-dbnc-rise = <0x05>;
102 cirrus,ts-dbnc-fall = <0x00>;
103 cirrus,btn-det-init-dbnce = <100>;
104 cirrus,btn-det-event-dbnce = <10>;
105 cirrus,bias-lvls = <0x0F 0x08 0x04 0x01>;
106 cirrus,hs-bias-ramp-rate = <0x02>;