Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1572799pxk; Thu, 10 Sep 2020 20:38:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoDPbgX/XSbtM1EbDNs/rttxip5ROZCB6O2dWgZK5nkX8CeogwMv3DItSoc5gLsXRQmrsx X-Received: by 2002:a17:906:4093:: with SMTP id u19mr129502ejj.520.1599795519114; Thu, 10 Sep 2020 20:38:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1599795519; cv=pass; d=google.com; s=arc-20160816; b=H8PZrGx8Eu5mS6+i8zxcmDGqTRzYUqWqy3cLx35NVtKg93VU+FY/p9ji53c7iyprvK Bn6EgGTI0a69FoG38GKBycef/jh1FNpY3lJCJTjKkxOkmyfLPzj77/i0WWePpvrBJSc0 dWJKA+LF7ynbhVvhonYywTpZQ9n2XKhMqjRW7PT9TPQEj78dVYmL1TWM1zrqS5GyO8i+ YCXskp8vK+iO7LwKfgPiVnzNESL6yfXCzKLF68kpGyS+3dub+pyHDUyLznGw7GDnFVHu R1oevdvHiDgG2sY7DUe0XtotJ9UtlU0Fg16ZOP4cbVjdq9nUcvA4kM/+3u7EXeMnaaAA 3QZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=GjT/2byU6GPpHuwMWybUcm8JKst3khh/I1SXIrDRZCw=; b=T6ax5412J58nsiP9G/CAKx19KTIzdmNE/1ZnJ6dLd0ZckhNC8ocPgomBg4cMj+jLz0 uj0dntZgWeTOggNelVcZ/yQJjlU2weNfB6u1iVMaHh8NTCBNQ+Z0YfNB41stQnmIO41K zmr9UTQqBhmh1QGM0GAyhlEPn6pTlrf7ueI6ly5yS7bb8B+wNboFNtKDqJ0Ua/o6IlHu PItJ+kx6hmMqOrmUp+VCsKr7BBXPqsoYIr64/0yLqa/adnwlPYjQgnzE6Xbr4lvpvsUz jVO3QfAGT6TPqad8UNhtxy9M0dr41kPOkLMhbFwesm+S6cOVXMyHrsRMyY5gGWm0ijeH fNZw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=qZuPvpOA; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j14si414579edp.315.2020.09.10.20.38.16; Thu, 10 Sep 2020 20:38:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=qZuPvpOA; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725385AbgIKDhh (ORCPT + 99 others); Thu, 10 Sep 2020 23:37:37 -0400 Received: from mail-eopbgr70051.outbound.protection.outlook.com ([40.107.7.51]:36230 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725306AbgIKDhd (ORCPT ); Thu, 10 Sep 2020 23:37:33 -0400 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 Cc: kernel@pengutronix.de, linux-imx@nxp.com, Anson.Huang@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com, devicetree@vger.kernel.org, Peng Fan 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 Content-Type: text/plain 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 -- 2.28.0