[PATCH] spi: spi-mtk-nor: Get clocks from devicetree in bulk
Jingcheng Ji (纪京城)
ot_jingcheng.ji at mediatek.com
Wed Sep 2 23:13:02 PDT 2026
On Mon, 2026-08-31 at 18:48 +0100, Mark Brown wrote:
> On Fri, Aug 21, 2026 at 05:00:22PM +0800, Jingcheng Ji wrote:
> > The driver currently gets a fixed set of clock inputs by name. This
> > ties
> > the driver to the clock names used by existing devicetrees and
> > silently
> > ignores any additional clocks declared by a future platform.
>
> This doesn't apply against current code, please check and resend.
Dear Mark:
Thanks for pointing this out. You are right: v1 was based on
an outdated snapshot and does not apply cleanly because current
spi/for-next already contains the err_disable_clk cleanup path added by
the IRQ error handling changes.
The fixed per-name clock lookups are still present in current spi/for-
next.I have rebased the patch onto the current tree, reused the
existing cleanup path, and verified v2 with checkpatch, git apply, git
am --3way, and an ARM64 object build.
I will send v2 shortly.
Best Regards,
Jingcheng Ji.
More information about the linux-arm-kernel
mailing list