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 0ADB5EE6447 for ; Fri, 15 Sep 2023 09:22:08 +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=NdZtuU0F26LACco8em4++w+BZTgpHnKj0FR4bKMymRA=; b=CGghreUqugFLqi lta8NZjMpDjPdTpS+nTu8k+8FYKNiE9P9L027ZU9P7lTo8+oC4n1FTIU/x7G6TuXVA8Wd/bMSxOzd 7KNOg+/ZT6EKIRHl4uh3eWYGrBM6DOjxpV0kGIKwaxgKO4tRl83FabYUBEKijGrworYuMM+3Xw6qk Db04oEytgPh9gGo17WbHug8cXDC2LWV4nMKW0uak/VQxn9rOJR6BwYZX5IcK7fPeUyKm+cvrlj7r0 Wdhq8Qi49pZw+ROboYu6cYljL5iE28wHLmz8zy5p3pFOOrZkXT2iFYZ2Pmk8E8366KuPgK369itar jZ24K7eDhqDD5QcGD8pA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qh513-00AFum-21; Fri, 15 Sep 2023 09:21:33 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qh50x-00AFmM-1M for linux-arm-kernel@lists.infradead.org; Fri, 15 Sep 2023 09:21:29 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2bcd7a207f7so30217891fa.3 for ; Fri, 15 Sep 2023 02:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694769685; x=1695374485; 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=VKisBqk8Z2ap1nSKbct53Lj3iZDRshdX+0gS7XeCa7I=; b=yFyosw9ktslrlcieCCiLnuDKKueUc6czEG1+LXCBUH8TfnUfVp98x4Oi7HOqUrw2Af wRdHZFD48+v2Z9O+lNVBEi2aeiROGBat8K+cpOD17KBFelI9Vh4wxWrBIP/Q+2UzS6Sz frd/EdbxOrL+kY1b3GxbCuzR0Xj3WcJSasYJlYKn4Rwp3RQb8BAzHAuLUjYC8uD+jsrC L88DXEysIWwWHGMGZNPUhbvGa4RDl0cxTgX7OPs+JEzAuxr7acqWpyLUK1rhmpOFT5Zj c+2hOEn72fzmyKmi63ycPIDRMaXYdWz42D0F7tPcDbqzWGIYZ5CJ7iZZqnuB/vtRaYBx X0zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694769685; x=1695374485; 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=VKisBqk8Z2ap1nSKbct53Lj3iZDRshdX+0gS7XeCa7I=; b=Z26vLuIYmxzCJEPeiEyMbUTKaAnhwwozA01kd86pFk+vPBXcqiikGoJPwNstxyzwLa /LAPpRvQO+f1ijWAKtEUR1WEK4TbsX7z0QE1Cw2b484ll0ijRhsurtBr531eyzNMWinx EHQDMXS4dlH+V7aIYoaI1Xg2gob4Oyptmac2EVVsl51t0z5QpVOwTCFVX/Tx43ycHwBn bUtIOgxaEo2J/l2EpAGx6kROUHMymvkaqFN598eM4weXDJXjTzKN7yl07NopgOH8cWn+ eE7SpVtJ8Yz+8dfovgfe48a+pabz+pfh7u7bHh2CHuARUAcKZE5u2pSOSRyA0Htv836E JLjg== X-Gm-Message-State: AOJu0YzezFDanXtVTvuXI+bEiLCHCJgePUQO71bLPe3bfVKJeeomiyLV dql7J0+yZxFFn7JgTLnSt+Wjnw== X-Google-Smtp-Source: AGHT+IGwwqHwyBASzYObjimxH00Ydcl+lAjOoi91ePvVUL0yYYiPtovN11NZd4EAB/QxxEpm7+DHfg== X-Received: by 2002:a2e:8055:0:b0:2bc:39f5:ecb4 with SMTP id p21-20020a2e8055000000b002bc39f5ecb4mr1074596ljg.25.1694769685101; Fri, 15 Sep 2023 02:21:25 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 02:21:24 -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, Heiko Stuebner , linux-rockchip@lists.infradead.org Subject: [PATCH v2 10/17] pmdomain: rockchip: Move Kconfig option to the pmdomain subsystem Date: Fri, 15 Sep 2023 11:19:56 +0200 Message-Id: <20230915092003.658361-11-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_022127_484597_2651E037 X-CRM114-Status: GOOD ( 17.67 ) 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: Heiko Stuebner Cc: Signed-off-by: Ulf Hansson --- drivers/pmdomain/Kconfig | 1 + drivers/pmdomain/rockchip/Kconfig | 16 ++++++++++++++++ drivers/soc/rockchip/Kconfig | 12 ------------ 3 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 drivers/pmdomain/rockchip/Kconfig diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig index 0a75a17f2f3a..8afe69251dd2 100644 --- a/drivers/pmdomain/Kconfig +++ b/drivers/pmdomain/Kconfig @@ -9,5 +9,6 @@ source "drivers/pmdomain/imx/Kconfig" source "drivers/pmdomain/mediatek/Kconfig" source "drivers/pmdomain/qcom/Kconfig" source "drivers/pmdomain/renesas/Kconfig" +source "drivers/pmdomain/rockchip/Kconfig" endmenu diff --git a/drivers/pmdomain/rockchip/Kconfig b/drivers/pmdomain/rockchip/Kconfig new file mode 100644 index 000000000000..b0d70f1a8439 --- /dev/null +++ b/drivers/pmdomain/rockchip/Kconfig @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0-only +if ARCH_ROCKCHIP || COMPILE_TEST + +config ROCKCHIP_PM_DOMAINS + bool "Rockchip generic power domain" + depends on PM + select PM_GENERIC_DOMAINS + help + Say y here to enable power domain support. + In order to meet high performance and low power requirements, a power + management unit is designed or saving power when RK3288 in low power + mode. The RK3288 PMU is dedicated for managing the power of the whole chip. + + If unsure, say N. + +endif diff --git a/drivers/soc/rockchip/Kconfig b/drivers/soc/rockchip/Kconfig index aff2f7e95237..785f60c6f3ad 100644 --- a/drivers/soc/rockchip/Kconfig +++ b/drivers/soc/rockchip/Kconfig @@ -22,18 +22,6 @@ config ROCKCHIP_IODOMAIN necessary for the io domain setting of the SoC to match the voltage supplied by the regulators. -config ROCKCHIP_PM_DOMAINS - bool "Rockchip generic power domain" - depends on PM - select PM_GENERIC_DOMAINS - help - Say y here to enable power domain support. - In order to meet high performance and low power requirements, a power - management unit is designed or saving power when RK3288 in low power - mode. The RK3288 PMU is dedicated for managing the power of the whole chip. - - If unsure, say N. - config ROCKCHIP_DTPM tristate "Rockchip DTPM hierarchy" depends on DTPM && m -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel