aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMoudy Ho <moudy.ho@mediatek.com>2022-06-10 14:34:21 +0800
committerMatthias Brugger <matthias.bgg@gmail.com>2022-06-17 15:51:52 +0200
commite3b6b5a9cf9f6fda0396be63b72b92724cdf202f (patch)
treeb2c3a1d3bd198027a2f1a592e776c130b02c2479
parentdt-bindings: soc: mediatek: move out common module from display folder (diff)
downloadwireguard-linux-e3b6b5a9cf9f6fda0396be63b72b92724cdf202f.tar.xz
wireguard-linux-e3b6b5a9cf9f6fda0396be63b72b92724cdf202f.zip
dt-bindings: soc: mediatek: add gce-client-reg for MUTEX
In order to allow modules with latency requirements such as MDP3 to set registers through CMDQ, add the relevant GCE property. Signed-off-by: Moudy Ho <moudy.ho@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: CK Hu <ck.hu@mediatek.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220610063424.7800-5-moudy.ho@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r--Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml b/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml
index 50e3388c14a8..627dcc3e8b32 100644
--- a/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml
+++ b/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml
@@ -55,6 +55,18 @@ properties:
include/dt-bindings/gce/<chip>-gce.h of each chips.
$ref: /schemas/types.yaml#/definitions/uint32-array
+ mediatek,gce-client-reg:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ items:
+ items:
+ - description: phandle of GCE
+ - description: GCE subsys id
+ - description: register offset
+ - description: register size
+ description: The register of client driver can be configured by gce with
+ 4 arguments defined in this property. Each GCE subsys id is mapping to
+ a client defined in the header include/dt-bindings/gce/<chip>-gce.h.
+
required:
- compatible
- reg