Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] MediaTek CMDQ - drop clock-names and refactor clock probe
@ 2024-06-20 10:07 AngeloGioacchino Del Regno
  2024-06-20 10:07 ` [PATCH 1/4] mailbox: mtk-cmdq: Stop requiring name for GCE clock AngeloGioacchino Del Regno
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-06-20 10:07 UTC (permalink / raw)
  To: jassisinghbrar
  Cc: robh, krzk+dt, conor+dt, matthias.bgg, angelogioacchino.delregno,
	houlong.wei, linux-kernel, devicetree, linux-arm-kernel,
	linux-mediatek

All CMDQ Mailboxes have only one GCE clock per hardware instance:
remove the clock-names requirement and, while at it, also partially
refactor the clock probe code to improve both readability and its
flexibility.

This was tested on MT8192, MT8195 Chromebooks, MT8395 Radxa NIO 12L
and on the MT6795 Xperia M5 smartphone.

AngeloGioacchino Del Regno (4):
  mailbox: mtk-cmdq: Stop requiring name for GCE clock
  mailbox: mtk-cmdq: Move and partially refactor clocks probe
  mailbox: mtk-cmdq: Dynamically allocate clk_bulk_data structure
  dt-bindings: mailbox: mediatek,gce-mailbox: Stop requiring clock-names

 .../mailbox/mediatek,gce-mailbox.yaml         | 11 ---
 drivers/mailbox/mtk-cmdq-mailbox.c            | 87 ++++++++++++-------
 2 files changed, 57 insertions(+), 41 deletions(-)

-- 
2.45.2



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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 10:07 [PATCH 0/4] MediaTek CMDQ - drop clock-names and refactor clock probe AngeloGioacchino Del Regno
2024-06-20 10:07 ` [PATCH 1/4] mailbox: mtk-cmdq: Stop requiring name for GCE clock AngeloGioacchino Del Regno
2024-06-20 10:07 ` [PATCH 2/4] mailbox: mtk-cmdq: Move and partially refactor clocks probe AngeloGioacchino Del Regno
2024-06-20 10:07 ` [PATCH 3/4] mailbox: mtk-cmdq: Dynamically allocate clk_bulk_data structure AngeloGioacchino Del Regno
2024-06-20 10:07 ` [PATCH 4/4] dt-bindings: mailbox: mediatek,gce-mailbox: Stop requiring clock-names AngeloGioacchino Del Regno
2024-06-20 16:11   ` Conor Dooley

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