mirror of https://gitee.com/openkylin/linux.git
dt-bindings: display: rockchip: update DSI controller
This patch update describe panel/port links, including unit addresses in documentation of device tree bindings for the rockchip DSI controller based on the Synopsys DesignWare MIPI DSI host controller. Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com> Reviewed-by: Brian Norris <briannorris@chromium.org> Reviewed-by: Rob Herring <robh@kernel.org> [this seems to have gotten lost when the original dsi-series was applied] Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20181001123845.11818-5-heiko@sntech.de
This commit is contained in:
parent
6ac3a0ebfc
commit
343bbb1a7f
|
@ -14,6 +14,8 @@ Required properties:
|
||||||
- rockchip,grf: this soc should set GRF regs to mux vopl/vopb.
|
- rockchip,grf: this soc should set GRF regs to mux vopl/vopb.
|
||||||
- ports: contain a port node with endpoint definitions as defined in [2].
|
- ports: contain a port node with endpoint definitions as defined in [2].
|
||||||
For vopb,set the reg = <0> and set the reg = <1> for vopl.
|
For vopb,set the reg = <0> and set the reg = <1> for vopl.
|
||||||
|
- video port 0 for the VOP input, the remote endpoint maybe vopb or vopl
|
||||||
|
- video port 1 for either a panel or subsequent encoder
|
||||||
|
|
||||||
Optional properties:
|
Optional properties:
|
||||||
- power-domains: a phandle to mipi dsi power domain node.
|
- power-domains: a phandle to mipi dsi power domain node.
|
||||||
|
@ -40,11 +42,12 @@ Example:
|
||||||
ports {
|
ports {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
reg = <1>;
|
|
||||||
|
|
||||||
mipi_in: port {
|
mipi_in: port@0 {
|
||||||
|
reg = <0>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
|
||||||
mipi_in_vopb: endpoint@0 {
|
mipi_in_vopb: endpoint@0 {
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
remote-endpoint = <&vopb_out_mipi>;
|
remote-endpoint = <&vopb_out_mipi>;
|
||||||
|
@ -54,6 +57,16 @@ Example:
|
||||||
remote-endpoint = <&vopl_out_mipi>;
|
remote-endpoint = <&vopl_out_mipi>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mipi_out: port@1 {
|
||||||
|
reg = <1>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
mipi_out_panel: endpoint {
|
||||||
|
remote-endpoint = <&panel_in_mipi>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
panel {
|
panel {
|
||||||
|
@ -64,5 +77,11 @@ Example:
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&lcd_en>;
|
pinctrl-0 = <&lcd_en>;
|
||||||
backlight = <&backlight>;
|
backlight = <&backlight>;
|
||||||
|
|
||||||
|
port {
|
||||||
|
panel_in_mipi: endpoint {
|
||||||
|
remote-endpoint = <&mipi_out_panel>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue