[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bsvoitn4ygjm7ftiqex7knppf6ykiqort4wf3rb4vlsw6gnu2c@kze7w2f3plha>
Date: Thu, 26 Sep 2024 09:00:54 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
Cc: Rob Herring <robh@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
Laurent Pinchart <laurent.pinchart+renesas@...asonboard.com>, Thierry Reding <treding@...dia.com>,
Simona Vetter <simona@...ll.ch>, Neil Armstrong <neil.armstrong@...aro.org>,
Maxime Ripard <mripard@...nel.org>, Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Jessica Zhang <quic_jesszhan@...cinc.com>, Florian Fainelli <florian.fainelli@...adcom.com>,
David Airlie <airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>,
Alexey Brodkin <abrodkin@...opsys.com>, dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
linux-rpi-kernel@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v4 ] gpu: drm: replace of_graph_get_next_endpoint()
On Thu, Sep 26, 2024 at 12:05:42AM GMT, Kuninori Morimoto wrote:
> From DT point of view, in general, drivers should be asking for a
> specific port number because their function is fixed in the binding.
>
> of_graph_get_next_endpoint() doesn't match to this concept.
>
> Simply replace
>
> - of_graph_get_next_endpoint(xxx, NULL);
> + of_graph_get_endpoint_by_regs(xxx, 0, -1);
>
> Link: https://lore.kernel.org/r/20240202174941.GA310089-robh@kernel.org
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@...asonboard.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
> ---
> v3 -> v4
> - based on latest linus/master branch
>
> v2 -> v3
> - based on latest linux-next/master
> - Add someone to "To" who is thought to be Maintainer
>
> drivers/gpu/drm/drm_of.c | 4 +++-
> drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 +-
> drivers/gpu/drm/tiny/arcpgu.c | 2 +-
> 3 files changed, 5 insertions(+), 3 deletions(-)
--
With best wishes
Dmitry
Powered by blists - more mailing lists