Re: [PATCH v2 09/13] i3c: dw-i3c-master: Add a quirk to skip clock and reset

Alexandre Belloni
2026-04-13T08:45:12Z

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