Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp524373imm; Mon, 1 Oct 2018 13:57:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV632RJd0YpoVELJjo0//Ou+mKb5xmbGUa+KLBbHM2fbfbyoF7PhEVZgYrNxvuWBm6pU225TL X-Received: by 2002:a63:7506:: with SMTP id q6-v6mr11529051pgc.137.1538427431145; Mon, 01 Oct 2018 13:57:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538427431; cv=none; d=google.com; s=arc-20160816; b=iVnXTB1ymRriJMko0C+F73vHOKQbj9xEpK8enxYfI6y37mXy21DTFMKD7FarJQVYLm lIoyz/SeTChuZABnj5V31TBeh9Hkw3x4gydndmYsSlWvpX2sv06ORMMTLWVLRCWWNCdf o/8EAJob6q+hzjRLStHF6qg+IrV/zMPlF4lu9tw3/f80cTqmcZ7HSPMT/jeIxjPkYrOD OUTN0jQ9wSap0GOLNMdb4u8TvpQeG0R57UYsGNfho4PGPqLvL+sa0DbK0Mwqgu3og4kY wKuDbH+ZpCxHl5VJRJtY2FwtKORu+wJY8CKNJGc/Vc+/pIEbC8Bi7MlVyIadQENHsZBz O6KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=zT1w3qVAWK1IiPIQgnoR2UogdxeNNuDJdr7aQb1f//k=; b=uFMC6FKofEWV9sf+ZXLlrARMF/IsBq75GQp/P7G0D5xYugS98AX8ihdfNfht9fq5zs R0q9UXPdvJaY4en8fE3PNH9lW3DlGxvnt0fDylHaK3N17TuMJagIaEA+V1RfQbZYhgCf Cf23S9cokdRPvZzXaDgJI91Znu2SPUc8X8VEKbgmdZvG7RfG2B5nM9S/wCd9KukR33qL PWGqaLdfRRmJQI/jfK1QSAGA+1k30m15m+jcECSJA7yM/sDt3DE20d6McWfRu7TXOXYl OHT+xt7yvfv6NkqotyMZ7mGhjXraEAD3w4D1EcNwi9/3NtzZ7g8I9WNCKzItGi69ep/Q E4oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="p62NqU/o"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id w124-v6si7905869pfw.145.2018.10.01.13.56.56; Mon, 01 Oct 2018 13:57:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="p62NqU/o"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726443AbeJBDgV (ORCPT + 99 others); Mon, 1 Oct 2018 23:36:21 -0400 Received: from mail-eopbgr40072.outbound.protection.outlook.com ([40.107.4.72]:43648 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725948AbeJBDgU (ORCPT ); Mon, 1 Oct 2018 23:36:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zT1w3qVAWK1IiPIQgnoR2UogdxeNNuDJdr7aQb1f//k=; b=p62NqU/oUjkppj0tIv9GX7j+Fds50s2QzAyt3+Ht8zr9v9WF6mgeuWQmhNn8xlLglEwfeIPcbSA4M34JNZfJdhzOql8zC60d/fJrod1Rgc6tdI77RTYAqQF0TecxSeO4exeE2AqG7RMBcyM4FpRsqrJNiWHetuEBiPO6HKPK4Ew= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; Received: from localhost.localdomain (95.76.156.53) by VI1PR04MB4303.eurprd04.prod.outlook.com (2603:10a6:803:3f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.25; Mon, 1 Oct 2018 20:56:34 +0000 From: Leonard Crestez To: Lucas Stach , Lorenzo Pieralisi , Shawn Guo Cc: Fabio Estevam , Stefan Agner , Marek Vasut , Ulf Hansson , dri-devel@lists.freedesktop.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de Subject: [PATCH 0/3] ARM: dts: imx6sx: Add DISPLAY power domain support Date: Mon, 1 Oct 2018 23:56:15 +0300 Message-Id: X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [95.76.156.53] X-ClientProxiedBy: HE1P190CA0058.EURP190.PROD.OUTLOOK.COM (2603:10a6:7:52::47) To VI1PR04MB4303.eurprd04.prod.outlook.com (2603:10a6:803:3f::30) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4dae2a30-6572-4fe0-9dea-08d627e06005 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:VI1PR04MB4303; X-Microsoft-Exchange-Diagnostics: 1;VI1PR04MB4303;3:hBfdAAdV8k0moKe3CybbzZfc9n3WtduVKaGyRD5vipJOKoGJG0WEixfWRRSTwdRvwmYkxB2HIqSd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+hwoOh2m6p5ckiOTdpDvXBXx7XcgV1LydfZGAVCMmmIgveCPEaTc27ZGVTdMjYzjcfbNoKOMljtN8T2Bc4QMw6XYo7SkO04DKtqC2BmEBUyCbyHR7c2Ti/UxG/1WkkCTIZrWAuQjYWRNqhMRHiKZC8YtrVZVQ4NfJ0MBIzivHrIhvNfibQZqBoM8wRtV+ou9mpaQjJP4tG1XT6J0s6jpCa6TVZwXeGDgCN08CBLdDSjPCUxe0/FnEog4b6oyecYI+2ry81mmiPkekDfX;4:LCGfwM0xekxjAjnc017/iDmZz+SVpzzPgClvRiqDcFsOm93wLtuDFk0/j98qsqLWdFiZ8fPwT+oWmMeINZ85Ji+M3aaKLvO25j6blQhqluw2mSZ+IyQ2JSOyB/v/FukuEzVWV3kaiHIaI1ebcTjXQ5CMtFEuYCFHF83fMDZYNH8MgHrXBZJrNp2Mu6ZSbVU3tUK2Gbwo9VFQf5HRgMkfC5Kyfney4PwOz2vyTeVv0MgdK39+yjLAC3ubV8l2WtVUi5qmnJ3v6XPnxsHdwGTdbsCqG1eqy464KyqOlYpuHpM/+LAjcnkJu7Y/60OAGSD2B4+gW6kZVVIt+NzcqRSnfQHmSaxtgQWNYaUle7UUa4o= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(269456686620040)(17755550239193); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(201708071742011)(7699051);SRVR:VI1PR04MB4303;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB4303; X-Forefront-PRVS: 0812095267 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(39860400002)(136003)(366004)(376002)(346002)(396003)(199004)(189003)(5660300001)(6506007)(386003)(316002)(3846002)(16586007)(6512007)(36756003)(6116002)(53936002)(54906003)(110136005)(86362001)(52116002)(51416003)(6486002)(44832011)(476003)(2616005)(6666003)(956004)(2906002)(50226002)(68736007)(8936002)(81156014)(81166006)(8676002)(486006)(97736004)(105586002)(106356001)(478600001)(25786009)(966005)(48376002)(4326008)(16526019)(186003)(69590400006)(26005)(7416002)(305945005)(6306002)(14444005)(7736002)(47776003)(50466002)(66066001)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB4303;H:localhost.localdomain;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;VI1PR04MB4303;23:OE3CRILcCC5XDNTQbAWGBE3xSZrJSeiNdFbcF1WqZ?= =?us-ascii?Q?GADm3SBDFR1WhawLjp+eJND1M9D2DSVg0iBQaP6vg5zRCXVQjz5xkJmEjDyp?= =?us-ascii?Q?5qDds4T6F95xZbTle46WqMQOtqKL7VekNfoAinm958B7NTuXIBFYlRadijev?= =?us-ascii?Q?yihAqsdHUZYhCFi7aiM4UUOGsqSyejpqwW33MDy7Uyt5aEs6c810alhxxBqs?= =?us-ascii?Q?MwyUkEMBK4qOZZrJ+HqrlvUaVGYqcX/GpAHWo2xyxLJCZSbsaRxxxHL6IlKA?= =?us-ascii?Q?b1rj3nyDvh77ktAc+jh8rj+mUMUxfVw/XKzgVAJY7VUJV7Xrp70F6qCufwQt?= =?us-ascii?Q?bOsBhjWZEUW908ly3kJW31MAyrrKSZ4U/PuAG6CAzgdrAo1TL9JSx5jRz3ij?= =?us-ascii?Q?PLFZXjt33A2CvAFEZ8zPyn0dAUqIbgJ80C4TNDiUx24wNbnoH0kw+4iVOTtP?= =?us-ascii?Q?c13BfrKEdRhVrmb3jalYm037lt6743u7YtA1WETChWo1awokU6q2H1IXUY0V?= =?us-ascii?Q?XaHtfp9fU0HH6tP63ZeL4TbAGndR+8B8z/MOfZ7D0XzjHyF022L32G4Uf1Wl?= =?us-ascii?Q?mCLwozC/SDUcNpMTdo/S9nlJQ/nkYNhi7IyNYsz5vfHOrOrHGzecFmLiKe4I?= =?us-ascii?Q?uV6Kpx6RijNFhEV30lQ3D/ac4AVzrFaULE9LUI+Y9K+rV4dAmXgb4QH3qSL/?= =?us-ascii?Q?7z0FcVnVj234ccyVSExshv343Aznk/klFw6p8WPeuGiup7j1lf3NIi0L4Dq3?= =?us-ascii?Q?9sB95BzYrGX/eY+eXRpW6qe0+4Wtjz7rsx/F/aVLJEjFsJT0xHz6jn69eNty?= =?us-ascii?Q?vQGZKBlhmtWE35Kr7cJCGNQm2mKX4BYoeggZHtDLHJmiROr7GEnTgIlaaGLT?= =?us-ascii?Q?TOmuywio8grfzm0H362Cri8vpaJdBOjYi1js7tvkF121Kdo9iX2snkOQWeok?= =?us-ascii?Q?GRT3EmLvTkEUWSsXdE+JgVr/amJkLR5KM2GdjfkmsOhSompWXxH+LeR89KRv?= =?us-ascii?Q?wr690UUm1I982nLezHRjPjPvGLjfH2nFzwNRToYEfaSjBSMFVyfEAgKWJJtr?= =?us-ascii?Q?1oJjH2aDWJaMANB2FbF1tEfRWOntl56BDjHKQyGEzrypwab8ftZWJH9Y/LdZ?= =?us-ascii?Q?Mb8SG8OrUYyXBdK0eMioj2z/vB27PSxwFhFEKu5XcYKiXDcVmkdP27EXvDOI?= =?us-ascii?Q?dgyW6Ndhbn6dsJXLZDFapQKUIFPYAh5vZVGGTl9TuKwg4b5AziJDv+ES4qhT?= =?us-ascii?Q?t+V6kUXrg9SfOrhOuemJwJcUFKjBtq6ykqDFfI6+OYPQoBMnPe7PCCT6fcDH?= =?us-ascii?B?QT09?= X-Microsoft-Antispam-Message-Info: Js4nItrQXkNh9Zm+hxbdXv5xc98L4l3WTMmfZj8velXCKqbYH+O1YZOTHG1GhnKpAD9qVwQMc8irNf6U44e0sClyyg7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KR4zXk/FMu7HXyR4BbN1g5SYo4x253C5DHHoWk4gIinNCA4tCsvcSIO60aGUUeDwFIUzeG48iMUNpp1njxCjbHyKdwTC5w0iH/VaI/52STQXVZULJK45VSJo7B6KE9ziaMPVNHa SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2018 20:56:34.1173 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4dae2a30-6572-4fe0-9dea-08d627e06005 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4303 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that mxsfb has functional runtime_pm support we can enable power gating for the DISPLAY power domain on imx6sx. Since pci-imx doesn't support runtime power gating this is still always-on unless PCI is disabled/unused. But it's reasonable for an imx board to not have PCI. The current pd_pcie is actually only for PCIE_PHY, the PCIE ip block is actually inside the DISPLAY domain. This is handled by adding the pcie node in both power domains, using multi-pd support. Series is against linux-next. The last patch needs runtime PM in all drivers or it will cause hangs. This means Shawn should hold back on it until the PCI and mxsfb dependencies get merged (both might take a long time). So you can just review that patch and I will resend it later, perhaps in another cycle. Link to mxsfb thread: https://lkml.org/lkml/2018/9/26/1185 Leonard Crestez (3): soc: imx: gpc: Increase GPC_CLK_MAX to 7 PCI: imx: Add multi-pd support ARM: dts: imx6sx: Add DISPLAY power domain support arch/arm/boot/dts/imx6sx.dtsi | 19 ++++++++++- drivers/pci/controller/dwc/pci-imx6.c | 48 +++++++++++++++++++++++++++ drivers/soc/imx/gpc.c | 2 +- 3 files changed, 67 insertions(+), 2 deletions(-) -- 2.17.1