Path: blob/master/Documentation/devicetree/bindings/display/hisilicon/hisi-ade.txt
26309 views
Device-Tree bindings for hisilicon ADE display controller driver12ADE (Advanced Display Engine) is the display controller which grab image3data from memory, do composition, do post image processing, generate RGB4timing stream and transfer to DSI.56Required properties:7- compatible: value should be "hisilicon,hi6220-ade".8- reg: physical base address and length of the ADE controller's registers.9- hisilicon,noc-syscon: ADE NOC QoS syscon.10- resets: The ADE reset controller node.11- interrupt: the ldi vblank interrupt number used.12- clocks: a list of phandle + clock-specifier pairs, one for each entry13in clock-names.14- clock-names: should contain:15"clk_ade_core" for the ADE core clock.16"clk_codec_jpeg" for the media NOC QoS clock, which use the same clock with17jpeg codec.18"clk_ade_pix" for the ADE pixel clock.19- assigned-clocks: Should contain "clk_ade_core" and "clk_codec_jpeg" clocks'20phandle + clock-specifier pairs.21- assigned-clock-rates: clock rates, one for each entry in assigned-clocks.22The rate of "clk_ade_core" could be "360000000" or "180000000";23The rate of "clk_codec_jpeg" could be or less than "1440000000".24These rate values could be configured according to performance and power25consumption.26- port: the output port. This contains one endpoint subnode, with its27remote-endpoint set to the phandle of the connected DSI input endpoint.28See Documentation/devicetree/bindings/graph.txt for more device graph info.2930Optional properties:31- dma-coherent: Present if dma operations are coherent.323334A example of HiKey board hi6220 SoC specific DT entry:35Example:3637ade: ade@f4100000 {38compatible = "hisilicon,hi6220-ade";39reg = <0x0 0xf4100000 0x0 0x7800>;40reg-names = "ade_base";41hisilicon,noc-syscon = <&medianoc_ade>;42resets = <&media_ctrl MEDIA_ADE>;43interrupts = <0 115 4>; /* ldi interrupt */4445clocks = <&media_ctrl HI6220_ADE_CORE>,46<&media_ctrl HI6220_CODEC_JPEG>,47<&media_ctrl HI6220_ADE_PIX_SRC>;48/*clock name*/49clock-names = "clk_ade_core",50"clk_codec_jpeg",51"clk_ade_pix";5253assigned-clocks = <&media_ctrl HI6220_ADE_CORE>,54<&media_ctrl HI6220_CODEC_JPEG>;55assigned-clock-rates = <360000000>, <288000000>;56dma-coherent;5758port {59ade_out: endpoint {60remote-endpoint = <&dsi_in>;61};62};63};646566