[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230116110820.2615650-1-treapking@chromium.org>
Date: Mon, 16 Jan 2023 19:08:18 +0800
From: Pin-yen Lin <treapking@...omium.org>
To: Andrzej Hajda <andrzej.hajda@...el.com>,
Neil Armstrong <neil.armstrong@...aro.org>,
Robert Foss <robert.foss@...aro.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Jonas Karlman <jonas@...boo.se>,
Jernej Skrabec <jernej.skrabec@...il.com>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: Nicolas Boichat <drinkcat@...omium.org>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Hsin-Yi Wang <hsinyi@...omium.org>,
dri-devel@...ts.freedesktop.org,
Pin-yen Lin <treapking@...omium.org>
Subject: [PATCH v2 0/2] Add generic-display-mux driver and bindings
This is the v2 the mux driver part of v1. This series is developed for
and tested on MT8173 board, whose layout looks like:
/-- anx7688
-- MT8173 HDMI bridge -- GPIO mux
\-- native HDMI
v1: https://patchwork.kernel.org/project/dri-devel/cover/20191211061911.238393-1-hsinyi@chromium.org/
The other drm bridge callbacks is dropped in this version because:
- The non-atomic callbacks are deprecated
- It would be complicated to pass the atomic state to the downstream
- We actually don't have the hardware to test them
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
- Updated the license: "GPL v2" --> "GPL"
Nicolas Boichat (2):
dt-bindings: display: bridge: Add GPIO display mux binding
drm: bridge: Generic GPIO mux driver
.../bindings/display/bridge/gpio-mux.yaml | 95 +++++++++
drivers/gpu/drm/bridge/Kconfig | 10 +
drivers/gpu/drm/bridge/Makefile | 1 +
drivers/gpu/drm/bridge/generic-gpio-mux.c | 201 ++++++++++++++++++
4 files changed, 307 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/bridge/gpio-mux.yaml
create mode 100644 drivers/gpu/drm/bridge/generic-gpio-mux.c
--
2.39.0.314.g84b9a713c41-goog
Powered by blists - more mailing lists