* [PATCH 0/2] ASoC: add compatible for ti,pcm5242
@ 2024-06-22 12:46 Christian Hewitt
2024-06-22 12:46 ` [PATCH 1/2] dt-bindings: sound: add ti,pcm5424 to pcm512x Christian Hewitt
2024-06-22 12:46 ` [PATCH 2/2] ASoC: Add support for ti,pcm5242 to the pcm512x driver Christian Hewitt
0 siblings, 2 replies; 6+ messages in thread
From: Christian Hewitt @ 2024-06-22 12:46 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Shenghao Ding, Kevin Lu, Baojun Xu, Jaroslav Kysela,
Takashi Iwai, linux-sound, devicetree, linux-kernel, alsa-devel
Update bindings and add a driver compatible for the pcm5242
chip used on the Odroid HiFi-Shield2 i2c mezzanine board.
Christian Hewitt (2):
dt-bindings: sound: add ti,pcm5424 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 ++
2 files changed, 3 insertions(+), 1 deletion(-)
--
2.34.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] dt-bindings: sound: add ti,pcm5424 to pcm512x
2024-06-22 12:46 [PATCH 0/2] ASoC: add compatible for ti,pcm5242 Christian Hewitt
@ 2024-06-22 12:46 ` Christian Hewitt
2024-06-22 13:05 ` Mark Brown
2024-06-22 12:46 ` [PATCH 2/2] ASoC: Add support for ti,pcm5242 to the pcm512x driver Christian Hewitt
1 sibling, 1 reply; 6+ messages in thread
From: Christian Hewitt @ 2024-06-22 12:46 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Shenghao Ding, Kevin Lu, Baojun Xu, Jaroslav Kysela,
Takashi Iwai, linux-sound, devicetree, linux-kernel, alsa-devel
Add ti,pcm5424 to the list of pcm512x compatible chips
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
---
Documentation/devicetree/bindings/sound/pcm512x.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/sound/pcm512x.txt b/Documentation/devicetree/bindings/sound/pcm512x.txt
index 77006a4aec4a..47878a6df608 100644
--- a/Documentation/devicetree/bindings/sound/pcm512x.txt
+++ b/Documentation/devicetree/bindings/sound/pcm512x.txt
@@ -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.
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] ASoC: Add support for ti,pcm5242 to the pcm512x driver
2024-06-22 12:46 [PATCH 0/2] ASoC: add compatible for ti,pcm5242 Christian Hewitt
2024-06-22 12:46 ` [PATCH 1/2] dt-bindings: sound: add ti,pcm5424 to pcm512x Christian Hewitt
@ 2024-06-22 12:46 ` Christian Hewitt
2024-06-22 13:03 ` Mark Brown
1 sibling, 1 reply; 6+ messages in thread
From: Christian Hewitt @ 2024-06-22 12:46 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Shenghao Ding, Kevin Lu, Baojun Xu, Jaroslav Kysela,
Takashi Iwai, linux-sound, devicetree, linux-kernel, alsa-devel
Add a compatible string to enable support for the ti,pcm5242 DAC chip
in the pcm512x driver.
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
---
sound/soc/codecs/pcm512x-i2c.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/codecs/pcm512x-i2c.c b/sound/soc/codecs/pcm512x-i2c.c
index 4be476a280e1..92bcf5179779 100644
--- a/sound/soc/codecs/pcm512x-i2c.c
+++ b/sound/soc/codecs/pcm512x-i2c.c
@@ -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", },
{ }
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] ASoC: Add support for ti,pcm5242 to the pcm512x driver
2024-06-22 12:46 ` [PATCH 2/2] ASoC: Add support for ti,pcm5242 to the pcm512x driver Christian Hewitt
@ 2024-06-22 13:03 ` Mark Brown
2024-06-22 13:05 ` Christian Hewitt
0 siblings, 1 reply; 6+ messages in thread
From: Mark Brown @ 2024-06-22 13:03 UTC (permalink / raw)
To: Christian Hewitt
Cc: Liam Girdwood, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Shenghao Ding, Kevin Lu, Baojun Xu, Jaroslav Kysela, Takashi Iwai,
linux-sound, devicetree, linux-kernel, alsa-devel
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
On Sat, Jun 22, 2024 at 12:46:03PM +0000, Christian Hewitt wrote:
> Add a compatible string to enable support for the ti,pcm5242 DAC chip
> in the pcm512x driver.
>
> Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
> ---
> sound/soc/codecs/pcm512x-i2c.c | 2 ++
> 1 file changed, 2 insertions(+)
The device appears to have SPI support too like the other devices in the
family, why not add the ID for SPI as well:
https://www.ti.com/product/PCM5242
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: sound: add ti,pcm5424 to pcm512x
2024-06-22 12:46 ` [PATCH 1/2] dt-bindings: sound: add ti,pcm5424 to pcm512x Christian Hewitt
@ 2024-06-22 13:05 ` Mark Brown
0 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2024-06-22 13:05 UTC (permalink / raw)
To: Christian Hewitt
Cc: Liam Girdwood, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Shenghao Ding, Kevin Lu, Baojun Xu, Jaroslav Kysela, Takashi Iwai,
linux-sound, devicetree, linux-kernel, alsa-devel
[-- Attachment #1: Type: text/plain, Size: 434 bytes --]
On Sat, Jun 22, 2024 at 12:46:02PM +0000, Christian Hewitt wrote:
> Add ti,pcm5424 to the list of pcm512x compatible chips
>
> Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
> ---
> Documentation/devicetree/bindings/sound/pcm512x.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Ideally this would also be converted to YAML but for such a trivial
addition I don't think this should be a blocker.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] ASoC: Add support for ti,pcm5242 to the pcm512x driver
2024-06-22 13:03 ` Mark Brown
@ 2024-06-22 13:05 ` Christian Hewitt
0 siblings, 0 replies; 6+ messages in thread
From: Christian Hewitt @ 2024-06-22 13:05 UTC (permalink / raw)
To: Mark Brown
Cc: Liam Girdwood, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Shenghao Ding, Kevin Lu, Baojun Xu, Jaroslav Kysela, Takashi Iwai,
linux-sound, devicetree, linux-kernel, alsa-devel
> On 22 Jun 2024, at 5:03 PM, Mark Brown <broonie@kernel.org> wrote:
>
> On Sat, Jun 22, 2024 at 12:46:03PM +0000, Christian Hewitt wrote:
>> Add a compatible string to enable support for the ti,pcm5242 DAC chip
>> in the pcm512x driver.
>>
>> Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
>> ---
>> sound/soc/codecs/pcm512x-i2c.c | 2 ++
>> 1 file changed, 2 insertions(+)
>
> The device appears to have SPI support too like the other devices in the
> family, why not add the ID for SPI as well:
>
> https://www.ti.com/product/PCM5242
Okay, will do. I need to send v2 anyway as I fat-fingered the chip
number in the bindings patch subject/description :(
Christian
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-06-22 13:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-22 12:46 [PATCH 0/2] ASoC: add compatible for ti,pcm5242 Christian Hewitt
2024-06-22 12:46 ` [PATCH 1/2] dt-bindings: sound: add ti,pcm5424 to pcm512x Christian Hewitt
2024-06-22 13:05 ` Mark Brown
2024-06-22 12:46 ` [PATCH 2/2] ASoC: Add support for ti,pcm5242 to the pcm512x driver Christian Hewitt
2024-06-22 13:03 ` Mark Brown
2024-06-22 13:05 ` Christian Hewitt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox