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 0E82DEE644D for ; Fri, 15 Sep 2023 09:22:11 +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:References:In-Reply-To: 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: List-Owner; bh=qJYLkGhGaMjKgRYE0PCRxZtXzpbuQwZJ0zVLkJdAmLw=; b=0FY1epp4u2d7LY /hWZR5hWBQ6T7ADly/6oWlIpYkWh7sZdicCQAED//Yr0WIOZs4g4Wix6Qa5AyzlkLsB/x1sTvTpRh PHlz/j+7WUkj88F5ypq0c8Jgo3ykvbAXIZfF44hJpwF04AZamIMKW5leboDcZbUrnL2QkuT+bOw3Q KNnBp5eYjM07mc6ovtJ8z9zBOeqrHGjCLHmw8ZaopeBgoTZC/aPF//Xf7IccXKt8OPIJZdIsVAjae viVm4EgguafD0BSGXlzoWyQwFFmrgOIFGSPfDnkVMc2aDUoMh0m8ha6wVTF9eGLKVE+QUs3RW77bl 6JwcWTfc0SkYEH1O1REQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qh519-00AG2S-3A; Fri, 15 Sep 2023 09:21:39 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qh510-00AFqU-1B for linux-arm-kernel@lists.infradead.org; Fri, 15 Sep 2023 09:21:31 +0000 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b962c226ceso30025591fa.3 for ; Fri, 15 Sep 2023 02:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694769689; x=1695374489; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JuZx/GEW25gG646YvVI9ekfBTZl9JZLAF7Xs48rC/qQ=; b=qeuUln2ISk5b1IcsTRwvMUmhH4Xv63KF5+oU/eJEC4qlctmJO+E5N1XoZV49d0ws0f DkzCQjQ/uCIQ5gFPwlDsnxGo5AEUc0mR7npmQHI5LU8DRDss/uEn9/7sdgWtUq1rjA7u txYJAl0ewIUAsepHGPFGlhP1jENCgC5JX8LJlTTuyUOtPuT1xoCj6smz2xes/mZC0dXl fyoB/hnOzQuVrYb5ELNPxSG0ZN5tGRWLcdBRA3P5LHJA2b14ztYNEkp6hKdudLGwxF+q Fe+YD0sSMH9QxtLXlkciM0zg03iCAUfeFQTA3cCeoTrhT0LykEsFzRobdqAGoTjQ24Ra d9EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694769689; x=1695374489; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JuZx/GEW25gG646YvVI9ekfBTZl9JZLAF7Xs48rC/qQ=; b=m9LFCtdOAMxsGePSvws0DLx2fdwLFKI/UQ+dLaNw4FtiGmnN62BafEh2+z9TdALidX wECvmkIXUa2CiMfpxi74N6/5udzNKJ0gImVg+gc6Bj0dCCiJs7TpZB7jWiIWSj+F3xOx EICK9JDzFZwoXRFxOItYJR5u5JdRYA0oXwKfPEQDQVaGafrkGcr/iK6wrh7XjE0QNEzr iSUJwtpRNFFQLfyTpw22H2yT+DJx9d0Bj5baisLATx5my8VqEqWmgs0FUPMR98xU/ibP NhUBGwmMj9BOoeaAiO55q0dMukCP8FJygRynEPRDbNZD6An9SjXLPPog4WOAUyhtr+9f HV3A== X-Gm-Message-State: AOJu0YwyBFs7WnXXBBwVVNNs2cB/OCob79YuR+p8Dlk1i+eRwSRxQ7UU E9EZiLHlrvGtGK53fUZ5b4NeeQ== X-Google-Smtp-Source: AGHT+IEVb+rybmAw/IHW2BTXH8tfpMjLEmySPO9nsUGKFLlub7WqeGnWblxKCQk1yld1rt/N2pe2jA== X-Received: by 2002:a2e:93c2:0:b0:2bc:da4a:4649 with SMTP id p2-20020a2e93c2000000b002bcda4a4649mr1078194ljh.22.1694769689024; Fri, 15 Sep 2023 02:21:29 -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.21.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 02:21:28 -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 v2 14/17] pmdomain: sunxi: Move Kconfig option to the pmdomain subsystem Date: Fri, 15 Sep 2023 11:20:00 +0200 Message-Id: <20230915092003.658361-15-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230915092003.658361-1-ulf.hansson@linaro.org> References: <20230915092003.658361-1-ulf.hansson@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230915_022130_402984_5B3B0F06 X-CRM114-Status: GOOD ( 16.41 ) 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: Acked-by: Jernej Skrabec 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 2286c36076db..10c3bc2e2444 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