This is a resend of [1] with a few modification due to drm core function changes and use regmap abstraction. The gpio mux driver is required for MT8173 board layout: /-- anx7688 -- MT8173 HDMI bridge -- GPIO mux \-- native HDMI [1] https://lore.kernel.org/lkml/1467013727-11482-1-git-send-email-drinkcat@xxxxxxxxxxxx/ Nicolas Boichat (4): dt-bindings: drm/bridge: analogix-anx7688: Add ANX7688 transmitter binding drm: bridge: anx7688: Add anx7688 bridge driver support. dt-bindings: drm/bridge: Add GPIO display mux binding drm: bridge: Generic GPIO mux driver .../bindings/display/bridge/anx7688.yaml | 60 ++++ .../bindings/display/bridge/gpio-mux.yaml | 89 +++++ drivers/gpu/drm/bridge/Kconfig | 19 ++ drivers/gpu/drm/bridge/Makefile | 2 + drivers/gpu/drm/bridge/analogix-anx7688.c | 202 ++++++++++++ drivers/gpu/drm/bridge/generic-gpio-mux.c | 306 ++++++++++++++++++ 6 files changed, 678 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/anx7688.yaml create mode 100644 Documentation/devicetree/bindings/display/bridge/gpio-mux.yaml create mode 100644 drivers/gpu/drm/bridge/analogix-anx7688.c create mode 100644 drivers/gpu/drm/bridge/generic-gpio-mux.c -- 2.24.0.525.g8f36a354ae-goog