^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) CS35L34 Speaker Amplifier
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - compatible : "cirrus,cs35l34"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - reg : the I2C address of the device for I2C.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - VA-supply, VP-supply : power supplies for the device,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) as covered in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Documentation/devicetree/bindings/regulator/regulator.txt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - cirrus,boost-vtge-millivolt : Boost Voltage Value. Configures the boost
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) converter's output voltage in mV. The range is from VP to 8V with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) increments of 100mV.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - cirrus,boost-nanohenry: Inductor value for boost converter. The value is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) in nH and they can be values of 1000nH, 1100nH, 1200nH, 1500nH, and 2200nH.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) - reset-gpios: GPIO used to reset the amplifier.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) - interrupts : IRQ line info CS35L34.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) for further information relating to interrupt properties)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) - cirrus,boost-peak-milliamp : Boost converter peak current limit in mA. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) range starts at 1200mA and goes to a maximum of 3840mA with increments of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 80mA. The default value is 2480mA.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) - cirrus,i2s-sdinloc : ADSP SDIN I2S channel location. Indicates whether the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) received mono data is in the left or right portion of the I2S frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) according to the AD0 pin or directly via this configuration.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 0x0 (Default) = Selected by AD0 input (if AD0 = LOW, use left channel),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 0x2 = Left,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 0x1 = Selected by the inversion of the AD0 input (if AD0 = LOW, use right
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) channel),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 0x3 = Right.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) - cirrus,gain-zc-disable: Boolean property. If set, the gain change will take
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) effect without waiting for a zero cross.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) - cirrus,tdm-rising-edge: Boolean property. If set, data is on the rising edge of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) SCLK. Otherwise, data is on the falling edge of SCLK.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) cs35l34: cs35l34@40 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) compatible = "cirrus,cs35l34";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) reg = <0x40>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) interrupt-parent = <&gpio8>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) reset-gpios = <&gpio 10 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) cirrus,boost-vtge-milltvolt = <8000>; /* 8V */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) cirrus,boost-ind-nanohenry = <1000>; /* 1uH */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) cirrus,boost-peak-milliamp = <3000>; /* 3A */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) };