Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5079083rdb; Sat, 16 Sep 2023 01:54:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHY27FdgcyrOZne2OrGNpO7d+ENfu9Oki8OnAXjW3lYkRz4kDWrx77nvCZ57WRNAAt1wYHl X-Received: by 2002:a05:6a20:4423:b0:13d:fff1:c672 with SMTP id ce35-20020a056a20442300b0013dfff1c672mr5502610pzb.4.1694854442326; Sat, 16 Sep 2023 01:54:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694854442; cv=none; d=google.com; s=arc-20160816; b=eb01/O8hA9PJDYZzZkkawcVMXh196xVZDB28U8oiCkvggeMDcr8/SXCvEQz1K8s5IO fMaO5thdXK3F+eRAIyWqwJ0JZoQd6yfvwcg44sBJsaOeIG9GzQYNCsyBDF4QZ+PGW5cv Ii/VhYJTqLN17pEqNjOTR5PKZtQnTGuNqIstttwr3NkUWqtin1cdijM/6SU+zbTxI1R3 a/pe6M8Ex0+fiwnlPUJo2KJGxsjm3NL5JMWBZ2KF0E9kWoNV6MYvGsH8Lyn6MRxLk+Cl Uxt6dyhk+AZojC9DF60uR31TwgBr82rhEodZH7JlNDT266miWd1/AW0D/LS83S30bh67 gjyA== 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=mpRw/Nyqv1IAu9jwP5IM347QJfNRDr51sp+Cv/OMBfc=; fh=XYt8PpeepYz8aE4XQ4O2ER9VntkcakkxI5hfPW45gs8=; b=dyXaATR/U9fRXgKlnnvT2pncjxPHqbfOrr4OMK5N1Ch5wnr5nBWBgH68tTFDtO+YmJ gWYo+tsW0bGJFLbaHWmMRR/fcAeEUCQ16bITqILftBwrJ644UArSt2AJCrag0gYUqZ0B ddZmiuOoY3Vrc+uc7kc/OghXQZGlHLr49/scgC9CwMayecsAk4LKTKSVgQydkdCCEeos IaE/gOliJQikR51CiVbODnvujRPzITDp+7JcekdIKa4Glxp5xFQaqI1dWGh07Ww6jb2U K5IGEltddEQCaD/nSSafUakhG8s6ccgKMXRP0La3yC6X+G5COzs3hqEPNM4tMi3vgy/c /LGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SH9X43qn; 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 d14-20020aa7868e000000b0068fcb9a734fsi4561120pfo.46.2023.09.16.01.54.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 01:54:02 -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=SH9X43qn; 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 88425831DBC4; Fri, 15 Sep 2023 02:22:14 -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 S233794AbjIOJWP (ORCPT + 99 others); Fri, 15 Sep 2023 05:22:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233688AbjIOJVx (ORCPT ); Fri, 15 Sep 2023 05:21:53 -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 2E5932134 for ; Fri, 15 Sep 2023 02:21:28 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2bfc2b26437so29396441fa.0 for ; Fri, 15 Sep 2023 02:21:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694769687; x=1695374487; 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=mpRw/Nyqv1IAu9jwP5IM347QJfNRDr51sp+Cv/OMBfc=; b=SH9X43qnHeskIjZ2SgxFVuck39O+WrSLhSeQXBMS0//VVc0ZY/W+C4khywK6yL1Pog DgZs9GsjUi6+5blfodqdD+RRNlqIxdEQR9GzfG9FwFEjCI3oLFJk4VaCjhuaYneoaJkT MP9pJ6hp6taJ365htH6KfOOLo/KhshshFuX3ugY1n77a3Ul2HBEskEzq3EG6xTmxWeLq Y1ZmNREaWN0mYlJnaRCuN+4A5cXDTQp1OL2ijhyEE2UC8ZKREZnJoihrSXfTQ/xU3j4O 8rd2HRrWwLHP1xej7HSmGR7V+legSzLzdrEsAGq86c0kqilwgu3IGIbzAvkUfRXudvvv Kymg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694769687; x=1695374487; 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=mpRw/Nyqv1IAu9jwP5IM347QJfNRDr51sp+Cv/OMBfc=; b=ppV+HzTYINfHXU2RAE88OIEXIoQyIhRmL8gUpwpjpilYtJMcuvO52dV0eVHQyIMpiw cSOIa9hnugJWe6DphE/p8YJrrVcaVNC9e1EPeIpb5EykZQTca+UtWZFJjo1fDKcEjM6b d5Avn8yQblqt7UrVu9aFxW/UIlbqVtmgev2/R1g3tkby4dEqsmTzJJ/5ZuolI/zvGSB1 g+nsq+SZLVPrN4pZL8+EkHrCMqIlUNevVDLO//UzZ+FzZ1du2nyXt0GeIdugzHOEKsAu efr9K/1MAIKQ3B+4ZIQVlH8mIdvujTWeErlgk4H/1hlNKW+0bJfZUDR3M0Lhr1fV/me0 Tqkw== X-Gm-Message-State: AOJu0Yyq0zOqkFk37aYuX8oll7J8m4PW5XYM7Xrhtf3olIiHiF6zmU47 cdem5D/3TVzO8jGNfyLl+q2mwQ== X-Received: by 2002:a2e:92d0:0:b0:2bf:645b:6afb with SMTP id k16-20020a2e92d0000000b002bf645b6afbmr1015294ljh.21.1694769687139; Fri, 15 Sep 2023 02:21:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 02:21:26 -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, Linus Walleij Subject: [PATCH v2 12/17] pmdomain: st: Add a Kconfig option for the ux500 power domain Date: Fri, 15 Sep 2023 11:19:58 +0200 Message-Id: <20230915092003.658361-13-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=ham 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:14 -0700 (PDT) We shouldn't really use the CONFIG_ARCH_U8500 option directly, but rather have our own dedicated Kconfig option, so let's add that. Cc: Linus Walleij Reviewed-by: Linus Walleij Signed-off-by: Ulf Hansson --- drivers/pmdomain/Kconfig | 1 + drivers/pmdomain/st/Kconfig | 5 +++++ drivers/pmdomain/st/Makefile | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 drivers/pmdomain/st/Kconfig diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig index 4a411e0985c3..08f8a3aa9805 100644 --- a/drivers/pmdomain/Kconfig +++ b/drivers/pmdomain/Kconfig @@ -11,5 +11,6 @@ source "drivers/pmdomain/qcom/Kconfig" source "drivers/pmdomain/renesas/Kconfig" source "drivers/pmdomain/rockchip/Kconfig" source "drivers/pmdomain/samsung/Kconfig" +source "drivers/pmdomain/st/Kconfig" endmenu diff --git a/drivers/pmdomain/st/Kconfig b/drivers/pmdomain/st/Kconfig new file mode 100644 index 000000000000..a77a70211f61 --- /dev/null +++ b/drivers/pmdomain/st/Kconfig @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only +config UX500_PM_DOMAIN + bool "ST-Ericsson ux500 Power Domain" + depends on ARCH_U8500 || COMPILE_TEST + default ARCH_U8500 diff --git a/drivers/pmdomain/st/Makefile b/drivers/pmdomain/st/Makefile index 8fa5f9855460..6d8b617eb834 100644 --- a/drivers/pmdomain/st/Makefile +++ b/drivers/pmdomain/st/Makefile @@ -1,2 +1,2 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_ARCH_U8500) += ste-ux500-pm-domain.o +obj-$(CONFIG_UX500_PM_DOMAIN) += ste-ux500-pm-domain.o -- 2.34.1