From patchwork Wed Jan 4 08:57:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jia Hongtao X-Patchwork-Id: 9496307 X-Patchwork-Delegate: rui.zhang@intel.com 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 7327960413 for ; Wed, 4 Jan 2017 09:12:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 586BB27D4A for ; Wed, 4 Jan 2017 09:12:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C58527DE0; Wed, 4 Jan 2017 09:12:20 +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 A650D27D4A for ; Wed, 4 Jan 2017 09:12:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966502AbdADJK6 (ORCPT ); Wed, 4 Jan 2017 04:10:58 -0500 Received: from mail-bl2nam02on0052.outbound.protection.outlook.com ([104.47.38.52]:33248 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S966486AbdADJKx (ORCPT ); Wed, 4 Jan 2017 04:10:53 -0500 Received: from DM2PR03CA0036.namprd03.prod.outlook.com (10.141.96.35) by DM5PR03MB2475.namprd03.prod.outlook.com (10.168.233.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10; Wed, 4 Jan 2017 09:10:50 +0000 Received: from BN1AFFO11FD008.protection.gbl (2a01:111:f400:7c10::143) by DM2PR03CA0036.outlook.office365.com (2a01:111:e400:2428::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10 via Frontend Transport; Wed, 4 Jan 2017 09:10:51 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; 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 BN1AFFO11FD008.mail.protection.outlook.com (10.58.52.68) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.803.8 via Frontend Transport; Wed, 4 Jan 2017 09:10:50 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v049Ahxd022141; Wed, 4 Jan 2017 02:10:47 -0700 From: Jia Hongtao To: , , , , CC: , , , Subject: [PATCH 1/3] dt-bindings: Update QorIQ TMU thermal bindings Date: Wed, 4 Jan 2017 16:57:49 +0800 Message-ID: <1483520271-3838-2-git-send-email-hongtao.jia@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1483520271-3838-1-git-send-email-hongtao.jia@nxp.com> References: <1483520271-3838-1-git-send-email-hongtao.jia@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131279946509031796; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(336005)(39380400002)(39400400002)(39840400002)(39860400002)(39850400002)(39410400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(2950100002)(39060400001)(38730400001)(54906002)(189998001)(5001770100001)(85426001)(8656002)(77096006)(36756003)(47776003)(8676002)(68736007)(81156014)(8936002)(5660300001)(81166006)(106466001)(50466002)(48376002)(50986999)(92566002)(2906002)(305945005)(4326007)(105606002)(626004)(50226002)(356003)(76176999)(33646002)(97736004)(86362001)(5003940100001)(2201001)(104016004); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2475; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD008; 1:uJN60u5Fwx0U03b8sbvm6cxKDPDFMa1A2QPyM90qNbH9qa9F8+lLGPErpKjI4FZtoozYGD5z/Wp70qsSu2OQQ7r/vYenWGU8Pzp+Etq9SMjBuv/MPcR0gcYc9zJRFqe5j89ZordXVC8QcUU1RZU/+sgWwjymTt3fqvF5SYInpj/Tb386X6o70ehMZe+oLYz6kaS4n0+2SMgeGdbbDV3Wa4rD4B8gvK39y8X2mMD/cPgDaBjZa5BdnL/FNeCSA8lljJ5nLE5w548rBZYBKW0lmiBPGbjrz0JDeXukbryAk6JnEYMUmFE7xiKachTL5wJqvF2sNBz6ADyM6yTIwaYysCkyHCpQicwhvVlWwvJn0WbDnli0Xzfl5npfHL7/gE5ttwQxMC4upxiUAFngsU9Po2jkUC9loOqRBkH8hF8vWHWpuKen99DfK/65HoVDmDlyQTT+PiL0RaAx8S0Lcj+denb9Kd+5NNDjZtxJvD5tGCwVDG1eu3ECIsmGW+mFuw72qzorPhyqpncRcN+K62EYZfW/lkKa1EvAfZJlYj54KGlZTfv/mTcGrT0ey2LkNYjZjCYetrfN5iznTa+6WL2QhpN600YmKdf/S+HyOBXtUOFuB1S/euZluylZ/ITl2pztnSZZizJu9JQQlXA/0VDlWISzF1llsKymYoX8l1xBlgeBD8yKr2L14lrjotzKT108SjyPaM9pSNG8pY20sweX5B8zt9qaIjQKIQdCM0O7EaI5lL3te+2PF+95aSNg3yj/OqJvgOilGNyf3pbL1e/T0w== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: b8b15853-c46c-46dc-3817-08d434819442 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DM5PR03MB2475; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2475; 3:mrAm5kFwh4+b4k+HLoD8SgEII16v5RuSTo7zftlVZKNyA+CGr3Oo2X4cKvl1UTNV/A/UvoADzQwS/db1ncw3R8JofZovqS5UCiZAn0BdKTWX7GGj5OeWGV0lkn4jtimkh88GY9r411/1+m2BajxGD8PRYwkPwACFPMTtVY1RkN1RMU2PG5khX3A4zV92Rle/QV8310d8OB5bcrf2QFTovjJTsvBvCRCAJTZNp6k/oHJd/jUpgnsre/Q9KOaZo10/2x02AwVeq1W9rNpzBfEm+jKKXohdqWpuM27YZ5obHJaRysjP0D0LRQUZ/NAwUpJQrwr0n+y2sEIQ/SXdsbYuKbTSkZ016A185mri+ppOaO1FU4vOmFeTFLxFAVfKAayB X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2475; 25:UCJ9ABO56b1XHVUP2JZih+sa7p7KQnpLBVrP+KJTH+jfk0dTFFMdlUl5n/yhUM3b6LJCrb00+ElFNeUtxgfRIShKJScztbmePW4nTPslu1qeNx44lakxFRHE+fK81nA74JEsER939IPSfcoTwrqT1d5BERj84+8jo68Zhrt9zuUTR0AeA/h9Q09J9q0cPdfKI746/EqlRsp+mrKO93Jty9XoXIaTA3NxZeQy+7vKaS6FfbExIaVfoWFTAt6BYCuznrD8NA1Bvg0ganshsCOkyUZK1d9LjhhzzLOVvmiFRj2A+Crv9iLY3v8YZai1DPzFMo1oSKe+gTL2glLyc0yvpbGdQoi0pYo3m8nO6FtF5vMQU0n39kI0ZmOXJ7zo0Od72QSlT8OmI9hQkx4K53XFnWo6I9a7p2FK0UBl9P8lrxXuxdbEcjZeNsvT+ZrtNSGKEmu2mdXib8apfdsDq4QdZGMygNzSww5EN67QEGEr75k4PTn7aToLd7M+wugb6DBpA+z+Vgy0BkeiPN4mTEwFHxijNInsdBgfINfb5KIOLUPZUxkUdyg+loKsuagBdYD4CCfb+sghMXjGFnvolOllbIFQsqa9bO68lZMu3ps8l5aAcf2hf3tWRJQNy3n454Q46Xrbf7VEnUTztecmxYqRWKUZQmJqR0xlIR0bM8PFUT8ZIaWIxcU2LtSY6/vYq75a4S7SsDxG0oQEEMCcAYhoCA1dIDVhad9xuoFy+ZtDQUcqjrNbviU4iZm7fM7KdEGB X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2475; 31:8vftL04SZLryvPo4AVVNkvb/jeLfFeq6KGlBDYThC2dPvekZlm0ZufjsQUvdCouCO9/K3gB+7VxbPe2IAbNG6S+1JqgJvpOMM/Rocw4RkMSpxSywju1HK6UHnNMty9hiFd4TCd/7jE6VSpeobJKBd9aBALRLAj/Q/8Scs/bIi0XPSltQxu2Y8ACxe20wrcpDeAMvLOJ/JMkZE/Ac4AnSw/2TSPpBhhrbjSHfRBngKBYtelg95e0jrcD9rrlbpDCkTqRaNlSzRnRU2oQyZcAj1Rq6Ba3oW1pHmYEvqyPHqgQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(72170088055959)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13024025)(13023025)(13015025)(13017025)(13018025)(8121501046)(5005006)(3002001)(10201501046)(20161123223025)(6055026)(6096035)(20161123561025)(20161123559025)(20161123556025)(20161123565025)(20161123563025); SRVR:DM5PR03MB2475; BCL:0; PCL:0; RULEID:(400006); SRVR:DM5PR03MB2475; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2475; 4:XO/X56ncqrcGbMh1tTXjeOIC/u+806kPALRcj68P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ymtvpjyCqUd9iXiYW+ZY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2475; 7:Ajm/eCEfBx270v9IifbvzHkyn7Z634+oW3jPCqqDzf7T4LlrzQN+JYtV5ccqHjHkFNzhNDiW4L2al1o2QaptQXQzkxAHPSzxmdoABQfz1GmsUBemvWsUv6FhRvgc0DXVUJL3J1yZvp1UBV3BKC/Ob+U5b6tKtrhp7qL8nrsWU2aRgN8Q6froI2PeRsDLWdbQvuME2ZGSQM1Df4aSShGmsePW7oqMU9YAJtlLhSRFOH75VqldLikppdITY42ohyFpQvzyTOYdlfKjYmAsBDwtwtPBVzwMMH526942TSyKk7dTQaMvrZy9wBF01wZvgh1IUz2chl4fUjsaNYYr5jc4bwi5G28yL7Ms2ukrWOAoKLnzmsSxTF4eOi6jP0TBD4Yb+eivEfK2J/VGe2hgfFOK6ppWvU/8s55QXiAMyayEVHpAgdxBXuo4QGUL38LOL/w9vEiOQ4+EnjunwSp1/jN4ag== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2017 09:10:50.7003 (UTC) 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: DM5PR03MB2475 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 For different types of SoC the sensor id and endianness may vary. "#thermal-sensor-cells" is used to provide sensor id information. "little-endian" property is to tell the endianness of TMU. Signed-off-by: Jia Hongtao Acked-by: Rob Herring --- Documentation/devicetree/bindings/thermal/qoriq-thermal.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt index 66223d5..20ca4ef 100644 --- a/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/qoriq-thermal.txt @@ -17,6 +17,12 @@ Required properties: calibration data, as specified by the SoC reference manual. The first cell of each pair is the value to be written to TTCFGR, and the second is the value to be written to TSCFGR. +- #thermal-sensor-cells : Must be 1. The sensor specifier is the monitoring + site ID, and represents the "n" in TRITSRn and TRATSRn. + +Optional property: +- little-endian : If present, the TMU registers are little endian. If absent, + the default is big endian. Example: @@ -60,4 +66,5 @@ tmu@f0000 { 0x00030000 0x00000012 0x00030001 0x0000001d>; + #thermal-sensor-cells = <1>; };