[PATCH v2 0/2] MediaTek GCE json-schema and multi-gce clocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux