From 4d076eca0467f6bf614c46bedc46c14ea595460e Mon Sep 17 00:00:00 2001 From: Wyon Bi Date: Wed, 2 Jan 2019 11:23:15 +0800 Subject: [PATCH] dt-bindings: display: bridge: Document Chipone ICN6211 MIPI-DSI to RGB bridge bindings Change-Id: I2e4cac28a704416858ae8ef3e4b57d48aec84d65 Signed-off-by: Wyon Bi --- .../display/bridge/chipone,icn6211.txt | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/chipone,icn6211.txt diff --git a/Documentation/devicetree/bindings/display/bridge/chipone,icn6211.txt b/Documentation/devicetree/bindings/display/bridge/chipone,icn6211.txt new file mode 100644 index 000000000000..412e353b7de3 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/chipone,icn6211.txt @@ -0,0 +1,49 @@ +Chipone ICN6211 MIPI-DSI to RGB bridge bindings + +Required properties: +- compatible: "chipone,icn6211" +- reg: I2C slave address +- clocks: phandle to reference clock for RGB output clock. +- clock-names: name should be "refclk" + +Optional properties: +- enable-gpios: a GPIO spec for the en pin +- vdd1-supply: phandle to vdd1 regulator device node +- vdd2-supply: phandle to vdd2 regulator device node +- vdd3-supply: phandle to vdd3 regulator device node + +Example: + +&i2c0 { + status = "okay"; + + icn6211@2c { + compatible = "chipone,icn6211"; + reg = <0x2c>; + clocks = <&osc26m>; + clock-names = "refclk"; + enable-gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + icn6211_in_dsi: endpoint { + remote-endpoint = <&dsi_out_icn6211>; + }; + }; + + port@1 { + reg = <1>; + + icn6211_out_panel: endpoint { + remote-endpoint = <&panel_in_icn6211>; + }; + }; + }; + + }; +};