Re: [PATCH v3] ACPI: APD: Add clock frequency for HJMC01 I2C controller
Andy Shevchenko <[email protected]> Thu, 6 Aug 2026 23:31:01 +0300
| Newsgroups | org.kernel.vger.linux-i2c,org.kernel.vger.linux-acpi |
|---|---|
| Organization | Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo |
| Message-ID | <[email protected]> |
On Wed, Jul 22, 2026 at 03:30:31PM +0800, clarke.li wrote:
> I2C clock frequency for HJMC01 is 200MHz, define a new ACPI
> HID for it.
...
> + .fixed_clk_rate = 200000000,
Can you at some point update these constants to use
.fixed_clk_rate = 200 * HZ_PER_MHZ,
and so on?
...
> { "HISI0173", APD_ADDR(hip08_spi_desc) },
> { "LECA0002", APD_ADDR(leca_spi_desc) },
> { "LECA0003", APD_ADDR(leca_i2c_desc) },
> + { "HJMC3001", APD_ADDR(hjmc_i2c_desc) },
> { "NXP0001", APD_ADDR(nxp_i2c_desc) },
Keep it sorted.
--
With Best Regards,
Andy Shevchenko