From patchwork Fri Sep 15 09:19:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 13386687 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 6E297EE6447 for ; Fri, 15 Sep 2023 09:22:05 +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=awo7m/5oaxFHIiTvaykFFqUExvMyc9dcEciwyCuk6cU=; b=uF2reLE70qQC8+ U7UDMAoRPo+N/kx8u3u2wbcUnbopiblNAOw+8b4Ft+T3ZZvaRWzjvL2pnMDgnsbQD38yxIbU1JEVo Tg8pjwK4YmRLdnorpNPCHTJdY2gMEak26j+4rx9v9bPofo0Bqmf7FP5czpnWjqUC4hVFTJZHjxXU4 cbB68D4H7RQdwyL52DuEBJAr2sLS59q0m93mduzc0tu/gnVvSYKe5peLxnJJR44S1xr6gkLiCtFhU 2J3tJws40b8iWRtAGFOrk/5KpRV/+i88R36vVW2wAVPPmCEWIauBhckxjdHmEslZ9ZRGfXI056Khi /8HQJvIJygzd028+l1UQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qh515-00AFxJ-2U; Fri, 15 Sep 2023 09:21:35 +0000 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qh50y-00AFoS-24 for linux-arm-kernel@lists.infradead.org; Fri, 15 Sep 2023 09:21:29 +0000 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2b9338e4695so29057571fa.2 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=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=mpRw/Nyqv1IAu9jwP5IM347QJfNRDr51sp+Cv/OMBfc=; b=QjHdT0KNlvJ+BBpQxBLG90W+x1Bgw8J5/AODOxtBGc6kVv0BK7DZVQp87xCZjsocwQ wb+gaz8DS9G+3L23V8nvCVwt/dzaMTyPCSh+YgL1jiVGsTQDfIJL7bKDupx3qCN7cTM/ nmcG9iVxFS1t/RFLKZowf3o9YYE0VtLVruDJ1aM3/s4TGqbWqdx2UxmeYde5o/OcGgPU 6/Sw20/oyJFnv7yXfA+s5LnlnLPTexEyoJYd3JTCeJQBnmcapnAx7q2KTUWk6rQpoK3i l9kzc4bABzhn1DP3hkae6o81Gkq5qfHC9GQpTmJF4GGTZYBjReGzjOxRCkdiw8r7dS1/ FJkQ== 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=AuFBei8HvUo9xEw7j48VGxIjrfnlazGyJc3WZl2w2h+oWXRBOcRnFOC4Tb+YYThFar P1GpHaYWdmVz5n+qRsy0shzHI+B421+J4AoyoA+Q9bGOz0Kx5J3X31Tgfwr6ekgwTySp iCdDIIPOqsJaj+6EZ/8y2x2HiPqkaRXEkLTPxDQPAG2ayD3u24o+gcZzyCkPaemfWoSn L+yLpBe0p2CraCsb9f40QEeiIXrjPSLx8Emj15X1b/woALYv8Gpgnr+mGTOwZ4F76P0y qj6+FumXsmbMcfyyq5V23m1UTjofPw10jyki/W0kYbo5OH+rApT6QJ7WTMAp5t/n/uh/ 7AiA== X-Gm-Message-State: AOJu0YzTPjlSukCbah/IBQt9pToG7X5/wCDrBurGISwibm7m8wRe5b7p xPbj7cLrZsOktZLwJw2GsvTeMQ== X-Google-Smtp-Source: AGHT+IFfEfbuyQGDwmyo+FnzogD3H8gVtamynxzaP2uvT5VpEjahjrgz4DFCThndBuMm73k/8MK1VQ== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230915_022128_678043_21FA7CB8 X-CRM114-Status: GOOD ( 16.13 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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