mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ARM: tegra: Add embedded controller to ASUS SL101
@ 2026-09-21 18:02 Florian Krischer
  2026-09-22  6:29 ` Svyatoslav Ryhel
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Krischer @ 2026-09-21 18:02 UTC (permalink / raw)
  To: Thierry Reding, Jonathan Hunter
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Svyatoslav Ryhel,
	linux-tegra, devicetree, linux-kernel, Florian Krischer

The ASUS Eee Pad Slider SL101 has an embedded controller for its
built-in sliding keyboard.

Describe the EC on the PTA/GEN2 I2C mux leg. The EC responds at 0x19,
with DockRAM at 0x1b. AP_WAKE is GPIO S2 and EC_REQUEST is GPIO S3.

The node has been tested on a physical SL101 with EC model
ASUS-EP102-DOCK and firmware SL101-0202. With the ASUS Transformer EC
MFD/serio driver and the SL101 event-protocol fixups, the built-in
keyboard works through serio/atkbd.

This patch depends on the ASUS Transformer EC binding that provides the
"asus,sl101-ec-dock" compatible.

Signed-off-by: Florian Krischer <florian.krischer@fkr.dev>
---
 arch/arm/boot/dts/nvidia/tegra20-asus-sl101.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

--- a/arch/arm/boot/dts/nvidia/tegra20-asus-sl101.dts
+++ b/arch/arm/boot/dts/nvidia/tegra20-asus-sl101.dts
@@ -59,3 +59,16 @@
 		};
 	};
 };
+
+&lvds_ddc {
+	embedded-controller@19 {
+		compatible = "asus,sl101-ec-dock";
+		reg = <0x19>, <0x1b>;
+		reg-names = "ec", "dockram";
+
+		interrupt-parent = <&gpio>;
+		interrupts = <TEGRA_GPIO(S, 2) IRQ_TYPE_LEVEL_LOW>;
+
+		request-gpios = <&gpio TEGRA_GPIO(S, 3) GPIO_ACTIVE_LOW>;
+	};
+};
--

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

end of thread, other threads:[~2026-09-22  6:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 18:02 [PATCH] ARM: tegra: Add embedded controller to ASUS SL101 Florian Krischer
2026-09-22  6:29 ` Svyatoslav Ryhel

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

all inboxes | Powered by JetHome®