[PATCH v2 0/2] platform/asus: Add driver for ASUS Transformer's Dock
From: Svyatoslav Ryhel
Date: Fri Dec 04 2026 - 01:34:34 EST
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@xxxxxxxxx/
---
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