2023-06-19 14:59:53

by Svyatoslav Ryhel

[permalink] [raw]
Subject: [PATCH v1 0/2] GPIO-based hotplug i2c bus

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