From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Richard Fitzgerald <rf@opensource.cirrus.com>
Cc: broonie@kernel.org, tiwai@suse.com,
Hans de Goede <hdegoede@redhat.com>,
lenb@kernel.org, "Rafael J. Wysocki" <rafael@kernel.org>,
linux-sound@vger.kernel.org, alsa-devel@alsa-project.org,
LKML <linux-kernel@vger.kernel.org>,
patches@opensource.cirrus.com,
platform-driver-x86@vger.kernel.org, linux-acpi@vger.kernel.org,
Simon Trimmer <simont@opensource.cirrus.com>
Subject: Re: [PATCH 3/3] platform/x86: serial-multi-instantiate: Add support for CS35L54 and CS35L57
Date: Fri, 8 Mar 2024 16:15:08 +0200 (EET) [thread overview]
Message-ID: <ea3c3230-cdf1-c41f-47fd-8b47667f7c5c@linux.intel.com> (raw)
In-Reply-To: <20240308135900.603192-4-rf@opensource.cirrus.com>
[-- Attachment #1: Type: text/plain, Size: 3336 bytes --]
On Fri, 8 Mar 2024, Richard Fitzgerald wrote:
> From: Simon Trimmer <simont@opensource.cirrus.com>
>
> Add the ACPI HIDs and smi_node descriptions for the CS35L54 and CS35L57
> Boosted Smart Amplifiers.
>
> Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
> Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
> ---
> This patch doesn't have any build dependencies on the ASOC/HDA code so
> can be take separately.
Acked-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
--
i.
> ---
> drivers/acpi/scan.c | 2 ++
> .../platform/x86/serial-multi-instantiate.c | 28 +++++++++++++++++++
> 2 files changed, 30 insertions(+)
>
> diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
> index e6ed1ba91e5c..091c501bed1f 100644
> --- a/drivers/acpi/scan.c
> +++ b/drivers/acpi/scan.c
> @@ -1725,7 +1725,9 @@ static bool acpi_device_enumeration_by_parent(struct acpi_device *device)
> {"BSG1160", },
> {"BSG2150", },
> {"CSC3551", },
> + {"CSC3554", },
> {"CSC3556", },
> + {"CSC3557", },
> {"INT33FE", },
> {"INT3515", },
> /* Non-conforming _HID for Cirrus Logic already released */
> diff --git a/drivers/platform/x86/serial-multi-instantiate.c b/drivers/platform/x86/serial-multi-instantiate.c
> index 8158e3cf5d6d..97b9c6392230 100644
> --- a/drivers/platform/x86/serial-multi-instantiate.c
> +++ b/drivers/platform/x86/serial-multi-instantiate.c
> @@ -329,6 +329,19 @@ static const struct smi_node cs35l41_hda = {
> .bus_type = SMI_AUTO_DETECT,
> };
>
> +static const struct smi_node cs35l54_hda = {
> + .instances = {
> + { "cs35l54-hda", IRQ_RESOURCE_AUTO, 0 },
> + { "cs35l54-hda", IRQ_RESOURCE_AUTO, 0 },
> + { "cs35l54-hda", IRQ_RESOURCE_AUTO, 0 },
> + { "cs35l54-hda", IRQ_RESOURCE_AUTO, 0 },
> + /* a 5th entry is an alias address, not a real device */
> + { "cs35l54-hda_dummy_dev" },
> + {}
> + },
> + .bus_type = SMI_AUTO_DETECT,
> +};
> +
> static const struct smi_node cs35l56_hda = {
> .instances = {
> { "cs35l56-hda", IRQ_RESOURCE_AUTO, 0 },
> @@ -342,6 +355,19 @@ static const struct smi_node cs35l56_hda = {
> .bus_type = SMI_AUTO_DETECT,
> };
>
> +static const struct smi_node cs35l57_hda = {
> + .instances = {
> + { "cs35l57-hda", IRQ_RESOURCE_AUTO, 0 },
> + { "cs35l57-hda", IRQ_RESOURCE_AUTO, 0 },
> + { "cs35l57-hda", IRQ_RESOURCE_AUTO, 0 },
> + { "cs35l57-hda", IRQ_RESOURCE_AUTO, 0 },
> + /* a 5th entry is an alias address, not a real device */
> + { "cs35l57-hda_dummy_dev" },
> + {}
> + },
> + .bus_type = SMI_AUTO_DETECT,
> +};
> +
> /*
> * Note new device-ids must also be added to ignore_serial_bus_ids in
> * drivers/acpi/scan.c: acpi_device_enumeration_by_parent().
> @@ -350,7 +376,9 @@ static const struct acpi_device_id smi_acpi_ids[] = {
> { "BSG1160", (unsigned long)&bsg1160_data },
> { "BSG2150", (unsigned long)&bsg2150_data },
> { "CSC3551", (unsigned long)&cs35l41_hda },
> + { "CSC3554", (unsigned long)&cs35l54_hda },
> { "CSC3556", (unsigned long)&cs35l56_hda },
> + { "CSC3557", (unsigned long)&cs35l57_hda },
> { "INT3515", (unsigned long)&int3515_data },
> /* Non-conforming _HID for Cirrus Logic already released */
> { "CLSA0100", (unsigned long)&cs35l41_hda },
>
next prev parent reply other threads:[~2024-03-08 14:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-08 13:58 [PATCH 0/3] ALSA: Add support for Cirrus Logic CS35L54 and CS35L57 Richard Fitzgerald
2024-03-08 13:58 ` [PATCH 1/3] ASoC: cs35l56: Add support for " Richard Fitzgerald
2024-03-08 14:12 ` Mark Brown
2024-03-08 13:58 ` [PATCH 2/3] ALSA: hda: " Richard Fitzgerald
2024-03-08 13:59 ` [PATCH 3/3] platform/x86: serial-multi-instantiate: " Richard Fitzgerald
2024-03-08 14:15 ` Ilpo Järvinen [this message]
2024-03-08 17:01 ` [PATCH 0/3] ALSA: Add support for Cirrus Logic " Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ea3c3230-cdf1-c41f-47fd-8b47667f7c5c@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=hdegoede@redhat.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=rf@opensource.cirrus.com \
--cc=simont@opensource.cirrus.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox