From patchwork Tue Jul 11 14:21:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 701718 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0577EEB64DC for ; Tue, 11 Jul 2023 14:23:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232894AbjGKOWs (ORCPT ); Tue, 11 Jul 2023 10:22:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232996AbjGKOWc (ORCPT ); Tue, 11 Jul 2023 10:22:32 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7FD710F1 for ; Tue, 11 Jul 2023 07:22:10 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4fbb281eec6so8964530e87.1 for ; Tue, 11 Jul 2023 07:22:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689085319; x=1691677319; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dddDDU7nSqQ7z9wETDWZtkE1+2CRoXBrxvBW6KLelSM=; b=X7oBSxLNSV9eqMcmy3tZzy3/UTRucJkeXs+moEwYFgUXzKNvOU/ipXxS5EPF1AjxfZ lEatW99aDKtOCV62zWAmlpWt8rcJdtMJHS3TbN8jv1oCh6gkU8arsr82eiRUbFbBtPiy +IBf+qVfHIvze2Z6iiTNGXUm/CwvSWSWJEei+XFTfnCsMyCWdzbDZ9xRQQpGZs3DRK+I 9aYGx7iT4PT2sGRoHm72wGpSlrIZRo21EPR+nO51HuDcJk26heozy7aqo2O3D/AGNM8d UGka7ANjBZAaPPoYvbYKTECKfkBg3bf7rt21P1JSW0AayF6lABLN7+2jYOp1fk8xe5Kh ERiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689085319; x=1691677319; 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=dddDDU7nSqQ7z9wETDWZtkE1+2CRoXBrxvBW6KLelSM=; b=Mh9jwImKU1MaVYtz9r2uLSSzLYMO+1gRuYi/BZt3q5zF0Bi0NG+qUPKjrdo3FB1bIM fSdPe2Ji9T14wpwBlDRyJXnxDelasAe6jBtGYqngMSPYBg7D8Q5OVfS5+jx88QzGs1Nf qKICvbknPzDDC88tl5eePbwAyH9J9j7V/tYTWtrtWhfAlRM4YrlULda7UxG3SxH3lkKy 5+4SREW0SQc1UauQNVYy9a/aH6N1P+r435Eg7zjwqt2ASFKLxaEkUGRi3d2RibTmWDZI GvOZzwKFWtuMhTBytb1ekQHNHHNnGwTBsGOYVCX3Lv5lzqX9wIyRJKV7Uqm8XVQegIvZ mguw== X-Gm-Message-State: ABy/qLaKuu25l8Houghc439jw1QqR10noQaXRXBl+sxyCugsevsyA7Vb 1kDgfBZVM1Dl+/Oyd1dS/xgJYw== X-Google-Smtp-Source: APBJJlGUSak0mYQbFyzkK6aQ1G1SAqdalSOyq+vu2t6Gv+qmFZj027l2rjTtVGtmGdzfaHwpmXRLKA== X-Received: by 2002:a05:6512:31d0:b0:4f8:6d54:72fa with SMTP id j16-20020a05651231d000b004f86d5472famr16089053lfe.2.1689085319398; Tue, 11 Jul 2023 07:21:59 -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 v23-20020ac25937000000b004fb2c1e33b3sm336375lfi.243.2023.07.11.07.21.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 07:21: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, Walker Chen , Conor Dooley Subject: [PATCH v2 12/18] soc: starfive: Move the power-domain driver to the genpd dir Date: Tue, 11 Jul 2023 16:21:57 +0200 Message-Id: <20230711142157.751733-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org To simplify with maintenance let's move the starfive power-domain driver to the new genpd directory. Going forward, patches are intended to be managed through a separate git tree, according to MAINTAINERS. Cc: Walker Chen Cc: Conor Dooley Signed-off-by: Ulf Hansson --- MAINTAINERS | 2 +- drivers/genpd/Makefile | 1 + drivers/genpd/starfive/Makefile | 2 ++ .../{soc/starfive/jh71xx_pmu.c => genpd/starfive/jh71xx-pmu.c} | 0 drivers/soc/starfive/Makefile | 3 --- 5 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 drivers/genpd/starfive/Makefile rename drivers/{soc/starfive/jh71xx_pmu.c => genpd/starfive/jh71xx-pmu.c} (100%) delete mode 100644 drivers/soc/starfive/Makefile diff --git a/MAINTAINERS b/MAINTAINERS index f444285f1792..4be5dc3fd6dd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20323,7 +20323,7 @@ STARFIVE JH71XX PMU CONTROLLER DRIVER M: Walker Chen S: Supported F: Documentation/devicetree/bindings/power/starfive* -F: drivers/soc/starfive/jh71xx_pmu.c +F: drivers/genpd/starfive/jh71xx_pmu.c F: include/dt-bindings/power/starfive,jh7110-pmu.h STARFIVE SOC DRIVERS diff --git a/drivers/genpd/Makefile b/drivers/genpd/Makefile index 1cf0ff26a44f..baf2021235a7 100644 --- a/drivers/genpd/Makefile +++ b/drivers/genpd/Makefile @@ -8,3 +8,4 @@ obj-y += qcom/ obj-y += renesas/ obj-y += rockchip/ obj-y += samsung/ +obj-y += starfive/ diff --git a/drivers/genpd/starfive/Makefile b/drivers/genpd/starfive/Makefile new file mode 100644 index 000000000000..975bba2a29a9 --- /dev/null +++ b/drivers/genpd/starfive/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_JH71XX_PMU) += jh71xx-pmu.o diff --git a/drivers/soc/starfive/jh71xx_pmu.c b/drivers/genpd/starfive/jh71xx-pmu.c similarity index 100% rename from drivers/soc/starfive/jh71xx_pmu.c rename to drivers/genpd/starfive/jh71xx-pmu.c diff --git a/drivers/soc/starfive/Makefile b/drivers/soc/starfive/Makefile deleted file mode 100644 index 13b589d6b5f3..000000000000 --- a/drivers/soc/starfive/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-$(CONFIG_JH71XX_PMU) += jh71xx_pmu.o