ti,tas2560 (on i2c bus)

Description

Texas Instruments TAS2560 Class-D audio amplifier.

One node is one mono amplifier. A stereo board is two nodes on the same bus,
each with its own I2C address and ti,asi-channel.

Playback is 16-bit I2S at 16, 48, or 96 kHz. The PLL takes BCLK and must
stay between 512 kHz and 20 MHz. I2S has two slots, so 8 kHz would be a
256 kHz bit clock and is rejected even though PCM_RATE can encode it. The
PLL output is 1024 times the sample rate, which is J = 32 for 16-bit I2S.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

ti,asi-channel

int

I2S channel mixed into this amplifier.
0 is left, 1 is right, 2 is (left + right) / 2.
The driver sets ASI_MODE to I2S, so mono PCM is not available.

Default value: 0

Legal values: 0, 1, 2

supply-gpios

phandle-array

GPIO specifier that controls power to the device.

This property should be provided when the device has a dedicated
switch that controls power to the device.  The supply state is
entirely the responsibility of the device driver.

Contrast with vin-supply.

vin-supply

phandle

Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.

This property should be provided when device power is supplied
by a shared regulator.  The supply state is dependent on the
request status of all devices fed by the regulator.

Contrast with supply-gpios.  If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.