Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3952502rdb; Thu, 14 Sep 2023 07:39:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG4PQSeUtORI2zXxjbgwQDDBJnuAag6JmcGOsydn/g2ky4fuYVLQfnOh2fj4ioWlxSxWP+S X-Received: by 2002:a17:90b:4d91:b0:263:72fe:3ef7 with SMTP id oj17-20020a17090b4d9100b0026372fe3ef7mr5146535pjb.42.1694702385178; Thu, 14 Sep 2023 07:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694702385; cv=none; d=google.com; s=arc-20160816; b=HEX20lQJdYqrvFg2TOqEkhd9noVUxYMAFobDVGZSRGLgmEZPtxD5Db+jAWm4AV3Dk2 n5dl8Hrr9nE9zZHU9er/HK+FpqJeHPD+5lncHHbrjdoOFAZ2Kl46G0G/sN4k1eZkxfE/ NwHiVrMhw4022KNuaOgITznwD7Iaep+g0zcbG/I/Z9URek3AhHQSscXAl4kFPLuo5QfR glXZCEcGWWxPGW4hJONKvTCeSOTHwu+TWGSOfkY/W8IpJPDpGpGtHzePhYYX1zzu9Aqs HVjZAWAzQFq1amPXqWEzhkRqQu2+1ay7juLvIKINQNFs5gQs/qnnD04XOfQCGebMJ+2n iLIw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=iylS42xIwfKwNaPXWAAIowhde9V6LPMJgFO7eJ5XP8Y=; fh=XYt8PpeepYz8aE4XQ4O2ER9VntkcakkxI5hfPW45gs8=; b=gmCYBlBsFZTShH6xxYzKXt2mmJ1Nkylv4fG7KmtpUONFgvlmVu6EU/S2b9sKH9LG+d HFlUuZhq0/zij3DoSq1neZnKpVA4nBXOyXzvShqSYVWO2nTLESf+rorUbn7izbdA80Y5 rdKoMmEeGiX7tqOpIQxLZF1AE0uvQIoBC0+dURunHQIgO5Usyx2vv4Xag+9ExPZWP3Cu WN5rAWwn+Qkp/eaivqzdXwYQQxlc1XtIEnBweLXSgrcfSQescFMQO0W0S/iTgLG8wt9a /RP2eWtITjGOJgAPjkxnQCWGsB7NWxS5axCL1lrCVWEFX9odDsE6oxkdg7CHN7cR4JCx G/xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a1LjuLWd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id v5-20020a17090a898500b00253555e5f95si1751400pjn.153.2023.09.14.07.39.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 07:39:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a1LjuLWd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id A52EF830E82A; Thu, 14 Sep 2023 04:19:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230512AbjINLTJ (ORCPT + 99 others); Thu, 14 Sep 2023 07:19:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236392AbjINLTF (ORCPT ); Thu, 14 Sep 2023 07:19:05 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FE6E1FE2 for ; Thu, 14 Sep 2023 04:19:00 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-500cfb168c6so1344938e87.2 for ; Thu, 14 Sep 2023 04:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694690338; x=1695295138; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=iylS42xIwfKwNaPXWAAIowhde9V6LPMJgFO7eJ5XP8Y=; b=a1LjuLWdYSF4u6aaxpQYCUktao2jdIXeOBsPUdR7nVLkHvR5xhHITwYmwI51H4zJP7 D/NzTVyJPQSvVTi+13oBIajLwBsHIfblZMBEhj57TUMUdmFOMgbDjHCXk1/EUbG5Rw6U OU/iUw8R1L+IC0t20/2r8cbRoH7v/xzQRSh4odDdeMlahpX8zrFULkTZG0F4ulZKAgLW Bxbp8UUfiQEqTsVC0EjVctIcTK1ZULmiddmk2wO1tcr53Xrhi4EdkP4MDgGuB8PdCi4Y pxjdD16Z1cDfeeGswlDWsFSQOtApNGO9aEQgT2epyj5m2B5kcYSoBgWitQwTvwmBmn2R z/cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694690338; x=1695295138; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iylS42xIwfKwNaPXWAAIowhde9V6LPMJgFO7eJ5XP8Y=; b=rjnO/f4ZYx19Vb6R88ol7IZ7dRKhCAzBJeod/t624DJxeJlIiKfts4BY+UVB9klrNl x2wUrPLKjhpijs6g4DFL7C7b9Nb9lkTPsFWdn8q1VV4ZzJ/4/O2ey0TU4qTkFhdBIdDA WIKauwakWThJvUkmWLzHRzfLgcjWLCPDcpBZegtHAdtzCXZijSV492USghEa7V6VHYyM SCXQIYVGnZV2XSCE7KDuaic7EKeDKNs9CfKfaXkcdx9Fw5t2qoOX8daTH6zqeLnHwF+a Yx4pjxPOxOf2+z88Jrb+ykxeZsOlic0gZb1/6jLXX/e3qulR4HDbOP6vg7E7Ro9hDdPo hmig== X-Gm-Message-State: AOJu0YxQT4D10XwVQtAKwsbnEFzA7+C/b/3XLXcuzRriXv/fB2K8fKdM sHymXC9Glvksq7BWv12uEaI2PA== X-Received: by 2002:ac2:5b1b:0:b0:501:bc0b:6118 with SMTP id v27-20020ac25b1b000000b00501bc0b6118mr3988441lfn.50.1694690338693; Thu, 14 Sep 2023 04:18:58 -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 v13-20020a056512048d00b00501c6d78f11sm233222lfq.298.2023.09.14.04.18.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 04:18:58 -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 12/17] pmdomain: st: Add a Kconfig option for the ux500 power domain Date: Thu, 14 Sep 2023 13:18:55 +0200 Message-Id: <20230914111855.586724-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 (morse.vger.email [0.0.0.0]); Thu, 14 Sep 2023 04:19:09 -0700 (PDT) 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 morse.vger.email 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 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 1e2c5f531638..cfe9ea754062 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