From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1BAC9EE6457 for ; Fri, 15 Sep 2023 11:47:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zLNlk1VRUcDqcSw07QuxpjX4kEXw4K1ep4rg/I8KoBQ=; b=hcpgPsZDu+8jDN Q2KUZ2gVYJqyOBe1IvbHi1S8L6JEXOhpL5T27nLPcJf2fp8X8ppUlgz8hTD66yFTDDAl7qAD01g8c z3YgGjRYcX82tWX7KwU5umLkVC+6CzW4B6KKg8UrQvwZcdJ++gmgKJ5+apverHslaIZQDQ3JL4Z/w tl0PBpfkwu/qsVL0MBCD36kfGYELAPBhM66L6LzsfwU0oJCZMLmBQJC12/j3ybGg76rAW/lrw2qiE QTpQdJvfk3yqPKmRHdgghhioDDhYDd5fCDIYQ8wTyRO10elrd4nrd868NOHGX9qEO9vNOI8CSxzhf bORWrPyz/VNsbnNP9OWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qh7IE-00AfuS-2I; Fri, 15 Sep 2023 11:47:26 +0000 Received: from mail-yb1-xb33.google.com ([2607:f8b0:4864:20::b33]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qh7IB-00Aftq-1V for linux-arm-kernel@lists.infradead.org; Fri, 15 Sep 2023 11:47:25 +0000 Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-d7f1bc4ece3so2039097276.1 for ; Fri, 15 Sep 2023 04:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694778440; x=1695383240; darn=lists.infradead.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pKvJMFgrnKfiKIEIwaAMBoyLZ9Folrq2rV1ccO7Uz70=; b=WmMPUHZslYGpA5aiOQLSgQ0fm9EqHMK+e6ZdqoLVDqVsIynbH252oxLBda2Cu+n1ke i00ij3Scm10S2ecKGS8C2MNk4JX4EHJ1dCWK5tyQfUAmw8sgqnoow9cpXrUgHP9A0m+G YGoJW9ceYbz/x+zhcxyN+u8MiyeMvFeaumBdV3DijAerZ0x77Yt9NpYoTu7b1HloklX4 WCfQ2uybTY/7f+7ZRFKwQdiaawUF2eCnseZI/9AB/R59RdS+3md9oDClin8OYvP4X3iR DLzkfjMHDps6qhFXPdJp1MM9+sPnVMIpSYkb4zYDNTZUESdBa3TrtnQsw+lZ0v6fOIdB 6UXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694778440; x=1695383240; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pKvJMFgrnKfiKIEIwaAMBoyLZ9Folrq2rV1ccO7Uz70=; b=WLypDADuphvJLWjBvcuG/Bw1XLLhiEFy5MKEZZAH4RVaQfowxO6t8Z7Kj2zoavHhIq hFAEHsgF8mDt/LEJt2ncx+Hfz6DxkXCCH4k3VXm7I4FmicS2WeRtvijSSUAhXkQMASbB qPbri/gBqDMpyLsPCGiNXOMygjZNx2qzeHBdkM1ZVV1IKhbnOKOTc9vP2sU/9621I0Md vrJ94iZmmuFxh0ajbJWB7+/kxbd5Pt1O3MdLOmpMBNmsF7z0hTMNsOPbyV7OYx1Q4I8t GErn/YjxkQXk19xFLZ1qvhbyWAy/KmwsskO/eypivBbZApXsRs05JRr72meEVCXgxMjl mfoQ== X-Gm-Message-State: AOJu0YyZJ77FMTE5ypmMMfe08a+1xjpTJqEVcipo7khx0frHOBogE4mz c7rYVPBWnW4B0+UWNLLsBnE6jMYWWHnHFArqti0CfA== X-Google-Smtp-Source: AGHT+IHNjbPocfOapzruHHkOSM0gBYdeN9YzEb9OGi/a0yQ9a+TId3ZzRP/xtB5m5r4YaOhU3X77DPcN8RZinfnXLMw= X-Received: by 2002:a25:d450:0:b0:d81:61fd:ef5d with SMTP id m77-20020a25d450000000b00d8161fdef5dmr1350219ybf.27.1694778440112; Fri, 15 Sep 2023 04:47:20 -0700 (PDT) MIME-Version: 1.0 References: <20230915092003.658361-1-ulf.hansson@linaro.org> <20230915092003.658361-5-ulf.hansson@linaro.org> In-Reply-To: From: Ulf Hansson Date: Fri, 15 Sep 2023 13:46:44 +0200 Message-ID: Subject: Re: [PATCH v2 04/17] pmdomain: apple: Move Kconfig option to the pmdomain subsystem To: Eric Curtin , Neal Gompa Cc: Arnd Bergmann , Olof Johansson , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Hector Martin , Sven Peter , Alyssa Rosenzweig , asahi@lists.linux.dev X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230915_044723_511410_DB0281AB X-CRM114-Status: GOOD ( 21.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org + Neal On Fri, 15 Sept 2023 at 11:45, Eric Curtin wrote: > > On Fri, 15 Sept 2023 at 10:29, Ulf Hansson wrote: > > > > The Kconfig option belongs closer to the corresponding implementation, > > hence let's move it from the soc subsystem to the pmdomain subsystem. > > > > Cc: Hector Martin > > Cc: Sven Peter > > Cc: Alyssa Rosenzweig > > Cc: > > Signed-off-by: Ulf Hansson > > This patch in the patchset looks the same as yesterday, so... > > Reviewed-by: Eric Curtin Yes my bad, again. I forgot to add yours and Neal's tags, sorry. Thanks! Kind regards Uffe > > Is mise le meas/Regards, > > Eric Curtin > > > --- > > drivers/pmdomain/Kconfig | 1 + > > drivers/pmdomain/apple/Kconfig | 18 ++++++++++++++++++ > > drivers/soc/apple/Kconfig | 13 ------------- > > 3 files changed, 19 insertions(+), 13 deletions(-) > > create mode 100644 drivers/pmdomain/apple/Kconfig > > > > diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig > > index 03c8991ad0fd..482d9e970e14 100644 > > --- a/drivers/pmdomain/Kconfig > > +++ b/drivers/pmdomain/Kconfig > > @@ -3,5 +3,6 @@ menu "PM Domains" > > > > source "drivers/pmdomain/actions/Kconfig" > > source "drivers/pmdomain/amlogic/Kconfig" > > +source "drivers/pmdomain/apple/Kconfig" > > > > endmenu > > diff --git a/drivers/pmdomain/apple/Kconfig b/drivers/pmdomain/apple/Kconfig > > new file mode 100644 > > index 000000000000..12237cbcfaa9 > > --- /dev/null > > +++ b/drivers/pmdomain/apple/Kconfig > > @@ -0,0 +1,18 @@ > > +# SPDX-License-Identifier: GPL-2.0-only > > + > > +if ARCH_APPLE || COMPILE_TEST > > + > > +config APPLE_PMGR_PWRSTATE > > + bool "Apple SoC PMGR power state control" > > + depends on PM > > + select REGMAP > > + select MFD_SYSCON > > + select PM_GENERIC_DOMAINS > > + select RESET_CONTROLLER > > + default ARCH_APPLE > > + help > > + The PMGR block in Apple SoCs provides high-level power state > > + controls for SoC devices. This driver manages them through the > > + generic power domain framework, and also provides reset support. > > + > > +endif > > diff --git a/drivers/soc/apple/Kconfig b/drivers/soc/apple/Kconfig > > index a1596fefacff..eff486a77337 100644 > > --- a/drivers/soc/apple/Kconfig > > +++ b/drivers/soc/apple/Kconfig > > @@ -4,19 +4,6 @@ if ARCH_APPLE || COMPILE_TEST > > > > menu "Apple SoC drivers" > > > > -config APPLE_PMGR_PWRSTATE > > - bool "Apple SoC PMGR power state control" > > - depends on PM > > - select REGMAP > > - select MFD_SYSCON > > - select PM_GENERIC_DOMAINS > > - select RESET_CONTROLLER > > - default ARCH_APPLE > > - help > > - The PMGR block in Apple SoCs provides high-level power state > > - controls for SoC devices. This driver manages them through the > > - generic power domain framework, and also provides reset support. > > - > > config APPLE_RTKIT > > tristate "Apple RTKit co-processor IPC protocol" > > depends on MAILBOX > > -- > > 2.34.1 > > > > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel