From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 970A6606A31A for ; Wed, 2 Dec 2026 07:56:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=beixr7fi; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=VgN4u8TC DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=DU+4ru2ojBWGjFOXOtG3QmkpY5ZFzlNN9qKQXVPKEXw=; b=beixr7fizu3NRtm57RYLIB2bdd hDSsGey7OZVTasAvv99jaIO0ZYHsat+WwolLD2AmMLpczQXdxuA3CkAu9I1PRRMhMkEUpBcLKDNn2 iswCPBOoTeTuMF+fhx38yEYrN0JshZ4Hy1hKm1r0kE4ntOs9Qx/6GbAJK2wmYiH05hOwSYI9K37FB AmHShYiu2ugZJhu3B7f0wI4NJfwhN5CYLOhzwzWsrkukkiQxKFz3QbEPsWB2+eepOY76Zg5piUbCS AQPjbRCWrNiY1zLhpO1iyVMt7hvokpbph27qCUfqv/qCLI5lI8vPBaRjeeGRlZbm/YEFUcFpPySQl e0paSqyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYeqK-0000000AWbK-3VzU; Wed, 02 Dec 2026 07:33:32 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYeqH-0000000AWXC-44oH for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2026 07:33:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1796196809; x=1827732809; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fjc6Z2DXUeYn1ELMBccztwOAA8TD3Qije1srqj505Fg=; b=VgN4u8TCArJewBrQazrWqPChwl1TKEEGf9IklhP4RvdDxZGqIqk8IL0y hDaIti5RloRtsZ9SGRVo84N5AlA2IY4Dcd3F3pnVX/no8hFv+xL5iZtNw I/TpPX7FI4DOYo62fzGakzTho2oHkta/8SthGA2kNNVq9F/aUIfqii+FL BdV8jB62bE6K2gjCyh1CIrM4XkpSfXpJ917uqeiBb88GHDV3C9Xa63s6k cm0aD+Os/MKMHA5wBEmBNwvdilqtICgSB0BYtqgIZW9ueCyiBOZkNMvKc q7Pq1TTCK6scF8a6o7gTPrCmy/dbiUl9o95eWy2D71HmqBwBqdMgwx04m A==; 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-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261201_233330_025886_8DDFDC30 X-CRM114-Status: UNSURE ( 8.75 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.4 (----) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-18.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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