ARM: tegra: Add embedded controller to ASUS SL101
Subsystems (2)
PATCH 1/1 ARM: tegra: Add embedded controller to ASUS SL101
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.
--- arch/arm/boot/dts/nvidia/tegra20-asus-sl101.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+)
arch/arm/boot/dts/nvidia/tegra20-asus-sl101.dts +13 -0
@@ -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>; + }; +};
--
пн, 21 вер. 2026 р. о 21:03 Florian Krischer <[email protected]> пише:
Quoted 30 lines
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 at0x1b.AP_WAKEis GPIO S2 andEC_REQUESTis 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 <[email protected]>--- arch/arm/boot/dts/nvidia/tegra20-asus-sl101.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+)arch/arm/boot/dts/nvidia/tegra20-asus-sl101.dts +4
-0@@ -59,3 +59,16 @@ }; }; }; + +&lvds_ddc { + embedded-controller@19 { + compatible = "asus,sl101-ec-dock";
arch/arm/boot/dts/nvidia/tegra20-asus-sl101.dts
Quoted 10 lines
arch/arm/boot/dts/nvidia/tegra20-asus-sl101.dts +9
-1+ 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.