From patchwork Fri Jul 7 14:04:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 700293 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 2AEB5C001DE for ; Fri, 7 Jul 2023 14:06:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233035AbjGGOGD (ORCPT ); Fri, 7 Jul 2023 10:06:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232947AbjGGOFj (ORCPT ); Fri, 7 Jul 2023 10:05:39 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A629273D for ; Fri, 7 Jul 2023 07:05:12 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4fa48b5dc2eso3095102e87.1 for ; Fri, 07 Jul 2023 07:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688738710; x=1691330710; 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=NDGJ4Rdnalj6TqDKeki2lXBkMtKfcEDmiGvYuLXTlyU=; b=zJEtOhTvr8IllxLtfLNdI3yUT/E73+PntZtuCWGUUchHKZgSYD+qEtQXCLvwzveqMW ZyAOjZTv8zOcIQUh5z4XAYMD6Yym0d0VmIqGe8KkeF7X4ldg8qbSBKqY4Elp4FcAjBgG 4s+W28dTDXf7uNACg9wDlnX86NTuRwM9w2KFwAXEVKo1PROcScXrRGxFEkVuia+qAdyi mmMqcvMSZfdyPxB7tir7/NRQGpAyBzcvw8E0RqkLloFAcju6EJ8uwHFUzPb8yAGNpz++ 1dpz89dt0adj2uRATINhATo6vgof3bo6Eu0KWrjlMZl3DOG++mmT65hRZrjfSsRzR/xL lgUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688738710; x=1691330710; 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=NDGJ4Rdnalj6TqDKeki2lXBkMtKfcEDmiGvYuLXTlyU=; b=PL0Q+FRwktepRaRwT9Gazs5u6Vk21dfpD+nNzvomzB9KlLrcH8eL2KoiJZeGZ0X+Dq nBW9UU5czC3cLK6siu7TpCB/QoU6M5n17KEGnjxmnAUFPY25ERbf+/Jc7WBtOSwzqyl6 lY6zflqtlArYQFcunuB0U7/nVmIsZkuXiiYqHZttMcVyoa6NNNFr6jJWn05wZM7vGvc3 aPmPb5YETIUCFZL17+xSupCM90pfq9YUR0GQDU6ixWeRKPL2RLbh3cD1V+VRUFJDllHb isH6gdHw7/ZNdEgxT+qNsQz6nSMHEjM5vgN3TzP7xd+P5Uenzc9kXh5+X8F/mr6GBvai lOiA== X-Gm-Message-State: ABy/qLa1B4MxFuCCkDIy97qe+FDXNsJ/MQzEVdBvwlRyIGO+qEku4mfb rNtqHeyTK/78O/Pz6FVrmrlCIg== X-Google-Smtp-Source: APBJJlEzYGXiYkpimLJdVvfFtEAfokJSPAH7vL71Isu/R6lRimZa+x/dK5wbVNgi11PgJpFopZ7Rgw== X-Received: by 2002:a2e:800a:0:b0:2b6:a76b:c39e with SMTP id j10-20020a2e800a000000b002b6a76bc39emr3365228ljg.35.1688738710333; Fri, 07 Jul 2023 07:05:10 -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 u21-20020a2e8555000000b002b6cb25e3f1sm760341ljj.108.2023.07.07.07.05.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jul 2023 07:05:09 -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 18/18] ARM: ux500: Move power-domain driver to the genpd dir Date: Fri, 7 Jul 2023 16:04:34 +0200 Message-Id: <20230707140434.723349-19-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230707140434.723349-1-ulf.hansson@linaro.org> References: <20230707140434.723349-1-ulf.hansson@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Cc: Linus Walleij Signed-off-by: Ulf Hansson --- MAINTAINERS | 1 + arch/arm/mach-ux500/Makefile | 1 - drivers/genpd/Makefile | 1 + drivers/genpd/st/Makefile | 2 ++ .../pm_domains.c => drivers/genpd/st/ste-ux500-pm-domain.c | 0 5 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 drivers/genpd/st/Makefile rename arch/arm/mach-ux500/pm_domains.c => drivers/genpd/st/ste-ux500-pm-domain.c (100%) diff --git a/MAINTAINERS b/MAINTAINERS index 3cf16ffac892..f9820072848d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2419,6 +2419,7 @@ F: arch/arm/mach-ux500/ F: drivers/clk/clk-nomadik.c F: drivers/clocksource/clksrc-dbx500-prcmu.c F: drivers/dma/ste_dma40* +F: drivers/genpd/st/ste-ux500-pm-domain.c F: drivers/hwspinlock/u8500_hsem.c F: drivers/i2c/busses/i2c-nomadik.c F: drivers/iio/adc/ab8500-gpadc.c diff --git a/arch/arm/mach-ux500/Makefile b/arch/arm/mach-ux500/Makefile index 5e903241bded..270e5676fa02 100644 --- a/arch/arm/mach-ux500/Makefile +++ b/arch/arm/mach-ux500/Makefile @@ -6,4 +6,3 @@ obj-y := pm.o obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o obj-$(CONFIG_SMP) += platsmp.o -obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o diff --git a/drivers/genpd/Makefile b/drivers/genpd/Makefile index efd955f586e9..c429485c13f6 100644 --- a/drivers/genpd/Makefile +++ b/drivers/genpd/Makefile @@ -8,6 +8,7 @@ obj-y += qcom/ obj-y += renesas/ obj-y += rockchip/ obj-y += samsung/ +obj-y += st/ obj-y += starfive/ obj-y += sunxi/ obj-y += tegra/ diff --git a/drivers/genpd/st/Makefile b/drivers/genpd/st/Makefile new file mode 100644 index 000000000000..8fa5f9855460 --- /dev/null +++ b/drivers/genpd/st/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_ARCH_U8500) += ste-ux500-pm-domain.o diff --git a/arch/arm/mach-ux500/pm_domains.c b/drivers/genpd/st/ste-ux500-pm-domain.c similarity index 100% rename from arch/arm/mach-ux500/pm_domains.c rename to drivers/genpd/st/ste-ux500-pm-domain.c