[PATCH v1 0/2] GPIO-based hotplug i2c bus

From: Svyatoslav Ryhel
Date: Mon Jun 19 2023 - 10:36:36 EST


ASUS Transformers require this driver for proper work with their dock.
Dock is controlled by EC and its presence is detected by a GPIO.

Michał Mirosław (1):
i2c: Add GPIO-based hotplug gate

Svyatoslav Ryhel (1):
dt-bindings: i2c: add binding for i2c-hotplug-gpio

.../bindings/i2c/i2c-hotplug-gpio.yaml | 68 +++++
drivers/i2c/Kconfig | 11 +
drivers/i2c/Makefile | 1 +
drivers/i2c/i2c-hotplug-gpio.c | 266 ++++++++++++++++++
4 files changed, 346 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-hotplug-gpio.yaml
create mode 100644 drivers/i2c/i2c-hotplug-gpio.c

--
2.39.2