From patchwork Tue Jan 15 11:01:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Stach X-Patchwork-Id: 10764303 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8ABA991E for ; Tue, 15 Jan 2019 11:01:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 719B82B703 for ; Tue, 15 Jan 2019 11:01:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F2A72B709; Tue, 15 Jan 2019 11:01:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B9CD02B703 for ; Tue, 15 Jan 2019 11:01:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=FIw2mQbS5hmaqDUrnM/voI2yQrQHxCiVgB8PBAj2jqE=; b=d3iwmh6VaSrnLO HrvajPzISjXOW1cIGUEy72jEATdcsWlz1lGZ2IBotgkp4E6djzJZzXVfKMLSda+gBXtCaaul2oVtJ kXahDdhPGd98BOk0V2CMApKDtHqdtZyDWBHa/rdyNbuLARc246RBe6S2fSXQrdAj6GnVIIYU5UwRY TAhVwFkT+UJn8oZ6aT3NsbPof92ENKNlOC1ZS70O2yzzp/OmDq7oLfsg3oILycF9GGujLaF11ytdk +32o9Wgc5V6khJh3Xz0WSrEr9GNFuMUMiU8oLnFVBOl0XZ0UTJK2fqI5n5sHPqjtCBAV6oWyeIQJN Vsc7GkHR2m1WbWDfA45w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gjMTi-0003YX-8a; Tue, 15 Jan 2019 11:01:54 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gjMTe-0003Xn-2O for linux-arm-kernel@lists.infradead.org; Tue, 15 Jan 2019 11:01:52 +0000 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.89) (envelope-from ) id 1gjMTa-0005As-Cw; Tue, 15 Jan 2019 12:01:46 +0100 From: Lucas Stach To: Shawn Guo Subject: [PATCH v2 2/2] arm64: imx8mq: select PM support Date: Tue, 15 Jan 2019 12:01:45 +0100 Message-Id: <20190115110145.11017-2-l.stach@pengutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190115110145.11017-1-l.stach@pengutronix.de> References: <20190115110145.11017-1-l.stach@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190115_030150_263593_84ADB9E2 X-CRM114-Status: GOOD ( 10.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , patchwork-lst@pengutronix.de, NXP Linux Team , linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The ATF on the i.MX8MQ device disables all non-essential power domains. For correct on-SoC peripheral operation we need both the power domain driver and generic domains, so device driver probe gets ordered behind the power domain controller driver. Select those options, as those being absent can lead to very hard to debug failures. Signed-off-by: Lucas Stach --- arch/arm64/Kconfig.platforms | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 251ecf34cb02..bb0d78d1ca4d 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -146,6 +146,9 @@ config ARCH_MXC bool "ARMv8 based NXP i.MX SoC family" select ARM64_ERRATUM_843419 select ARM64_ERRATUM_845719 + select CONFIG_PM + select PM_GENERIC_DOMAINS + select IMX_GPCV2_PM_DOMAINS help This enables support for the ARMv8 based SoCs in the NXP i.MX family.