mbox series

[0/4] MediaTek CMDQ - drop clock-names and refactor clock probe

Message ID 20240620100750.1075790-1-angelogioacchino.delregno@collabora.com (mailing list archive)
Headers show
Series MediaTek CMDQ - drop clock-names and refactor clock probe | expand

Message

AngeloGioacchino Del Regno June 20, 2024, 10:07 a.m. UTC
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(-)