From patchwork Wed Sep 16 02:48:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 11778749 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B887746 for ; Wed, 16 Sep 2020 02:55:57 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5CD41206DB for ; Wed, 16 Sep 2020 02:55:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aRNLrayc"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="Z8L7ezqE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5CD41206DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=8FGpGpJHWVj5efvam8rYD953KoP9UrFzR8bcF8MuSvM=; b=aRNLraycLGAjuKG2kK0NLDEOsZ scrAxxJ6LuXrdNY3cY5XfJw+RhF6XfCTHhqITBV9fBSdxyNnqCh86LmPntDAZoNLHei+9xAZwCUTX WcgDLv+95nLr0RtJlVlTpna+J50tFq0jOHbbbZMfFjAsFbczRhL+nyjH5+AUQPbDH4gXVTaXavBEC 10ewfnBSFN1+I1ROKbeiUnww1OBbqtxAWC8wf6y+7ha15+zkg4NlsbOnSsygpr5NA+bkDOMgt6ev7 tovlya8FBzeCrTEwh20i4RGR+ZRWITWyZbR7tuCHTjlZTuY+JKK2JhAhhqNOXR4l7g7IzLJCsyIII ByLaf7xg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kINbh-0004VK-8f; Wed, 16 Sep 2020 02:55:41 +0000 Received: from mail-db8eur05on2065.outbound.protection.outlook.com ([40.107.20.65] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kINbd-0004UA-7J for linux-arm-kernel@lists.infradead.org; Wed, 16 Sep 2020 02:55:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X93YJQ6pT6eXGOqRW5VMkxNwOQ3f7Peu6zMopTHSKY4opLfeZ/37A8fhG/I7Pm2QUHFlDoZgM8rHqrao3MPkfTAzg36pNrl6DNm3jSa9pdHHw89uZUkOHXMZGezvLLmLN7A08VLly9UOEJZ3bAm224XFWNxUjP8hx3Rz6dqpCzGEn7mhsGpbqGsmZcYemqMDmlws8DEixFeVEwtl6sipRlU7gUqdDQk72sglqav/vla3fAA9ZO+h4ai0WkuC/xKYRcPLS3902nZKcvqOGJ0M58yR/Xj160+73Iy25txMiM3CiAppSw9rVaysqD8VE23CK6YZLhc17Fpsw1tIAPzR6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nmqOc4d4r54+yy0rkWlK/XcI9KrH7Z0UqvaQod+2ZN8=; b=Coxd5ZjgfE/gwku58CcEIEz8FEHKu6GgH4n3ETMUo/AU6UzxdIoYnTKJHOED5nSgPtCG1K6I7stFmX7loZctv3PwrAGirapFwpnH8tCr47gq0wDOuSiPRJsdzIzTaFxl8nfScYt97fzW7irSRU7px4DWFiSLBF2M/6wTW9nkGtPrahBR2bY3jFN0tdSZbvjnZjd1LBeToiqIopQ5jOYht+Cf+VE0MYG9j80VvRUv1srOCBO3wWtruzHP1v11IrsibPDWbCBvtroGaDW5wZfDOchpDTdWvwK0kiDK/SoRdrDMydq7MLfs6g1afLK/SI8QQo56ufU9Hbq7pogHtdjYzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nmqOc4d4r54+yy0rkWlK/XcI9KrH7Z0UqvaQod+2ZN8=; b=Z8L7ezqEnPO4pkoW5Fvt3/biqOyB20Aw36FHtqva2nUJ4wHxBijuz0RkJ9WjIwal7OC8yGafbGME32UokpSqqcuyLNbFrsTGx52cMdsCI/ACvJ7zlfNGaq8nNrL6Ljz4vc5lJ3xpZVPiZfjpZv5yrcKTx6VHnyZM0UZ/muKhuGI= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB8PR04MB7177.eurprd04.prod.outlook.com (2603:10a6:10:127::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.17; Wed, 16 Sep 2020 02:55:32 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::39ff:13b4:4f28:1413]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::39ff:13b4:4f28:1413%10]) with mapi id 15.20.3370.019; Wed, 16 Sep 2020 02:55:32 +0000 From: peng.fan@nxp.com To: shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, abel.vesa@nxp.com, robh+dt@kernel.org Subject: [PATCH V2 0/4] imx: support i.MX7ULP HSRUN mode Date: Wed, 16 Sep 2020 10:48:33 +0800 Message-Id: <1600224517-31465-1-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: SG2PR01CA0165.apcprd01.prod.exchangelabs.com (2603:1096:4:28::21) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from 10.192.242.69 (119.31.174.67) by SG2PR01CA0165.apcprd01.prod.exchangelabs.com (2603:1096:4:28::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3391.11 via Frontend Transport; Wed, 16 Sep 2020 02:55:27 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.67] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: b48cbcaa-1594-47b9-6406-08d859ebfa15 X-MS-TrafficTypeDiagnostic: DB8PR04MB7177: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:324; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: COfy/ErDLT7TEtJtHM3mssyqW+IYfXonSjcUUxr+gGDCD/ZkGRWQjIJS+ScwvHfh0QS0FXa9qycWbHsUQHaHE3kiksM1CsqOcRAABaIxSt0ehvvmKllAIoNUt36ijYdLJlRwpAL/bFVkbn+5lfoFvIriNTFKqfu5rpsguX/NCGm/w+JskyVSiTozEgobbAHaXH0wn7+rHizlww+8jGVUL7+EtglzuqtXwcIExzgxrbnQurlrRsF6B5dI13d49DJWV7Iv4e68IzrllQLXqC4i5ZGIkOEnzxsQ0JXnF2sPUU8kGnTNd6od5LifoBtpGC58Nf+ePxXf/fJETwpBG3cqp6J6KmEnCE35Vkt5aHTLeiIl4c0RyXg/PAVxVb85zwSk X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(376002)(346002)(136003)(39860400002)(4326008)(8676002)(66946007)(36756003)(16576012)(316002)(86362001)(8936002)(9686003)(16526019)(186003)(5660300002)(6666004)(26005)(66476007)(66556008)(478600001)(52116002)(6486002)(2906002)(83380400001)(956004)(4744005)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: oTPH+fRx4jFO1nnvyMqzUxll55RcyZUVLOXAnW2giyBp2rwZECX75qDY16tZIrq/atXJdaUhjEYQEo/KZsMT3vVFiQIPiCIrnqxnaeq9heY9bNpPHI4nfF5vmkbpMxcG9t2AiGg6srALQovFK3Gl3XVHAPa63iNdmwcpjCzWHzLT2m336t42hn2lJEWYML9BMpELGkZHDUn8i8pMb4AdaUQvLqqzCh1hXz1KQhvZmMkspUEyROKacBgm28iZR7svGmvqEx1rWYcnn+PUAJdLFochGSheybhUjfAzzsQN++Iaq/xUNxWlABEXpIMKHl151lW5AgCnlMSMxr/57kYAYj+fie5eDYhxsXHAMpe7utwu0qI4IuDg9Nipq5ngz3JGLVR5v4ggTpPJByucaVZI0fyueJUCSONcxgry9shtc5gaeThB/5yE4mtH3sD9K5VjI/odfGU0W70GN44Vlm2HxL/vG/f6AmvjuRhHMNiIp4o50249Ww+2d4LzId1gcr/N18PM5zWGGmgwR5IBaKyh1fyXSpoeD2JMAaujFLKQoOV5rsfha0Zhkq7axTzGdbLC5FWlB1oFCgmGXq5UYfDDStv6kKDeA/AXX/r7vfKV8y5pZLPorbyLdN6MqbNQX/MiEtWmkLsFT/yP1uAp5qTI4g== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b48cbcaa-1594-47b9-6406-08d859ebfa15 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2020 02:55:32.4855 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wXGvWfLfrMJMmJ+ONlKBO3rsaY5rby7SGIu0ibCX9nmYCU0NCrGXUQiyvUfN0rzLqaC4SLYaE+w96suzSaUmkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7177 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200915_225537_467620_1BA6F78A X-CRM114-Status: GOOD ( 10.60 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.20.65 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.20.65 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: aisheng.dong@nxp.com, devicetree@vger.kernel.org, Peng Fan , Anson.Huang@nxp.com, linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, 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 From: Peng Fan V2: Update to use pmc0/pmc1 following hardware naming This patchset is to add HSRUN mode support. Patch 1,2 is to add binding doc and dts node Patch 3 is to support HSRUN mode Patch 4 is to use wait mode when HSRUN working per hardware state machine requirement. Peng Fan (4): dt-bindings: fsl: add i.MX7ULP PMC ARM: dts: imx7ulp: add pmc node ARM: imx: imx7ulp: support HSRUN mode ARM: imx: cpuidle-imx7ulp: Stop mode disallowed when HSRUN .../arm/freescale/fsl,imx7ulp-pm.yaml | 6 ++++- arch/arm/boot/dts/imx7ulp.dtsi | 10 ++++++++ arch/arm/mach-imx/common.h | 1 + arch/arm/mach-imx/cpuidle-imx7ulp.c | 14 ++++++++--- arch/arm/mach-imx/pm-imx7ulp.c | 25 +++++++++++++++++++ 5 files changed, 52 insertions(+), 4 deletions(-)