From patchwork Fri Sep 15 09:19:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 13386676 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 CB57EEE644B for ; Fri, 15 Sep 2023 09:21:30 +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:MIME-Version:Message-Id:Date:Subject:Cc :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=sxusxfXyeXRFIujhN+z0TBvEX6XXjRyvYEDp8wKkGJg=; b=ZVZQ95KsQITj/W KMVH06XizdhfLpJL86JvwIlRdi9k8lOUmgPc5unGP46HURcfcrkbnj/kw1wVQJBbiMndIqO5s0kvh ivdMh4fxRFIsD0hYod8fjoWZNqbDoXMbDTaDQe2a2gno/CE+S94i8P4BmrgFuGF6IClPK8CsdNFIp V/YmNN5dcellzuUWimKnmbh65KJ4dagmwMyn5d7M2h9bqLhtNg7PxavA2ZN4sMMHYhZNapWgZuifB dExB+yg7AGCwEkJ93Pe985KcqjbFYfPCqsvlTjmrCvcPTF+x0YYpNPM0F7QvtxIBtjp2OKSM3gNim JKqAd2NAGJNYYxRKGt6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qh50X-00AFM8-2M; Fri, 15 Sep 2023 09:21:01 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qh50S-00AFKh-0Y for linux-arm-kernel@lists.infradead.org; Fri, 15 Sep 2023 09:20:57 +0000 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2bfd3790178so11133141fa.2 for ; Fri, 15 Sep 2023 02:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694769653; x=1695374453; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=tRN1XdzJacU86KA2sgdtoR/fhwi3XR+ap0UjyCz9bgI=; b=tavOfiDE4150SohVcKHIK0MiM6yu1nnm7Nact2f7hdA5sb1dcQc3wuCrqm6IjmKTU4 ssdCmXz1fIXtx2yH3gR4NQFfvuUG3EQgZHktr3nM4H6tOZbCyo/PZz2CfJW6ULNdydce xD21gY4C7EdGz4K9w7FcmwJTRVmI6LmFXXfL7Oyy6nhGms12MRs9ZZcmrXtZFRH6KoFy +BcZsLBZwA0fPF0ZU04tsjW3RXPwdPK0AvDoUdDi8M1IOSNMr0icf5jHBj7fKF3yP2ZF KeBWGbMB+xg3VGggfGRcxj3HuyKnlzf2AKEQ5PIK5053hSym6buXoCgAaXUtOD9FdXuY 74lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694769653; x=1695374453; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tRN1XdzJacU86KA2sgdtoR/fhwi3XR+ap0UjyCz9bgI=; b=VjDWLSzbji4BGrIaMJMo9M2q2Gij3CPSTEWI70CjeMxWc6+MwsPu3ZU7Jf1EXaYr+3 gqnyk0IL9mWApkVaH5cfIz2q64oM1H3Q/fKAgou6EODjL3JDkxfOMk5d0eAmJCIO0mOX K2pTDBsasx8o3cnHdLq4APhnK7rGifcfgx+G0wgGsuC2ZEO7nVWo8e8Ur8LzqtVy8jl1 N0MMZinpIuPMr+YB1OTlE8OEJdfGvi7n3hevbZpSBCrQmADchidKbk4UijjIP5GaQCeC Xfg/fZUWr3Eu8ivZwoUp0Wr4OtfqKCgNYW4xVzjyk5aMTqFQfKzTKKpH/wLWJY67fmOm BTIQ== X-Gm-Message-State: AOJu0YynFjnaH+AZWzzOATYg1b+gf7N0s55KrtmcSEFir1BKyEBp74TN Vnkd8mnLGpHWx1rGgy8vMIDRRg== X-Google-Smtp-Source: AGHT+IFPBeirKxDCzno2Ml5PSyGJnKmUqqzDn0PD9t+Uea0lh+TBbyvdIMfgMmMwXrBvSOj4FGCg1A== X-Received: by 2002:a2e:8545:0:b0:2bf:d068:d926 with SMTP id u5-20020a2e8545000000b002bfd068d926mr1149971ljj.41.1694769652086; Fri, 15 Sep 2023 02:20:52 -0700 (PDT) Received: from uffe-tuxpro14.. (h-94-254-63-18.NA.cust.bahnhof.se. [94.254.63.18]) by smtp.gmail.com with ESMTPSA id p8-20020a2e7408000000b002b9ec22d9fasm639376ljc.29.2023.09.15.02.20.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 02:20:51 -0700 (PDT) From: Ulf Hansson To: Arnd Bergmann , Olof Johansson Cc: Ulf Hansson , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Michal Simek , Nishanth Menon , Santosh Shilimkar , Tero Kristo , Tony Lindgren , Thierry Reding , Jonathan Hunter , Mikko Perttunen , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Walker Chen , Conor Dooley , Krzysztof Kozlowski , Alim Akhtar , Heiko Stuebner , Geert Uytterhoeven , Magnus Damm , Bjorn Andersson , Konrad Dybcio , Andy Gross , Matthias Brugger , AngeloGioacchino Del Regno , Shawn Guo , Sascha Hauer , Fabio Estevam , Florian Fainelli , Ray Jui , Scott Branden , Hector Martin , Sven Peter , Alyssa Rosenzweig , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Andreas Farber , Manivannan Sadhasivam Subject: [PATCH v2 00/17] pmdomain: Move Kconfig options/files to the pmdomain subsystem Date: Fri, 15 Sep 2023 11:19:46 +0200 Message-Id: <20230915092003.658361-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230915_022056_213932_63531AC3 X-CRM114-Status: GOOD ( 22.21 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Changes in v2: - Posted as a proper series, I screwed up last time. - Fixed bug in patch1, according to comments from Geert. - Moved to use "PM domains" in menus/submenus. - Updated MAINTAINERS for starfive, according comments from Conor/Walker. - Added some tags. Recently we added a new subsystem to host pmdomain (genpd) providers and moved a bunch of code for them in there. However, their corresponding Kconfig options/files was not moved in that first step, but instead that is taken care of in this series. Ideally it should be easier to keep Kconfig options closer to their corresponding implementations. Note that, I am planning to queue this up via my pmdomain tree [1] as soon as I have received enough of reviewed/acked-by tags from soc maintainers. If you have reasons to belive that this can be problem, due to conflicts etc, please let me know so we can figure out a way forward. Kind regards Uffe [1] git git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git next Ulf Hansson (17): pmdomain: Prepare to move Kconfig files into the pmdomain subsystem pmdomain: actions: Move Kconfig file to the pmdomain subsystem pmdomain: amlogic: Move Kconfig options to the pmdomain subsystem pmdomain: apple: Move Kconfig option to the pmdomain subsystem pmdomain: bcm: Move Kconfig options to the pmdomain subsystem pmdomain: imx: Move Kconfig options to the pmdomain subsystem pmdomain: mediatek: Move Kconfig options to the pmdomain subsystem pmdomain: qcom: Move Kconfig options to the pmdomain subsystem pmdomain: renesas: Move Kconfig options to the pmdomain subsystem pmdomain: rockchip: Move Kconfig option to the pmdomain subsystem pmdomain: samsung: Move Kconfig option to the pmdomain subsystem pmdomain: st: Add a Kconfig option for the ux500 power domain pmdomain: starfive: Move Kconfig file to the pmdomain subsystem pmdomain: sunxi: Move Kconfig option to the pmdomain subsystem pmdomain: tegra: Move Kconfig option to the pmdomain subsystem pmdomain: ti: Move and add Kconfig options to the pmdomain subsystem pmdomain: xilinx: Move Kconfig option to the pmdomain subsystem MAINTAINERS | 5 +- drivers/Kconfig | 2 + drivers/firmware/imx/Kconfig | 6 -- drivers/pmdomain/Kconfig | 21 ++++ drivers/{soc => pmdomain}/actions/Kconfig | 0 drivers/pmdomain/amlogic/Kconfig | 39 ++++++++ drivers/pmdomain/apple/Kconfig | 18 ++++ drivers/pmdomain/bcm/Kconfig | 46 +++++++++ drivers/pmdomain/imx/Kconfig | 29 ++++++ drivers/pmdomain/mediatek/Kconfig | 29 ++++++ drivers/pmdomain/qcom/Kconfig | 41 ++++++++ drivers/pmdomain/renesas/Kconfig | 109 +++++++++++++++++++++ drivers/pmdomain/rockchip/Kconfig | 16 +++ drivers/pmdomain/samsung/Kconfig | 8 ++ drivers/pmdomain/st/Kconfig | 5 + drivers/pmdomain/st/Makefile | 2 +- drivers/{soc => pmdomain}/starfive/Kconfig | 0 drivers/pmdomain/sunxi/Kconfig | 10 ++ drivers/pmdomain/tegra/Kconfig | 6 ++ drivers/pmdomain/ti/Kconfig | 22 +++++ drivers/pmdomain/ti/Makefile | 2 +- drivers/pmdomain/xilinx/Kconfig | 10 ++ drivers/soc/Kconfig | 2 - drivers/soc/amlogic/Kconfig | 35 ------- drivers/soc/apple/Kconfig | 13 --- drivers/soc/bcm/Kconfig | 42 -------- drivers/soc/imx/Kconfig | 19 ---- drivers/soc/mediatek/Kconfig | 23 ----- drivers/soc/qcom/Kconfig | 37 ------- drivers/soc/renesas/Kconfig | 105 -------------------- drivers/soc/rockchip/Kconfig | 12 --- drivers/soc/samsung/Kconfig | 4 - drivers/soc/sunxi/Kconfig | 9 -- drivers/soc/tegra/Kconfig | 5 - drivers/soc/ti/Kconfig | 12 --- drivers/soc/xilinx/Kconfig | 9 -- 36 files changed, 415 insertions(+), 338 deletions(-) create mode 100644 drivers/pmdomain/Kconfig rename drivers/{soc => pmdomain}/actions/Kconfig (100%) create mode 100644 drivers/pmdomain/amlogic/Kconfig create mode 100644 drivers/pmdomain/apple/Kconfig create mode 100644 drivers/pmdomain/bcm/Kconfig create mode 100644 drivers/pmdomain/imx/Kconfig create mode 100644 drivers/pmdomain/mediatek/Kconfig create mode 100644 drivers/pmdomain/qcom/Kconfig create mode 100644 drivers/pmdomain/renesas/Kconfig create mode 100644 drivers/pmdomain/rockchip/Kconfig create mode 100644 drivers/pmdomain/samsung/Kconfig create mode 100644 drivers/pmdomain/st/Kconfig rename drivers/{soc => pmdomain}/starfive/Kconfig (100%) create mode 100644 drivers/pmdomain/sunxi/Kconfig create mode 100644 drivers/pmdomain/tegra/Kconfig create mode 100644 drivers/pmdomain/ti/Kconfig create mode 100644 drivers/pmdomain/xilinx/Kconfig