Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=68.232.153.233 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796195119; b=Vej2p2SlC/03coPQ+Yc37+Q1AIJKor+3Z52BQs842aZYrGQtT2lsdLk6s5LY5L4tpuM5 UOKiSuYh0W9O2TwTCjHT9pVEzxbXLB+0PE1N7ESneeHs7slSt3I7OpEYg1SCYzjwtdGwb a8ZWQaMie/eyP4yTcNleg5wvbePoRgIIXS5hNL23M6+yZy+6Qjthwf+L3C7wckADX7Nmq G0DAI8zlAy9qGJvmm4J5K77OSdw1YMCChMdKo00ltxMrkpL5vMc0zZ5Gg3/VzLxDFZSaq NPc1kJPv97jpEcSt789u03zN5LSZuA5jFzezlqx5Ni8WbLacPHNuXoFzXqkhMOfbUbQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796195119; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-Amp-Result:Received:Received:Received:From:To:CC: Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:Content-Type; bh=DU+4ru2ojBWGjFOXOtG3QmkpY5ZFzlNN9qKQXVPKEXw=; b=GZBaSVbxZwteyc6SOGzZ/anxU092tnBpGIt9TfTcYIKSA2K48l/jBcZRVF0/+WagUmGO nGmsqdZZL5ZbHvQr3dGCOClqrYBHqN8MNnYLOun6HiGeeMegClXvHmCL1QjEybERXCp6t lojZnejmCWaKVI+xO0m9+4KhFHs+0kGvcz1kfwrTeYy8M+fFl0Yd+Hnt2i2GYD4ItMSBx IjcQofxqyL66sEK5/jRUk0ppu5+zxRCBPhWQEukMC6Q8gA3Uwi6WXETHlMu5eH2T+M6Mw c1o/Qg5BooEKCHV9ifAmxYYs4zDiGvXcwAD+QhlOnW6zDz2CqkpN0b6GSEjqPoxPlZg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=FORgEQeW; arc=none smtp.remote-ip=68.232.153.233 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85443606A339; Wed, 2 Dec 2026 07:05:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 85443606A339 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=FORgEQeW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1796195118; x=1827731118; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fjc6Z2DXUeYn1ELMBccztwOAA8TD3Qije1srqj505Fg=; b=FORgEQeWkkg04QV1Lcescd4tfw1jJdjhS/QfEiLjlGYW1Od3zbcJe1V6 qK33kEmOwX6ADTQ7Xn0hEdY2g9/nbtN/FRGEgRx9ryG1NKVcDJc4AOejV qSYuOFkFft0X6jHoWiNIDNo4UlNuXpyBiJSjnqy43Quf+U1oe3E594qn0 vhVl0o59vI2nIXn90qfRbyxfPTbefKPyO59ifbC5xfYSUWNqJ6GIqwYMQ rdPJE1WCWg+b1ISHrgPCCsb2K1O0V+DdKZvT1os5iW6+Ie9LgFe4r6VPY 1HwRN8mdjYd4QkqCZPS0ZipJsmrE884lBrc2+9uG4aiaR2UMIO8JagtU4 Q==; X-CSE-ConnectionGUID: R0Htc7/GQgS6Qf901wk7MA== X-CSE-MsgGUID: Nfvo6Q3ESFy29Sg0eBl/Pg== X-IronPort-AV: E=Sophos;i="6.27,246,1787036400"; d="scan'208";a="78212692" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2026 00:05:17 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.87.151) by chn-vm-ex1.mchp-main.com (10.10.87.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.2562.57; Wed, 2 Dec 2026 00:05:16 -0700 Received: from che-ll-i67070a.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Wed, 2 Dec 2026 00:05:11 -0700 From: Varshini Rajendran To: Jonathan Cameron , Srinivas Kandagatla , Claudiu Beznea CC: Eugen Hristev , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , "Nicolas Ferre" , Alexandre Belloni , , , , , Subject: [PATCH v7 02/18] dt-bindings: iio: adc: at91-sama5d2: document nvmem-cells Date: Wed, 2 Dec 2026 12:34:40 +0530 Message-ID: <20261202070458.87970-3-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261202070458.87970-1-varshini.rajendran@microchip.com> References: <20261202070458.87970-1-varshini.rajendran@microchip.com> 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain The SAMA7G5 and SAMA7D65 ADCs read their temperature sensor calibration from the OTP memory through an nvmem cell named "temperature_calib", and the sama7g5 and sama7d65 device trees use these properties. Document nvmem-cells and nvmem-cell-names and only allow them for the SoCs that have the temperature sensor. Signed-off-by: Varshini Rajendran --- .../bindings/iio/adc/atmel,sama5d2-adc.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/atmel,sama5d2-adc.yaml b/Documentation/devicetree/bindings/iio/adc/atmel,sama5d2-adc.yaml index b1d2416013f4..6e5668690c94 100644 --- a/Documentation/devicetree/bindings/iio/adc/atmel,sama5d2-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/atmel,sama5d2-adc.yaml @@ -59,6 +59,27 @@ properties: "#io-channel-cells": const: 1 + nvmem-cells: + maxItems: 1 + description: Temperature sensor calibration data stored in the OTP memory. + + nvmem-cell-names: + const: temperature_calib + +allOf: + - if: + not: + properties: + compatible: + contains: + enum: + - microchip,sama7d65-adc + - microchip,sama7g5-adc + then: + properties: + nvmem-cells: false + nvmem-cell-names: false + additionalProperties: false required: -- 2.43.0