[PATCH] ARM: tegra: Add embedded controller to ASUS SL101

Florian Krischer posted 1 patch 3 days ago
arch/arm/boot/dts/nvidia/tegra20-asus-sl101.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
[PATCH] ARM: tegra: Add embedded controller to ASUS SL101
Posted by Florian Krischer 3 days ago
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>;
+	};
+};
--
Re: [PATCH] ARM: tegra: Add embedded controller to ASUS SL101
Posted by Svyatoslav Ryhel 2 days, 12 hours ago
пн, 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