From patchwork Tue Jan 5 17:17:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 7956121 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4C5AF9F3E6 for ; Tue, 5 Jan 2016 16:18:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 84CA020220 for ; Tue, 5 Jan 2016 16:18:20 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id AFAA020265 for ; Tue, 5 Jan 2016 16:18:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aGUHm-0006yB-TA; Tue, 05 Jan 2016 16:16:38 +0000 Received: from mail-db5eur01on0051.outbound.protection.outlook.com ([104.47.2.51] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aGUHi-0006vv-TH for linux-arm-kernel@lists.infradead.org; Tue, 05 Jan 2016 16:16:36 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=frank.li@nxp.com; Received: from lizhi-Precision-Tower-5810.am.freescale.net (192.88.168.49) by DB4PR04MB268.eurprd04.prod.outlook.com (10.242.231.23) with Microsoft SMTP Server (TLS) id 15.1.361.13; Tue, 5 Jan 2016 16:16:09 +0000 From: Frank Li To: , Subject: [PATCH v2 1/4] ARM: dts: imx7d: add arch timer Date: Tue, 5 Jan 2016 11:17:14 -0600 Message-ID: <1452014237-12848-1-git-send-email-Frank.Li@nxp.com> X-Mailer: git-send-email 2.5.2 MIME-Version: 1.0 X-Originating-IP: [192.88.168.49] X-ClientProxiedBy: CY1PR08CA0010.namprd08.prod.outlook.com (25.163.94.148) To DB4PR04MB268.eurprd04.prod.outlook.com (10.242.231.23) X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB268; 2:KpVxRrjIDCKFknyjrs26IDit+MAUcdiwTFg8Ap8KZ2tS/eVQeJLIluILs8uDq0kPZA9AhV2jyitQy5PNDU+AEs0WTH/34S0a0qwPsXtq/oGRGBSIYOSbDM1WoQgG4KuonpVvb7XFUY2NvKX9XQitcg==; 3:Q2rJoiNZpfiRIhyCi2QwfXDNowOh+R5CU/VqKQQm0rWcj+iHxNIsGj9PAZRnBB5acrz0BoCNtlIdWYSWNAhwoEaqFEzSurP0GiPmjunvxXbUrllLLPb7i/kahhqK+ovP; 25:XuBZceHGfnasknfbcYLky3hbRv6cBgMFMPxxRf7TPhnDODnPjxroIunlgFyTPpbUSjLmtuxYzW4XMQKJFXPggn1C5OmqbXO48WVjSzd4bcm5Yc2HGTXvNDVP+SDlwoXx0Tc9K0pdrBzxewGWf9DLekUQf3+IwydFjY1Bt1HCM1UJngXGJNflBgEImuKQBW9TE0ep3zULFyMYGEfuo0UQSoO81Ey6JMiCX3b5XaJ828kV1YH1RW6rT6gg+u+GWouJcALBazDjbYFhRBdg2Blj+g== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB4PR04MB268; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB268; 20:j6Rvmuqj/tCrYGjyE4Wg4MfLJajxU5pMzkqxnGZku97B+2VN88k9c+ZD+SSh9Gj1fWt9nCJynpiWkMMjRLJXAmuOKlX+CJMZW+7r28GhEHqbA6bE994oH9uG+gcXiRe+3eKBC2XZTnNjHkgfeN9MeRUKpzfIsbsAZ9OM20CTeUqerqiptOR13FEKtn6iyV+GE0rgrk6x2xtn/b7yLkeB0jVGhJTlqGtu96PDo0U3FOirCqDcZX00ZRN/neHM5VgYMH/TYX1l3gKAVjDv8RwPmBhiT2iIFYpByyRQkIdKdCat8xst+s5I6T83cqWa9ckmhVzx6f9Qgi9cIsDt11YfpckWmLSPo4nA3UDcdl35FHxw6U06geDU8lDLOsXaVqGXr4H33wYHRfi8oDtsPR0uIEEORzfko+BMnrRZnMtUtXbcTIU7nI1KuI2UG55vG+mTq+PrQKM8jdcLBROKo9iSuD64XpDufIshVZ3xEOu1eNl+5kIVicdHbIp0Kdyl2B+2; 4:Xnxzw/YKAc+uYlBHC8Qz38I5Y/ebMhxOUIGmZHxMNGbK8uEKXoHsxehZMaTqwYzPPMxg6gQP56MvstsG0lXMEsqStxWIwv96pHA2yRAodYtKgEbQj7kjobQ3g6iH6uneuQt/qlkXuSZ7awaaE0+moxIXOAPSaT/l61Uj6uZXfP1HjkybKgWeri0XozcBlXABZxS30/Zvhc4F9vypJXtMA3iUPAE21S6Q9yvAyksDikEIvWP3HqW6co5Bdqjvkblu6WBmMDBG+pPOXW3CidC0jMz2HBSo1nabjY28hMMalDPxIRSjyIbovu52fhHXDIqmvupMgRJrffTF10/KjTECh3P08kfPB3ihxXmG2ARt2SQM5gB3eZhvmKwPaNP6t7roTr8OBe1Ekb+KV89lY69NHOelXN+H89nmWC52bpqvsLRfAw5GNodtGFtYxv8sg1VG X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(10201501046)(3002001); SRVR:DB4PR04MB268; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB268; X-Forefront-PRVS: 0812095267 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(189002)(199003)(3846002)(1096002)(50466002)(81156007)(106356001)(36756003)(122386002)(105586002)(50226001)(66066001)(4326007)(229853001)(47776003)(92566002)(48376002)(87976001)(97736004)(5008740100001)(40100003)(6116002)(5001770100001)(77096005)(5001960100002)(586003)(42186005)(5003940100001)(50986999)(86362001)(19580405001)(5004730100002)(19580395003)(101416001)(189998001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR04MB268; H:lizhi-Precision-Tower-5810.am.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB4PR04MB268; 23:nagVXg7PKhN00yFTASU2LEKVypyWNF1Fkekyz//Evs?= =?us-ascii?Q?pldQZjl9GR+ygX0lqnffaIAK4D/TMVCiVcdftLmx7ozf6rTqpqVCw0LO2R8x?= =?us-ascii?Q?/GODOrGSAJBQ5E1Ey5bR5gGVNxe3mdRJCRTBHhNsDJeMc/TgPGKXQlpG7kGQ?= =?us-ascii?Q?eXP7S+Uk7n+svzV2NcVTZi7VROF6KnRcrfGszxnnVULGzJHZYgs+wnRE67da?= =?us-ascii?Q?VlrTxFPLUtKmZjwWW2CXg6Y8V140bTaQaK/clBgNb9oWv3HaSYWR4noW+Ybh?= =?us-ascii?Q?JqAe3Tiaw/4CldMWvYwf/cGSA+0ct/PfRrtbx9ifPI88J26zq3BvwePHsH9y?= =?us-ascii?Q?Wb2ugGHggvkWOC9JrQXYYvYlnPMtskhsbJb0Ivc8x7mnISy3H8MDEAXncmpy?= =?us-ascii?Q?JM1EjpLIOTrD9NXQTa1lYx52XkHR66b24febQcP6jEJTvQUBsO/ebYasz+0A?= =?us-ascii?Q?ZNq/vqPYX9d4+aEbTs+WZp08vCNcNmRe9ffasGb+JUUJuzQRWO96NnX9lfum?= =?us-ascii?Q?SpXjbXl09AS/cJxGujLRLkJxcLKlrn2Ln+ljV+AoEYOAQWl2jtpao7phnI0j?= =?us-ascii?Q?bHL+Qx7qZfL0xtaB8wdb66Obux8xBb+WUMsmN7tYtQGFGomzOFT9OHUi5fO6?= =?us-ascii?Q?hSW/s2Dx1JuxFT0oCQAJbIeRutVCT6XPm0yyyfMffNCtTI/0ALUqV48kwm+T?= =?us-ascii?Q?KBlF02tVzKX9j5vjfm+nkOQW0Lyij/3wjwW3upW3DgMyAAe+EIMbHsMu8rBW?= =?us-ascii?Q?Kjhwe8WzcmcCa0sIfD0MAvpuxgxnH56AskxbZy1VbyDM2X+rg+IH14NCtyCq?= =?us-ascii?Q?p4NpS59zkee0BfuoTl6SS32YsAjRlVneD0hZ7VTYKYj5BKFTW92mpxE/l8at?= =?us-ascii?Q?eAW4+mUYwsRrYIXGMemNHs1DO4tJsBwc0XqOCUM0BunTeVcpgCHTJ2wGbmEO?= =?us-ascii?Q?KLCbQejOz+om8UFWU7LoEnBUSNR7d2h/oqZ+1DzWGyqLA0XZUZy9wvzwlPrG?= =?us-ascii?Q?hcsxgdlPHZ2Kro+uUJz6oJ?= X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB268; 5:cestTqLKdxbYxzh+8Kr1/7emaM4yH9NwcwV9UbCjOtqtavf4iUdWDyONHerX7RLwK9X6Wv80ZnnatpnIr1S1UMS8Qd1LKpNKCuC/X/P8/etUz2z3IQRxpNXv5gaDNDFWeQqlvDRIQEw24Cdieplnpw==; 24:A/fm6JkA32hnCUwPe7KgpH2iPPnOq3yAK1RY1cs22BIPp0a6lRSlPErFgeCOtCHvU6z/DbFocW6Bedno3ej6U3s/61EFj90U5YJaZpUNZf8= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2016 16:16:09.7012 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB268 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160105_081635_275608_32B6D54A X-CRM114-Status: UNSURE ( 6.69 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) 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: devicetree@vger.kernel.org, Frank Li , 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Frank Li Since uboot v2016.01-rc2, which supported basic psci for i.mx7d. So imx7d's second core can be enabled by psci. Without arch timer, every timer event will be boardcasted to each core. arch timer has local timer irq for each core. Signed-off-by: Frank Li --- Change from v1 to v2: * refine commit message show the relationship between smp and arch timer arch/arm/boot/dts/imx7d.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index 489604a..a621af6 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -119,6 +119,15 @@ clock-output-names = "osc"; }; + timer { + compatible = "arm,armv7-timer"; + interrupts = , + , + , + ; + interrupt-parent = <&intc>; + }; + etr@30086000 { compatible = "arm,coresight-tmc", "arm,primecell"; reg = <0x30086000 0x1000>;