Skip to content

Add generic-display-mux driver and bindings

Pin-yen Lin chrome-platform dri-devel linux-arm-kernel linux-devicetree linux-mediatek lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 5 repliesIn review
  2. v22 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- Removed ddc-i2c-bus in the gpio-mux bridge bindings
- Added .get_edid callback in generic-gpio-mux driver
- Removed .get_edid callback in mtk_hdmi.c
- Modified anx7688 driver and binding to add a .get_edid callback

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: display: bridge: Add ddc-i2c-bus for anx7688Documentation/devicetree/bindings/display/bridge/google,cros-ec-anx7688.yaml+5 -03 replies
2/5drm/bridge: Add .get_edid callback for anx7688 driverdrivers/gpu/drm/bridge/cros-ec-anx7688.c+24 -00 replies
3/5drm/mediatek: Remove .get_edid callbackdrivers/gpu/drm/mediatek/mtk_hdmi.c+13 -400 replies
4/5dt-bindings: display: bridge: Add GPIO display mux bindingDocumentation/devicetree/bindings/display/bridge/gpio-mux.yaml+90 -00 replies
5/5drm: bridge: Generic GPIO mux driverdrivers/gpu/drm/bridge/Kconfig drivers/gpu/drm/bridge/Makefile drivers/gpu/drm/bridge/generic-gpio-mux.c+233 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/5] Add generic-display-mux driver and bindings

This series is developed for and tested on MT8173 board, and the layout is:

                                  /-- anx7688

-- MT8173 HDMI bridge -- GPIO mux
\-- native HDMI

v2: https://lore.kernel.org/all/[email protected]/
v1: https://patchwork.kernel.org/project/dri-devel/cover/[email protected]/

Changes in v3:
- Removed ddc-i2c-bus in the gpio-mux bridge bindings
- Added .get_edid callback in generic-gpio-mux driver
- Removed .get_edid callback in mtk_hdmi.c
- Modified anx7688 driver and binding to add a .get_edid callback

Changes in v2:
- Referenced existing dt-binding schemas from graph.yaml
- Added ddc-i2c-bus into the bindings
- Dropped attach/mode_set/enable/disable callbacks
- Fixed style issues
- Removed the special case for the HDMI connector
- Made the driver only read the GPIO status in IRQ handler
- Rebased to drm-misc-next
- Update the license: "GPL v2" --> "GPL"

Nicolas Boichat (2):
dt-bindings: display: bridge: Add GPIO display mux binding
drm: bridge: Generic GPIO mux driver

Pin-yen Lin (3):
dt-bindings: display: bridge: Add ddc-i2c-bus for anx7688 drm/bridge: Add .get_edid callback for anx7688 driver drm/mediatek: Remove .get_edid callback

 .../bridge/google,cros-ec-anx7688.yaml        |   5 +
 .../bindings/display/bridge/gpio-mux.yaml     |  90 +++++++
 drivers/gpu/drm/bridge/Kconfig                |  10 +
 drivers/gpu/drm/bridge/Makefile               |   1 +
 drivers/gpu/drm/bridge/cros-ec-anx7688.c      |  24 ++
 drivers/gpu/drm/bridge/generic-gpio-mux.c     | 222 ++++++++++++++++++
 drivers/gpu/drm/mediatek/mtk_hdmi.c           |  53 +----
 7 files changed, 365 insertions(+), 40 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/gpio-mux.yaml
 create mode 100644 drivers/gpu/drm/bridge/generic-gpio-mux.c
Signature · 1 line
2.39.2.637.g21b0678d19-goog