From patchwork Fri Sep 11 03:30:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 11769705 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 BDE7B59D for ; Fri, 11 Sep 2020 03:39:13 +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 8D3F221D7E for ; Fri, 11 Sep 2020 03:39:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="atMoktJi"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="qZuPvpOA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8D3F221D7E 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=zqEY6G+mWaJcqTp+/+l8Zz0EH0IQHYa98TDBAvAd7s0=; b=atMoktJidKQeoUGaPmoZiwuZpc sf8I8ALdfsJhgzAn0Xi74tuWyDmTXZRg+vZG+8JVCNh/wK7l1UgNu/Sa/XxQIFrbNC4RQ4fClFcd8 Ve6LVMeEAi/w0heBxgC/VgAT5JWPtA2dZrL5C59vEawDI5bcENyThbrbgfCy311w+vqhPQddKyjjd 44lbyVhsLwrwgrk5ffxgJW6YwaG7mV2EC/37VJ0BD42rZqNVDbfLbp90QJ3nG0nIIuZ0hw5fWoXuP fo1CJpWBIeUjWRjLfv+gsdy8yAwxP5xghT+Zu3xsLxU2H2kh3lT44hb+hrYIPnpbc8dm1ZWDrqVWD 4Zaexy/A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGZsb-0004XG-14; Fri, 11 Sep 2020 03:37:41 +0000 Received: from mail-vi1eur05on2040.outbound.protection.outlook.com ([40.107.21.40] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGZsX-0004WM-J1 for linux-arm-kernel@lists.infradead.org; Fri, 11 Sep 2020 03:37:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jnEaDkFAUbO8QNzmUiZjkWhrfYhVj6hRxvB/VeMJSx2Y5rw1oglj0F/wPPfhnYHkYiyKL1X5qQtUS9zDX4tFvntVAqmpcJGBgcFOw8/GOSOka1DushgS7SLNI9SdLxL1OW44VmAO4L5feRlKnWoMPgix4+7VS4SzZW4A+OSWXtSp1gaFlhGocBfGyl9H54gDqpAVV0Ldub24gYei24LVrf4lovSHIGbant6uLTOtQJ2tmiX40BQSXdTZEpwHzTwM8dMif5Z/YFR02Gbp/FtFaFxE/F/kWs057fpOcOfOSPEL3Q6UPMCmzN6Z5SOkYFqDQIp7tHXxAWJ+06xnLB3kxQ== 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=GjT/2byU6GPpHuwMWybUcm8JKst3khh/I1SXIrDRZCw=; b=WCVp5+ZLueJdhrjmaqHSBcCSw/pQd1b7Hw7KzAsqy1aXRsiKz+eA3PVykySIRQE1VDUcp7Ty/AUzIQsxdwIw1n+l+ug0Ee+BoS/kInw5sKYK5rzcVCvQb6PzkfU/hIp8fxviP/Z/IS3cJ/29DNcsXKfwiHCE3nwHeDb45CZ9/FVlkijvvL+pLcZFclVIO8rBcGP/s9HBxrl5QjyYTSkKughrZYhi5LJP781BIaDNeMJAtXldidElXTOWzUzDjd7ENMg4INbKkymJtPvt4Mty4RAC4tXGCh4ZVuQ+9g9gdeNx8JfA3SDLPZhZa3cgBypHCP0h3gU4Q0o9TeMecEChVQ== 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=GjT/2byU6GPpHuwMWybUcm8JKst3khh/I1SXIrDRZCw=; b=qZuPvpOAMF235MzFrJxuDNvEujtAgQGCE3WYuRCQYmCoMIEly4bwZwKg4IBeQ1j82D3yxMLiraHdslPUt1iRI3vhFqnRRn0aiVzE1obVBxbggL9FMwPymjADFI90H1ktd3ytOZ3dm/rJxkoFGE41UwiCTAsrSh4VTLbZky2T3hw= 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 DB7PR04MB5084.eurprd04.prod.outlook.com (2603:10a6:10:1c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Fri, 11 Sep 2020 03:37:29 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::24d0:f783:3c7d:e232]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::24d0:f783:3c7d:e232%12]) with mapi id 15.20.3348.019; Fri, 11 Sep 2020 03:37:29 +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 0/4] imx: support i.MX7ULP HSRUN mode Date: Fri, 11 Sep 2020 11:30:49 +0800 Message-Id: <1599795053-5091-1-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: SG2PR02CA0070.apcprd02.prod.outlook.com (2603:1096:4:54::34) 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 SG2PR02CA0070.apcprd02.prod.outlook.com (2603:1096:4:54::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3370.16 via Frontend Transport; Fri, 11 Sep 2020 03:37:25 +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: 7667c182-8325-447a-27d9-08d8560401e5 X-MS-TrafficTypeDiagnostic: DB7PR04MB5084: 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: WPEAuiJqElbPu95GEDBgUzlNtWr6ewnOrNupwazRMOCKJZd7GhLuDtvH4ueWveA0ENGNVzxyAkrgubo1XteN5jt3fhIfFZocThJTPmRHp/HevAkMI+d8IKSqlZmgBEgs32EjZhGHlx/s2kXXfnLq97MaYB+u5OPGDCw5YNk6hZfb3JZOMXcDlJ4Ypqr8dspemYBoi/XIpb09kt3Nkxdg7KN49mGWKFZURQveBPhxmD/T3C9T++DNJyarJPxjtaSwLaBPPzuJTuaTLmLm4TWHjQmG44YjfJQilaMMADuWEX8xmfg5d8NmvlpFbjU67FvijpbvBEAQLa102lwdELqi3A== 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)(136003)(346002)(396003)(376002)(366004)(39860400002)(2906002)(8936002)(5660300002)(4744005)(4326008)(66946007)(6486002)(316002)(16576012)(478600001)(66556008)(66476007)(86362001)(36756003)(83380400001)(956004)(2616005)(26005)(16526019)(186003)(8676002)(6666004)(52116002)(9686003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: fL+QGNtqR/PPjWG1HiJDoVS3tCyT/o97zT6F2day/FliaHNu3L2rPg4qyF45ZyBlj2AikXyROBIPwW0lBe7X6t2ZVVXx3uuq1sWZT8eXo5jPClBFzg353HkcQJ0yE/ww5DOOS25otsktKDC5eIqF/lrALzOR3J4hdoNkr9YAQW0KFqhpQbpjpwBHxSlWzbLrnZ5/nunWhs7gGA+thKHeCozSCuc+6/2bpFPCfUzJZ3KUCSqX+559MTg7PdvTyDmPMurGhUh1XgFk1xACSogHG5ILru56BKvw79nMJxVbtVBlAQsrLc1jisQIJ062RXrmPWbQWMEG8Fr2xHx6tZYfl2ROP2/nz33HiLnOh3bi979Lsj9htv1dcc3b1eOsuleXZa6rs77gBR9HyjIGv2URMWQjdSo7+fJ78uGTwiBBUrY+RtfqR12FH+UUtZ09/Go3sJdL3NI1nEwIlu+8AioSPxpGZFCZ+NUVMSweIA0zcPFeIJ1uIpuNkClrpSjSY0KXBtn/LM+jvHZCRzwWMGesp1CnKm8k9v+jSW5P1mCAWFU5tBgteQ5lY4zsCSCXUJsj8Ykzezlz96r7/ob5IaCyBD1VMIYUjI+4toKk+dW6lTRkaAv2cDJEo13t0eEQVk8LD0ejJwnq6DzMUKVLszoPiA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7667c182-8325-447a-27d9-08d8560401e5 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2020 03:37:28.8996 (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: EmAptcjVCBf68LQc2wBwuhx//ArTBDw1KMHxHJZs3u0GKH7Sv0o0QKsr1bKFx4TFZVF8QcV5DSnpec5FD3c5iw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5084 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200910_233737_829637_DB00690C X-CRM114-Status: GOOD ( 10.92 ) 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.21.40 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.21.40 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 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 binding doc ARM: dts: imx7ulp: add pmc node ARM: imx: imx7ulp: support HSRUN mode ARM: imx: cpuidle-imx7ulp: Stop mode disallowed when HSRUN .../bindings/arm/freescale/imx7ulp-pmc.yaml | 33 +++++++++++++++++++ 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, 80 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/freescale/imx7ulp-pmc.yaml