mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 23:34:00 -04:00
The TAS5754/6 power amplifiers use the same pcm512x driver with only minor restictions described in the bindings document. Signed-off-by: Joerg Schambacher <joerg.hifiberry@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230929150555.405388-1-joerg.hifiberry@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
PCM512x and TAS575x audio CODECs/amplifiers
|
|
|
|
These devices support both I2C and SPI (configured with pin strapping
|
|
on the board). The TAS575x devices only support I2C.
|
|
|
|
Required properties:
|
|
|
|
- compatible : One of "ti,pcm5121", "ti,pcm5122", "ti,pcm5141",
|
|
"ti,pcm5142", "ti,tas5754" or "ti,tas5756"
|
|
|
|
- reg : the I2C address of the device for I2C, the chip select
|
|
number for SPI.
|
|
|
|
- AVDD-supply, DVDD-supply, and CPVDD-supply : power supplies for the
|
|
device, as covered in bindings/regulator/regulator.txt
|
|
|
|
Optional properties:
|
|
|
|
- clocks : A clock specifier for the clock connected as SCLK. If this
|
|
is absent the device will be configured to clock from BCLK. If pll-in
|
|
and pll-out are specified in addition to a clock, the device is
|
|
configured to accept clock input on a specified gpio pin.
|
|
|
|
- pll-in, pll-out : gpio pins used to connect the pll using <1>
|
|
through <6>. The device will be configured for clock input on the
|
|
given pll-in pin and PLL output on the given pll-out pin. An
|
|
external connection from the pll-out pin to the SCLK pin is assumed.
|
|
Caution: the TAS-desvices only support gpios 1,2 and 3
|
|
|
|
Examples:
|
|
|
|
pcm5122: pcm5122@4c {
|
|
compatible = "ti,pcm5122";
|
|
reg = <0x4c>;
|
|
|
|
AVDD-supply = <®_3v3_analog>;
|
|
DVDD-supply = <®_1v8>;
|
|
CPVDD-supply = <®_3v3>;
|
|
};
|
|
|
|
|
|
pcm5142: pcm5142@4c {
|
|
compatible = "ti,pcm5142";
|
|
reg = <0x4c>;
|
|
|
|
AVDD-supply = <®_3v3_analog>;
|
|
DVDD-supply = <®_1v8>;
|
|
CPVDD-supply = <®_3v3>;
|
|
|
|
clocks = <&sck>;
|
|
pll-in = <3>;
|
|
pll-out = <6>;
|
|
};
|