Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6092591imu; Wed, 30 Jan 2019 08:40:40 -0800 (PST) X-Google-Smtp-Source: ALg8bN54zMBNM6ETQ5lSMsQE+Jqxh1WtOZm/B9yCDx4QWQK+13QvM8PWjpi8+ocaASfODHM+s1tk X-Received: by 2002:a62:868b:: with SMTP id x133mr32833528pfd.252.1548866440569; Wed, 30 Jan 2019 08:40:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548866440; cv=none; d=google.com; s=arc-20160816; b=VHM7LQ5BAMb9OF5hinaOrw0EGZFeYIRmw84WiBISNUOch9rCkLSZCh+TitXZBe3p5l bhdLY7vxVj73EUbso9eXU1HEAQS5+tGgkO7SffsjKodIEJ/Q2hEed/bWdgT3ZYmOHYFK 5dOFI2uY8EL+LkCC0M5X/SonNVNxncX2x/NeUZyfumv0duRdHQt1WwBnThmwAOvW5n8P Q8//DmTsJVVcW+GBzzF3/EExmBEFPhCI1hZsigAfxx1aSOG48uvX5Gy/tykyPZ0oU1Mm 2UhNF6nNAoQE5WGm0mKvvnOWWcOjS2ljzWy5uNSYIR4X6jMrYW3XWdrFl5mb9lR3x2I2 Qzgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=G0nLQmtacSO+BabQfDuM0DEzJ6pzemBbXlkGnnRtv/k=; b=rIq8XepzbLd5r2BBStoRZmGxzgLCTIrJpjOfwhiIMtIdjlZw1F/OsgUz0aN/O9rRPc kjGeFt6GrNeEG1TkA/+3XZpgeafiLvNI8oB1hlPwLKsuOwqpzY2+WAoQaHCaRi3mEdUS /+YAKGURwDQ7xWJvH30PS8I7SaucGYA9hiufs48lt0THv7/s1mlZVCs/5sapD8ZNSKcS xSWy0qOdpwW+bViybVFe8Ob30vMxhEHP5zWcSaN5k8gVrqzSFx6r1KzXFhlW8AtHTJkl ag99KxBuF0tQE/fGCfG1j9c5IXgp+u44MM2S6p7LMK0aeHHXUjIMkexNqqcZUXaxqHXy +pRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q189si1897808pfb.62.2019.01.30.08.40.25; Wed, 30 Jan 2019 08:40:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732098AbfA3QjO (ORCPT + 99 others); Wed, 30 Jan 2019 11:39:14 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:40648 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728377AbfA3QjO (ORCPT ); Wed, 30 Jan 2019 11:39:14 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0UGQxRi005461; Wed, 30 Jan 2019 17:39:01 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2q8dw3aapn-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 30 Jan 2019 17:39:01 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2D24338; Wed, 30 Jan 2019 16:39:01 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 06274A71D; Wed, 30 Jan 2019 16:39:01 +0000 (GMT) Received: from localhost (10.75.127.45) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 30 Jan 2019 17:39:00 +0100 From: Fabrice Gasnier To: , , CC: , , , , , , , Subject: [PATCH 1/4] dt-bindings: nvmem: Add STM32 factory-programmed romem Date: Wed, 30 Jan 2019 17:38:53 +0100 Message-ID: <1548866336-14765-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1548866336-14765-1-git-send-email-fabrice.gasnier@st.com> References: <1548866336-14765-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG1NODE1.st.com (10.75.127.1) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-30_12:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation for STMicroelectronics STM32 Factory-programmed read only memory area. Signed-off-by: Fabrice Gasnier --- .../devicetree/bindings/nvmem/st,stm32-romem.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/st,stm32-romem.txt diff --git a/Documentation/devicetree/bindings/nvmem/st,stm32-romem.txt b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.txt new file mode 100644 index 0000000..fbff52e --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/st,stm32-romem.txt @@ -0,0 +1,31 @@ +STMicroelectronics STM32 Factory-programmed data device tree bindings + +This represents STM32 Factory-programmed read only non-volatile area: locked +flash, OTP, read-only HW regs... This contains various information such as: +analog calibration data for temperature sensor (e.g. TS_CAL1, TS_CAL2), +internal vref (VREFIN_CAL), unique device ID... + +Required properties: +- compatible: Should be one of: + "st,stm32-romem" + "st,stm32mp15-bsec" +- reg: Offset and length of factory-programmed area. +- #address-cells: Should be '<1>'. +- #size-cells: Should be '<1>'. + +Optional Data cells: +- Must be child nodes as described in nvmem.txt. + +Example on stm32f4: + romem: nvmem@1fff7800 { + compatible = "st,stm32-romem"; + reg = <0x1fff7800 0x400>; + #address-cells = <1>; + #size-cells = <1>; + + /* Data cells: ts_cal1 at 0x1fff7a2c */ + ts_cal1: calib@22c { + reg = <0x22c 0x2>; + }; + ... + }; -- 1.9.1