[patch v2 01/10] drivers/video/rockchip/rk_vop.c: Use endpoint compatible string to find VOP mode

Alper Nebi Yasak
2020-10-27T22:31:03Z

On 27/10/2020 16:21, Arnaud Patard (Rtp) wrote:
> The current code is using an hard coded enum and the of node reg value of
> endpoint to find out if the endpoint is mipi/hdmi/lvds/edp/dp. The order
> is different between rk3288, rk3399 vop little, rk3399 vop big.
>
> A possible solution would be to make sure that the rk3288.dtsi and
> rk3399.dtsi files have "expected" reg value or an other solution is
> to find the kind of endpoint by comparing the endpoint compatible value.
>
> This patch is implementing the more flexible second solution.
>
> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
>

I didn't test individual patches, but non-pinebook-pro parts of this
series as a whole (after some more patches of mine) get me a vidconsole
on the rk3399-gru-kevin's display, so I'm going to send "Tested-by"s to
the patches I had included in my branch:

Tested-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>