Re: [PATCH v2 09/13] i3c: dw-i3c-master: Add a quirk to skip clock and reset
Alexandre Belloni <[email protected]>
| Newsgroups | dev.linux.lists.acpica-devel,org.infradead.lists.linux-i3c,org.kernel.vger.linux-acpi,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-hwmon,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 10/04/2026 11:37:11+0530, Akhil R wrote: > On Thu, 9 Apr 2026 22:45:09 -0400, Frank Li wrote: > > On Thu, Apr 09, 2026 at 04:27:39PM +0530, Akhil R wrote: > >> Some ACPI-enumerated devices like Tegra410 do not have clock and reset > >> resources exposed via the clk/reset frameworks. Add a match data for > > > > why not export fix clock at ACPI? > > > >> such devices to skip acquiring clock and reset controls during probe. > >> > >> Move match data parsing before clock/reset acquisition so the quirk is > >> available early enough. When the quirk is set, fall back to reading > >> the clock rate from the "clock-frequency" device property instead. > > > > "clock-frequency" is legacy proptery. > > The document ACPI on ARMv8 Servers [1] suggests not to use clock or reset > framework at all. I also could not find any proper way to export the clock > to the kernel from the ACPI table. The same document suggests to use only > _DSD properties, if to pass any data to the kernel. > > I can rename the property to 'default-clock-rate' if that sounds good. > Please let me know your suggestion. > "clock-frequency" is fine for ACPI > [1]: https://www.kernel.org/doc/html/v6.1/arm64/arm-acpi.html#programmable-power-control-resources > > Best Regards, > Akhil -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com