From patchwork Sun Oct 9 06:47:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jia Hongtao X-Patchwork-Id: 9368385 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 8691160487 for ; Sun, 9 Oct 2016 07:02:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C30029197 for ; Sun, 9 Oct 2016 07:02:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F490291A3; Sun, 9 Oct 2016 07:02:23 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D549A29197 for ; Sun, 9 Oct 2016 07:02:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bt86T-0004c3-Db; Sun, 09 Oct 2016 07:00:57 +0000 Received: from mail-by2nam03on0089.outbound.protection.outlook.com ([104.47.42.89] helo=NAM03-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bt85a-000330-8O for linux-arm-kernel@lists.infradead.org; Sun, 09 Oct 2016 07:00:04 +0000 Received: from DM2PR03CA0027.namprd03.prod.outlook.com (10.141.96.26) by SN1PR0301MB2015.namprd03.prod.outlook.com (10.163.225.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.649.16; Sun, 9 Oct 2016 06:59:40 +0000 Received: from BY2FFO11FD055.protection.gbl (2a01:111:f400:7c0c::181) by DM2PR03CA0027.outlook.office365.com (2a01:111:e400:2428::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.659.11 via Frontend Transport; Sun, 9 Oct 2016 06:59:40 +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 BY2FFO11FD055.mail.protection.outlook.com (10.1.15.192) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.629.5 via Frontend Transport; Sun, 9 Oct 2016 06:59:39 +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 u996xKab006278; Sat, 8 Oct 2016 23:59:35 -0700 From: Jia Hongtao To: , , , , Subject: [PATCH V2 5/5] arm64:dt:ls2080a: Add TMU device tree support for LS2080A Date: Sun, 9 Oct 2016 14:47:06 +0800 Message-ID: <1475995626-14049-5-git-send-email-hongtao.jia@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1475995626-14049-1-git-send-email-hongtao.jia@nxp.com> References: <1475995626-14049-1-git-send-email-hongtao.jia@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131204699800706080; (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)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(106466001)(6666003)(50986999)(19580395003)(575784001)(626004)(7416002)(229853001)(2950100002)(50466002)(189998001)(97736004)(5001770100001)(86362001)(76176999)(5660300001)(105606002)(48376002)(8936002)(356003)(5003940100001)(586003)(36756003)(77096005)(19580405001)(8666005)(7846002)(305945005)(81156014)(81166006)(8676002)(68736007)(2906002)(50226002)(4326007)(11100500001)(47776003)(87936001)(33646002)(92566002)(85426001)(104016004)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0301MB2015; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD055; 1:b4rkPyZ0/K1zU6F2FLMrqwutrqzY4NuYtrpd83Qijvs/Qg5y67uSLvHJ2g7E23fDLfOh3VGkkza3ZD69F/NO7joH2T6v4nMLmq+MNKLqywOwRys9Zx9g/h5HT5vZhrlzoEtae/9lM46TmK+Hl06ydi1vbzSZYHC9VVdTJ0qZOaZNtg1Lhq7yk5XQNqu/vy93XET/VeaUmzGOZazzmiJDqgDUw7DnW3uLl5jJspUEJEvikFJiAZgq3K+okjM3iPQn82RKgoO0dzOurmNB4u+5pJZ1o+U2b9X04Rcxz0XACmeMzglxHRmpRd7ubjSCgYowiViDAkxGvEQ+uW4Q0lWa+yapBf7p3/yWBZ6SeVK1zsdpKL/DWx7Hz/6DZhOyQ2eR4HPShYAjbSFFYYNL8/N3ym8O/XZ2dV9CIuAo86ZjAeMjSLyR2ILgn6ZG9RXF4Z96YuLXTsm09tINunKWTfJa6jLUxrM+MyukOHksTA54+V+nVJA0D41nCVaPKGZtwXR2FLRmppnEkPnnsJbuNomadh1WiSl57EMfAfyJ8U13etK7yVE7RMh82FS7WX+AJivz8L66RUrboogpPwdXV2jIhjo13SFK375IvsAHcHSvFwDl+PftPH6nzpXUwLKXoIUHAzLNxKg88sVICEB41MJ7yaaZG+oQMAKnIOQ8EmOTKDqZ7DICUnKoG3/Wyz0rxoPgyZskaUznPEOpkEJxmL06BDpcSgCTVkCP/doqbkcS+LbmQ806h2fY0enV8rBI7twTO/1aSkVM93Gx/W+Gbs3JgQ== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 7b391c5e-7ede-4aff-9128-08d3f011d6df X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB2015; 2:nRR4zX1kHHRj5k/Se5LWnBUxGh1TxaF3H4XzvHTs+MKS8adMryKh5+tBVkEWimyptUxbXDQhPCR2GSz1xLOdKJ4EKy/HQWNODXPOtvy8bzT6Cqub8g7Irhl08LP6Pf+9k4ctZTfmNhpFOeHEVk6CFA6jKzrBH+MmNeic8s/xNSdObUyEE9o7hjzr3tw/TVwUqcCYVXXybYwr33dWnsqjHg==; 3:KqVY0pYoAsIsENcIzDV5eya08d0cYLE7vAhug1oHvRShk5eZdL5z/Uk/Pqo+NTlVAsWkQSWxq5kjHhyv330C148ENgs9+IxFIX6uixHI3N5oKWMNCjbV4MCNAsbUpwUD0qKHzmNfJWEF5w54eS09TX7pi9HgqLnkiHGCrKTFoQk13EIKpoNuHFHHNmS54O1aB/e4Dpct5gho5bFUh5aeE5B/TIKB39WZCdzJpBIuNz5SgwN9ASPTsg7NH4xf6p47; 25:mfhSMmPiasmelABuDwMXkcPuieFhH3cjT4V3zfHqlTE3o+YmimQwSDPfyipZIHeE9AcBxjniPlS1u1c9zukggrtr+HuDmrmUKewhaH7W+fkpCg67zu/lSa9cRmJEjh238sCxqWQi5WA842kahDpJ/trNGWC9wgMcyoFN2/eeEIfSAiXbfrQAXmWBFzK61UtLicF27PvAwOFycENsi/rjOlz+qQd6lWQLxngpmhavSXJjE/K0k+UhZcJsMSFVUxVh8v0q+k0JVwNX+ew5851lJxkJ12bRjK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IEy5WrHweW02Ow1g/zBxeT6ivG2wWzK4M1mSCKzLA X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(13023025)(13018025)(13017025)(13015025)(13024025)(5005006)(3002001)(10201501046)(6055026); SRVR:SN1PR0301MB2015; BCL:0; PCL:0; RULEID:(400006); SRVR:SN1PR0301MB2015; X-Forefront-PRVS: 00909363D5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0301MB2015; 23:sEWzhQhDEOEX5S4Bb5gtCFtJjrPyZx4g4fGyYVV?= =?us-ascii?Q?RuN1jJ5tFe//0K0gRC8y+OiXo5WdmgWNydhTETi8e+VoQDqKYpb8ZH+UbG+J?= =?us-ascii?Q?p+V06c83b3qrxK78nDZHtJIHbHa7AobpymvE1gxioxuBZ0dLRLjEIfliFU9r?= =?us-ascii?Q?iVG30P8jjIYiUXpAlKQLxuVqz3QfJzTwTl4CuJ+V3IiumcwyxbUE5hulkj9U?= =?us-ascii?Q?0Z0iUx1AXeAEFrFuOHBCnqxvydr8wV++bg1hks4H62UUNo22Nm8ZiRbx+P1D?= =?us-ascii?Q?xwKc+x4HdQftVZufes01ApvJRNdhbn0+H+clghuKD+J5yU7Kqx7ohJS9egts?= =?us-ascii?Q?rOJhlElk3eg6zW1yGDFuh9feQzWHSU7w7rCYfqjbjNUDY7khVzIHd81Wz3ig?= =?us-ascii?Q?ennB7mcQt12FGiy7YJw9ra53oBWyXRHliPg7wr4mYxm0D4HLz1fzmF5ln0r4?= =?us-ascii?Q?IFVlLjTuhp7lXQODychpbGQLdFEjp+Hqd+efOWAXBf0gnpRJrZQv9zwV28LD?= =?us-ascii?Q?TOHacIGPM3fg9j/Bg89aqQL9OOg+guzih1o+hi1ox7p/QVLwnnhPaePEnSee?= =?us-ascii?Q?TXk+vpLIzKaZR5zyjInL2gE8b6zANFBgaKy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8saM2Aby7zScWduFvdrW8xxcS99s8ESwpLbUZBJwkEWwmvMyOnYzpaB7Z10j/7isiWzWRnMkWOcUEG0NstsoMBOV4dSPfKv0; 5:MeQUwhYII2d1cAVZrtwlRtiZZYRVUe9Jm0xcGOPDL1HuaE4FVeC4XaCa6DogUWj7zBDw6nWGAaXnVsecNzn6pFogWYh/PQhUU6tB8DWx67u/OOfti/EGwxmeYeqQbRewC2P5YCKDuKHAD/1OeAQJAGnksl8DLJ/rpLmsxhVoN5PlhUQhgNxDDZG4Sx8HhfBV; 24:y6sKM7b1J4aFvc73xC30uRQzUSCdL0r3v6NGIsCw0qM5LnD4s3eVlI9b61+XHBYAvMlLkIkLKPjdSSP6uSbVK/LJRjY/FrDhiXs3cT6WONs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB2015; 7:eSSFCUnPvUHHCnz1onpvAaXNyCiF81jmstqbAlD4FaLQdd60gdsKe55bJNXNGLZK3AuCwFtJHWRIhzMpdDOu5sAXdopvdQ2n9C3M9vHGQnUojvzZv2JaU2UB5gmckjHjmdJOj8jk0QhDdOWBlfa9xwsExcHYrPPycK7/yvDLq2JZc8KyREayOog5nM7nn5KlYgDI3+kxO3xMO/c7BugadUOJ6qKFt9NP7GYWHgAV+Q21iMhRbT2uR0JOqPf6nDv+mj1qpBHgrzPXzpdL9oDi7fp7xDzfnXLSthP4t9GwdG48JTvT9N1V9dq54KutAHuieQ7rdZqZ7OjPUaasLjC2nQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2016 06:59:39.7586 (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: SN1PR0301MB2015 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161009_000002_544855_72F365A4 X-CRM114-Status: GOOD ( 15.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: hongtao.jia@nxp.com, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hongtao Jia Also add nodes and properties for thermal management support. Signed-off-by: Jia Hongtao --- Changes for V2: * Rebase on latest linux-next tree (next-20161006). arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 116 +++++++++++++++++++-- 4 files changed, 111 insertions(+), 11 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts index b0dd010..8bc1f8f 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts @@ -46,7 +46,7 @@ /dts-v1/; -/include/ "fsl-ls2080a.dtsi" +#include "fsl-ls2080a.dtsi" / { model = "Freescale Layerscape 2080a QDS Board"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts index ad0ebb8..265e0a8 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts @@ -46,7 +46,7 @@ /dts-v1/; -/include/ "fsl-ls2080a.dtsi" +#include "fsl-ls2080a.dtsi" / { model = "Freescale Layerscape 2080a RDB Board"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts b/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts index 505d038..290604b 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts @@ -46,7 +46,7 @@ /dts-v1/; -/include/ "fsl-ls2080a.dtsi" +#include "fsl-ls2080a.dtsi" / { model = "Freescale Layerscape 2080a software Simulator model"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi index 337da90..723185e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi @@ -44,6 +44,8 @@ * OTHER DEALINGS IN THE SOFTWARE. */ +#include + / { compatible = "fsl,ls2080a"; interrupt-parent = <&gic>; @@ -62,15 +64,16 @@ */ /* We have 4 clusters having 2 Cortex-A57 cores each */ - cpu@0 { + cpu0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <0x0>; clocks = <&clockgen 1 0>; next-level-cache = <&cluster0_l2>; + #cooling-cells = <2>; }; - cpu@1 { + cpu1: cpu@1 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <0x1>; @@ -78,15 +81,16 @@ next-level-cache = <&cluster0_l2>; }; - cpu@100 { + cpu2: cpu@100 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <0x100>; clocks = <&clockgen 1 1>; next-level-cache = <&cluster1_l2>; + #cooling-cells = <2>; }; - cpu@101 { + cpu3: cpu@101 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <0x101>; @@ -94,15 +98,16 @@ next-level-cache = <&cluster1_l2>; }; - cpu@200 { + cpu4: cpu@200 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <0x200>; clocks = <&clockgen 1 2>; next-level-cache = <&cluster2_l2>; + #cooling-cells = <2>; }; - cpu@201 { + cpu5: cpu@201 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <0x201>; @@ -110,15 +115,16 @@ next-level-cache = <&cluster2_l2>; }; - cpu@300 { + cpu6: cpu@300 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <0x300>; clocks = <&clockgen 1 3>; next-level-cache = <&cluster3_l2>; + #cooling-cells = <2>; }; - cpu@301 { + cpu7: cpu@301 { device_type = "cpu"; compatible = "arm,cortex-a57"; reg = <0x301>; @@ -215,6 +221,100 @@ clocks = <&sysclk>; }; + tmu: tmu@1f80000 { + compatible = "fsl,qoriq-tmu"; + reg = <0x0 0x1f80000 0x0 0x10000>; + interrupts = <0 23 0x4>; + fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x30062>; + fsl,tmu-calibration = <0x00000000 0x00000026 + 0x00000001 0x0000002d + 0x00000002 0x00000032 + 0x00000003 0x00000039 + 0x00000004 0x0000003f + 0x00000005 0x00000046 + 0x00000006 0x0000004d + 0x00000007 0x00000054 + 0x00000008 0x0000005a + 0x00000009 0x00000061 + 0x0000000a 0x0000006a + 0x0000000b 0x00000071 + + 0x00010000 0x00000025 + 0x00010001 0x0000002c + 0x00010002 0x00000035 + 0x00010003 0x0000003d + 0x00010004 0x00000045 + 0x00010005 0x0000004e + 0x00010006 0x00000057 + 0x00010007 0x00000061 + 0x00010008 0x0000006b + 0x00010009 0x00000076 + + 0x00020000 0x00000029 + 0x00020001 0x00000033 + 0x00020002 0x0000003d + 0x00020003 0x00000049 + 0x00020004 0x00000056 + 0x00020005 0x00000061 + 0x00020006 0x0000006d + + 0x00030000 0x00000021 + 0x00030001 0x0000002a + 0x00030002 0x0000003c + 0x00030003 0x0000004e>; + little-endian; + #thermal-sensor-cells = <1>; + }; + + thermal-zones { + cpu_thermal: cpu-thermal { + polling-delay-passive = <1000>; + polling-delay = <5000>; + + thermal-sensors = <&tmu 4>; + + trips { + cpu_alert: cpu-alert { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + cpu_crit: cpu-crit { + temperature = <85000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + + cooling-maps { + map0 { + trip = <&cpu_alert>; + cooling-device = + <&cpu0 THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; + }; + map1 { + trip = <&cpu_alert>; + cooling-device = + <&cpu2 THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; + }; + map2 { + trip = <&cpu_alert>; + cooling-device = + <&cpu4 THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; + }; + map3 { + trip = <&cpu_alert>; + cooling-device = + <&cpu6 THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; + }; + }; + }; + }; + serial0: serial@21c0500 { compatible = "fsl,ns16550", "ns16550a"; reg = <0x0 0x21c0500 0x0 0x100>;