Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Nickey Yang and committed by
Heiko Stuebner
343bbb1a 6ac3a0eb

+21 -2
+21 -2
Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt
··· 14 14 - rockchip,grf: this soc should set GRF regs to mux vopl/vopb. 15 15 - ports: contain a port node with endpoint definitions as defined in [2]. 16 16 For vopb,set the reg = <0> and set the reg = <1> for vopl. 17 + - video port 0 for the VOP input, the remote endpoint maybe vopb or vopl 18 + - video port 1 for either a panel or subsequent encoder 17 19 18 20 Optional properties: 19 21 - power-domains: a phandle to mipi dsi power domain node. ··· 42 40 ports { 43 41 #address-cells = <1>; 44 42 #size-cells = <0>; 45 - reg = <1>; 46 43 47 - mipi_in: port { 44 + mipi_in: port@0 { 45 + reg = <0>; 48 46 #address-cells = <1>; 49 47 #size-cells = <0>; 48 + 50 49 mipi_in_vopb: endpoint@0 { 51 50 reg = <0>; 52 51 remote-endpoint = <&vopb_out_mipi>; ··· 55 52 mipi_in_vopl: endpoint@1 { 56 53 reg = <1>; 57 54 remote-endpoint = <&vopl_out_mipi>; 55 + }; 56 + }; 57 + 58 + mipi_out: port@1 { 59 + reg = <1>; 60 + #address-cells = <1>; 61 + #size-cells = <0>; 62 + 63 + mipi_out_panel: endpoint { 64 + remote-endpoint = <&panel_in_mipi>; 58 65 }; 59 66 }; 60 67 }; ··· 77 64 pinctrl-names = "default"; 78 65 pinctrl-0 = <&lcd_en>; 79 66 backlight = <&backlight>; 67 + 68 + port { 69 + panel_in_mipi: endpoint { 70 + remote-endpoint = <&mipi_out_panel>; 71 + }; 72 + }; 80 73 }; 81 74 };