Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4568993rdb; Fri, 15 Sep 2023 06:20:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGe+sBWCvtrYfn29wGffVWMcJCt7eoYhCMALkpVOPS+pr07LgwoDu0dzWC5EfhfGYVhL2sv X-Received: by 2002:a17:90a:72c8:b0:271:9a75:6cda with SMTP id l8-20020a17090a72c800b002719a756cdamr1300134pjk.14.1694784011864; Fri, 15 Sep 2023 06:20:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694784011; cv=none; d=google.com; s=arc-20160816; b=zXUG1Zp+Ym7oYpIDt0nt1LfgNG/hjv6nukJcFqI19dmtOjTvCKNrTpo8OTES2F9ajM AprEIsdPyb4KubfRIApxnn6nLIOL7qnTadbNwvt7BU0zmE96SbaECadHB8y39gWI8PiC kwwaG7xEBVfWq2UKekRdoRmiLPRYVO2q0n6YUFJpOcE5OlTp1HcpH9NduXTAeZC3gAyh Y/xLPzIJMEsfJbM37nxQKncmtQIMge+EGkDZuJG4mwir6CJNyJhFLWrEUP3aCi3sFwob /VblKqXLb5IhhIY9YD3n8dDMfMr8VzT8HCDAuAaP6Bc6ieJPhTQUOpg6NeJVSdS+EFf2 OmAA== 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=lxVrkiCAkoIq59ofHyv2OHqXSOCmWARXvwgAt/o802g=; fh=6w4fX+ZahWU6iLm8Gzo4L5CzeCOF9sLS2z58/uP/Pp0=; b=iUPhrmRkUGpCguRmRUIv4/KaJqiW7BzQVdSGmW9YA0XL1zSt2oy76MXVFxv8uqnpOr 3i4/UpLIm4siLv5p/3UKhB+O3Xkj9x/PoPW/X4HoAwX9iOohmoSq6E3/eenClBwAVuMr 8+vlHz3LpJofhR/xxTAb0rqgWcTSrpmPH7GlJwOqT91ZMLed4Cc2/GHD/LoyMLYWwddk mrjhwVJ/5QEmYIqvlM3pFIFE8+rMeXnLdh+S/U3xWwdMVOLoAl4miZCSCl1wLd6aCi3C IlsKnplkO+5Dt8184Z+L5mpQ8fpB17PtkkaSmlyyhzsE0fosHCbuImCXCiDG4kyJ2QpP S0Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gx6kcamk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id a1-20020a17090a688100b0026825823da0si3403884pjd.59.2023.09.15.06.20.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 06:20:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gx6kcamk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id C47A28260AE1; Fri, 15 Sep 2023 02:22:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233502AbjIOJWI (ORCPT + 99 others); Fri, 15 Sep 2023 05:22:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233675AbjIOJVx (ORCPT ); Fri, 15 Sep 2023 05:21:53 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1081C271E for ; Fri, 15 Sep 2023 02:21:27 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2bfbbd55158so30722681fa.1 for ; Fri, 15 Sep 2023 02:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694769686; x=1695374486; 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=lxVrkiCAkoIq59ofHyv2OHqXSOCmWARXvwgAt/o802g=; b=Gx6kcamkcQfFh1/lEF6b1MwtdgJcqz8lXI/AqDOhLDIiJD1AT+0J/OsgIQ9sZf03zq quD8mjm0tQUGg8PgzsiwzRg0dTPRV0uOT8jaqAtxE+iGMagMfVZBLcHJeml5MzZO0eUP LhAIu7viUH8YIWEch5EE0yjo0sx8HlTkgpKJwf0ciJE0ylUP+Uw+RDV6g0XgYqjy6Uyi Cllf+UAqm3+veHcqVm/nY2KFkyK+7KXYKyloG/G/wWZofJveOXGjW9FP6PbKcmwYkHZr wLKV+OfHsEupWjzhx45w4PBkd5V3nEm1pS99Q7iURKYmcmGO3OH9vYbn9Be+o7tKu6jP LEDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694769686; x=1695374486; 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=lxVrkiCAkoIq59ofHyv2OHqXSOCmWARXvwgAt/o802g=; b=MgPxRQgMsNlJheNNhmiG9rUzV7Ug9ubsT1K0dcQv0oyRqV9ChfAqp2V1uP+rqV9x/L Uweahz7rxuElG2yznscXOEIvRTjfe5ZTQeMrBPYfNYCH8PQ+xjdHAE2Pv8umNu3LaqLZ hq+lI9ED1yYCj9aB2q8Aff9HOePQUmFxLiA9pH0UEJWQyRUStgza5KmKWa6E9Mz+SIPJ JsFI7/bqrC8Juaq+eZKeulhzruY05Wtj358iDHn5Dh/LP9jui5+XcKnxUzJJnX6v94QO GWEKKBwhLpo3Vk1RrnA3W4ygfRLFRWEO3sOOu3YM2LD5nV974AcUuLoC0sYpRbpr8071 nq1A== X-Gm-Message-State: AOJu0YwOKhN3JckeRXDQtmfxNXygvWewfAakRkAk/IxiqEEke1IOtPFT K5MXCzH6uwfV9Cuur7cgKsqwbg== X-Received: by 2002:a05:651c:1033:b0:2bc:d7d6:258f with SMTP id w19-20020a05651c103300b002bcd7d6258fmr907223ljm.35.1694769686215; Fri, 15 Sep 2023 02:21:26 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 02:21:25 -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, Krzysztof Kozlowski , Alim Akhtar , linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 11/17] pmdomain: samsung: Move Kconfig option to the pmdomain subsystem Date: Fri, 15 Sep 2023 11:19:57 +0200 Message-Id: <20230915092003.658361-12-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=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Fri, 15 Sep 2023 02:22:16 -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: Krzysztof Kozlowski Cc: Alim Akhtar Cc: Signed-off-by: Ulf Hansson --- drivers/pmdomain/Kconfig | 1 + drivers/pmdomain/samsung/Kconfig | 8 ++++++++ drivers/soc/samsung/Kconfig | 4 ---- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 drivers/pmdomain/samsung/Kconfig diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig index 8afe69251dd2..4a411e0985c3 100644 --- a/drivers/pmdomain/Kconfig +++ b/drivers/pmdomain/Kconfig @@ -10,5 +10,6 @@ source "drivers/pmdomain/mediatek/Kconfig" source "drivers/pmdomain/qcom/Kconfig" source "drivers/pmdomain/renesas/Kconfig" source "drivers/pmdomain/rockchip/Kconfig" +source "drivers/pmdomain/samsung/Kconfig" endmenu diff --git a/drivers/pmdomain/samsung/Kconfig b/drivers/pmdomain/samsung/Kconfig new file mode 100644 index 000000000000..0debfe36b00a --- /dev/null +++ b/drivers/pmdomain/samsung/Kconfig @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0 +if SOC_SAMSUNG + +config EXYNOS_PM_DOMAINS + bool "Exynos PM domains" if COMPILE_TEST + depends on (ARCH_EXYNOS && PM_GENERIC_DOMAINS) || COMPILE_TEST + +endif diff --git a/drivers/soc/samsung/Kconfig b/drivers/soc/samsung/Kconfig index 7a8f291e7704..27ec99af77e3 100644 --- a/drivers/soc/samsung/Kconfig +++ b/drivers/soc/samsung/Kconfig @@ -48,10 +48,6 @@ config EXYNOS_PMU_ARM_DRIVERS bool "Exynos PMU ARMv7-specific driver extensions" if COMPILE_TEST depends on EXYNOS_PMU -config EXYNOS_PM_DOMAINS - bool "Exynos PM domains" if COMPILE_TEST - depends on (ARCH_EXYNOS && PM_GENERIC_DOMAINS) || COMPILE_TEST - config SAMSUNG_PM_CHECK bool "S3C2410 PM Suspend Memory CRC" depends on PM && (ARCH_S3C64XX || ARCH_S5PV210) -- 2.34.1