From nobody Sat Jun 27 16:02:00 2026 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 E200C3246E8; Mon, 8 Jun 2026 16:00:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780934438; cv=none; b=RtxCv1QY1sFaS1lFr8XCV9wqhQs6avGsWRWH+YiJSKKuFWjVocrLbRJhg/+H007pzIFpXIKpSKIXh1NYpV4na2qk/0pHP+HOZaxaiksHzxZgEGNvdrh2RxY3t7QEFIyVYjdtMBcH+2UBPgvYjIfbKqx0ir87yaDkYfXgYmhf8nk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780934438; c=relaxed/simple; bh=sdpDayMX61YvBZXacSyRdkvxSAoP6fxbVWk/8cunNLc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=H22Iy13D2k8HUvV9os1sAlykcQz0GugxlGYiY6lO/D2Z9CJWyN1/Z75NbnvsCiP82dshuI659mOgCTUisvE+1VbdJDcgdY3S+tj5bcVwbjYOLlqkR9eonlOfy/cqW6GqkaUp12OtGibydze10KCI+VgBv3dJg/YuhEF7zhP2wOY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=zHQlZzT1; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="zHQlZzT1" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 84ADB1A37D8; Mon, 8 Jun 2026 16:00:35 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 5645D5FFB7; Mon, 8 Jun 2026 16:00:35 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id DD2E2106A19CE; Mon, 8 Jun 2026 18:00:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1780934434; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=5L85lN+YIg76FDHGEipMOXZM+5GQVFMUjSQ04DJ98rM=; b=zHQlZzT1V5ImsmIMOHoEQc5nXpwKftecEKLCklUZBRcQ5/1zp6gBeCk8i+NxWqbKaEuX8x oTenWSrzJ2UEA5cvtAJaXGn812qHi5J10bC/vTtceqHA9hN7T0e1lii5R8VDTN+f4DAgSD /qkJ9UjksMeat/OC40WFvnflpSgPPgaqIizww9XQj6dsKxiiyAp6/daJJogYSuVgSVUceH EgbCNNymiaVeQmYBKspklGx//zvQNqS1GP0lKP0FVbKos0fV5ETHfsE0Ow7fhLeMm6NPC1 JqrJCbBSnNiziaB6VIrSqaLn/PKC6YZvJl9f1WZulb/vVLsjzG1qU7J+FLFRDw== From: Romain Gantois Date: Mon, 08 Jun 2026 18:00:24 +0200 Subject: [PATCH v2 1/2] dt-bindings: iio: ti,tmp117: add binding for the TMP119 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: <20260608-tmp119-v2-1-30c3537d5097@bootlin.com> References: <20260608-tmp119-v2-0-30c3537d5097@bootlin.com> In-Reply-To: <20260608-tmp119-v2-0-30c3537d5097@bootlin.com> To: Puranjay Mohan , Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Thomas Petazzoni , Wil Stark , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Romain Gantois X-Mailer: b4 0.15.2 X-Last-TLS-Session-Version: TLSv1.3 The TMP119 has the same register layout as the TMP117, and a better local sensor accuracy. Add a compatible for it. Use ti,tmp117 as a fallback compatible for ti,tmp119. Signed-off-by: Romain Gantois --- .../devicetree/bindings/iio/temperature/ti,tmp117.yaml | 16 +++++++++++-= ---- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.ya= ml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml index fbba5e934861c..d12dfef315b6c 100644 --- a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml +++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml @@ -7,19 +7,25 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: TI TMP117 - Digital temperature sensor with integrated NV memory =20 description: | - TI TMP116/117 - Digital temperature sensor with integrated NV memory t= hat - supports I2C interface. + TI TMP116/117/119 - Digital temperature sensor with integrated NV memo= ry + that supports I2C interface. https://www.ti.com/lit/gpn/tmp116 https://www.ti.com/lit/gpn/tmp117 + https://www.ti.com/lit/gpn/tmp119 =20 maintainers: - Puranjay Mohan =20 properties: compatible: - enum: - - ti,tmp116 - - ti,tmp117 + oneOf: + - enum: + - ti,tmp116 + - ti,tmp117 + - items: + - enum: + - ti,tmp119 + - const: ti,tmp117 =20 reg: maxItems: 1 --=20 2.54.0 From nobody Sat Jun 27 16:02:00 2026 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 E31A133C18E for ; Mon, 8 Jun 2026 16:00:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780934441; cv=none; b=QWmC8bdLaBnT1R+ucwuHoRfOSRIGwfgb2swR89WXm23Iq54XDCLFRSZ3wt/EwVDukFPZXTFhHgAP+DVBfqkWYrBq7NVd4dvi5fPFIR5io3H8pJPc8311yudPh/iGyenpsgYthRpv2ONB69UZQji5+03dH9C3l+sspeJQpKESKZI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780934441; c=relaxed/simple; bh=nFFCoQRTk6bKpMwGqawFeqiihFgL4Rw5w468K89QyIc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=G/mxcnvPwUwVVkN0fbyB+p01/O/UqLAHkmYfUtYPfWYAea+rBwWQFZbf0WMo1DbQY/w2dasMsQXEgec7oJ8rG+qF1jfrhdmnURton9ziekr0aQNTXlKSky+DBJTOXAKqqyqyGyuz5D2i8izsECl/vrhmZW+8smiz/bDE2d931ps= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=wst3HCtG; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="wst3HCtG" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 89AB0C5147F; Mon, 8 Jun 2026 16:00:38 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 786F85FFB7; Mon, 8 Jun 2026 16:00:37 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E1F5C106A19BA; Mon, 8 Jun 2026 18:00:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1780934436; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=KQM6ESoW60ubESTpKBaOza9yeUTfEcA8pRHfdQKBL2c=; b=wst3HCtG9uWq5yus5Ej64jyAcosHze8fhRdskPvMDrl9q15g8oakit0Fil1BrnYRlgvRWd g2g3PvvTLeCvu2izWb/kUEeVY3C+1OqlL1k2FGC+5WGVkMCyraE1rhF9QyDzUHArUGw0x6 3O35mx1pND96QAPJoZK0Joj8OlYEv2/D25OseHR5qbAuKudH/dl98tZqeQXamQ68Su+Bva TRpSXaLT3eJXOyDTNyuNWtr/SND19KixsOVZ7ymphUOwu1/aU//GY+ppvLd/0O0iz+kysO 16lFYob0RtUwxZU90qm/Lpf/Po5oxxtKaP4QiYwbUQPE8i+SBDogQa1UbOW4Kg== From: Romain Gantois Date: Mon, 08 Jun 2026 18:00:25 +0200 Subject: [PATCH v2 2/2] iio: temperature: tmp117: add TI TMP119 support 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: <20260608-tmp119-v2-2-30c3537d5097@bootlin.com> References: <20260608-tmp119-v2-0-30c3537d5097@bootlin.com> In-Reply-To: <20260608-tmp119-v2-0-30c3537d5097@bootlin.com> To: Puranjay Mohan , Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Thomas Petazzoni , Wil Stark , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Romain Gantois X-Mailer: b4 0.15.2 X-Last-TLS-Session-Version: TLSv1.3 From: Wil Stark Add support for the TMP119 temperature sensor, which has the same programming model as the TMP117. Signed-off-by: Wil Stark [rgantois: Rebased from v6.6.58 to v7.1.0-rc6] [rgantois: Commit log] Signed-off-by: Romain Gantois --- drivers/iio/temperature/tmp117.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/iio/temperature/tmp117.c b/drivers/iio/temperature/tmp= 117.c index 8972083d903a2..18ad40f3e7361 100644 --- a/drivers/iio/temperature/tmp117.c +++ b/drivers/iio/temperature/tmp117.c @@ -38,6 +38,7 @@ =20 #define TMP116_DEVICE_ID 0x1116 #define TMP117_DEVICE_ID 0x0117 +#define TMP119_DEVICE_ID 0x2117 =20 struct tmp117_data { struct i2c_client *client; @@ -139,6 +140,12 @@ static const struct tmp11x_info tmp117_channels_info = =3D { .num_channels =3D ARRAY_SIZE(tmp117_channels) }; =20 +static const struct tmp11x_info tmp119_channels_info =3D { + .name =3D "tmp119", + .channels =3D tmp117_channels, + .num_channels =3D ARRAY_SIZE(tmp117_channels) +}; + static const struct iio_info tmp117_info =3D { .read_raw =3D tmp117_read_raw, .write_raw =3D tmp117_write_raw, @@ -170,6 +177,7 @@ static int tmp117_probe(struct i2c_client *client) match_data =3D &tmp116_channels_info; break; case TMP117_DEVICE_ID: + case TMP119_DEVICE_ID: match_data =3D &tmp117_channels_info; break; default: @@ -204,6 +212,7 @@ static int tmp117_probe(struct i2c_client *client) static const struct of_device_id tmp117_of_match[] =3D { { .compatible =3D "ti,tmp116", .data =3D &tmp116_channels_info }, { .compatible =3D "ti,tmp117", .data =3D &tmp117_channels_info }, + { .compatible =3D "ti,tmp119", .data =3D &tmp119_channels_info }, { } }; MODULE_DEVICE_TABLE(of, tmp117_of_match); @@ -211,6 +220,7 @@ MODULE_DEVICE_TABLE(of, tmp117_of_match); static const struct i2c_device_id tmp117_id[] =3D { { "tmp116", (kernel_ulong_t)&tmp116_channels_info }, { "tmp117", (kernel_ulong_t)&tmp117_channels_info }, + { "tmp119", (kernel_ulong_t)&tmp119_channels_info }, { } }; MODULE_DEVICE_TABLE(i2c, tmp117_id); --=20 2.54.0