Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/2] platform/asus: Add driver for ASUS Transformer's Dock
@ 2026-12-04  6:34 Svyatoslav Ryhel
  2026-12-04  6:34 ` [PATCH v2 1/2] dt-bindings: connector: Document " Svyatoslav Ryhel
  2026-12-04  6:34 ` [PATCH v2 2/2] platform/asus: Add driver for ASUS Transformer's Dock of Tegra based devices Svyatoslav Ryhel
  0 siblings, 2 replies; 5+ messages in thread
From: Svyatoslav Ryhel @ 2026-12-04  6:34 UTC (permalink / raw)
  To: Hans de Goede, Andi Shyti, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Ilpo Järvinen, Svyatoslav Ryhel,
	Michał Mirosław
  Cc: linux-i2c, devicetree, linux-kernel

The ASUS Transformer dock used by Tegra-based devices has an extended I2C
bus where certain devices are hot-pluggable and their presence
is indicated by a GPIO line. The set of hot-pluggable devices must be
predetermined and static.

Tegra20 and Tegra30 Transformers have EC and dockram clients on this line,
while TF600T and Tegra114 Transformers have hid-over-i2c keyboard,
touchpad and EC here.

I have tried to submit this patch in more generic way, but I was rejected.
More details: https://lore.kernel.org/lkml/20251013060018.43851-1-clamor95@gmail.com/

---
Changes in v2:
- schema moved to connector
- added i2c child node into schema to describe i2c-controller part
- added port node to link to tegra USB controller
- added usb node to describe usb-controller part (hub, card-reader)
- added connector nodes
- added I2C and ARCH_TEGRA depencency in Kconfig
- switched parent->algo->* with __i2c_transfer() and __i2c_smbus_xfer()
- added gpiod_get_value_cansleep() check in interrupt handler
- fixed parent_np and parent checks in the probe
- switched of_find_i2c_adapter_by_node() > of_get_i2c_adapter_by_node()
- added gpiod_to_irq() chech in the probe
- added i2c-device parsing from dedicated i2c node
---

Michał Mirosław (1):
  platform/asus: Add driver for ASUS Transformer's Dock of Tegra based
    devices

Svyatoslav Ryhel (1):
  dt-bindings: connector: Document ASUS Transformer's Dock

 .../connector/asus,transformer-dock.yaml      | 171 +++++++++++
 drivers/platform/asus/Kconfig                 |  12 +
 drivers/platform/asus/Makefile                |   1 +
 drivers/platform/asus/asus-transformer-dock.c | 282 ++++++++++++++++++
 4 files changed, 466 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/connector/asus,transformer-dock.yaml
 create mode 100644 drivers/platform/asus/asus-transformer-dock.c

-- 
2.53.0


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

end of thread, other threads:[~2026-12-04  7:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04  6:34 [PATCH v2 0/2] platform/asus: Add driver for ASUS Transformer's Dock Svyatoslav Ryhel
2026-12-04  6:34 ` [PATCH v2 1/2] dt-bindings: connector: Document " Svyatoslav Ryhel
2026-12-04  6:52   ` sashiko-bot
2026-12-04  6:34 ` [PATCH v2 2/2] platform/asus: Add driver for ASUS Transformer's Dock of Tegra based devices Svyatoslav Ryhel
2026-12-04  7:08   ` sashiko-bot

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