Re: [PATCH RESEND] ARM: dts: ls1021a: Add of_graph dt nodes to describe the panel

From: Stefan Agner
Date: Tue Sep 06 2016 - 14:37:54 EST


On 2016-09-06 02:45, Meng Yi wrote:
> add of_graph dt nodes to describe the panel, and removed
> "fsl,panel" property
>
> Signed-off-by: Meng Yi <meng.yi@xxxxxxx>

Shawn, the changes required to the DCU driver made it into v4.8, so this
can be applied now. I will send out a patch which does the same
conversion for the remaining boards.

Acked-by: Stefan Agner <stefan@xxxxxxxx>

--
Stefan

> ---
> arch/arm/boot/dts/ls1021a-twr.dts | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/ls1021a-twr.dts
> b/arch/arm/boot/dts/ls1021a-twr.dts
> index 75ecaed..a8b148a 100644
> --- a/arch/arm/boot/dts/ls1021a-twr.dts
> +++ b/arch/arm/boot/dts/ls1021a-twr.dts
> @@ -108,12 +108,23 @@
>
> panel: panel {
> compatible = "nec,nl4827hc19-05b";
> +
> + port {
> + panel_in: endpoint {
> + remote-endpoint = <&dcu_out>;
> + };
> + };
> };
> };
>
> &dcu {
> - fsl,panel = <&panel>;
> status = "okay";
> +
> + port {
> + dcu_out: endpoint {
> + remote-endpoint = <&panel_in>;
> + };
> + };
> };
>
> &dspi1 {