Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4621693rdb; Fri, 15 Sep 2023 07:40:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH7OftexYN2WqF6C5+zRZaBFzicpIdPKwcEcEktdu8VcdMoczx6l5w993htNryK/P6L7itF X-Received: by 2002:a05:6a00:410e:b0:68a:42d0:6b9b with SMTP id bu14-20020a056a00410e00b0068a42d06b9bmr1860708pfb.3.1694788824358; Fri, 15 Sep 2023 07:40:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694788824; cv=none; d=google.com; s=arc-20160816; b=TzdWbWZ3ePgVB9IQDNiLSKaG3Q9hCahUEecwD2DwjzxbZb1UFD2/a786CLhTsfBYb/ vAG/EtB/17TWUaToBBHEuzwhH/T5DiZDkFTBj+blXmjydcBIjP8b+nOsa6vmP961JSqw lx0jfSWyN2UV9hqpuNew90fU9lkUzLQDWFwEZaES4AsRpErHbb0YSf2GkQ7fyz1qKAkE OpngyTLEhpvzVEDcPbBEs/sTyMbfAUI3E/Dg5O0by4u25HT3w/mmz5dVrTyTkGx3kzc8 Z/awcJ38eEwKgeU7MFwkACIZ7Rs6LPnDG7vsYeAXbh/Mz67Nv18VxNrCwFMmHkbnVNXF KXXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0gMxgrLH8hAqI78TYEwxUv2pVCfDSw58e/K0s6X8qpQ=; fh=edh/IZcN7z1cQPy44vqsleF6FlL3o5KpmDayJLMEpio=; b=Lr7MkQrUOigjzQcwo0wSnmICyMe9MYjcT/S/dJFl6yehfn74HbAVKp3W1zzM0+l84W +rubfScCuiNS1DqIh62u+sbCGQaez5D+VNQVPQ5o08kW6k+sRHKDJ3Fr/T3Bsdc4UjU5 nr00Ubx1nz/TuxtkHJxjuFFcl04h/RkGvjscyGUB9GxNs23tcUJvyi8MZeq3MYo5lMa3 M4hRjduSC4RU9MqHHHs3rNk+Oo+KNNTx20003qakBLPK4hZTPmrfZzFt65/kGlYKQaSi 2CkE7liYNDeHTfQPKqdgYyZlYlOqXgrGjWvSw7SGS+rLuBbgGKUm+KYO0HAFMviWIAEe sn0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m9EHb03q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id bs123-20020a632881000000b0057408ac52aasi1569742pgb.381.2023.09.15.07.40.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 07:40:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m9EHb03q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2778F8352EE6; Fri, 15 Sep 2023 02:22:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233841AbjIOJW2 (ORCPT + 99 others); Fri, 15 Sep 2023 05:22:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233726AbjIOJVy (ORCPT ); Fri, 15 Sep 2023 05:21:54 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FD85272A for ; Fri, 15 Sep 2023 02:21:32 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2bf5bf33bcdso32008211fa.0 for ; Fri, 15 Sep 2023 02:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694769690; x=1695374490; darn=vger.kernel.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=m9EHb03qwFkHFRxKPPTBlJC1GPblNh5KWKwqCWZWhUQJbXARoxmIhEC+XHs0gbdMUM FjVH9pV5FO4nm/eINjHGt3vMwAry3dsA8RpFnNLRs7PfedJ+ltmoqbEuWYi0T+bPboWu UCNqQF52/gzPm0KnNfN7JiH4icKqEOOs93xU+pSr7UhAb7LqcTuCA+Q61z69BCFv8lrn 7Q5HKTSZAyAaRszXMjUolVIZzPMYY3IvoDJdOVwI5yIslSrTmdE053TGemztbzKyhdZG O+lBcIw+OuoO8mk/adF1vdjt631M9Xg31xwFl5u/4Y4r26uDrb5lt+ggvheP0afYie1m MAFw== 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=MUZOeYzoTzhAtXIrmtp1pQiKK3b3yJSblJ499Nc/amhtaEYhUUPbNGtuo4RO+ihxW2 DRc9WnVtLndWUtO+R89gG9xvNk5GylA4AgliBEQBKb6IvFQkN1pbdgfeRRx2n5rCpJiZ nQfaziEVDt2WrmDNd24Ipjj0bkNXjnkT4CfOUnWJVnxXUCpMiW8muCN1HZwKhwA7wiCK p/pkrF+EnYc3urcEoman7h4yaX3BfYZVtAG6bjO2LcNK3bJrmUnPi26oFISeM5iLDv5/ ajveJs4TsWugBBmMCpS9gng+U5YbZuRmgE1RU3NS7j/7DQnTWRR7mAN/fiibFI2a7R49 HhMg== X-Gm-Message-State: AOJu0Yyy1RwsQZa8bniZXO+XHNCmhfEX1p22XFHvuVQ2jI9AitbFayoy tRG4SJWnlQesCMGJQJSkBW9sZA== 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 02:22:35 -0700 (PDT) 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