* [PATCH 0/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Add rt713_vb_l3_rt1320_l3 support
@ 2025-05-07 6:28 Bard Liao
2025-05-07 6:28 ` [PATCH 1/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Simplify variable name Bard Liao
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Bard Liao @ 2025-05-07 6:28 UTC (permalink / raw)
To: broonie, tiwai; +Cc: linux-sound, pierre-louis.bossart, bard.liao
The series simplify the variable name and add rt713_vb_l3_rt1320_l3
support.
Mac Chiang (2):
ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Simplify variable name
ASoC: Intel: soc-acpi-intel-ptl-match: Add rt713_vb_l3_rt1320_l3
support
.../intel/common/soc-acpi-intel-lnl-match.c | 6 +--
.../intel/common/soc-acpi-intel-ptl-match.c | 41 ++++++++++++++++---
2 files changed, 39 insertions(+), 8 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Simplify variable name
2025-05-07 6:28 [PATCH 0/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Add rt713_vb_l3_rt1320_l3 support Bard Liao
@ 2025-05-07 6:28 ` Bard Liao
2025-05-07 6:28 ` [PATCH 2/2] ASoC: Intel: soc-acpi-intel-ptl-match: Add rt713_vb_l3_rt1320_l3 support Bard Liao
2025-05-09 1:36 ` [PATCH 0/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: " Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Bard Liao @ 2025-05-07 6:28 UTC (permalink / raw)
To: broonie, tiwai; +Cc: linux-sound, pierre-louis.bossart, bard.liao
From: Mac Chiang <mac.chiang@intel.com>
The variable name contains duplications;thus, remove the redundant strings.
Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
---
sound/soc/intel/common/soc-acpi-intel-lnl-match.c | 6 +++---
sound/soc/intel/common/soc-acpi-intel-ptl-match.c | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/sound/soc/intel/common/soc-acpi-intel-lnl-match.c b/sound/soc/intel/common/soc-acpi-intel-lnl-match.c
index a2bee667facb..558dc4c91239 100644
--- a/sound/soc/intel/common/soc-acpi-intel-lnl-match.c
+++ b/sound/soc/intel/common/soc-acpi-intel-lnl-match.c
@@ -137,7 +137,7 @@ static const struct snd_soc_acpi_endpoint jack_dmic_endpoints[] = {
},
};
-static const struct snd_soc_acpi_endpoint jack_amp_g1_dmic_endpoints_endpoints[] = {
+static const struct snd_soc_acpi_endpoint jack_amp_g1_dmic_endpoints[] = {
/* Jack Endpoint */
{
.num = 0,
@@ -350,8 +350,8 @@ static const struct snd_soc_acpi_adr_device rt1712_3_single_adr[] = {
static const struct snd_soc_acpi_adr_device rt712_vb_2_group1_adr[] = {
{
.adr = 0x000230025D071201ull,
- .num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints_endpoints),
- .endpoints = jack_amp_g1_dmic_endpoints_endpoints,
+ .num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints),
+ .endpoints = jack_amp_g1_dmic_endpoints,
.name_prefix = "rt712"
}
};
diff --git a/sound/soc/intel/common/soc-acpi-intel-ptl-match.c b/sound/soc/intel/common/soc-acpi-intel-ptl-match.c
index 0454de04da68..f9510480d188 100644
--- a/sound/soc/intel/common/soc-acpi-intel-ptl-match.c
+++ b/sound/soc/intel/common/soc-acpi-intel-ptl-match.c
@@ -138,7 +138,7 @@ static const struct snd_soc_acpi_endpoint jack_dmic_endpoints[] = {
},
};
-static const struct snd_soc_acpi_endpoint jack_amp_g1_dmic_endpoints_endpoints[] = {
+static const struct snd_soc_acpi_endpoint jack_amp_g1_dmic_endpoints[] = {
/* Jack Endpoint */
{
.num = 0,
@@ -288,8 +288,8 @@ static const struct snd_soc_acpi_adr_device rt711_sdca_0_adr[] = {
static const struct snd_soc_acpi_adr_device rt712_vb_2_group1_adr[] = {
{
.adr = 0x000230025D071201ull,
- .num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints_endpoints),
- .endpoints = jack_amp_g1_dmic_endpoints_endpoints,
+ .num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints),
+ .endpoints = jack_amp_g1_dmic_endpoints,
.name_prefix = "rt712"
}
};
@@ -297,8 +297,8 @@ static const struct snd_soc_acpi_adr_device rt712_vb_2_group1_adr[] = {
static const struct snd_soc_acpi_adr_device rt712_vb_3_group1_adr[] = {
{
.adr = 0x000330025D071201ull,
- .num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints_endpoints),
- .endpoints = jack_amp_g1_dmic_endpoints_endpoints,
+ .num_endpoints = ARRAY_SIZE(jack_amp_g1_dmic_endpoints),
+ .endpoints = jack_amp_g1_dmic_endpoints,
.name_prefix = "rt712"
}
};
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ASoC: Intel: soc-acpi-intel-ptl-match: Add rt713_vb_l3_rt1320_l3 support
2025-05-07 6:28 [PATCH 0/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Add rt713_vb_l3_rt1320_l3 support Bard Liao
2025-05-07 6:28 ` [PATCH 1/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Simplify variable name Bard Liao
@ 2025-05-07 6:28 ` Bard Liao
2025-05-09 1:36 ` [PATCH 0/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: " Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Bard Liao @ 2025-05-07 6:28 UTC (permalink / raw)
To: broonie, tiwai; +Cc: linux-sound, pierre-louis.bossart, bard.liao
From: Mac Chiang <mac.chiang@intel.com>
This patch adds support for the rt712_vb multi-function codec and
rt1320 amplifier. Both devices are connected via a single Soundwire link 3,
sharing the sdw3-clock, sdw3-data[0] and sdw3-data[1] data lanes
respectively.
Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
---
.../intel/common/soc-acpi-intel-ptl-match.c | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/sound/soc/intel/common/soc-acpi-intel-ptl-match.c b/sound/soc/intel/common/soc-acpi-intel-ptl-match.c
index f9510480d188..93fd7ae7c825 100644
--- a/sound/soc/intel/common/soc-acpi-intel-ptl-match.c
+++ b/sound/soc/intel/common/soc-acpi-intel-ptl-match.c
@@ -321,6 +321,15 @@ static const struct snd_soc_acpi_adr_device rt713_vb_3_adr[] = {
}
};
+static const struct snd_soc_acpi_adr_device rt1320_3_group1_adr[] = {
+ {
+ .adr = 0x000330025D132001ull,
+ .num_endpoints = 1,
+ .endpoints = &spk_r_endpoint,
+ .name_prefix = "rt1320-1"
+ }
+};
+
static const struct snd_soc_acpi_adr_device rt721_3_single_adr[] = {
{
.adr = 0x000330025d072101ull,
@@ -541,6 +550,20 @@ static const struct snd_soc_acpi_link_adr ptl_sdw_rt712_vb_l3_rt1320_l2[] = {
{}
};
+static const struct snd_soc_acpi_link_adr ptl_sdw_rt712_vb_l3_rt1320_l3[] = {
+ {
+ .mask = BIT(3),
+ .num_adr = ARRAY_SIZE(rt712_vb_3_group1_adr),
+ .adr_d = rt712_vb_3_group1_adr,
+ },
+ {
+ .mask = BIT(3),
+ .num_adr = ARRAY_SIZE(rt1320_3_group1_adr),
+ .adr_d = rt1320_3_group1_adr,
+ },
+ {}
+};
+
/* this table is used when there is no I2S codec present */
struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines[] = {
/* Order Priority: mockup > most links > most bit link-mask > alphabetical */
@@ -606,6 +629,14 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_ptl_sdw_machines[] = {
.sof_tplg_filename = "sof-ptl-rt712-l3-rt1320-l2.tplg",
.get_function_tplg_files = sof_sdw_get_tplg_files,
},
+ {
+ .link_mask = BIT(3),
+ .links = ptl_sdw_rt712_vb_l3_rt1320_l3,
+ .drv_name = "sof_sdw",
+ .machine_check = snd_soc_acpi_intel_sdca_is_device_rt712_vb,
+ .sof_tplg_filename = "sof-ptl-rt712-l3-rt1320-l3.tplg",
+ .get_function_tplg_files = sof_sdw_get_tplg_files,
+ },
{
.link_mask = BIT(0),
.links = ptl_rvp,
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Add rt713_vb_l3_rt1320_l3 support
2025-05-07 6:28 [PATCH 0/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Add rt713_vb_l3_rt1320_l3 support Bard Liao
2025-05-07 6:28 ` [PATCH 1/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Simplify variable name Bard Liao
2025-05-07 6:28 ` [PATCH 2/2] ASoC: Intel: soc-acpi-intel-ptl-match: Add rt713_vb_l3_rt1320_l3 support Bard Liao
@ 2025-05-09 1:36 ` Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2025-05-09 1:36 UTC (permalink / raw)
To: tiwai, Bard Liao; +Cc: linux-sound, pierre-louis.bossart, bard.liao
On Wed, 07 May 2025 14:28:10 +0800, Bard Liao wrote:
> The series simplify the variable name and add rt713_vb_l3_rt1320_l3
> support.
>
> Mac Chiang (2):
> ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Simplify variable name
> ASoC: Intel: soc-acpi-intel-ptl-match: Add rt713_vb_l3_rt1320_l3
> support
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Simplify variable name
commit: e79cc43b4833d9f5651d64ca313edf598df50053
[2/2] ASoC: Intel: soc-acpi-intel-ptl-match: Add rt713_vb_l3_rt1320_l3 support
commit: 62a5897607747e63c64a8b7a7fc212b9b29c2a7a
All 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-05-09 1:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07 6:28 [PATCH 0/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Add rt713_vb_l3_rt1320_l3 support Bard Liao
2025-05-07 6:28 ` [PATCH 1/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: Simplify variable name Bard Liao
2025-05-07 6:28 ` [PATCH 2/2] ASoC: Intel: soc-acpi-intel-ptl-match: Add rt713_vb_l3_rt1320_l3 support Bard Liao
2025-05-09 1:36 ` [PATCH 0/2] ASoC: Intel: soc-acpi-intel-lnl/ptl-match: " Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).