public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] GPIO-based hotplug i2c bus
@ 2023-06-19 14:36 Svyatoslav Ryhel
  2023-06-19 14:36 ` [PATCH v1 1/2] dt-bindings: i2c: add binding for i2c-hotplug-gpio Svyatoslav Ryhel
  2023-06-19 14:36 ` [PATCH v1 2/2] i2c: Add GPIO-based hotplug gate Svyatoslav Ryhel
  0 siblings, 2 replies; 6+ messages in thread
From: Svyatoslav Ryhel @ 2023-06-19 14:36 UTC (permalink / raw)
  To: Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Wolfram Sang, Michał Mirosław, Svyatoslav Ryhel
  Cc: linux-i2c, devicetree, linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-06-19 15:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-19 14:36 [PATCH v1 0/2] GPIO-based hotplug i2c bus Svyatoslav Ryhel
2023-06-19 14:36 ` [PATCH v1 1/2] dt-bindings: i2c: add binding for i2c-hotplug-gpio Svyatoslav Ryhel
2023-06-19 14:45   ` Krzysztof Kozlowski
2023-06-19 14:59     ` Svyatoslav Ryhel
2023-06-19 15:17   ` Rob Herring
2023-06-19 14:36 ` [PATCH v1 2/2] i2c: Add GPIO-based hotplug gate Svyatoslav Ryhel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox