Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.84.47 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796029360; b=FcvlgA/6/de1LRL6pfyoVXXJoOiCCjTFGOOg42n1nd+EjfrALj7hwSpyTXgGQPAkv37Z fbYMO5C2T8WiLYPYtgwxPHfZRCwFABklQKjJBEKjG8n81S+My6oZn6M20z8Zf0G+jQcNu 6bHhjffWv2lzFW46H2Zmf8R6OVR/lbxxYmIUcCYxuWcDLHalDTLSWflo1focmkCjEr2u4 dI8gf/IJh4KjCtubXDmwPc1TQqI1OhrmRh9O3G/VX1gxMcDtBvenaa7Qly9LhKL9AWhD0 nWy3BY3XcqoUJ/L3IHDtpf3J9z48EQ2r4OfvhGbVN7l060BDLD6cAosRM0VYsQ0qeOA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796029360; h=DMARC-Filter:DKIM-Signature:Received:Received: X-MS-Exchange-Authentication-Results:Received-SPF:Received:Received: Received:Message-ID:Date:MIME-Version:User-Agent:From:Subject:To:CC: References:Content-Language:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Originating-IP:X-ClientProxiedBy: X-EOPAttributedMessage:X-MS-PublicTrafficType: X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id: X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay: X-Microsoft-Antispam:X-Microsoft-Antispam-Message-Info: X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-Id: X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=XB/bNZx4RVa7Cja6z3lt1K2ob2u3jkrRmIX2KaVRNUE=; b=TZq1sJ3fWaHmGsWYniUPk4kwseqBB8iATo9rMrEggeH063nXcYgyn8RKPAz0CWzRy9Z9 zSOSiCNR5Kg2jmXfQ+0y59MrAeBvctlK+7aIrpIad4rRAhDWm2GlwrSZDpBWPrZXgqrrr YtNHzWCG38xpPCBWtYE55Saihb4EIAMtfu8czJjtYyhmjONdXElsFqE/iH84Kqbvm1ob7 gGkfATNM+T/IrzY0EgC1lc/JR8dKTPtPB8LFYz78VzKeMRhSvrMHuUAz9vbFo0Do8xsKb Zpxrz5t++4fsPvmo1xty5CQqgFwbtsTp1un7qjkTQ5xN3G9vkR+NuY9h4NxgwsEDgOQ== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector2 header.b=g7FlKnIi; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.84.47 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11010047.outbound.protection.outlook.com [52.101.84.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69930606A31C; Mon, 30 Nov 2026 09:02:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 69930606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector2 header.b=g7FlKnIi ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sHzP/3/wSkYY1MYVvFFRui8+G+/GPpskXQAo/jtaqB/VRezlOnBxeehyeV4acXJkgA9DQR2dP+UvhMqlZsMgMJHgLN/Mw/pNDNbb/nZyFG7bdIYKSfjus0an2gE0ZEgbxcGkqNQRvwufiFGpTzKrrZC0gVmv0FwqPwb+a1XIuFZns/l4ZAJsyVLwfq8UDaXqzvuAk19fmOZNCmdqniQKSLNlEHoUDfhujjYaHioQXBGvoTnbS8XXmEENzDIsyHdi807FBZnf/ZE75ssESXyjESgTNtwX5P6jOzTIXQIXfTREiQICA/CONP8xqhq0AwvctvyyvtFCGJsYDVVSTVGQTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XB/bNZx4RVa7Cja6z3lt1K2ob2u3jkrRmIX2KaVRNUE=; b=EM7Ls1z4rcNxLjATXWlIIUh0hxTWhexr7xPcaSxGdY1/Iu+H8XnueJNxo5XFklbcPJsyMgTQ8/nsBesJ61E4aK2Wu2y2MakVY43hng0pf5DiQ4n5ypR+oJdWBPj/LyLg4wjsndTNmBe4vZFZXi2/VUk53LKYq7IXN7DCeYfpaCj4vXkU2/6ceel5QCwfjXh5bj1w+DNuKn1PlKJwTTajWVNYF5DQ3n6M9f5wkj2LWiMGe5MuIHpLae5IEPUxGgbA1A2WcRArXS1BnulPLO2x4ceuxg8iMCuLuy7MZGtG0yfPw1pb1PdD92mgQWEZgdBiEqvzWFkdlf+d3FslV4UApw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 164.130.1.59) smtp.rcpttodomain=teslabs.com smtp.mailfrom=foss.st.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=foss.st.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XB/bNZx4RVa7Cja6z3lt1K2ob2u3jkrRmIX2KaVRNUE=; b=g7FlKnIiS/4jZ8uh7bT/Ra4idPY10bzvpSJeSpCH4DUwIjjOsXm/Z2CSlDsHMGbgTEDMbMSR5+67tnmejBWnUfQMZcvi4Wf1KwEdGul0/ctoYKo2hz8vxtugztousDPaz0S49KiWI0HFiNoZeBgzKHxZ25LrcW+ZAkAmABfKuxk7CvPM7lE4prXS34g3DE5+80Gi19VxWePzrg2y2cDBZ3FoWnx0MBSPNHNL++yFkUb2lVsyFqWmFOJa9aRqgTD/YTnyLxliI5pp/B10gXl94Wlq33vsRnOm+wlY3B8UwvzVHFQyrWc92HZuXWm0TFPVH4t38/AXUUUY//Du8/x+6w== Received: from PA7P264CA0070.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:2de::20) by GV2PR10MB7487.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:d4::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.10; Mon, 30 Nov 2026 09:02:28 +0000 Received: from MI3PEPF00008552.eurprd05.prod.outlook.com (2603:10a6:102:2de:cafe::37) by PA7P264CA0070.outlook.office365.com (2603:10a6:102:2de::20) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.662.13 via Frontend Transport; Mon, 30 Nov 2026 09:02:27 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=fail (sender IP is 164.130.1.59) smtp.mailfrom=foss.st.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=foss.st.com; Received-SPF: Fail (protection.outlook.com: domain of foss.st.com does not designate 164.130.1.59 as permitted sender) receiver=protection.outlook.com; client-ip=164.130.1.59; helo=smtpO365.st.com; Received: from smtpO365.st.com (164.130.1.59) by MI3PEPF00008552.mail.protection.outlook.com (10.167.240.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.5 via Frontend Transport; Mon, 30 Nov 2026 09:02:27 +0000 Received: from STKDAG1NODE2.st.com (10.75.128.133) by smtpo365.st.com (10.250.44.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Mon, 30 Nov 2026 10:02:57 +0100 Received: from [10.48.86.251] (10.48.86.251) by STKDAG1NODE2.st.com (10.75.128.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Mon, 30 Nov 2026 10:01:51 +0100 Message-ID: Date: Mon, 30 Nov 2026 10:01:50 +0100 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Fabrice Gasnier Subject: Re: [PATCH 1/2] dt-bindings: iio: adc: st,stm32-adc: add temperature sensor calibration cells To: Gerard Marull-Paretas , , , , , , CC: , , , , , , References: <20261124202220.23721-1-gerard@teslabs.com> <20261124202220.23721-2-gerard@teslabs.com> Content-Language: en-US In-Reply-To: <20261124202220.23721-2-gerard@teslabs.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: ENXCAS1NODE2.st.com (10.75.128.138) To STKDAG1NODE2.st.com (10.75.128.133) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MI3PEPF00008552:EE_|GV2PR10MB7487:EE_ X-MS-Office365-Filtering-Correlation-Id: 4715c3a8-99c2-4c96-c18a-08df4ec0a886 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|82310400026|36860700016|1800799024|23010399003|4143699003|11063799006|261009223027099003|22082099003|18002099003|10067099003|56012099006|261028144727099003|261026140227099003|261026121527099003|261022105027099003|261102123227099003|261021121427099003; X-Microsoft-Antispam-Message-Info: q0UImAFjRRsh/xtbDLm4D7Hv+WwnN1fPp6k2GUSqglJHMAus9lFl7WB1KGqpJOtfODTmhlJ4MejPs8VnzsVoweeAkoVTt8pPbajQltSndnJ86SFrR0vBucS9DJnaWRJ+p6opn3ZbHfFO37PrKtI9PSFaq25Ye39tZOLhXN8r8We02jzNA8OVe02PjJ9x2M8cJohMEdIcMcBBEA8KA481BVxqGU+qS3Ipj30+VZAz6FOucGllaf+dvDxgKctUd1ovEog8X+xwvfYW76nSMVPYDwhcYktTZoTAtT7+PZL+hTsY1IqYgrWVxorPUKuIs6JYEGVsABU8hkiQuxbcdAYN1FA16cHCwg/FgiIx1o2fx2nosH2EKSfBAOyoGGWGhXQALW4uAT/TykShVCipax5gTbadOTreKGYi28z1XKp76mI7fDAVuLde95oep/MCAVYWPgibX2HIXVhRUNcdxJZ9PUXQBn3MyNnA2ePSnFB4ehBZwC5cc/58RWexweWJtgq2BJM6ExqrDlOC6DFuY47Zmf2+lZEQzprdAqbRomykmxMa9SauHFL86C7zs2Vbpx9as0sL9kBbEtAZ+/4IZrYg0THr/m6yCCBXGMM4QET1bhyn2l2AN1+Nsl/ur9VKKdFX8ME+4bYvnABJ7w3a4DPum8vy24GLUiE1LPihUl19AtX/RYEm5Quuprrx+UG0fLFCjCgBVbYjTlQ/kRCK4sRqPg== X-Forefront-Antispam-Report: CIP:164.130.1.59;CTRY:IT;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:smtpO365.st.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(7416014)(376014)(82310400026)(36860700016)(1800799024)(23010399003)(4143699003)(11063799006)(261009223027099003)(22082099003)(18002099003)(10067099003)(56012099006)(261028144727099003)(261026140227099003)(261026121527099003)(261022105027099003)(261102123227099003)(261021121427099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: iXdEiudtAsjJZKoZ0sLPvYWv5f2yP8bKFLb1u/aqHGUdJTtobfH//bVB9EvaLXKZ2K2r6ZZv+NQK+XlJZNBUC3xATxWGjzB3uyXNSV0z7l4MnJUqMCLU4CUmMCJjQX0diyJeCxaw84KPjS+REQF1jVTn4sERZ8LTvOJZvs6gMnpqqM2uhvmXH4YbelcZm8gTu4h4iHntzX590mFFz2OFvmSxAsil7fpRwjE9IsrlZ8QlxJGAqDh0teGBYDgEk7ckJKjy0fRB97m2gMGj3TUFYOVCBZjELQB3bWp3AOpPC9N+UIhaztIZpqOcj+L2ql+FQlhq8ffeJ23w8yRWTqnyqQrOZDgx2n8JTFdlHZj8ak9GOH/gIKR4/Jw6gLCnW6IJjlFyQ3xiXTK2D5exH5rLT0OUC3VdczWB+J/ZHhZeBxy7kFNEof4qf4M9hDnOSs1q X-OriginatorOrg: foss.st.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2026 09:02:27.7642 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4715c3a8-99c2-4c96-c18a-08df4ec0a886 X-MS-Exchange-CrossTenant-Id: 75e027c9-20d5-47d5-b82f-77d7cd041e8f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=75e027c9-20d5-47d5-b82f-77d7cd041e8f;Ip=[164.130.1.59];Helo=[smtpO365.st.com] X-MS-Exchange-CrossTenant-AuthSource: MI3PEPF00008552.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR10MB7487 On 11/24/26 21:22, Gerard Marull-Paretas wrote: > The internal temperature sensor of STM32 ADCs is calibrated in the > factory at two temperatures, and its calibration data (TS_CAL1 and > TS_CAL2) is stored in a read-only area, along with the internal voltage > reference calibration (VREFINT_CAL). On STM32H7, the temperature sensor > is connected to ADC3. Hi Gerard, Nitpicking: could rather mention this is present on stm32h7, stm32mp13 and stm32mp15. ADC3 connection on STM32H7 doesn't really matter talking about the calibration cells. > > Only the vrefint calibration can be passed to an ADC today. Allow the > two temperature sensor calibration points to be passed as nvmem cells as > well, so the ADC the temperature sensor is connected to can convert its > readings. > > Signed-off-by: Gerard Marull-Paretas > --- As suggested by Jonathan on the cover-letter, could add some background information, for DT maintainers. Thanks, Best Regards, Fabrice > .../devicetree/bindings/iio/adc/st,stm32-adc.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml > index c4c4575d3fa9..9fe41b89982e 100644 > --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml > @@ -337,12 +337,22 @@ patternProperties: > deprecated: true > > nvmem-cells: > + minItems: 1 > items: > - description: Phandle to the calibration vrefint data provided by otp > + - description: > + Temperature sensor calibration data at the first calibration > + temperature (TS_CAL1) > + - description: > + Temperature sensor calibration data at the second calibration > + temperature (TS_CAL2) > > nvmem-cell-names: > + minItems: 1 > items: > - const: vrefint > + - const: ts-cal1 > + - const: ts-cal2 > > patternProperties: > "^channel@([0-9]|1[0-9])$":