ASoC: add compatible for ti,pcm5242
v2 cover ASoC: add compatible for ti,pcm5242
Update bindings and add a driver compatible for the pcm5242 chip used on the Odroid HiFi-Shield2 i2c mezzanine board.
v2 adds a compatible to the SPI variant at Mark's suggestion and fixes the binding patch title/description which I managed to fat-finger in v1.
Christian Hewitt (2):
dt-bindings: sound: add ti,pcm5242 to pcm512x
ASoC: Add support for ti,pcm5242 to the pcm512x driver
Documentation/devicetree/bindings/sound/pcm512x.txt | 2 +- sound/soc/codecs/pcm512x-i2c.c | 2 ++ sound/soc/codecs/pcm512x-spi.c | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1
PATCH v2 1/2 dt-bindings: sound: add ti,pcm5242 to pcm512x
Add ti,pcm5242 to the pcm512x driver file
---
Changes since v1:
- s/pcm5424/pcm5242 in patch title and description
Documentation/devicetree/bindings/sound/pcm512x.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/sound/pcm512x.txt +1 -1
@@ -6,7 +6,7 @@ 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" + "ti,pcm5142", "ti,pcm5242", "ti,tas5754" or "ti,tas5756" - reg : the I2C address of the device for I2C, the chip select number for SPI.
Signature · 1 line
2.34.1
Re: [PATCH v2 1/2] dt-bindings: sound: add ti,pcm5242 to pcm512x
Quoted 3 lines · Christian Hewitt
Add ti,pcm5242 to the pcm512x driver file
Signed-off-by Christian Hewitt <[email protected]>
Best regards,
Krzysztof
PATCH v2 2/2 ASoC: Add support for ti,pcm5242 to the pcm512x driver
In reply to Christian HewittAdd a compatible string to enable support for the ti,pcm5242 DAC chip in the pcm512x driver.
---
Changes since v1:
- add pcm5242 to SPI too as suggested by Mark Brown
sound/soc/codecs/pcm512x-i2c.c | 2 ++ sound/soc/codecs/pcm512x-spi.c | 2 ++ 2 files changed, 4 insertions(+)
sound/soc/codecs/pcm512x-i2c.c +2 -0
@@ -39,6 +39,7 @@ static const struct i2c_device_id pcm512x_i2c_id[] = { { "pcm5122", }, { "pcm5141", }, { "pcm5142", }, + { "pcm5242", }, { "tas5754", }, { "tas5756", }, { }
@@ -51,6 +52,7 @@ static const struct of_device_id pcm512x_of_match[] = { { .compatible = "ti,pcm5122", }, { .compatible = "ti,pcm5141", }, { .compatible = "ti,pcm5142", }, + { .compatible = "ti,pcm5242", }, { .compatible = "ti,tas5754", }, { .compatible = "ti,tas5756", }, { }
sound/soc/codecs/pcm512x-spi.c +2 -0
@@ -36,6 +36,7 @@ static const struct spi_device_id pcm512x_spi_id[] = { { "pcm5122", }, { "pcm5141", }, { "pcm5142", }, + { "pcm5242", }, { }, };MODULE_DEVICE_TABLE (spi, pcm512x_spi_id);
@@ -45,6 +46,7 @@ static const struct of_device_id pcm512x_of_match[] = { { .compatible = "ti,pcm5122", }, { .compatible = "ti,pcm5141", }, { .compatible = "ti,pcm5142", }, + { .compatible = "ti,pcm5242", }, { } }; MODULE_DEVICE_TABLE(of, pcm512x_of_match);
Signature · 1 line
2.34.1
Mark Brown
maintainerQuoted 8 lines · Christian Hewitt
Update bindings and add a driver compatible for the pcm5242 chip used on the Odroid HiFi-Shield2 i2c mezzanine board.
v2 adds a compatible to the SPI variant at Mark's suggestion and fixes the binding patch title/description which I managed to fat-finger in v1.
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/2] dt-bindings: sound: add ti,pcm5242 to pcm512x
commit: 9427997a5e13320a3c404a0cb67a292ad8e00b62
[2/2] ASoC: Add support for ti,pcm5242 to the pcm512x driver
commit: 9c9b172fdd918c2f852140fc4a3cd827b78fa947All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark