From patchwork Tue Jun 7 03:27:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jia Hongtao X-Patchwork-Id: 9159763 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 2575960467 for ; Tue, 7 Jun 2016 03:38:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1626925EF7 for ; Tue, 7 Jun 2016 03:38:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A9502834A; Tue, 7 Jun 2016 03:38:01 +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 C39E925EF7 for ; Tue, 7 Jun 2016 03:37:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751212AbcFGDhy (ORCPT ); Mon, 6 Jun 2016 23:37:54 -0400 Received: from mail-by2on0060.outbound.protection.outlook.com ([207.46.100.60]:37187 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751112AbcFGDhw (ORCPT ); Mon, 6 Jun 2016 23:37:52 -0400 Received: from BN3PR0301CA0031.namprd03.prod.outlook.com (10.160.180.169) by CY1PR0301MB1626.namprd03.prod.outlook.com (10.162.166.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.506.9; Tue, 7 Jun 2016 03:37:49 +0000 Received: from BY2FFO11FD046.protection.gbl (2a01:111:f400:7c0c::169) by BN3PR0301CA0031.outlook.office365.com (2a01:111:e400:4000::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.511.8 via Frontend Transport; Tue, 7 Jun 2016 03:37:48 +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=none 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 BY2FFO11FD046.mail.protection.outlook.com (10.1.15.170) with Microsoft SMTP Server (TLS) id 15.1.497.8 via Frontend Transport; Tue, 7 Jun 2016 03:37:48 +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 u573bgst017399; Mon, 6 Jun 2016 20:37:43 -0700 From: Jia Hongtao To: , , , , , CC: , , , , , Subject: [PATCH V2 1/7] dt-bindings: Update QorIQ TMU thermal bindings Date: Tue, 7 Jun 2016 11:27:34 +0800 Message-ID: <1465270054-31512-1-git-send-email-hongtao.jia@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131097442687890721; (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)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(47776003)(106466001)(81156014)(8676002)(105606002)(81166006)(50226002)(8936002)(8666004)(2906002)(33646002)(48376002)(68736007)(85426001)(36756003)(11100500001)(19580405001)(19580395003)(4326007)(2201001)(104016004)(50986999)(6806005)(77096005)(5008740100001)(50466002)(92566002)(189998001)(5003940100001)(97736004)(229853001)(5001770100001)(87936001)(86362001)(586003)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB1626; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD046; 1:orbjjPSRX9qDjpigRQkSQ920VS6oxOYW40OoNXVgbpZO1RBKsyKrvyphkIkYpCAzZrLTgEjW+ZSX6WIwsPovqmwxSts7rOBvkuauXUbkzd1z0TDpkjSjCpLyiAa+TbcmXEnfG2rUmBhnVfQiBrzYV7Aqsle5NxZjxTFC+bxap//jfDnDtpzNinf7/Xo28CR8isXGEWrM4kOAyQTRSia0hvPaDAvN2V+6nM/NzS8jmtL4uYIQq1qVXpiXdu5UtKr0y+n3h1V8hXKi31pC8stw6kH/GmT8S3P93n07ZdimaCOvbfcxrdq2Dux1jx/F4KRMtO5SgzEuxGufMgJ7QXkznIderowHiqNKfdpvrwrLjC/QVAJHE77Wsznt9GXGjWs18wTw7rJGoSvqameh4HF4xUg/kGcxi9Or3zBHCEQPiswJp1dc9NOAXSR2LkHR3DefNq4/VsGBmrH2qLMSWS86XVhyQmayIP/bw54PQ1jtYB6m0Nx5VbfZl9D1QxERjiDeRTdcsPt2X3i6thDVco5bHiiqn24FXhUKUvu9KB2PeAnwsJBjWuX3wm3T+Wij5IO2tOWXZwnj7eJRvGJxjLAtxyLkKA5buMGm+MQ2H58zGVZ8yN/ImEQC0IdUptgFujgtanTWn1l0r3jF3pGeWFXQ12vEpOCsRFxDMBSL27hr5rIsm/BMB/y26cRAirCePP9jJaJXjYbzLcbXVFlfP0emv7SHnPSl+VIU+EKgotKMsPA= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: c7a76532-3140-402a-aa29-08d38e8518c3 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1626; 2:EQT/366f3SdiPh24xQGTiMfjlty+tUtsSIbBMTdPR3bxssg5uzB/TarcFLrjhVj/ElACUxpyDukP8VgfyhhmGqkVAS2o2f+GxQBLe4thpuLhfisaYtt5Gn8f2qewtfNrkzR9LuqqiqbCAXSGcT0PzbowlCwhwH7vUWUsYI0gkeQpxiMX4D6GZUMmtx2Z/oWk; 3:xPw/0Ew7SStNl5mTmPAfiW77hSygma6c68aVJR01S9MDESIL0Szr/OtwpzJq27JSZOXqeXce05BlJs/33g4Kq9m1pr+ob8kleh6/VAXxunQ3+I1KniIONHSXo5UKTZZjv+K6tBLdOz5B7rpUSBPb7kuu37ebR5qxoPJiXD/dAuxuo7mza8/RYucF/5mYpGwwUJGGx0DoXuFgkQ9znWbjxkGVuIYFy5sjLQFpiIZW64A=; 25:bh2OJZBqyPI7sc/Hu1yGABuXdG+WJMqFCX+geFhb24vqKgD5M55tXbXlelYKsipPY7TII16a/U4CBnLN+Fn8kkfx+k/nh28ZjR9UWCMQle64z86AmH8Y1J93J9bVONj791c/GjqGWlkfjjaRmN7VvUvAPoMJ6qE0a3lazus93rQAIADQvIz5OTtLScIEkIvpO3UPBLsKqlIbjwwjAX2iox2RFs/UwowWJYUTs3TDj4s7ofxlmQCNzANuHenCRtzhfMjr0Oj4j1xEQL9cgqWI3lHbRDg7F+a8l3Mjkw52O8blkyuHw6e5bh09vZLyEQVY2920OzW+AKfPwdBAgiiJG/pWgg5f4Fq69nW6qzo35TuAy2Y5XKjCm5nW5afk4WPrA1I9EP0w3UzNLioQ8NkDvOdR8UOvkTMbf6djrzJ2jTc= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1626; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(72170088055959)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(13024025)(13015025)(5005006)(13017025)(13018025)(13023025)(10201501046)(3002001)(6055026); SRVR:CY1PR0301MB1626; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB1626; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1626; 4:PXlqeZkwXDhtesF6adEK8EAAw81IdOuBj2oxkPnJaI5GU1EwG9gLrm5KPRNuTiJ7MBK6qwwk8SfdvsPizf1Elub5bc0eygTUS87yXe4ayd3HsyWf+rbTgCGE+b0INiXKVTjDZo00oHMIkMDhTgkuPF0ABApjr2ERRPf7ojztGCwEYb/kdGwYK8MQk3ZP0q5k4BFoWnz365neBXMR0bHIF2DRLHIaygP4kAUTZeRO35jZXmkUfSCdJFg/0bMBqsDnJyNN0lizWWIg5G4niglJ/ZltnFxkHP3sZJQTMaLXkCEeFJm1A9orzcph+fcav2kfsVfaMk6odcqDgBEcv0sb48VYj1SdP1nGdO3UYAbw30XhqJ6mL+5jCd9NvnBoFgZV0GTDR60/l7Ek/AJuLuIkuN5uI4a1pDBcnrqG2sc/umTllVL8Rz2S5z+mg/7qPFIvZ3JQbeZVx/0xw88HH+nQv0Wc31nal7qqpRJ4o5GSKI1T1QrM3yF1OSlJI+f+FPhoUOzqDGctYBMoEflTeAGc5IRgXwRkKP1DK6sHzLyiQ4ERZ1JW38NfAby1yqW1aP9m X-Forefront-PRVS: 09669DB681 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB1626; 23:xBMmFxuUgjMOjkfi5fKTEFolAJgwaL6aBAJTerb?= =?us-ascii?Q?l++Z9M1wK5O5ol/WabpaE4lePkPD/AjiHcFVR9L9hfx+y86ozOi5QN/UeTXA?= =?us-ascii?Q?Ce2lItMytzOUyfgjoFkdYe+1SAeIMnnBGq5+MjKrmVycMJ9AOvcJzIHHnheS?= =?us-ascii?Q?nDzzQ4JIgQG1Sfth1klQH+9911TUOG0PVtKGNe9BRkZ24gsCUBZXJM2uLUt1?= =?us-ascii?Q?CbwRmBYqXPSwj1DQtH1y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us-ascii?Q?cBG98zq208XY=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1626; 5:gT+aVhU1/0yuCYo7wfoIBLbikWuxlOGa/TrgL9O5gvaUnvf0tVgwRtOiBivKfhFnlDJVX0KNbIuZMrSqnfubtEH1+WR0zt7XRHrjHaVcO5/NPxM8ITA4uxrxCHj/KeKS7YwzqZ8kAXASHfreUGlZzcAWf9sJ+GJS64IZCoqgsHE=; 24:yBOKaFT1EQcG4C9KNtdxgndgNXxBkXFoVCT8D18eFtTsIUAsq0zl41AXk42kU+tmBrxo0n8hv0/7Y07Lq5NTr4aqaQwpVckeqa/0q5lO/s4=; 7:UhjXi2erV3cqCLgAb1MIlAaFeWn11/yP02LAjCiqTpcOMuwrM4QFPtrzrRCIpoMinT0mnTijKCVsm0vTT+dT+enfE+BHXBD7Nwji6KDleN8dw5rTu2YZ1627Re8DR8SVE1wv5aIRy6w8gBU7MdhhiQdlppiA88MrDLTqLN7UUjLIP6FnxurjLPGyqbS5bKhJ2mwGwxfvARqAMfru8tRdgFWvINgNpQKipdyzFRImhwk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2016 03:37:48.4770 (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: CY1PR0301MB1626 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 --- Changes for V2: * Remove formatting chnages. Documentation/devicetree/bindings/thermal/qoriq-thermal.txt | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.1.0.27.g96db324 -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; };