From patchwork Fri Sep 15 09:19:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 140440 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1061362vqi; Fri, 15 Sep 2023 06:52:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqcp2o7nJ/cpoqh58HlOYudNpPqwvJMwUE1PUDRKRWpryXhazfOYIX82YEqXCWUqopb12W X-Received: by 2002:a17:902:e551:b0:1c3:2c2f:1132 with SMTP id n17-20020a170902e55100b001c32c2f1132mr1855805plf.54.1694785947065; Fri, 15 Sep 2023 06:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694785947; cv=none; d=google.com; s=arc-20160816; b=cGW4GxRvDwN8hIaMTPWXYgRj3icR16f6TnXYm8yu58HrM09za1xGHKOAgjD4ejktkV 3G/Ff9M2yitIJeKQSAf2bVCjxGCgEHwXKwuoycnxjzKDE1CM4QLFZzIN0/YR0vtDnDNM KZUxQx0R55DVAn3s+pIgxbP+Uptj/O2sODAu9geXA4Aob5asuhp2yid4aPC7MKHGneKs 1rGhXtVi1OcPy8apQOVmsupM+R7InrweiTplMrC/F8mGWW2zEett3Lo4z+/IKniNg74k XXhbizkcNXh4QA856vPXofR/kj1oEXYIYFMIc67bJlpJZ0Ihmiq3unvyk8nJcawXmBhY 6/sQ== 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=dHEtnEQv2A2ReqGymUlGz3D//oT7Ku2G1Pe4mdOxqdo=; fh=wq1wf25YXB8dQ3zCeSXQxvWKWKNZydDkQ3VYvwy7yRs=; b=t5mxRRhKJv/y1e+WdTOjjuQldmsgT3mq/auiNI1fEkSd2/wimsxJJbjeJG+aXLrslm yd9a7TQkJG0th+jpTbW2xTN/47Jq/ULMPHiOcDOEj8NZ+acQzjw710wmLs3VFach0vS3 1psZUxATmO99mcP1Iz/Xh9hCWXRDWXR11g4mrIJoLKDJqB56+jNQBe3Z9bAX1fAYJdqT +miEtTE3FtJFTb4I0sLX17pryPuDdFc4rVXYJTuir3Hpq3qNnD2MPJZ3Mde+4JOXbmEz Nb+z8TVG4iHL2Ef9zyipuUgM/8zjR5L6NmfUvSU95LFKt7qXhsEgYdjmQCVzPCu67sam Q3kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rXeqFgqt; 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id n18-20020a170902e55200b001bdafae4b7dsi2823186plf.43.2023.09.15.06.52.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 06:52:27 -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=rXeqFgqt; 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 D982A8352EC8; Fri, 15 Sep 2023 02:22:18 -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 S233639AbjIOJWS (ORCPT + 32 others); Fri, 15 Sep 2023 05:22:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233689AbjIOJVx (ORCPT ); Fri, 15 Sep 2023 05:21:53 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C018C1FE5 for ; Fri, 15 Sep 2023 02:21:29 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2bfbbd55158so30723181fa.1 for ; Fri, 15 Sep 2023 02:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694769688; x=1695374488; 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=dHEtnEQv2A2ReqGymUlGz3D//oT7Ku2G1Pe4mdOxqdo=; b=rXeqFgqtZ1prGJynVHnLiYul3PCLdeCYfhz517PPzNtxLPom8L3xFI2Et6PD8M/CX5 y8OF2SxmiWQaQ96aQAsdLPHexlQ4v8P9RzMZJgkR4iP+kyQLAA1VnihbmHpXydLBiBk+ 92P/6i2q5UjWZRAaaV+gvlkUCjeipiFBf39N9dmTjiKRZrYStTvLAxB7Ee4WCLO0/9KK /7S/BAmW7TaLEzB5Lpx71Df2kyLxhKpFCS3tllSrUQ/M6bmtg4ws1bEoQcyM39KSlTb9 M2yW1HdmEbWeJfCRIVluZBreugARBv/aJRjH/xPcLr6u6aoZgenjshAaYeN8bPvdvWu+ A6kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694769688; x=1695374488; 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=dHEtnEQv2A2ReqGymUlGz3D//oT7Ku2G1Pe4mdOxqdo=; b=jx5nr5f018NkGJPEaaslTDbhtwBpYWmHBKTCD8R8/BN37mcn2dT19XuNX23NlVQJ8M caE7buVlB8s9R9F1P83acogyHC/OVzF0SNHKmiwZ6lFGbIOvuwjEMatybD+BUjZEDQme tOkD5HDT9+Mtl2LAzijhO5604qN3oh65ruLNepqpEbVKktfuJ0GDQG1dqSsnlpULkb79 pjup92msE1V6D4Jlfo6APLkGx3vGJ5GRPGs/4QDrm5HAZ9VZAuGCiTlLhgxgmykTsbgw x6NwnlcZ9Pz+z0e0thm3LeiaeReYyWH4H6wMbVLJDFo+qvuADOgqwvIkSOIEW/hTNrd/ jHJQ== X-Gm-Message-State: AOJu0YxTf39AvYIwrJCD6hDcnDyd94bmnZC7s657NCxXJKV6cwrZYiKC UFEO7ANkpf+bZoEZHPiId8utIA== X-Received: by 2002:a2e:3e0e:0:b0:2b6:bc30:7254 with SMTP id l14-20020a2e3e0e000000b002b6bc307254mr981025lja.13.1694769688005; Fri, 15 Sep 2023 02:21:28 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 02:21:27 -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, Walker Chen , Conor Dooley Subject: [PATCH v2 13/17] pmdomain: starfive: Move Kconfig file to the pmdomain subsystem Date: Fri, 15 Sep 2023 11:19:59 +0200 Message-Id: <20230915092003.658361-14-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-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:18 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777111869275583102 X-GMAIL-MSGID: 1777111869275583102 The Kconfig belongs closer to the corresponding implementation, hence let's move it from the soc subsystem to the pmdomain subsystem. Cc: Walker Chen Cc: Conor Dooley Acked-by: Conor Dooley Signed-off-by: Ulf Hansson Acked-by: Conor Dooley --- MAINTAINERS | 3 +-- drivers/pmdomain/Kconfig | 1 + drivers/{soc => pmdomain}/starfive/Kconfig | 0 drivers/soc/Kconfig | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) rename drivers/{soc => pmdomain}/starfive/Kconfig (100%) diff --git a/MAINTAINERS b/MAINTAINERS index 6b491ebcf790..40744fefed3d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20515,7 +20515,7 @@ M: Walker Chen M: Changhuang Liang S: Supported F: Documentation/devicetree/bindings/power/starfive* -F: drivers/pmdomain/starfive/jh71xx-pmu.c +F: drivers/pmdomain/starfive/ F: include/dt-bindings/power/starfive,jh7110-pmu.h STARFIVE SOC DRIVERS @@ -20523,7 +20523,6 @@ M: Conor Dooley S: Maintained T: git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/ F: Documentation/devicetree/bindings/soc/starfive/ -F: drivers/soc/starfive/ STARFIVE TRNG DRIVER M: Jia Jie Ho diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig index 08f8a3aa9805..2286c36076db 100644 --- a/drivers/pmdomain/Kconfig +++ b/drivers/pmdomain/Kconfig @@ -12,5 +12,6 @@ source "drivers/pmdomain/renesas/Kconfig" source "drivers/pmdomain/rockchip/Kconfig" source "drivers/pmdomain/samsung/Kconfig" source "drivers/pmdomain/st/Kconfig" +source "drivers/pmdomain/starfive/Kconfig" endmenu diff --git a/drivers/soc/starfive/Kconfig b/drivers/pmdomain/starfive/Kconfig similarity index 100% rename from drivers/soc/starfive/Kconfig rename to drivers/pmdomain/starfive/Kconfig diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig index 8b46da40f107..10a9ff84ff41 100644 --- a/drivers/soc/Kconfig +++ b/drivers/soc/Kconfig @@ -23,7 +23,6 @@ source "drivers/soc/renesas/Kconfig" source "drivers/soc/rockchip/Kconfig" source "drivers/soc/samsung/Kconfig" source "drivers/soc/sifive/Kconfig" -source "drivers/soc/starfive/Kconfig" source "drivers/soc/sunxi/Kconfig" source "drivers/soc/tegra/Kconfig" source "drivers/soc/ti/Kconfig"