Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp454495img; Thu, 28 Feb 2019 02:22:16 -0800 (PST) X-Google-Smtp-Source: AHgI3IZCo/i1aVS6Hnsaf0jacg1cF9YcEdH0m7kxBXv65/d9ECj8zgcW5jpRMjlfECDiB0vBge3c X-Received: by 2002:a63:535c:: with SMTP id t28mr7785828pgl.128.1551349336076; Thu, 28 Feb 2019 02:22:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551349336; cv=none; d=google.com; s=arc-20160816; b=BOCkCB+S69gJKymu+kAhWtPh/q7UdJBThrzJt6EIAelXYJtza7nnBG8XMisyzdnWtj 5AbUDfWN7/9H9Kq+Xp21YzyIDErL6T2xVyeqxZzY6bAoFZU02bZwKqVH3WmoIMumGTSz cCTFIm5JXZw5GLeYDjp+R6QQjeUynM6bkShsDUe3h0zBAFd6jrfnF6TN6+5rwa/qBvfT aGC0rQZKAQzv40evogOb99G54l418JTR8dGjIGpv274SAGfodOdVSo7q8b9SUQlMDAF0 a8jN+c1d4Jy8BCgHrDrgBraKHbOYQVk9K/G68CNiiSlM9hwLeDvP3kGim0o5QvT1V8Oq YExw== 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=8+6FBToSviZ+s9hINq+82EhKY7Zd6M5YkcgCZz1R4Vk=; b=Y4gNJYCtXSM/Up2pMLFs+t7CpE+NLZFK+me4UWrrlWCKnGuJbFd8MkI4sl+mHYx+jj ZImXlfZL2Vks8pdCopXhwXUVYauPUvCKXSHZjwiFqbpqr7dOahXpG3zekcOEQABcS4pI +ILU7fQIm4MGX+zfUUD1DNd9UhtlncFdbYhbBikGzgxuIQhTVRZlMRrOhc1+MUIqxJ6p sskNsKU38lsCd72jZL/De2wm4RG0lBj8vTQbkfi4EKKrKoJPf2obbRF3s01wdULlt6n9 8+hg0GPeMKNjMeTGp2E5l4rA4Rm6v0kGXi9QX5K+k4kqzlku1WIlUjVyRG+/zZB2p1TI 4RWg== 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 g98si14380345plb.11.2019.02.28.02.22.00; Thu, 28 Feb 2019 02:22:16 -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 S1732408AbfB1KVg (ORCPT + 99 others); Thu, 28 Feb 2019 05:21:36 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:36273 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732306AbfB1KVb (ORCPT ); Thu, 28 Feb 2019 05:21:31 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1SAHtU0007035; Thu, 28 Feb 2019 11:20:08 +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 2qtwxpcm7y-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 28 Feb 2019 11:20:08 +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 9FF9846; Thu, 28 Feb 2019 10:20:07 +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 8292D4E51; Thu, 28 Feb 2019 10:20:07 +0000 (GMT) Received: from localhost (10.75.127.48) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 28 Feb 2019 11:20:06 +0100 From: Fabrice Gasnier To: , , CC: , , , , , , , Subject: [PATCH v2 5/6] ARM: dts: stm32: Add romem and temperature calibration on stm32mp157c Date: Thu, 28 Feb 2019 11:19:55 +0100 Message-ID: <1551349196-8956-6-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1551349196-8956-1-git-send-email-fabrice.gasnier@st.com> References: <1551349196-8956-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG5NODE2.st.com (10.75.127.14) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-28_05:,, 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>; -- 2.7.4