[PATCH 0/2] Add clock to dt-bindings and Modify nor driver.

From: Meiker Gao

Date: Tue Mar 24 2026 - 02:48:45 EST


This patch series refactors the clock management for the Mediatek SPI NOR driver,
making it more flexible and compatible with different platforms.

Patch 1 updates the device tree binding to support variable clock-names.
Patch 2 migrates the driver to use clk_bulk API and optimizes error handling.

Changes in v1:
- dt-bindings add clock for mt8196.
- Dynamically allocate clk_bulk_data array.
- Simplify error handling.
- Code cleanup and style improvements.

Meiker Gao (2):
dt-bindings: spi: Fix clock-names definition
[v3] spi: spi-mtk-nor: Modify and optimization the SNFC.

.../bindings/spi/mediatek,spi-mtk-nor.yaml | 6 ++++++
drivers/spi/spi-mtk-nor.c | 19 ++++++++-----------
2 files changed, 14 insertions(+), 11 deletions(-)

--
2.45.2