* [PATCH 1/2] ACPI: APD: Add clock frequency for HJMC01 I2C controller [not found] <20240919062943.1551197-1-hunter.yu@hj-micro.com> @ 2024-09-19 6:29 ` hunter.yu 2024-09-19 15:06 ` Andy Shevchenko 2024-09-19 6:29 ` [PATCH 2/2] i2c: designware: Add a new ACPI HID " hunter.yu 1 sibling, 1 reply; 5+ messages in thread From: hunter.yu @ 2024-09-19 6:29 UTC (permalink / raw) To: rafael, lenb, jarkko.nikula, andriy.shevchenko, mika.westerberg, jsd, andi.shyti Cc: linux-acpi, linux-i2c, hunter.yu From: "hunter.yu" <hunter.yu@hj-micro.com> I2C clock frequency for HJMC01 is 200M, define a new ACPI HID for it. Signed-off-by: hunter.yu <hunter.yu@hj-micro.com> --- drivers/acpi/acpi_apd.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c index 800f97868448..bc271d1cb31b 100644 --- a/drivers/acpi/acpi_apd.c +++ b/drivers/acpi/acpi_apd.c @@ -181,6 +181,11 @@ static const struct apd_device_desc hip08_spi_desc = { .setup = acpi_apd_setup, .fixed_clk_rate = 250000000, }; + +static const struct apd_device_desc hjmc_i2c_desc = { + .setup = acpi_apd_setup, + .fixed_clk_rate = 200000000, +}; #endif /* CONFIG_ARM64 */ #endif @@ -252,6 +257,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = { { "HISI02A3", APD_ADDR(hip08_lite_i2c_desc) }, { "HISI0173", APD_ADDR(hip08_spi_desc) }, { "NXP0001", APD_ADDR(nxp_i2c_desc) }, + { "HJMC3001", APD_ADDR(hjmc_i2c_desc) }, #endif { } }; -- 2.27.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] ACPI: APD: Add clock frequency for HJMC01 I2C controller 2024-09-19 6:29 ` [PATCH 1/2] ACPI: APD: Add clock frequency for HJMC01 I2C controller hunter.yu @ 2024-09-19 15:06 ` Andy Shevchenko 0 siblings, 0 replies; 5+ messages in thread From: Andy Shevchenko @ 2024-09-19 15:06 UTC (permalink / raw) To: hunter.yu Cc: rafael, lenb, jarkko.nikula, mika.westerberg, jsd, andi.shyti, linux-acpi, linux-i2c On Thu, Sep 19, 2024 at 02:29:42PM +0800, hunter.yu@hj-micro.com wrote: > From: "hunter.yu" <hunter.yu@hj-micro.com> > > I2C clock frequency for HJMC01 is 200M, define a new ACPI > HID for it. ... > { "HISI02A3", APD_ADDR(hip08_lite_i2c_desc) }, > { "HISI0173", APD_ADDR(hip08_spi_desc) }, > { "NXP0001", APD_ADDR(nxp_i2c_desc) }, > + { "HJMC3001", APD_ADDR(hjmc_i2c_desc) }, Please, keep it ordered. -- With Best Regards, Andy Shevchenko ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] i2c: designware: Add a new ACPI HID for HJMC01 I2C controller [not found] <20240919062943.1551197-1-hunter.yu@hj-micro.com> 2024-09-19 6:29 ` [PATCH 1/2] ACPI: APD: Add clock frequency for HJMC01 I2C controller hunter.yu @ 2024-09-19 6:29 ` hunter.yu 2024-09-19 10:26 ` Jarkko Nikula 2024-09-19 15:07 ` Andy Shevchenko 1 sibling, 2 replies; 5+ messages in thread From: hunter.yu @ 2024-09-19 6:29 UTC (permalink / raw) To: rafael, lenb, jarkko.nikula, andriy.shevchenko, mika.westerberg, jsd, andi.shyti Cc: linux-acpi, linux-i2c, hunter.yu From: "hunter.yu" <hunter.yu@hj-micro.com> Define a new ACPI HID for HJMC01 Signed-off-by: hunter.yu <hunter.yu@hj-micro.com> --- drivers/i2c/busses/i2c-designware-platdrv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c index df3dc1e8093e..06dcefa3b103 100644 --- a/drivers/i2c/busses/i2c-designware-platdrv.c +++ b/drivers/i2c/busses/i2c-designware-platdrv.c @@ -58,6 +58,7 @@ static const struct acpi_device_id dw_i2c_acpi_match[] = { { "HISI02A2", 0 }, { "HISI02A3", 0 }, { "HYGO0010", ACCESS_INTR_MASK }, + { "HJMC3001", 0 }, { } }; MODULE_DEVICE_TABLE(acpi, dw_i2c_acpi_match); -- 2.27.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] i2c: designware: Add a new ACPI HID for HJMC01 I2C controller 2024-09-19 6:29 ` [PATCH 2/2] i2c: designware: Add a new ACPI HID " hunter.yu @ 2024-09-19 10:26 ` Jarkko Nikula 2024-09-19 15:07 ` Andy Shevchenko 1 sibling, 0 replies; 5+ messages in thread From: Jarkko Nikula @ 2024-09-19 10:26 UTC (permalink / raw) To: hunter.yu, rafael, lenb, andriy.shevchenko, mika.westerberg, jsd, andi.shyti Cc: linux-acpi, linux-i2c On 9/19/24 9:29 AM, hunter.yu@hj-micro.com wrote: > From: "hunter.yu" <hunter.yu@hj-micro.com> > > Define a new ACPI HID for HJMC01 > > Signed-off-by: hunter.yu <hunter.yu@hj-micro.com> > --- > drivers/i2c/busses/i2c-designware-platdrv.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c > index df3dc1e8093e..06dcefa3b103 100644 > --- a/drivers/i2c/busses/i2c-designware-platdrv.c > +++ b/drivers/i2c/busses/i2c-designware-platdrv.c > @@ -58,6 +58,7 @@ static const struct acpi_device_id dw_i2c_acpi_match[] = { > { "HISI02A2", 0 }, > { "HISI02A3", 0 }, > { "HYGO0010", ACCESS_INTR_MASK }, > + { "HJMC3001", 0 }, > { } > }; > MODULE_DEVICE_TABLE(acpi, dw_i2c_acpi_match); Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] i2c: designware: Add a new ACPI HID for HJMC01 I2C controller 2024-09-19 6:29 ` [PATCH 2/2] i2c: designware: Add a new ACPI HID " hunter.yu 2024-09-19 10:26 ` Jarkko Nikula @ 2024-09-19 15:07 ` Andy Shevchenko 1 sibling, 0 replies; 5+ messages in thread From: Andy Shevchenko @ 2024-09-19 15:07 UTC (permalink / raw) To: hunter.yu Cc: rafael, lenb, jarkko.nikula, mika.westerberg, jsd, andi.shyti, linux-acpi, linux-i2c On Thu, Sep 19, 2024 at 02:29:43PM +0800, hunter.yu@hj-micro.com wrote: > From: "hunter.yu" <hunter.yu@hj-micro.com> > > Define a new ACPI HID for HJMC01 Missing period at the end. ... > { "HISI02A2", 0 }, > { "HISI02A3", 0 }, > { "HYGO0010", ACCESS_INTR_MASK }, > + { "HJMC3001", 0 }, Please, keep them ordered. -- With Best Regards, Andy Shevchenko ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-09-19 15:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240919062943.1551197-1-hunter.yu@hj-micro.com>
2024-09-19 6:29 ` [PATCH 1/2] ACPI: APD: Add clock frequency for HJMC01 I2C controller hunter.yu
2024-09-19 15:06 ` Andy Shevchenko
2024-09-19 6:29 ` [PATCH 2/2] i2c: designware: Add a new ACPI HID " hunter.yu
2024-09-19 10:26 ` Jarkko Nikula
2024-09-19 15:07 ` Andy Shevchenko
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox