dt-bindings: display: Convert hisilicon,hi6220-dsi to DT schema
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: display: Convert hisilicon,hi6220-dsi to DT schema
Convert the hisilicon,hi6220-dsi binding to DT schema format. It's a straight forward conversion.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- .../bindings/display/hisilicon/dw-dsi.txt | 72 ------------------- .../hisilicon/hisilicon,hi6220-dsi.yaml | 68 ++++++++++++++++++ 2 files changed, 68 insertions(+), 72 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/hisilicon/dw-dsi.txt create mode 100644 Documentation/devicetree/bindings/display/hisilicon/hisilicon,hi6220-dsi.yaml
Documentation/devicetree/bindings/display/hisilicon/dw-dsi.txt deleted +0 -72
@@ -1,72 +0,0 @@ -Device-Tree bindings for DesignWare DSI Host Controller v1.20a driver - -A DSI Host Controller resides in the middle of display controller and external -HDMI converter or panel. - -Required properties: -- compatible: value should be "hisilicon,hi6220-dsi". -- reg: physical base address and length of dsi controller's registers. -- clocks: contains APB clock phandle + clock-specifier pair. -- clock-names: should be "pclk". -- ports: contains DSI controller input and output sub port. - The input port connects to ADE output port with the reg value "0". - The output port with the reg value "1", it could connect to panel or - any other bridge endpoints. - See Documentation/devicetree/bindings/graph.txt for more device graph info. - -A example of HiKey board hi6220 SoC and board specific DT entry: -Example: - -SoC specific: - dsi: dsi@f4107800 { - compatible = "hisilicon,hi6220-dsi"; - reg = <0x0 0xf4107800 0x0 0x100>; - clocks = <&media_ctrl HI6220_DSI_PCLK>; - clock-names = "pclk"; - status = "disabled"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - /* 0 for input port */ - port@0 { - reg = <0>; - dsi_in: endpoint { - remote-endpoint = <&ade_out>; - }; - }; - }; - }; - - -Board specific: - &dsi { - status = "ok"; - - ports { - /* 1 for output port */ - port@1 { - reg = <1>; - - dsi_out0: endpoint@0 { - remote-endpoint = <&adv7533_in>; - }; - }; - }; - }; - - &i2c2 { - ... - - adv7533: adv7533@39 { - ... - - port { - adv7533_in: endpoint { - remote-endpoint = <&dsi_out0>; - }; - }; - }; - }; -
Documentation/devicetree/bindings/display/hisilicon/hisilicon,hi6220-dsi.yaml new file +68 -0
68 lines not on this page · raw message
Signature · 1 line
2.53.0