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 30E95EE644C for ; Fri, 15 Sep 2023 09:22:17 +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=n74DoXaM3n4BufERcsKIhwqzHHo7UFOXEIy5Ayhzq0w=; b=4JCBcDXr7LZExZ jiZBQEIRQHbdwQl8rqZZo7y1Rc5O4R9lUmfOU2S9y4r/gndDYUwk/JCIITJqI73w7EFjfvWsC3jes 8EdOr3qM3SNFK8g2LhscCYMoxoWoE/aHpywIKtgAMQn27SYZXsZLA5/LVAo9pTsHWNwD21sRRSqNg ubnVyPlY+pva2pPzUo/yv6fc0xSjdx0lIXzkASHDGWPmkCTteb04fOC6EdNCIQtMl2F4Ke4vv+m/K l8q0ftfvZXzQIPbezS3TzgEddbnhHMohdlw9xoP2Qo+Jl0OmpBXmdGwoaWwS8a6HifwBg1D3elbeu BpJVkqXcQt038UUyjy5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qh51G-00AG7j-0Y; Fri, 15 Sep 2023 09:21:46 +0000 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qh512-00AFsD-2d for linux-arm-kernel@lists.infradead.org; Fri, 15 Sep 2023 09:21:34 +0000 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2b703a0453fso31640781fa.3 for ; Fri, 15 Sep 2023 02:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694769690; x=1695374490; 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=0gMxgrLH8hAqI78TYEwxUv2pVCfDSw58e/K0s6X8qpQ=; b=hGGqAB2WjD15D4sXb3Jxv7EPMkZ0BbZ/uFsb7Z+TKi63phGXKmgtjU2XayGuhMOUoR kCvpO4I0vZCQU/aHfbQjtgsQMr4Pw8KYLGNYbhsA1dBK3O3FlBIo/+5diIQAlLVYZx7V myg7hd81B8EzSrrbeDcYX5OSc/KXjBhpU7At5uqhBoAgIvcVViNHVbPZtmcHoigGiDrO VehpXd4UhcpthSiJgf7rLBLH8oOo4FcOYrLT2ftM+ObOQcDusa+jtey6O5WBw4YRC0XY lk3mwxUdahJebY+OPH0R1YVsK7ifmaG3/gsyGIV/JTc4oRKDjnVHg18PHMzMU+9ql+dw 4EbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694769690; x=1695374490; 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=0gMxgrLH8hAqI78TYEwxUv2pVCfDSw58e/K0s6X8qpQ=; b=Zc5wmn1t5ATEdiPlZhT94lntluFWu6GC6AJoDtyz0a0nSE8BIVmtR7B885kH6KFi5S vadAIWIg6G2KjGKW0OYyi5sG7ZftrHoF1beDJ6D4DjwvcCDC7PtYCl7ymeftQQI1a27V V4KXD70n8TXAkDpYQvOZM399jBFzEb5Tyzl5t734iekCMESrEjc3phEA5iy8svV5Zd9W hezFDuW4K649ttPbiTzy4wxA+G774Q2BTf8dM1b5sFTUWFELjQqWnEbz606kNZM9ZwKG D3+KVxzhXt9FtHhE7NpGk/tAAKZdZM1TouF573SLmP856jDAaWzy0smOvpMucF5QEr7k EyRA== X-Gm-Message-State: AOJu0Yx+VhwKMq1O3gSefzIxkvJzaKb8UKmJ6EWyoDdl1q9UU+7jIApi ebZ9P5U2VFKZ6vSl4QcxGhke4g== X-Google-Smtp-Source: AGHT+IEW7ELR0BC0aaaD7PdqOlQ9YNfd9KQIzAAoLD8DzPpKbNrDvmiROuNK6D31n0onkDPudHUjUg== X-Received: by 2002:a2e:9409:0:b0:2bd:1bca:ebee with SMTP id i9-20020a2e9409000000b002bd1bcaebeemr874287ljh.19.1694769690056; Fri, 15 Sep 2023 02:21:30 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 02:21:29 -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, Thierry Reding , Jonathan Hunter , Mikko Perttunen , linux-tegra@vger.kernel.org Subject: [PATCH v2 15/17] pmdomain: tegra: Move Kconfig option to the pmdomain subsystem Date: Fri, 15 Sep 2023 11:20:01 +0200 Message-Id: <20230915092003.658361-16-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_022132_864944_A8C99AE6 X-CRM114-Status: GOOD ( 14.95 ) 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: Thierry Reding Cc: Jonathan Hunter Cc: Mikko Perttunen Cc: Signed-off-by: Ulf Hansson --- drivers/pmdomain/Kconfig | 1 + drivers/pmdomain/tegra/Kconfig | 6 ++++++ drivers/soc/tegra/Kconfig | 5 ----- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 drivers/pmdomain/tegra/Kconfig diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig index 10c3bc2e2444..98e04589bef4 100644 --- a/drivers/pmdomain/Kconfig +++ b/drivers/pmdomain/Kconfig @@ -14,5 +14,6 @@ source "drivers/pmdomain/samsung/Kconfig" source "drivers/pmdomain/st/Kconfig" source "drivers/pmdomain/starfive/Kconfig" source "drivers/pmdomain/sunxi/Kconfig" +source "drivers/pmdomain/tegra/Kconfig" endmenu diff --git a/drivers/pmdomain/tegra/Kconfig b/drivers/pmdomain/tegra/Kconfig new file mode 100644 index 000000000000..13ade6d84696 --- /dev/null +++ b/drivers/pmdomain/tegra/Kconfig @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0-only + +config SOC_TEGRA_POWERGATE_BPMP + def_bool y + depends on PM_GENERIC_DOMAINS + depends on TEGRA_BPMP diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig index 6f3098822969..f16beeabaa92 100644 --- a/drivers/soc/tegra/Kconfig +++ b/drivers/soc/tegra/Kconfig @@ -152,11 +152,6 @@ config SOC_TEGRA_PMC select PM_GENERIC_DOMAINS select REGMAP -config SOC_TEGRA_POWERGATE_BPMP - def_bool y - depends on PM_GENERIC_DOMAINS - depends on TEGRA_BPMP - config SOC_TEGRA20_VOLTAGE_COUPLER bool "Voltage scaling support for Tegra20 SoCs" depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel