Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Add iMX91 clock driver support
@ 2024-10-14 18:24 Pengfei Li
  2024-10-14 18:24 ` [PATCH v4 1/4] clk: imx93: Move IMX93_CLK_END macro to clk driver Pengfei Li
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Pengfei Li @ 2024-10-14 18:24 UTC (permalink / raw)
  To: krzk+dt, robh, abelvesa, mturquette, sboyd, conor+dt, shawnguo,
	s.hauer, ping.bai, ye.li, peng.fan, aisheng.dong, frank.li
  Cc: kernel, festevam, linux-clk, imx, devicetree, linux-arm-kernel,
	linux-kernel

This patch set is to add some new clocks to binding header and driver.

IMX93_CLK_END was previously defined in imx93-clock.h to indicate
the number of clocks. However, it is not part of the ABI. For starters
it does no really appear in DTS. But what's more important - new clocks
are described later, which contradicts this define in binding header.
So move this macro to clock driver.

---
Change for v4:
- Put 'Drop IMX93_CLK_END macro definition' in a separate patch.
- Move 'Add i.MX91 clock definition' changes to the Binding Patch.
- link to v3: https://lore.kernel.org/all/20241011045736.308338-1-pengfei.li_1@nxp.com/

Pengfei Li (4):
  clk: imx93: Move IMX93_CLK_END macro to clk driver
  dt-bindings: clock: imx93: Drop IMX93_CLK_END macro definition
  dt-bindings: clock: Add i.MX91 clock support
  clk: imx: add i.MX91 clk

 .../bindings/clock/imx93-clock.yaml           |  1 +
 drivers/clk/imx/clk-imx93.c                   | 64 ++++++++++++-------
 include/dt-bindings/clock/imx93-clock.h       |  6 +-
 3 files changed, 47 insertions(+), 24 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-10-16 11:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-14 18:24 [PATCH v4 0/4] Add iMX91 clock driver support Pengfei Li
2024-10-14 18:24 ` [PATCH v4 1/4] clk: imx93: Move IMX93_CLK_END macro to clk driver Pengfei Li
2024-10-16  9:36   ` Abel Vesa
2024-10-14 18:24 ` [PATCH v4 2/4] dt-bindings: clock: imx93: Drop IMX93_CLK_END macro definition Pengfei Li
2024-10-14  7:02   ` Krzysztof Kozlowski
2024-10-14 18:24 ` [PATCH v4 3/4] dt-bindings: clock: Add i.MX91 clock support Pengfei Li
2024-10-14  7:02   ` Krzysztof Kozlowski
2024-10-14 18:24 ` [PATCH v4 4/4] clk: imx: add i.MX91 clk Pengfei Li
2024-10-16 11:46   ` Peng Fan

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