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 - interrupt-parent : Specifies the phandle of the interrupt controller to
19 which the IRQs from CS42L42 are delivered to.
21 - interrupts : IRQ line info CS42L42.
22 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
23 for further information relating to interrupt properties)
25 - cirrus,ts-inv : Boolean property. For jacks that invert the tip sense
26 polarity. Normal jacks will short tip sense pin to HS1 when headphones are
27 plugged in and leave tip sense floating when not plugged in. Inverting jacks
28 short tip sense when unplugged and float when plugged in.
30 0 = (Default) Non-inverted
33 - cirrus,ts-dbnc-rise : Debounce the rising edge of TIP_SENSE_PLUG. With no
34 debounce, the tip sense pin might be noisy on a plug event.
45 - cirrus,ts-dbnc-fall : Debounce the falling edge of TIP_SENSE_UNPLUG.
46 With no debounce, the tip sense pin might be noisy on an unplug event.
57 - cirrus,btn-det-init-dbnce : This sets how long the driver sleeps after
58 enabling button detection interrupts. After auto-detection and before
59 servicing button interrupts, the HS bias needs time to settle. If you
60 don't wait, there is possibility for erroneous button interrupt.
65 - cirrus,btn-det-event-dbnce : This sets how long the driver delays after
66 receiving a button press interrupt. With level detect interrupts, you want
67 to wait a small amount of time to make sure the button press is making a
68 clean connection with the bias resistors.
73 - cirrus,bias-lvls : For a level-detect headset button scheme, each button
74 will bias the mic pin to a certain voltage. To determine which button was
75 pressed, the driver will compare this biased voltage to sequential,
76 decreasing voltages and will stop when a comparator is tripped,
77 indicating a comparator voltage < bias voltage. This value represents a
78 percentage of the internally generated HS bias voltage. For different
79 hardware setups, a designer might want to tweak this. This is an array of
80 descending values for the comparator voltage.
91 compatible = "cirrus,cs42l42";
93 VA-supply = <&dummy_vreg>;
94 VP-supply = <&dummy_vreg>;
95 VCP-supply = <&dummy_vreg>;
96 VD_FILT-supply = <&dummy_vreg>;
97 VL-supply = <&dummy_vreg>;
99 reset-gpios = <&axi_gpio_0 1 0>;
100 interrupt-parent = <&gpio0>;
103 cirrus,ts-inv = <0x00>;
104 cirrus,ts-dbnc-rise = <0x05>;
105 cirrus,ts-dbnc-fall = <0x00>;
106 cirrus,btn-det-init-dbnce = <100>;
107 cirrus,btn-det-event-dbnce = <10>;
108 cirrus,bias-lvls = <0x0F 0x08 0x04 0x01>;
109 cirrus,hs-bias-ramp-rate = <0x02>;