Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2418610imj; Mon, 18 Feb 2019 05:46:20 -0800 (PST) X-Google-Smtp-Source: AHgI3IYobni3Ke44En8KqcEvaeUXfZ9p34HYHE8lEeXd6g0KfVG8I/DfYKy6R2JFz19sxzEt5XMC X-Received: by 2002:a63:2f47:: with SMTP id v68mr18685556pgv.144.1550497580369; Mon, 18 Feb 2019 05:46:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550497580; cv=none; d=google.com; s=arc-20160816; b=iJYT1+YL7bTrj8UPYMdbJFEAdrEJ5/qvCOjDhdJVn3kX3/V2g4cBzb8ABctKqy01aN l2DgqRb+kWucyX9IivwlZ8aNvX59EA5l2GZc4DBk5U0Wj/DzX6GRi0t9vLzzImvHu1+/ 9o3nqpQQe6hwrWDrzJ9kqIR+uETSK69hsiixBHBrl0P7pLiY58pC3ZWaxEt88DzGCGaX lSuNdhjLLvbKi+z68TBuC67NBKJBEmBoy0fagVYLPRNlmMK/1/PRLJIRNGSVWSTB7+rP dnIZCR4FaZpiNY2ykqPBpA4sI2BVADC93OE9Yfir74J2PNmkHywd8YugFnN77qeOf+3I m53A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=aZmcKN1JUkp7NDQCwR0hdZQU62PminUJr1v+6Qm4oiY=; b=kzb6hCZuWG6ABkIqey9HrW1ULUB8BGRv0clq4PQL+BeI0rXR0aXqZ7EyIf9Pc2/kHE 6GQ08VkCU2BJBaVvQI+JUwFoCPZgvDyRfuaw7rA35B5opiXRs4osl2Er7Jj5Ti5DhkbF IDyG8qkI8idSV9MI+hVysX7JxVJJQOSmw9DYBnQHYyPzgNpWOys+rBluMsSU1n3HyQ11 ElSNTJNQjqkOCXlZlwtXG/Gye7eWoyx9q54kHa2kLnVc4pjXNU0tmvgpWRnFFV2QL8ZZ 8QLRjHloEKnpQ7MaUeJanhY517XD6I7cpY6q5vO1Rjh53j6pJWFO1TpNyK7HXotKgVLN /JOA== 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 d13si13739499plr.403.2019.02.18.05.46.04; Mon, 18 Feb 2019 05:46:20 -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 S1730807AbfBRNUY (ORCPT + 99 others); Mon, 18 Feb 2019 08:20:24 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:6939 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729714AbfBRNUY (ORCPT ); Mon, 18 Feb 2019 08:20:24 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1IDHAHG025384; Mon, 18 Feb 2019 14:20:04 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2qpc6x2khq-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 18 Feb 2019 14:20:04 +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 C049231; Mon, 18 Feb 2019 13:20:02 +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 4CD7B2B38; Mon, 18 Feb 2019 13:20:02 +0000 (GMT) Received: from [10.48.0.167] (10.75.127.48) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 18 Feb 2019 14:20:01 +0100 Subject: Re: [PATCH 1/4] dt-bindings: nvmem: Add STM32 factory-programmed romem To: CC: , , , , , , , , References: <1548866336-14765-1-git-send-email-fabrice.gasnier@st.com> <1548866336-14765-2-git-send-email-fabrice.gasnier@st.com> From: Fabrice Gasnier Message-ID: Date: Mon, 18 Feb 2019 14:20:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <1548866336-14765-2-git-send-email-fabrice.gasnier@st.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG7NODE2.st.com (10.75.127.20) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-18_10:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/30/19 5:38 PM, Fabrice Gasnier wrote: > Add documentation for STMicroelectronics STM32 Factory-programmed > read only memory area. Hello Rob, DT Maintainers, Gentlemen reminder for new DT bindings review. Best Regards, Fabrice > > 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>; > + }; > + ... > + }; >