drm: of: Add drm_of_get_dsi_bus helper function
authorChris Morgan <macromorgan@hotmail.com>
Mon, 23 Jan 2023 15:46:00 +0000 (09:46 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Jan 2023 08:39:21 +0000 (09:39 +0100)
commit19ff997ffc43cb203fb7d6ac169b69e26c7dcbfb
tree27048464fbffea670e6c13ca4c1cda8c4d9bac21
parent413ebc4803f025c64ec80de07c50e65e2f59ae89
drm: of: Add drm_of_get_dsi_bus helper function

Add helper function to find DSI host for devices where DSI panel is not
a minor of a DSI bus (such as the Samsung AMS495QA01 panel or the
official Raspberry Pi touchscreen display).

Co-developed-by: Maya Matuszczyk <maccraft123mc@gmail.com>
Signed-off-by: Maya Matuszczyk <maccraft123mc@gmail.com>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230123154603.1315112-2-macroalpha82@gmail.com
drivers/gpu/drm/drm_of.c
include/drm/drm_of.h