Path: blob/master/Documentation/devicetree/bindings/display/hisilicon/dw-dsi.txt
26309 views
Device-Tree bindings for DesignWare DSI Host Controller v1.20a driver12A DSI Host Controller resides in the middle of display controller and external3HDMI converter or panel.45Required properties:6- compatible: value should be "hisilicon,hi6220-dsi".7- reg: physical base address and length of dsi controller's registers.8- clocks: contains APB clock phandle + clock-specifier pair.9- clock-names: should be "pclk".10- ports: contains DSI controller input and output sub port.11The input port connects to ADE output port with the reg value "0".12The output port with the reg value "1", it could connect to panel or13any other bridge endpoints.14See Documentation/devicetree/bindings/graph.txt for more device graph info.1516A example of HiKey board hi6220 SoC and board specific DT entry:17Example:1819SoC specific:20dsi: dsi@f4107800 {21compatible = "hisilicon,hi6220-dsi";22reg = <0x0 0xf4107800 0x0 0x100>;23clocks = <&media_ctrl HI6220_DSI_PCLK>;24clock-names = "pclk";25status = "disabled";2627ports {28#address-cells = <1>;29#size-cells = <0>;3031/* 0 for input port */32port@0 {33reg = <0>;34dsi_in: endpoint {35remote-endpoint = <&ade_out>;36};37};38};39};404142Board specific:43&dsi {44status = "ok";4546ports {47/* 1 for output port */48port@1 {49reg = <1>;5051dsi_out0: endpoint@0 {52remote-endpoint = <&adv7533_in>;53};54};55};56};5758&i2c2 {59...6061adv7533: adv7533@39 {62...6364port {65adv7533_in: endpoint {66remote-endpoint = <&dsi_out0>;67};68};69};70};71727374