public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add clock to dt-bindings and Modify nor driver.
@ 2026-03-24  6:28 Meiker Gao
  2026-03-24  6:28 ` [PATCH 1/2] dt-bindings: spi: Fix clock-names definition Meiker Gao
  2026-03-24  6:28 ` [PATCH 2/2] [v3] spi: spi-mtk-nor: Modify and optimization the SNFC Meiker Gao
  0 siblings, 2 replies; 10+ messages in thread
From: Meiker Gao @ 2026-03-24  6:28 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Matthias Brugger, AngeloGioacchino Del Regno
  Cc: Bayi Cheng, Project_Global_Chrome_Upstream_Group, sirius.wang,
	vince-wl.liu, jh.hsu, linux-spi, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, Meiker Gao

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



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/2] Add nor dt-bindings new clock and modify driver.
@ 2026-03-25  3:18 Meiker Gao
  2026-03-25  3:18 ` [PATCH 1/2] dt-bindings: spi: Fix clock-names definition Meiker Gao
  0 siblings, 1 reply; 10+ messages in thread
From: Meiker Gao @ 2026-03-25  3:18 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Matthias Brugger, AngeloGioacchino Del Regno
  Cc: Bayi Cheng, Project_Global_Chrome_Upstream_Group, sirius.wang,
	vince-wl.liu, jh.hsu, linux-spi, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, Meiker Gao

Changs in v2:
 -Modify bindings/spi/mediatek,spi-mtk-nor.yaml,add new clock.
 -Modify nor driver new clock gate need to be added.

Meiker Gao (2):
  dt-bindings: spi: Fix clock-names definition
  spi: spi-mtk-nor: add new clock support

 .../bindings/spi/mediatek,spi-mtk-nor.yaml    |  7 ++-
 drivers/spi/spi-mtk-nor.c                     | 48 ++++++++++++-------
 2 files changed, 37 insertions(+), 18 deletions(-)

-- 
2.45.2



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/2] *** SUBJECT HERE ***
@ 2026-03-24  3:26 Meiker Gao
  2026-03-24  3:26 ` [PATCH 1/2] dt-bindings: spi: Fix clock-names definition Meiker Gao
  0 siblings, 1 reply; 10+ messages in thread
From: Meiker Gao @ 2026-03-24  3:26 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Matthias Brugger, AngeloGioacchino Del Regno
  Cc: Bayi Cheng, Project_Global_Chrome_Upstream_Group, sirius.wang,
	vince-wl.liu, jh.hsu, linux-spi, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, Meiker Gao

*** BLURB HERE ***
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:
  - 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-03-25 11:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-24  6:28 [PATCH 0/2] Add clock to dt-bindings and Modify nor driver Meiker Gao
2026-03-24  6:28 ` [PATCH 1/2] dt-bindings: spi: Fix clock-names definition Meiker Gao
2026-03-24  9:55   ` Krzysztof Kozlowski
2026-03-24  9:56     ` Krzysztof Kozlowski
2026-03-24  6:28 ` [PATCH 2/2] [v3] spi: spi-mtk-nor: Modify and optimization the SNFC Meiker Gao
2026-03-24 16:19   ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2026-03-25  3:18 [PATCH 0/2] Add nor dt-bindings new clock and modify driver Meiker Gao
2026-03-25  3:18 ` [PATCH 1/2] dt-bindings: spi: Fix clock-names definition Meiker Gao
2026-03-25 11:45   ` Krzysztof Kozlowski
2026-03-24  3:26 [PATCH 0/2] *** SUBJECT HERE *** Meiker Gao
2026-03-24  3:26 ` [PATCH 1/2] dt-bindings: spi: Fix clock-names definition Meiker Gao
2026-03-24  9:54   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox