1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/sound/cirrus,cs35l41.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cirrus Logic CS35L41 Speaker Amplifier
10 - david.rhodes@cirrus.com
13 CS35L41 is a boosted mono Class D amplifier with DSP
14 speaker protection and equalization
27 The first cell indicating the audio interface.
34 description: voltage regulator phandle for the VA supply
37 description: voltage regulator phandle for the VP supply
39 cirrus,boost-peak-milliamp:
41 Boost-converter peak current limit in mA.
42 Configures the peak current by monitoring the current through the boost FET.
43 Range starts at 1600 mA and goes to a maximum of 4500 mA with increments
44 of 50 mA. See section 4.3.6 of the datasheet for details.
45 $ref: "/schemas/types.yaml#/definitions/uint32"
50 cirrus,boost-ind-nanohenry:
52 Boost inductor value, expressed in nH. Valid
53 values include 1000, 1200, 1500 and 2200.
54 $ref: "/schemas/types.yaml#/definitions/uint32"
58 cirrus,boost-cap-microfarad:
60 Total equivalent boost capacitance on the VBST
61 and VAMP pins, derated at 11 volts DC. The value must be rounded to the
62 nearest integer and expressed in uF.
63 $ref: "/schemas/types.yaml#/definitions/uint32"
67 Audio serial port SDOUT Hi-Z control. Sets the Hi-Z
68 configuration for SDOUT pin of amplifier.
69 0 = Logic 0 during unused slots, and while all transmit channels disabled
70 1 = Hi-Z during unused slots but logic 0 while all transmit channels disabled
71 2 = (Default) Logic 0 during unused slots, but Hi-Z while all transmit channels disabled
72 3 = Hi-Z during unused slots and while all transmit channels disabled
73 $ref: "/schemas/types.yaml#/definitions/uint32"
78 cirrus,gpio1-polarity-invert:
80 Boolean which specifies whether the GPIO1
81 level is inverted. If this property is not present the level is not inverted.
84 cirrus,gpio1-output-enable:
86 Boolean which specifies whether the GPIO1 pin
87 is configured as an output. If this property is not present the
88 pin will be configured as an input.
91 cirrus,gpio1-src-select:
93 Configures the function of the GPIO1 pin.
94 Note that the options are different from the GPIO2 pin
95 0 = High Impedance (Default)
99 $ref: "/schemas/types.yaml#/definitions/uint32"
103 cirrus,gpio2-polarity-invert:
105 Boolean which specifies whether the GPIO2
106 level is inverted. If this property is not present the level is not inverted.
109 cirrus,gpio2-output-enable:
111 Boolean which specifies whether the GPIO2 pin
112 is configured as an output. If this property is not present the
113 pin will be configured as an input.
116 cirrus,gpio2-src-select:
118 Configures the function of the GPIO2 pin.
119 Note that the options are different from the GPIO1 pin.
120 0 = High Impedance (Default)
124 4 = Push-pull INTB (active low)
125 5 = Push-pull INT (active high)
126 $ref: "/schemas/types.yaml#/definitions/uint32"
134 - cirrus,boost-peak-milliamp
135 - cirrus,boost-ind-nanohenry
136 - cirrus,boost-cap-microfarad
138 additionalProperties: false
143 #address-cells = <1>;
147 #sound-dai-cells = <1>;
148 compatible = "cirrus,cs35l41";
150 VA-supply = <&dummy_vreg>;
151 VP-supply = <&dummy_vreg>;
152 reset-gpios = <&gpio 110 0>;
153 cirrus,boost-peak-milliamp = <4500>;
154 cirrus,boost-ind-nanohenry = <1000>;
155 cirrus,boost-cap-microfarad = <15>;