]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: display-connector: add ddc-en gpio support
authorH. Nikolaus Schaller <hns@goldelico.com>
Thu, 7 Apr 2022 11:16:09 +0000 (13:16 +0200)
committerPaul Cercueil <paul@crapouillou.net>
Mon, 11 Apr 2022 15:02:45 +0000 (16:02 +0100)
commit5bc4aa98da4fa2e7e91b5b197a0eec9f2af80d5d
tree438db9ad1ab9037bf9a1bfbe42a34921810062e3
parent5df32e3228b26017b9d9f478e0e991b15ccac21d
drm/bridge: display-connector: add ddc-en gpio support

"hdmi-connector.yaml" bindings defines an optional property
"ddc-en-gpios" for a single gpio to enable DDC operation.

Usually this controls +5V power on the HDMI connector.
This +5V may also be needed for HPD.

This was not reflected in code but is needed to make the CI20
board work.

Now, the driver activates the ddc gpio after probe and
deactivates after remove so it is "almost on".

But only if this driver is loaded (and not e.g. blacklisted
as module).

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/3607e924b7c0cf0be956c0d49894be1442dbda41.1649330171.git.hns@goldelico.com
drivers/gpu/drm/bridge/display-connector.c