From nobody Fri Apr 3 02:58:17 2026 Received: from mail-ej1-f68.google.com (mail-ej1-f68.google.com [209.85.218.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02E6230170F for ; Sat, 14 Feb 2026 18:10:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.68 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771092621; cv=none; b=CsnMSbk81YTnyJ7vVdmmUHBNEwTzUiLM6H06gJhts2WQePwrXvofL9pZ2I27mfp9Bcv6lxwutMHy078O/JU/JDywSy2cS6nr104NgOblesWxfU9R3xzdKWccDnexFjL0ylup9X2udTMmeamZ6bQlmBUmVl8mF02VpHjgJgjrSqU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771092621; c=relaxed/simple; bh=QZTJEwKYzV2sVRqc06XpTa0kqL6atv45Fiv22ciLWLc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EqrsXcs64QEKz+vUuwnyg0xD/L0kWxVQSf0zoeMU+wO4o71haJMdt/JdZo3T1UHNGbuWzJLywk7lzeBSS404Uo+RVMrEn1CObF9kyAhDsBbTLhlsyRY5rT35DMLXCuZEJOtynBv9NKwcmgKLfTgGDRWu8gsNfeylQfDgky7s224= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ODBjkYYD; arc=none smtp.client-ip=209.85.218.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ODBjkYYD" Received: by mail-ej1-f68.google.com with SMTP id a640c23a62f3a-b8842e5a2a1so233616466b.2 for ; Sat, 14 Feb 2026 10:10:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771092618; x=1771697418; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lWhSjDBNQ6gvdK4qfNH6bG1uloMhrN0yff4wPN7T5UQ=; b=ODBjkYYDEsgb4K3M/ZMvkTV37qtS4lO/SwQOY1Yqp3P2KEo4JxBtRoL3vlVx7ihLmZ ejQWJM3xnSeCNxtNTFj4BsxXbMw11quDSoAqKlmXYmoisOaCRoNdHMUvLTvJhVMClfnY Zy/o8BNzetho3EQlhNW3iqwIADDNX93B1nwMyFklZfLdzcDEQRzw0dXLfUzNFlK6cKKp TsjSxpCsIPl4IdMydx3J+bIVTEIl4YZfUygUVqMUihVfDvIzyXuEuD1phL/p51DTZKwk stFDeo5qMSFfrmt7lXlWpOigotIYRbsYmAuP2AyXvOIKqqOZ7lCG25BiHoQCSow1Pxqk +3Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771092618; x=1771697418; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=lWhSjDBNQ6gvdK4qfNH6bG1uloMhrN0yff4wPN7T5UQ=; b=YyaCVuPZT3z2JOz2MJph0YkSC/sW44pdOABzkdzCpUIC2iG7yeL2zJSCvCFDXiP+ZS CpzLbPg75iEIyFmfsaUr9cS67sKf6ldaM+jv6L4TckYQFLVNORYAUvuPhTaMcfV9CI58 wpEgYiITH7NDJxEUPp8BLNSS3/Wje7AbuBM9o2t8+v5eXDY2F/6LCQZGVjC+9+coZ1VR 64zhCar2wfUcqki00NMaJ33KsAyxIO3X9Xgj4pXgK5pahGyYzEd416RNL95SUE2PaRNC DsyZHL7RlPFJ432T+QpJInPLUEGcWzJ6q9oqKf7hU3M1rAfe1QdkiVt+skQn8YGXdsvR PWhg== X-Forwarded-Encrypted: i=1; AJvYcCXvTDZD6CSZ7DJ98ZQ42rk1nt9EBmnUh7Rk22BHcUxRutl6fao7ol7H9OdQh8hWJpHMM1lYBzkiBnV2aag=@vger.kernel.org X-Gm-Message-State: AOJu0Ywyiq7ja1GOAWyJiqsdZMg6asAXWpTLThDznizkmkGjiHBDJgQP S79/ZyAxGjVMrpRHyXaUSTRGYqjVf+j6LUg8hDTBA4ZckWJJjC39uaO3 X-Gm-Gg: AZuq6aLeJXOaFnXh6dYH4rIaSJ8YvvevXyq3aEa/2qp4lMFXju4bZqMjojm2rBnbF/r 4JDxM4jMoih1zM4XFfBHBLwklKj2SafETix6IDq7kvOgXORy1wI+WkDhZmv3JtGwOnftehqR5Lf 175T/uFQxIJ+b/IqiT58zKRqDCeryrp+BKxhvVg2txqiHPjJG7d9ce5+QHO9C5KvQEDDYXubpC/ QHGfV0PP4VvhgKzOJnyb/5LGIJhSbYMluQ8dMiqnvC3Mt/j7XiSN6JS8806gePp0u9oVPhmW1er 5/kMxJkPMe9vinpmvhIHZiDugSydqyJSQbYlecuCaHQtfIh694mbeVPWvu+dxN6e678+uZzIoPE nbct3zItMFz4vuRWaj0suuVeUNsLtAGoQG0bhzj5ChuViuhMNoq/b32TGTho9+i8M8ulbsLoVjA Rxo/VMWI6xC7pS8fbwjLNWThg= X-Received: by 2002:a17:907:3e8d:b0:b8f:b32e:e1b4 with SMTP id a640c23a62f3a-b8fb44a8219mr338323866b.42.1771092618132; Sat, 14 Feb 2026 10:10:18 -0800 (PST) Received: from xeon ([188.163.112.48]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8fc735e506sm88122066b.11.2026.02.14.10.10.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Feb 2026 10:10:17 -0800 (PST) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Lee Jones , Pavel Machek , Sebastian Reichel , Svyatoslav Ryhel , Ion Agorria , =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v3 1/7] dt-bindings: embedded-controller: document ASUS Transformer EC Date: Sat, 14 Feb 2026 20:09:53 +0200 Message-ID: <20260214180959.30714-2-clamor95@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260214180959.30714-1-clamor95@gmail.com> References: <20260214180959.30714-1-clamor95@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Document embedded controller used in ASUS Transformer device series. Signed-off-by: Svyatoslav Ryhel --- .../asus,transformer-ec.yaml | 98 +++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 Documentation/devicetree/bindings/embedded-controller/a= sus,transformer-ec.yaml diff --git a/Documentation/devicetree/bindings/embedded-controller/asus,tra= nsformer-ec.yaml b/Documentation/devicetree/bindings/embedded-controller/as= us,transformer-ec.yaml new file mode 100644 index 000000000000..670c4c2d339d --- /dev/null +++ b/Documentation/devicetree/bindings/embedded-controller/asus,transforme= r-ec.yaml @@ -0,0 +1,98 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/embedded-controller/asus,transformer-ec= .yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASUS Transformer's Embedded Controller + +description: + Several Nuvoton based Embedded Controllers attached to an I2C bus, + running a custom ASUS firmware, specific to the ASUS Transformer + device series. + +maintainers: + - Svyatoslav Ryhel + +allOf: + - $ref: /schemas/power/supply/power-supply.yaml + +properties: + compatible: + oneOf: + - enum: + - asus,p1801-t-ec-pad + - asus,sl101-ec-dock + - asus,tf600t-ec-pad + - asus,tf701t-ec-pad + + - items: + - enum: + - asus,tf101-ec-dock + - asus,tf101g-ec-dock + - asus,tf201-ec-dock + - asus,tf300t-ec-dock + - asus,tf300tg-ec-dock + - asus,tf300tl-ec-dock + - asus,tf700t-ec-dock + - const: asus,transformer-ec-dock + + - items: + - enum: + - asus,tf201-ec-pad + - asus,tf300t-ec-pad + - asus,tf300tg-ec-pad + - asus,tf300tl-ec-pad + - asus,tf700t-ec-pad + - const: asus,transformer-ec-pad + + reg: + description: + The ASUS Transformer EC has a main I2C address and an associated + DockRAM device, which provides power-related functions for the + embedded controller. Both addresses are required for operation. + minItems: 2 + + reg-names: + items: + - const: ec + - const: dockram + + interrupts: + maxItems: 1 + + request-gpios: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - interrupts + - request-gpios + +unevaluatedProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + embedded-controller@19 { + compatible =3D "asus,tf201-ec-dock", "asus,transformer-ec-dock"; + reg =3D <0x19>, <0x1b>; + reg-names =3D "ec", "dockram"; + + interrupt-parent =3D <&gpio>; + interrupts =3D <151 IRQ_TYPE_LEVEL_LOW>; + + request-gpios =3D <&gpio 134 GPIO_ACTIVE_LOW>; + + monitored-battery =3D <&dock_battery>; + }; + }; +... --=20 2.51.0