[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171201182118.GA66630@google.com>
Date: Fri, 1 Dec 2017 10:21:19 -0800
From: Brian Norris <briannorris@...omium.org>
To: Nickey Yang <nickey.yang@...k-chips.com>
Cc: robh+dt@...nel.org, heiko@...ech.de, mark.rutland@....com,
airlied@...ux.ie, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
linux-rockchip@...ts.infradead.org,
laurent.pinchart@...asonboard.com, seanpaul@...omium.org,
mka@...omium.org, hoegsberg@...il.com, architt@...eaurora.org,
philippe.cornu@...com, yannick.fertre@...com, hl@...k-chips.com,
zyw@...k-chips.com, xbl@...k-chips.com
Subject: Re: [PATCH v4 2/3] dt-bindings: display: rockchip: update DSI
controller
On Fri, Dec 01, 2017 at 11:58:04AM +0800, Nickey Yang wrote:
> 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@...k-chips.com>
Seems OK to me:
Reviewed-by: Brian Norris <briannorris@...omium.org>
>
> ---
> Changes in v4:
> - keep the -cells properties
>
> .../display/rockchip/dw_mipi_dsi_rockchip.txt | 23 ++++++++++++++++++++--
> 1 file changed, 21 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt
> index 6bb59ab..ce4c1fc 100644
> --- a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt
> +++ b/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt
> @@ -14,6 +14,8 @@ Required properties:
> - rockchip,grf: this soc should set GRF regs to mux vopl/vopb.
> - 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.
> +- 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:
> - power-domains: a phandle to mipi dsi power domain node.
> @@ -40,11 +42,12 @@ Example:
> ports {
> #address-cells = <1>;
> #size-cells = <0>;
> - reg = <1>;
>
> - mipi_in: port {
> + mipi_in: port@0 {
> + reg = <0>;
> #address-cells = <1>;
> #size-cells = <0>;
> +
> mipi_in_vopb: endpoint@0 {
> reg = <0>;
> remote-endpoint = <&vopb_out_mipi>;
> @@ -54,6 +57,16 @@ Example:
> 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 {
> @@ -64,5 +77,11 @@ Example:
> pinctrl-names = "default";
> pinctrl-0 = <&lcd_en>;
> backlight = <&backlight>;
> +
> + port {
> + panel_in_mipi: endpoint {
> + remote-endpoint = <&mipi_out_panel>;
> + };
> + };
> };
> };
> --
> 1.9.1
>
Powered by blists - more mailing lists