From nobody Thu Apr 2 00:09:37 2026 Received: from mail-07.mail-europe.com (mail-0701.mail-europe.com [51.83.17.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B33438C2B4; Wed, 1 Apr 2026 07:34:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=51.83.17.38 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775028849; cv=none; b=ZkZ0bN7EKWSWiRhSlcHS+qv7dCIMPmUeJ/J+sPYwsVAlFIpzTFCkfXwO4klGl3qI6fKcTS4bxbs8fwHFBQ0/t5gEoBO1kYv6vHZnL4u+aIU+d4voZF+aVW7yjCXJ0G4LIlx7oAoD9p7YydY4ivFRLXnSYhTyVrzNk6WxvnLL7Vw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775028849; c=relaxed/simple; bh=HDf6IioTKtM2Yd1tpJQvPhXmt4BYp2pPyNCv8v9anSY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nNY0zHFG9Z2S54n9ycEc9ulmQsIv5wjUOEIB4YlUStFaKV7+wEFeeyNh2y9XNybF+NYwnhUeiYtPvmHhJkUdxJTGqorTNBYVGFX4nkhtxNS5K8aOBsp2KdFhkabTZHtB9lrRzcrlT8NobDbC7Iu5wrkZsr/tbfZqACU/cHSwVq0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vinarskis.com; spf=fail smtp.mailfrom=vinarskis.com; dkim=pass (2048-bit key) header.d=vinarskis.com header.i=@vinarskis.com header.b=0nD6GMGM; arc=none smtp.client-ip=51.83.17.38 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vinarskis.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=vinarskis.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=vinarskis.com header.i=@vinarskis.com header.b="0nD6GMGM" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vinarskis.com; s=protonmail2; t=1775028831; x=1775288031; bh=Lwc3kbdW5NBfrKmN1gAR7uqJolBzBAqp7UUOoy4W31A=; h=From:Date:Subject:Message-Id:References:In-Reply-To:To:Cc:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=0nD6GMGMy4NktB9BIBAvXj6K/fJmg+VI2kQj/7yCdwghvZU4wxjX12UX0exaygZjN vhEoBiG7d/koav0T25gphud4b0mZG2JQBXcbIZir1MHhHwUzjjlbCBnetY+CLZmKas gKjs5gzZ5Oaeu7NIo309j87petARyMBQgoyubt3VC/g/uwfYAiWSgY3RXYHEQexzQk 1juF9uMo4H/eXInlhHSpj/wT4/ESpEKMiCf5tka6rd87D0rajKunYTd7AsKawOIeWz EGvYtxqhgFAtXDGcrDfiyLESBN8HBzfajA3mSowe6TzFFVKWfntn9mncTGRHR4A8UI pzXtRwHVVCqLw== X-Pm-Submission-Id: 4flxYn3kJ7z1DDLb gpg: Signature made Wed 01 Apr 2026 09:30:46 AM CEST gpg: using EDDSA key 8BFCF5668AA29DAD00D728F6EDAE71A20F500310 gpg: Good signature from "Aleksandrs Vinarskis " [ultimate] gpg: aka "Aleksandrs Vinarskis " [ultimate] From: Aleksandrs Vinarskis Date: Wed, 01 Apr 2026 09:33:10 +0200 Subject: [PATCH 1/4] dt-bindings: platform: introduce EC for Dell XPS 13 9345 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260401-dell-xps-9345-ec-v1-1-afa5cacd49be@vinarskis.com> References: <20260401-dell-xps-9345-ec-v1-0-afa5cacd49be@vinarskis.com> In-Reply-To: <20260401-dell-xps-9345-ec-v1-0-afa5cacd49be@vinarskis.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Bryan O'Donoghue Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, laurentiu.tudor1@dell.com, Abel Vesa , Tobias Heider , Val Packett X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=4404; i=alex@vinarskis.com; h=from:subject:message-id; bh=HDf6IioTKtM2Yd1tpJQvPhXmt4BYp2pPyNCv8v9anSY=; b=owGbwMvMwCX2dl3hIv4AZgHG02pJDJlnTkW7pLZU8pVvFX5V33bw/vmNx1w3iy3j9FLQSc4pW LyUy/5tRykLgxgXg6yYIkv3n69pXYvmrmW4rvENZg4rE8gQBi5OAZjIJTuG/2keX3ymKkdsVm1K Efh/4FXv9o+HbohJWnC8KrgqO0+vtobhN7uggxhL8A/FoI7c0lNb1cz+c4Yb8M/qFiq1YxC79fA bBwA= X-Developer-Key: i=alex@vinarskis.com; a=openpgp; fpr=8E21FAE2D2967BB123303E8C684FD4BA28133815 Add bindings for Embedded Controller (EC) in Dell XPS 13 9345 (platform codename 'tributo'). It may be partially or fully compatible with EC found in Snapdragon-based Dell Latitude, Inspiron ('thena'). Signed-off-by: Aleksandrs Vinarskis --- .../embedded-controller/dell,xps13-9345-ec.yaml | 86 ++++++++++++++++++= ++++ MAINTAINERS | 5 ++ 2 files changed, 91 insertions(+) diff --git a/Documentation/devicetree/bindings/embedded-controller/dell,xps= 13-9345-ec.yaml b/Documentation/devicetree/bindings/embedded-controller/del= l,xps13-9345-ec.yaml new file mode 100644 index 0000000000000000000000000000000000000000..30dc6dcd8c9f0312fdb4eafdef9= 6bf0ce4975798 --- /dev/null +++ b/Documentation/devicetree/bindings/embedded-controller/dell,xps13-9345= -ec.yaml @@ -0,0 +1,86 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/embedded-controller/dell,xps13-9345-ec.= yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Dell XPS 13 9345 Embedded Controller + +maintainers: + - Aleksandrs Vinarskis + +description: + The Dell XPS 13 9345 has an Embedded Controller (EC) which handles therm= al and power + management. It is communicating with SoC over multiple i2c busses. Parti= cular driver + is for EC subsystem that handles fan speed control, thermal shutdown, pe= ripherals + supply including trackpad, touch-row, display. + +properties: + compatible: + const: dell,xps13-9345-ec + + reg: + const: 0x3b + + interrupts: + maxItems: 1 + + io-channels: + description: + ADC channels connected to the 7 onboard thermistors on PMK8550. + EC requires frequent thermal readings of these channels to perform + automated fan speed control. + items: + - description: ADC channel for sys_therm0 + - description: ADC channel for sys_therm1 + - description: ADC channel for sys_therm2 + - description: ADC channel for sys_therm3 + - description: ADC channel for sys_therm4 + - description: ADC channel for sys_therm5 + - description: ADC channel for sys_therm6 + + io-channel-names: + items: + - const: sys_therm0 + - const: sys_therm1 + - const: sys_therm2 + - const: sys_therm3 + - const: sys_therm4 + - const: sys_therm5 + - const: sys_therm6 + +required: + - compatible + - reg + - interrupts + - io-channels + - io-channel-names + +additionalProperties: false + +examples: + - |+ + #include + #include + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + embedded-controller@3b { + compatible =3D "dell,xps13-9345-ec"; + reg =3D <0x3b>; + interrupts-extended =3D <&tlmm 66 IRQ_TYPE_LEVEL_LOW>; + + io-channels =3D <&pmk8550_vadc PM8350_ADC7_GPIO3_100K_PU(1)>, + <&pmk8550_vadc PM8350_ADC7_GPIO4_100K_PU(1)>, + <&pmk8550_vadc PM8350_ADC7_AMUX_THM1_100K_PU(1)>, + <&pmk8550_vadc PM8350_ADC7_AMUX_THM2_100K_PU(1)>, + <&pmk8550_vadc PM8350_ADC7_AMUX_THM3_100K_PU(1)>, + <&pmk8550_vadc PM8350_ADC7_AMUX_THM4_100K_PU(1)>, + <&pmk8550_vadc PM8350_ADC7_AMUX_THM5_100K_PU(1)>; + io-channel-names =3D "sys_therm0", "sys_therm1", "sys_therm2", + "sys_therm3", "sys_therm4", "sys_therm5", + "sys_therm6"; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index ff935e197c2153a9c52c94d6ead1df54543a36d4..fe3f2fc4fbc087d8041f97708fb= b93722f7d1882 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7236,6 +7236,11 @@ S: Maintained F: Documentation/ABI/testing/sysfs-class-firmware-attributes F: drivers/platform/x86/dell/dell-wmi-sysman/ =20 +DELL XPS EMBEDDED CONTROLLER DRIVER +M: Aleksandrs Vinarskis +S: Maintained +F: Documentation/devicetree/bindings/embedded-controller/dell,xps13-9345-e= c.yaml + DELTA AHE-50DC FAN CONTROL MODULE DRIVER M: Zev Weiss L: linux-hwmon@vger.kernel.org --=20 2.53.0