From: Jarred White <jarredwhite@linux.microsoft.com>
To: Andi Shyti <andi.shyti@kernel.org>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
"Rafael J . Wysocki" <rafael@kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Len Brown <lenb@kernel.org>,
"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Allen Pais <apais@microsoft.com>,
"rlmenge@gmail.com" <rlmenge@gmail.com>,
"hargar@linux.microsoft.com" <hargar@linux.microsoft.com>,
Siddharth Chintamaneni <sidchintamaneni@gmail.com>,
Jeff Kirsher <jeff.kirsher@microsoft.com>
Subject: Re: [EXTERNAL] [PATCH v1 1/1] i2c: designware: Add ACPI ID MSFT0006 for Microsoft Cobalt SoCs
Date: Thu, 5 Nov 2026 13:27:06 -0800 [thread overview]
Message-ID: <b660d79f-887e-4594-ba76-c45dc5f75435@linux.microsoft.com> (raw)
In-Reply-To: <DS1PR21MB4279C556CFB876C5562C7F1182772@DS1PR21MB4279.namprd21.prod.outlook.com>
> [You don't often get email from sidchintamaneni@gmail.com. Learn why
> this is important at https://aka.ms/LearnAboutSenderIdentification
> <https://aka.ms/LearnAboutSenderIdentification> ]
>
> Add the MSFT0006 ACPI ID for the DesignWare I2C controller integrated
> on Microsoft Cobalt SoCs, along with its 300 MHz input clock description
> in acpi_apd.c.
>
> Without an explicit MSFT0006 entry, ACPI device matching falls back to
> its _CID (APMC0D0F), which configures a 100 MHz input clock instead of
> the controller's actual 300 MHz clock.
>
> Signed-off-by: Siddharth Chintamaneni <sidchintamaneni@gmail.com>
Acked-by: Jarred White <jarredwhite@linux.microsoft.com>
> ---
> Cc: Jarred White <jarredwhite@linux.microsoft.com>
> Cc: Jeff Kirsher <jeff.kirsher@microsoft.com>
>
> drivers/acpi/acpi_apd.c | 6 ++++++
> drivers/i2c/busses/i2c-designware-platdrv.c | 1 +
> 2 files changed, 7 insertions(+)
>
> diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c
> index 9fc667d6776c8..a1baa056931c4 100644
> --- a/drivers/acpi/acpi_apd.c
> +++ b/drivers/acpi/acpi_apd.c
> @@ -198,6 +198,11 @@ static const struct apd_device_desc hjmc_i2c_desc = {
> .fixed_clk_rate = 200 * HZ_PER_MHZ,
> };
>
> +static const struct apd_device_desc msft_i2c_desc = {
> + .setup = acpi_apd_setup,
> + .fixed_clk_rate = 300 * HZ_PER_MHZ,
> +};
> +
> #endif /* CONFIG_ARM64 */
>
> #endif
> @@ -272,6 +277,7 @@ static const struct acpi_device_id
> acpi_apd_device_ids[] = {
> { "HJMC3001", APD_ADDR(hjmc_i2c_desc) },
> { "LECA0002", APD_ADDR(leca_spi_desc) },
> { "LECA0003", APD_ADDR(leca_i2c_desc) },
> + { "MSFT0006", APD_ADDR(msft_i2c_desc) },
> { "NXP0001", APD_ADDR(nxp_i2c_desc) },
> #endif
> { }
> diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/
> busses/i2c-designware-platdrv.c
> index 1da6b0314b6a0..f359d38cc63c7 100644
> --- a/drivers/i2c/busses/i2c-designware-platdrv.c
> +++ b/drivers/i2c/busses/i2c-designware-platdrv.c
> @@ -280,6 +280,7 @@ static const struct acpi_device_id
> dw_i2c_acpi_match[] = {
> { .id = "INT3433" },
> { .id = "INTC10EF" },
> { .id = "LECA0003" },
> + { .id = "MSFT0006" },
> { }
> };
> MODULE_DEVICE_TABLE(acpi, dw_i2c_acpi_match);
> --
> 2.45.4
>
prev parent reply other threads:[~2026-11-05 21:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 23:49 Siddharth Chintamaneni
2026-11-05 10:03 ` Andy Shevchenko
2026-11-05 18:03 ` [EXTERNAL] " Jeff Kirsher
[not found] ` <DS1PR21MB4279C556CFB876C5562C7F1182772@DS1PR21MB4279.namprd21.prod.outlook.com>
2026-11-05 21:27 ` Jarred White [this message]
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=b660d79f-887e-4594-ba76-c45dc5f75435@linux.microsoft.com \
--to=jarredwhite@linux.microsoft.com \
--cc=andi.shyti@kernel.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=apais@microsoft.com \
--cc=hargar@linux.microsoft.com \
--cc=jeff.kirsher@microsoft.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
--cc=rafael@kernel.org \
--cc=rlmenge@gmail.com \
--cc=sidchintamaneni@gmail.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
all inboxes | Powered by JetHome®