Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: display: mediatek,od: Add mediatek,gce-client-reg property

Currently, users of Mediatek OD (display overdrive) DT bindings set
mediatek,gce-client-reg node property, which is missing from the DT schema.

For example, device tree arch/arm64/boot/dts/mediatek/mt8173.dtsi is
causing the following dtb check error:

arch/arm64/boot/dts/mediatek/mt8173-elm.dtb: od@14023000 (mediatek,mt8173-disp-od): 'mediatek,gce-client-reg' does not match any of the regexes: '^pinctrl-[0-9]+$'

This commit adds the missing node property in the DT schema and updates the
example as well.

Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Link: https://lore.kernel.org/r/20250911151001.108744-6-ariel.dalessandro@collabora.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Ariel D'Alessandro and committed by
Rob Herring (Arm)
9b4bacf5 d27ce63a

+14
+14
Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml
··· 60 60 - port@0 61 61 - port@1 62 62 63 + mediatek,gce-client-reg: 64 + $ref: /schemas/types.yaml#/definitions/phandle-array 65 + description: describes how to locate the GCE client register 66 + items: 67 + - items: 68 + - description: Phandle reference to a Mediatek GCE Mailbox 69 + - description: 70 + GCE subsys id mapping to a client defined in header 71 + include/dt-bindings/gce/<chip>-gce.h. 72 + - description: offset for the GCE register offset 73 + - description: size of the GCE register offset 74 + 63 75 required: 64 76 - compatible 65 77 - reg ··· 82 70 examples: 83 71 - | 84 72 #include <dt-bindings/clock/mt8173-clk.h> 73 + #include <dt-bindings/gce/mt8173-gce.h> 85 74 86 75 soc { 87 76 #address-cells = <2>; ··· 92 79 compatible = "mediatek,mt8173-disp-od"; 93 80 reg = <0 0x14023000 0 0x1000>; 94 81 clocks = <&mmsys CLK_MM_DISP_OD>; 82 + mediatek,gce-client-reg = <&gce SUBSYS_1402XXXX 0x3000 0x1000>; 95 83 }; 96 84 };