mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Florian Krischer <florian.krischer@fkr.dev>
To: Thierry Reding <thierry.reding@gmail.com>,
	Jonathan Hunter <jonathanh@nvidia.com>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Svyatoslav Ryhel <clamor95@gmail.com>,
	linux-tegra@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Florian Krischer <florian.krischer@fkr.dev>
Subject: [PATCH] ARM: tegra: Add embedded controller to ASUS SL101
Date: Mon, 21 Sep 2026 20:02:52 +0200	[thread overview]
Message-ID: <20260921180250.3223545-dts-florian.krischer@fkr.dev> (raw)

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>;
+	};
+};
--

             reply	other threads:[~2026-09-21 18:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 18:02 Florian Krischer [this message]
2026-09-22  6:29 ` Svyatoslav Ryhel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260921180250.3223545-dts-florian.krischer@fkr.dev \
    --to=florian.krischer@fkr.dev \
    --cc=clamor95@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®