1*8109d8ecSMoudy Ho# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*8109d8ecSMoudy Ho%YAML 1.2 3*8109d8ecSMoudy Ho--- 4*8109d8ecSMoudy Ho$id: http://devicetree.org/schemas/media/mediatek,mdp3-hdr.yaml# 5*8109d8ecSMoudy Ho$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8109d8ecSMoudy Ho 7*8109d8ecSMoudy Hotitle: MediaTek Media Data Path 3 HDR 8*8109d8ecSMoudy Ho 9*8109d8ecSMoudy Homaintainers: 10*8109d8ecSMoudy Ho - Matthias Brugger <matthias.bgg@gmail.com> 11*8109d8ecSMoudy Ho - Moudy Ho <moudy.ho@mediatek.com> 12*8109d8ecSMoudy Ho 13*8109d8ecSMoudy Hodescription: 14*8109d8ecSMoudy Ho A Media Data Path 3 (MDP3) component used to perform conversion from 15*8109d8ecSMoudy Ho High Dynamic Range (HDR) to Standard Dynamic Range (SDR). 16*8109d8ecSMoudy Ho 17*8109d8ecSMoudy Hoproperties: 18*8109d8ecSMoudy Ho compatible: 19*8109d8ecSMoudy Ho enum: 20*8109d8ecSMoudy Ho - mediatek,mt8195-mdp3-hdr 21*8109d8ecSMoudy Ho 22*8109d8ecSMoudy Ho reg: 23*8109d8ecSMoudy Ho maxItems: 1 24*8109d8ecSMoudy Ho 25*8109d8ecSMoudy Ho mediatek,gce-client-reg: 26*8109d8ecSMoudy Ho description: 27*8109d8ecSMoudy Ho The register of display function block to be set by gce. There are 4 arguments, 28*8109d8ecSMoudy Ho such as gce node, subsys id, offset and register size. The subsys id that is 29*8109d8ecSMoudy Ho mapping to the register of display function blocks is defined in the gce header 30*8109d8ecSMoudy Ho include/dt-bindings/gce/<chip>-gce.h of each chips. 31*8109d8ecSMoudy Ho $ref: /schemas/types.yaml#/definitions/phandle-array 32*8109d8ecSMoudy Ho items: 33*8109d8ecSMoudy Ho items: 34*8109d8ecSMoudy Ho - description: phandle of GCE 35*8109d8ecSMoudy Ho - description: GCE subsys id 36*8109d8ecSMoudy Ho - description: register offset 37*8109d8ecSMoudy Ho - description: register size 38*8109d8ecSMoudy Ho maxItems: 1 39*8109d8ecSMoudy Ho 40*8109d8ecSMoudy Ho clocks: 41*8109d8ecSMoudy Ho maxItems: 1 42*8109d8ecSMoudy Ho 43*8109d8ecSMoudy Horequired: 44*8109d8ecSMoudy Ho - compatible 45*8109d8ecSMoudy Ho - reg 46*8109d8ecSMoudy Ho - mediatek,gce-client-reg 47*8109d8ecSMoudy Ho - clocks 48*8109d8ecSMoudy Ho 49*8109d8ecSMoudy HoadditionalProperties: false 50*8109d8ecSMoudy Ho 51*8109d8ecSMoudy Hoexamples: 52*8109d8ecSMoudy Ho - | 53*8109d8ecSMoudy Ho #include <dt-bindings/clock/mt8195-clk.h> 54*8109d8ecSMoudy Ho #include <dt-bindings/gce/mt8195-gce.h> 55*8109d8ecSMoudy Ho 56*8109d8ecSMoudy Ho display@14004000 { 57*8109d8ecSMoudy Ho compatible = "mediatek,mt8195-mdp3-hdr"; 58*8109d8ecSMoudy Ho reg = <0x14004000 0x1000>; 59*8109d8ecSMoudy Ho mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x4000 0x1000>; 60*8109d8ecSMoudy Ho clocks = <&vppsys0 CLK_VPP0_MDP_HDR>; 61*8109d8ecSMoudy Ho }; 62