Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* [PATCH v2 0/2] clk: ti: mux: resolve parent clocks by DT index, not by name
@ 2026-07-27  7:41 Mathieu Dubois-Briand
  2026-07-27  7:41 ` [PATCH v2 1/2] " Mathieu Dubois-Briand
  2026-07-27  7:41 ` [PATCH v2 2/2] clk: ti: composite: " Mathieu Dubois-Briand
  0 siblings, 2 replies; 5+ messages in thread
From: Mathieu Dubois-Briand @ 2026-07-27  7:41 UTC (permalink / raw)
  To: Tero Kristo, Michael Turquette, Stephen Boyd, Brian Masney,
	Tony Lindgren
  Cc: Thomas Petazzoni, Théo Lebrun, Grégory Clement,
	linux-omap, linux-clk, linux-kernel, Mathieu Dubois-Briand

This commit aims to solve an issue I've been describing a few months ago
on AM335x SoC [1]. I believe using the parent_data field of
clk_init_data structure is now the preferred way to convey that data,
and it should be more reliable than string comparisons.

[1]: https://lore.kernel.org/all/DI4RUFQNSSNP.2QMSSQWJW9I2O@bootlin.com/

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
Changes in v2:
- Also use clk_parent_data structure in composite.c.
- Rebase on v7.2-rc5.
- Link to v1: https://lore.kernel.org/r/20260715-mathieu-wdt-clock-theo-v1-1-da65bba1828b@bootlin.com

---
Mathieu Dubois-Briand (2):
      clk: ti: mux: resolve parent clocks by DT index, not by name
      clk: ti: composite: resolve parent clocks by DT index, not by name

 drivers/clk/ti/composite.c | 26 ++++++++++++++------------
 drivers/clk/ti/mux.c       | 20 +++++++++++---------
 2 files changed, 25 insertions(+), 21 deletions(-)
---
base-commit: f5098b6bae761e346ebcd9da7f95622c04733cff
change-id: 20260713-mathieu-wdt-clock-theo-f0c5ba58e258

Best regards,
-- 
Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>


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

end of thread, other threads:[~2026-07-28 14:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-27  7:41 [PATCH v2 0/2] clk: ti: mux: resolve parent clocks by DT index, not by name Mathieu Dubois-Briand
2026-07-27  7:41 ` [PATCH v2 1/2] " Mathieu Dubois-Briand
2026-07-28 14:11   ` Brian Masney
2026-07-27  7:41 ` [PATCH v2 2/2] clk: ti: composite: " Mathieu Dubois-Briand
2026-07-28 14:11   ` Brian Masney

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