[PATCH v2 0/2] MediaTek GCE json-schema and multi-gce clocks
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Tue May 24 08:15:10 PDT 2022
v1 of "dt-bindings: mailbox: mtk-gce: Convert txt to json-schema"
exposed some readability issues for the mtk-cmdq-mailbox driver but,
upon further inspection, I've found that there is a shorter way to
achieve the Multi-GCE support as it's limited to simply managing two
clocks instead of one.
This series converts the mtk-gce freeform documentation to json-schema
and adds a second clock for the dual-gce (multi-gce) case, as to stop
looking for aliases in the entire devicetree to get clocks from the
secondary GCE node: declaring both clocks on both nodes is simply the
right thing to do, as operating one GCE Mailbox requires both clocks
to be enabled, since there may be interop between the two GCEs.
For now, the only Dual-GCE SoC is MT8195, for which no devicetree is
upstream yet.
AngeloGioacchino Del Regno (2):
dt-bindings: mailbox: mtk-gce: Convert txt to json-schema
mailbox: mtk-cmdq-mailbox: Simplify getting multi-gce clocks
.../bindings/mailbox/mediatek,gce-mbox.yaml | 124 ++++++++++++++++++
.../devicetree/bindings/mailbox/mtk-gce.txt | 82 ------------
drivers/mailbox/mtk-cmdq-mailbox.c | 32 +----
3 files changed, 131 insertions(+), 107 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mailbox/mediatek,gce-mbox.yaml
delete mode 100644 Documentation/devicetree/bindings/mailbox/mtk-gce.txt
--
2.35.1
More information about the linux-arm-kernel
mailing list