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 21AD6EDE9A6 for ; Thu, 14 Sep 2023 11:19:43 +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=cookZHIqy523/V04efr+y1RR5mEcHoqJOay/u3weWBA=; b=hd03W//ZwLFgiv lSdgNPIBfYpr9BlmAZ7xNz+lol9NWPVjcd/2P6Gmiw+z420Jtv+AWPTFatpBUwAIBlI7zKIu/ROvY 9GWmm0nIEepB3oivpxSttX+57IcHG9yGlsOIhfSNv+6x7cdEdVTB8TLslbONNxs3i8PA+k6IWVJVi Kkm9Cf/us9LpeLTj17Btw3kJ9uXorxir4yg0FlBHxQVt6ejbpv5A0xRLwOjUKJSmfHUkptRs6BpbP EPEtXOiTJDtd8PrpBDd6EfqYA4T1n3uTocX0nrwsxfApg7V42UrnblZg2UP/uLbib26LDF1cLv/cm j86LVkvGWkJ5nkrt8mVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qgkNT-008DvL-1F; Thu, 14 Sep 2023 11:19:19 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qgkNQ-008DuG-2L for linux-arm-kernel@lists.infradead.org; Thu, 14 Sep 2023 11:19:18 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-502d9ce31cbso1372452e87.3 for ; Thu, 14 Sep 2023 04:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694690355; x=1695295155; 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=/kiVpD+HqGq1+e/c8vvIDGsaa2qWD6QDzovb4cVyxMw=; b=hy4sUWLgw3FJv0yjF4KARmZ7K31sA8ZcXX6RBz7PxnyYX2mMAs8n9dkh2wNMJ4IgT4 DXpZ9Us1UYTVAKyMRLmZiuQ1XC7LiQu1ZNBHM8PGATzxlQOrtbrpP1N2O7ThVMsKOZjp FZnKG/FSrbiDvxwfRGY1U+v12g+P/aTTkI9U2JsVdsBxAgPGiyVcm5ritCh+k3DkoONC 859lyyJzFGzWSi+CnbG/F1tYj3oVOL6bzsb003JqXE9A8jC1iUyHxlP6pq9c2uI7+7kp 5LM43r8BV4h+lqXeg01zxDBlHIn6JpXR03XFR7LLebBI82SBYcj2oIpBkca5ZdPgtXUo xJgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694690355; x=1695295155; 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=/kiVpD+HqGq1+e/c8vvIDGsaa2qWD6QDzovb4cVyxMw=; b=EHGOh7moZavPt89TobLqVc4wqz7eCQIgkv6Lab6b0QyXet/AfXJiBgk8WxLBrYdCAi cAtz2SQk4BLCZ6qCSRxd7iX6j8exfRUoFVZTwFM2+a292rpVhQlVGuSDXr/jTZjQugzE /QtP4HvQ/U9+oE9Whi9n43YhYf3Lz3uimZpAjSGwI38ogDk+7t0cGEH6Pody8aUdFExN eE9VyigDV/bcDYFucHgG1haRkxF8ewzK+ICRHQk1kjN1Qt7G2WAFhbRe6WOQECjt87nu vn8Zi7rd2eGmP4V2wpvHTh9yZkFCokcKFTsE8Smnib97OmG3Ddk+RniYqmcijUzviyt4 TmDw== X-Gm-Message-State: AOJu0YwBlYgmskJgNcoKcZlMoOMJzeg2BnTi8vxJBY4wtfSwwWTnxL88 DilFrphhesk0ekZi+9/jKX4ISQ== X-Google-Smtp-Source: AGHT+IFqkXKsu67+BKk6H70B+cKDioBZ+IuAUNUhmOS/mLfep1SUOlJkgAmyyCuS8EBH4ZwvZ6equA== X-Received: by 2002:a05:6512:3c93:b0:500:c3d1:4d60 with SMTP id h19-20020a0565123c9300b00500c3d14d60mr5381224lfv.24.1694690355165; Thu, 14 Sep 2023 04:19:15 -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 c5-20020a197605000000b004edc72be17csm236671lff.2.2023.09.14.04.19.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 04:19:14 -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, Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , linux-sunxi@lists.linux.dev Subject: [PATCH 14/17] pmdomain: sunxi: Move Kconfig option to the pmdomain subsystem Date: Thu, 14 Sep 2023 13:19:12 +0200 Message-Id: <20230914111912.586764-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-20230914_041916_760119_04319523 X-CRM114-Status: GOOD ( 15.74 ) 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 The Kconfig option belongs closer to the corresponding implementation, hence let's move it from the soc subsystem to the pmdomain subsystem. Cc: Chen-Yu Tsai Cc: Jernej Skrabec Cc: Samuel Holland Cc: Signed-off-by: Ulf Hansson --- drivers/pmdomain/Kconfig | 1 + drivers/pmdomain/sunxi/Kconfig | 10 ++++++++++ drivers/soc/sunxi/Kconfig | 9 --------- 3 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 drivers/pmdomain/sunxi/Kconfig diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig index 67049ebf7265..39f358f27f2e 100644 --- a/drivers/pmdomain/Kconfig +++ b/drivers/pmdomain/Kconfig @@ -13,5 +13,6 @@ source "drivers/pmdomain/rockchip/Kconfig" source "drivers/pmdomain/samsung/Kconfig" source "drivers/pmdomain/st/Kconfig" source "drivers/pmdomain/starfive/Kconfig" +source "drivers/pmdomain/sunxi/Kconfig" endmenu diff --git a/drivers/pmdomain/sunxi/Kconfig b/drivers/pmdomain/sunxi/Kconfig new file mode 100644 index 000000000000..17781bf8d86d --- /dev/null +++ b/drivers/pmdomain/sunxi/Kconfig @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: GPL-2.0-only + +config SUN20I_PPU + bool "Allwinner D1 PPU power domain driver" + depends on ARCH_SUNXI || COMPILE_TEST + depends on PM + select PM_GENERIC_DOMAINS + help + Say y to enable the PPU power domain driver. This saves power + when certain peripherals, such as the video engine, are idle. diff --git a/drivers/soc/sunxi/Kconfig b/drivers/soc/sunxi/Kconfig index c5070914fc6a..8aecbc9b1976 100644 --- a/drivers/soc/sunxi/Kconfig +++ b/drivers/soc/sunxi/Kconfig @@ -19,12 +19,3 @@ config SUNXI_SRAM Say y here to enable the SRAM controller support. This device is responsible on mapping the SRAM in the sunXi SoCs whether to the CPU/DMA, or to the devices. - -config SUN20I_PPU - bool "Allwinner D1 PPU power domain driver" - depends on ARCH_SUNXI || COMPILE_TEST - depends on PM - select PM_GENERIC_DOMAINS - help - Say y to enable the PPU power domain driver. This saves power - when certain peripherals, such as the video engine, are idle. -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel