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

* Re: [PATCH] ARM: tegra: Add embedded controller to ASUS SL101
  2026-09-21 18:02 [PATCH] ARM: tegra: Add embedded controller to ASUS SL101 Florian Krischer
@ 2026-09-22  6:29 ` Svyatoslav Ryhel
  0 siblings, 0 replies; 2+ messages in thread
From: Svyatoslav Ryhel @ 2026-09-22  6:29 UTC (permalink / raw)
  To: Florian Krischer
  Cc: Thierry Reding, Jonathan Hunter, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-tegra, devicetree,
	linux-kernel

пн, 21 вер. 2026 р. о 21:03 Florian Krischer <florian.krischer@fkr.dev> пише:
>
> 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>;
> +       };
> +};
> --

Hello Florian!

This patch is fragmentary and should not be applied. I have prepared a
patch[1] that adds EC nodes to all supported generations of Tegra
based ASUS transformers, but I did not submit it yet, because until EC
is picked there is no sense in this. Patch will just hang and
eventually be lost.

[1] https://codeberg.org/clamor-s/linux/commit/5d7b9ca285781e0eac35e346a951d949a61a2f0c#diff-8ffbb7ecec9cab371ba8535ba3c046f01371afd3

^ 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®