From patchwork Thu Jan 25 06:37:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10183749 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9DA9860233 for ; Thu, 25 Jan 2018 08:25:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82B4F28A4F for ; Thu, 25 Jan 2018 08:25:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7235828A52; Thu, 25 Jan 2018 08:25:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C1C0528A4F for ; Thu, 25 Jan 2018 08:25:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751232AbeAYIZD (ORCPT ); Thu, 25 Jan 2018 03:25:03 -0500 Received: from mail-cys01nam02on0061.outbound.protection.outlook.com ([104.47.37.61]:34526 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751081AbeAYIZB (ORCPT ); Thu, 25 Jan 2018 03:25:01 -0500 Received: from CY4PR03CA0016.namprd03.prod.outlook.com (2603:10b6:903:33::26) by BY1PR03MB1420.namprd03.prod.outlook.com (2a01:111:e400:5255::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Thu, 25 Jan 2018 08:24:59 +0000 Received: from BL2FFO11FD037.protection.gbl (2a01:111:f400:7c09::181) by CY4PR03CA0016.outlook.office365.com (2603:10b6:903:33::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Thu, 25 Jan 2018 08:24:59 +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 BL2FFO11FD037.mail.protection.outlook.com (10.173.161.133) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.428.12 via Frontend Transport; Thu, 25 Jan 2018 08:24:56 +0000 Received: from b29396-OptiPlex-7040.ap.freescale.net (b29396-OptiPlex-7040.ap.freescale.net [10.192.242.1]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w0P6cBJh007418; Wed, 24 Jan 2018 23:38:12 -0700 From: Dong Aisheng To: , CC: , , Dong Aisheng , Shawn Guo , Leonard Crestez , Zhang Rui , Eduardo Valentin , Rob Herring , Mark Rutland Subject: [PATCH 1/1] dt-bindings: thermal: imx: update the binding to new method Date: Thu, 25 Jan 2018 14:37:49 +0800 Message-ID: <1516862269-25543-1-git-send-email-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131613422996940603; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(39380400002)(396003)(346002)(376002)(2980300002)(1110001)(1109001)(339900001)(189003)(199004)(48376002)(86362001)(8936002)(104016004)(81166006)(81156014)(8676002)(97736004)(77096007)(316002)(16586007)(85426001)(26005)(51416003)(47776003)(53936002)(59450400001)(305945005)(68736007)(50466002)(50226002)(15650500001)(356003)(498600001)(5660300001)(450100002)(2906002)(336011)(105606002)(4326008)(106466001)(36756003)(54906003)(6666003)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR03MB1420; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD037; 1:oVHF4gdTxDVPIMx+FcTkXRfIb3gV0seD9pJu2MtZH6Y7K32R/QP2WONJmBW7R63IKtEeEyAM6i9jimD9fEuoKy40IwAX7UegKMX+uYHvyCl00bE0e9LznJpmbNud+wL7 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 33e27ba6-0323-4f05-85e5-08d563cd1fdc X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:BY1PR03MB1420; X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1420; 3:3GvqWGkdlWaPKDt3SjozFByDOznTwhjhfgIyCINlH6fNn21SdE9VRkTE4Hh2PGOaPAW2L2IXuNW6kjotnygqLfST008fMXLzpgIZCWrwc3L9qSLNABklnroE0irKzksHfKk5ZM21ACI+NhtXLHXEvoMuB2U+uobbodiO8ZkdtkNwVLCOS/AOf5OW6mHhtvELn0M2Iare4sWM1pvH5VmqIJliM/P+vu2ORu7PI8fAJoUd9QOuZnA+oaFkj4izQUTP9N39BGKV2turjb1D6q8wBgLE4Sn6bUN+SaJFHnOMg/AUIxPxdNvK5t/baPIIZ3USI5OOEnOd6ML1GgNS26ao8uxsXLRM8Lyk7TUFfI/bPIY=; 25:oLSMop0IL9dTgeyAbFUoSWXr7tlLWLjIEitcp88Z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ange-Antispam-Report-Test: UriScan:(180628864354917)(185117386973197)(85827821059158)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(93006095)(93001095)(3002001)(10201501046)(6055026)(6096035)(20161123563025)(20161123561025)(201703131430075)(201703131433075)(201703131448075)(201703151042153)(20161123559100)(20161123556025)(20161123565025)(201708071742011); SRVR:BY1PR03MB1420; BCL:0; PCL:0; RULEID:(400006); SRVR:BY1PR03MB1420; X-Forefront-PRVS: 0563F2E8B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR03MB1420; 23:AUiVek8OESDX8qO6P6fsn42HoyzwrNXHwkltm12UJ?= =?us-ascii?Q?2j0Ez48WITuSPG4SqjN1VaPO5OS3SaMfEDneZV0nU4iKFFl2aaMsarQAOVey?= =?us-ascii?Q?KHBZya+mqi5j26eFgWaPvEJlP8Fu5tJcZH2O6irqm6SU2ELx/N1CQWBgNWus?= =?us-ascii?Q?kI1z+B6KwNhP7RwJUs81K+fPt+AEaVD6hNLGiXtvyeD4x/0lY3EXobN2tkFA?= =?us-ascii?Q?FV/LQqx1Svf0uRaQFia7ma8sHuH1F5PnhIgIrNUs+T4DLd6OgODnDgtMN7TF?= =?us-ascii?Q?pRiZ8l1T5bP08OhsMRkAjIbYRt7MstC2cZxveNhmIGTjyTGfd30oRUSQBQII?= =?us-ascii?Q?vxtY7mizcqJmBxuoBxEKo6i+9sdZHN/2shcc2jP8RhnMk+tDxGskRlSFkyEO?= =?us-ascii?Q?d5G4Hb1sETnTUe94M5DhDjge1NtsIZHk2j85dckdu8VBbBFxUyG8gp2u7+HU?= =?us-ascii?Q?qwfNNg4DrgFI8XUxp/kCYxtRXITfyQPfl7R3+53upCcCpQqjWXP0gCtAg4Bq?= =?us-ascii?Q?TeuFqjAhk9OcOhlFsf3xitp1gVdVfWKhf7FnxsvBtldTyTzTKDP1XqJlbyL3?= =?us-ascii?Q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X7uqHHtaoGcHnagmh9gk365PS410Y+BYNF1dluicaQBKOJkHiNffX/zwABwkyZoEbBaIXujijkCH+G4pspd+30mZCPHGeMHQWuMw8NRXdd2x29gleAzZ+/WTk1YUhn34QuUvSJRy2pzyxgpRo=; 24:+0lMVv8+wb63YCZpV2291D67lbj3MsiGTLQUDs5vd/v7u1s2jwgi2UfnJ/pdixC+LIC1DpPwnSs9rA8aSnDFyDGaQYJXrpwCRoZxfN3nIwg=; 7:n2CuEzcqrETMS5hZ1CpowM0W/xBN3rUGhVbRCLJBkXmQKZqd152P8YE0yFSA08Ur/xk/PLxLB6zCuky1wMQLZbE5Lyq78/Ek4xbEq3rggm1uT40Gv4j10pIo56hR91QvsrPdM7Vw0aNWJt2lRZOLGC9hYWjGisOTkbAxz8wAHXyrr2uURjjm5dlDLmsGk9/wUVLwiim9xvPsGmmxiAHuXSAlCni+3aVN32f4aM/dxQjw2Exte6N6uG9wzOnXEA+S SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 08:24:56.4494 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 33e27ba6-0323-4f05-85e5-08d563cd1fdc 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: BY1PR03MB1420 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Due to the old method has already been marked as deprecated in binding doc, so obviously it's better to update the example to new bindings as well. Cc: Shawn Guo Cc: Leonard Crestez Cc: Zhang Rui Cc: Eduardo Valentin Cc: Rob Herring Cc: Mark Rutland Signed-off-by: Dong Aisheng Acked-by: Shawn Guo --- .../devicetree/bindings/thermal/imx-thermal.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/imx-thermal.txt b/Documentation/devicetree/bindings/thermal/imx-thermal.txt index 28be51a..379eb76 100644 --- a/Documentation/devicetree/bindings/thermal/imx-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/imx-thermal.txt @@ -22,7 +22,32 @@ Optional properties: - clocks : thermal sensor's clock source. Example: +ocotp: ocotp@21bc000 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "fsl,imx6sx-ocotp", "syscon"; + reg = <0x021bc000 0x4000>; + clocks = <&clks IMX6SX_CLK_OCOTP>; + tempmon_calib: calib@38 { + reg = <0x38 4>; + }; + + tempmon_temp_grade: temp-grade@20 { + reg = <0x20 4>; + }; +}; + +tempmon: tempmon { + compatible = "fsl,imx6sx-tempmon", "fsl,imx6q-tempmon"; + interrupts = ; + fsl,tempmon = <&anatop>; + nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; + nvmem-cell-names = "calib", "temp_grade"; + clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>; +}; + +Legacy method (Deprecated): tempmon { compatible = "fsl,imx6q-tempmon"; fsl,tempmon = <&anatop>;