Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6091755imu; Wed, 30 Jan 2019 08:39:49 -0800 (PST) X-Google-Smtp-Source: ALg8bN7jMt6WVSawymmWKSuzNFvHs9eT7RK4Lj2uoQ9IbN0/NHM6EljPXtFfwd5ccW1Fvzd5bbol X-Received: by 2002:a63:91c1:: with SMTP id l184mr28350604pge.29.1548866389797; Wed, 30 Jan 2019 08:39:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548866389; cv=none; d=google.com; s=arc-20160816; b=yOfeeaiFeeUFlWAmXT/OKp+SX2NWZ4+ve93xevvh3pnnJ+52vm6ZQ2yqfZbH3IWFb9 cf0rB4Q1+8uCarPcRhFHDiKCSQJzRTyBlG7GRtXuWAcZ8Odm7lUFKdtCoUogDJhG8vL7 DBQPrGzsVSY7uqTDHn1qGpALFP5SBK9XsvBhLul8VrHPaTKhwNyi7UHM2XP1TDZW3ZGb zFCeNxVtSSKgf/b48X/oIrXzBTJyaxasKd7kDI8O8Wetd47Jd9ZOhtGKBT/M7XCLqxdn Sj4qZRt+WTVAw1JxIAumU9oRAtkMo5m7ry7kIeoAmrhyxPXeis5Y6ZnxM6m70/NYoo7D rdgA== 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=Q/zRpUhqca+XWCv7V4ku9pSmQAiVPQNQSm3k8VIJkh0=; b=Ui3OzoeoZ7Zy1EcxEHnMPk+zIHNiNnEry3VDtuaIrFClU0w8O/meT6oCy6r/RaAFWb H4fNhFpHXJ/Uxevl03rMeAvbuA56jFNqEP6ol6sonw6AXoBJ+U5NKPwYKZVCN5EH+GDX u2s3fRsOPziFJKsGHm8FYYCpc4BK7RdqcsyF/Hp38+mimvbyQ5ELNMGhtfzIO4TSfoZt YvXSdDda8g0Y9CjrTbtQ+9a89TcxQJvQKTCi62upwoK1egrk8ez1M4R6K4lBIf1YP9b1 SsPe3lofUZ9TqjWoEx4qnJp9BS0/JItP6rMzIzLLBEEy4VDdOfhrXxtlqZVHNVzY5D+/ 1I/w== 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 r34si1790328pga.242.2019.01.30.08.39.34; Wed, 30 Jan 2019 08:39:49 -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 S1732190AbfA3QjR (ORCPT + 99 others); Wed, 30 Jan 2019 11:39:17 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:30971 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729299AbfA3QjP (ORCPT ); Wed, 30 Jan 2019 11:39:15 -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 x0UGQxCm005460; Wed, 30 Jan 2019 17:39:04 +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 2q8dw3aapu-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 30 Jan 2019 17:39: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 A269331; Wed, 30 Jan 2019 16:39:03 +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 7FDCEA71D; Wed, 30 Jan 2019 16:39:03 +0000 (GMT) Received: from localhost (10.75.127.46) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 30 Jan 2019 17:39:03 +0100 From: Fabrice Gasnier To: , , CC: , , , , , , , Subject: [PATCH 4/4] ARM: dts: stm32: Add romem and temperature calibration on stm32mp157c Date: Wed, 30 Jan 2019 17:38:56 +0100 Message-ID: <1548866336-14765-5-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.46] X-ClientProxiedBy: SFHDAG8NODE2.st.com (10.75.127.23) 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 & enable stm32 factory-programmed memory. Describe temperature sensor calibration cells. Non-volatile calibration data is made available by stm32mp157c bootrom in bsec_dataX registers. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157c.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index 8bf1c17..9a7ac80 100644 --- a/arch/arm/boot/dts/stm32mp157c.dtsi +++ b/arch/arm/boot/dts/stm32mp157c.dtsi @@ -1106,6 +1106,19 @@ status = "disabled"; }; + bsec: nvmem@5c005000 { + compatible = "st,stm32mp15-bsec"; + reg = <0x5c005000 0x400>; + #address-cells = <1>; + #size-cells = <1>; + ts_cal1: calib@5c { + reg = <0x5c 0x2>; + }; + ts_cal2: calib@5e { + reg = <0x5e 0x2>; + }; + }; + i2c6: i2c@5c009000 { compatible = "st,stm32f7-i2c"; reg = <0x5c009000 0x400>; -- 1.9.1