Received: by 10.223.185.116 with SMTP id b49csp8206309wrg; Thu, 1 Mar 2018 19:57:41 -0800 (PST) X-Google-Smtp-Source: AG47ELtQ2TOPHV5i/sDMlzlqcBaATNjHMjBNGnWtcaJtgF7mttLevISWtCn7eWWMaci/ipn2cGg7 X-Received: by 2002:a17:902:7082:: with SMTP id z2-v6mr738192plk.130.1519963061321; Thu, 01 Mar 2018 19:57:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519963061; cv=none; d=google.com; s=arc-20160816; b=m3fdMfRDLWZ0Lr12x9eapd9KbvtxAKAy4GtEC9F3sPWtuhpebhEc/Q3cRk6Yba3KIO 8qJSFtHLpkhq8UIiPXl6XrST8ckwwZntlYg8/YTVlZTOlL32OSlQ2YMI45WDX52ctLmC qySEzm+l3jxiF2NFMQi0awALZ4d61EihMitt9IhxBOeuem92uVSrTKIcO25ytRjk6PrT HKCXKjeUIxvUSL0Ky1Dy9XXTTdxh04xa/jsw4/+52nyGa4W40SXKWkwpsoW0C2Qs3Mtf 0AwtfS/eZF/UGnYfWB2PXYAguwVLSOMuoU8hCIljUiGr6Gfjhwlqq8BdSIWiUu0bB+gs BMTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:subject:cc:to :from:arc-authentication-results; bh=mN06sYqzDQPQKakPo09NaP7S85+z5etUvLyY2r/vEY4=; b=h5yC0ptK3iJU0fq176ryepUYtthFb9xSfwlfcXUoG0mI770V5hIq19c3owiGYooqn5 3izU+tbcttcDRp26AsG6rdAJVqdiUaPQ68hcDxEpjbH8RTfjUcpAjhOBqoQ+tVYqCOF5 PuWzfNRlyHbeqfvFmEbPxRwuj5HUuMVxNlwPWS79/ja5Bf5Jd+QsSK+/qwPAaNpNsUdg rnGScYWVPClfGmCKw6l/c2ic8otHOrrF0X5qR3nJuTJYUlZNILLETMgj012AIMlHjw0v XwbytPoE5x4u5dGA9jyiSpmwW5bq6GW1lz9Q1KLiz7sQw/pIUzwiFR9LP97SaMEkcIjL SBXw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3si3409770pgn.642.2018.03.01.19.57.26; Thu, 01 Mar 2018 19:57:41 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1164509AbeCBDzw (ORCPT + 99 others); Thu, 1 Mar 2018 22:55:52 -0500 Received: from mail-sn1nam02on0070.outbound.protection.outlook.com ([104.47.36.70]:27550 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1163455AbeCBDzq (ORCPT ); Thu, 1 Mar 2018 22:55:46 -0500 Received: from BN3PR03CA0082.namprd03.prod.outlook.com (2a01:111:e400:7a4d::42) by DM2PR0301MB0608.namprd03.prod.outlook.com (2a01:111:e400:3c08::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Fri, 2 Mar 2018 03:55:45 +0000 Received: from BN1BFFO11FD023.protection.gbl (2a01:111:f400:7c10::1:127) by BN3PR03CA0082.outlook.office365.com (2a01:111:e400:7a4d::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.548.13 via Frontend Transport; Fri, 2 Mar 2018 03:55:44 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD023.mail.protection.outlook.com (10.58.144.86) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.506.19 via Frontend Transport; Fri, 2 Mar 2018 03:55:44 +0000 Received: from anson-OptiPlex-790.ap.freescale.net (anson-OptiPlex-790.ap.freescale.net [10.192.242.177]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w222294f008053; Thu, 1 Mar 2018 19:02:09 -0700 From: Anson Huang To: , , , , , , , , CC: , , , , Subject: [PATCH V6 1/2] ARM: dts: imx7s: add temperature monitor support Date: Fri, 2 Mar 2018 09:59:29 +0800 Message-ID: <1519955970-11365-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131644365443672451;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:CAL;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(39380400002)(396003)(39860400002)(376002)(346002)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(305945005)(356003)(51416003)(26826003)(72206003)(86362001)(97736004)(498600001)(26005)(85426001)(48376002)(53936002)(107886003)(50226002)(106466001)(2201001)(50466002)(77096007)(81166006)(8676002)(81156014)(316002)(54906003)(110136005)(16586007)(4326008)(47776003)(2906002)(8936002)(104016004)(336012)(450100002)(68736007)(6666003)(36756003)(105606002)(5660300001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR0301MB0608;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD023;1:UtSQ1tQgfUAgY7hWCQbmutWY8vAsPI+weveFCoDs77V9g2BZSotn9tBIX/r6QKBav42HSvy2A575lUMm/py3gF9vyEbWLsBh5NTUSZiNnynetxs+K7vQSDB9vVtBotkX MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0a842b42-039f-4c89-4822-08d57ff17968 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(5600026)(4604075)(2017052603307);SRVR:DM2PR0301MB0608; X-Microsoft-Exchange-Diagnostics: 1;DM2PR0301MB0608;3:s6xuwaHKzM+YW/Nh82iO2yITUBb6OVr5CVL/IBI4B/EJGOPK3pSK3A7CgEN+Xu7/9psK05KzLcZusBF+HcJfYes5hrLLO+5MFCoAmxM9VQqQcnFhVDA7NdwxlxPftk+8B0QOq1LDTjM0VNfusJTFKQp6VGe+fFvbegt+UoW4p66p6FJSuSClY+c0T+4BRyllSRkSW6zruAPGnIEFexPPCSJwMOp3gKt/CPMn4lR9ATLT8fk6QdvAbLV8Mol6cyFl0zC2JzVOGrHe80XwUyuiQ7B1W/Bg6je4HSr+na9M7ONt4EDAk6UYX1C+jVey+SzjgjscZs1C1BXESMM5EtJFE6V4s36s/k+StxHCgw4QfUo=;25:44k1jOn44H5YI5lW5jEKijf7IdWVYHQj2QHiFJehoHpOKTeeLxM1fOBJRk7O0mUa2wZCwq60+7X1EZT+1El/OoiRTa0KnpneR2x8GbzstJ/AsCQUn/N+/gvwBk0AP7tCvTvvV8+tvfYI95Ygbzd0YOrgiR1nc7gjpAkJOIskZ9OSLXGS59gVXCniJug7Fo/g+MTd4CDE4mRU0VXym50kU74QSs2MlIvHx8Ca0jy9OHKLTAciDaZ5BD8+a9y6ngb3otaVVfY++e2v1XuvBHYcvScEsYZaJtXr9vJMCewc3cY11Lm6SEkd4/H+7OeXu3aYOX923x+SVmW0syFi5YhcPg== X-MS-TrafficTypeDiagnostic: DM2PR0301MB0608: X-Microsoft-Exchange-Diagnostics: 1;DM2PR0301MB0608;31:1My2GN1ITrvpEaRCMMAzZcVj1QG6r7iNSeFoJ9+CQ8ISSKPaD8xz6gOuWF92i1VpBMsMn8h+4LWddhyIqrdL6gRZZ/yMdqluNxeH211YBXs4RoCkPo15JN0Xcd5P3k8ofDoi+kj148sQkG89cKRBGB4F1rdQUJXStuq5h6Zq48rXUIRA0PBQTSAuMlaJnyBlKNzRXsl3e7WopfSm7uNxgVUG6JHC9rthe3xc62HTrAY=;4:+QPGlttUf/yiOiOL3TzeyyGIFjwQpgGS3WTLJKUGo/tOnPt9txSd2LURUMYg3Z0RwnaglQY4abH3wBaHW81nVXJwJJtoK1JP8gRFqEoanlcV7OpJaciNPjqn3lUl8mKzoL4gkkYHQ1ZfTRRtllG8NmHgi1IeVorkZe89lbxLyEjkDtoKpAa9m3gaJ4hRLOsrIkER9bfhdjnPm2vyt1u1pcRG9C+EC8ZhS0zv2YqGUEIUny+Zkp4EzFAuzYDX7/+k5LkRGxYUnrYn9AEhEeJpo9DXZuKG4DiYvUlNtAaeL374YXZOl8zvakMIf8z66TDN X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095135)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231220)(944501235)(52105095)(6055026)(6096035)(20161123559100)(20161123565025)(20161123556025)(20161123561025)(20161123563025)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(201708071742011);SRVR:DM2PR0301MB0608;BCL:0;PCL:0;RULEID:(400006);SRVR:DM2PR0301MB0608; X-Forefront-PRVS: 05991796DF X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM2PR0301MB0608;23:KfTyB2f8XRq2ia6utvjzHktFKlsj9zDPmi5fMFR?= =?us-ascii?Q?S7XoMijGR56Id+/QcD2jA9Ck+UPhkj3Z3lZlz8SzmEEiABJ4QHkbsutlnqk7?= =?us-ascii?Q?nKSUM4BsidJ3f7PUuDhQejkV5P8g+Ub33EYoxdm7DxYlsuV96i2GBJX8wmWU?= =?us-ascii?Q?Sc9T47qTwoGbcS5bMcnVGGeiqK/5N8AecAsRC6tTzm6DXvQEfj7lXPz2oMUx?= =?us-ascii?Q?zYKMqiBnj/jbJRX0P7A/F+uHhACV5V2TIzwrp9VZ+mqJu8AnjT27dNzM+Ero?= =?us-ascii?Q?uQ8lwFYBYpavom5BLTekearCHLdnqrSucd9WBrS6C/eXYF8em9PFLc2fUY8u?= =?us-ascii?Q?69443ezMBLroh5Q/gSjhtvs0o19Gj/emvuoCduJCkz5f8oYOl4JqwqanVBaz?= =?us-ascii?Q?Q2HLynE1TRs33jEWXWA52F9Ezoy7/ts9udK61CRSWzrcqdRwGhe1F6weHBBK?= =?us-ascii?Q?zWkHifWo1f0n/wswrSULcC5DnuFZzdnPHGf7hvkeekcRP0L6OzpUfsJ4tDXA?= =?us-ascii?Q?mIQ5+IeKZ8Lr8yZZ1kWmABW6KHagM5PU7xBVWiIYyS0O+XG3uZm/VwUUF5ZP?= =?us-ascii?Q?Vjb8lOR8AJ/IQyXafyds9wWw24VYRsjSrWdPNv2pS16ihiZpjOo47F1tSF7n?= =?us-ascii?Q?IVIxPk05k6Se/MOi95vIc3e0KRHOsl2ydwCMYV8uEQjwussk8cp7TJW7kYSV?= =?us-ascii?Q?j6W9DlDi+ZmgXxMIydneqJRWwBx8ZdpiLFecLzmhBJegZVOTBVg/dm9OQGCe?= =?us-ascii?Q?iaTSQjs1IYcxi3AHWYdRNYZAHXXBY61X/Q1gmYdHt9S1CXSV6+Hpld2JTV/E?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t5EDblcJGRz/Ixw=;7:ttjD871fACqzIUjS1AcXx9yizXHo4gzIYgADmHaTR+NvZh4gPYYkQcey6QzN9u7mWL4J+qGuMKAouuWbM1l227sdbeHDyFuJChSoBBHhSawWq4+81ynyXAPz9txrXt9pHDzfgnHTDcmIPzogrb6oIOthdzp3RoPvb405m7ErhCj9vF03QFw+sUNzF7n+yJ2IoU3koz8aIXKQGcsi6W4K3FD9xSVyKeLgT2UyJJ3hsiThk6eMirUbW9aCbazV5Mok SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2018 03:55:44.1956 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0a842b42-039f-4c89-4822-08d57ff17968 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0608 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add i.MX7 temperature monitor support. Signed-off-by: Anson Huang Acked-by: Dong Aisheng Acked-by: Shawn Guo Reviewed-by: Rob Herring --- changes since V5: no code change, just add Reviewed-by. arch/arm/boot/dts/imx7s.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 9aa2bb9..6a5c1bf 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -511,9 +511,29 @@ }; ocotp: ocotp-ctrl@30350000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,imx7d-ocotp", "syscon"; reg = <0x30350000 0x10000>; clocks = <&clks IMX7D_OCOTP_CLK>; + + tempmon_calib: calib@3c { + reg = <0x3c 0x4>; + }; + + tempmon_temp_grade: temp-grade@10 { + reg = <0x10 0x4>; + }; + }; + + tempmon: tempmon { + compatible = "fsl,imx7d-tempmon"; + interrupts = ; + fsl,tempmon =<&anatop>; + nvmem-cells = <&tempmon_calib>, + <&tempmon_temp_grade>; + nvmem-cell-names = "calib", "temp_grade"; + clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>; }; anatop: anatop@30360000 { -- 2.7.4