Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36947040rwd; Tue, 11 Jul 2023 07:38:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlEiUtf3zXlpYW7QCrppHEwm/8iSFgcOwe0L3IYS8Y7UDfz1y/BaMq/aN9db0YLOpvzzVh8N X-Received: by 2002:a17:906:edbb:b0:98d:63c5:d135 with SMTP id sa27-20020a170906edbb00b0098d63c5d135mr2828701ejb.54.1689086312720; Tue, 11 Jul 2023 07:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689086312; cv=none; d=google.com; s=arc-20160816; b=Vfn77UgWmJ45KVVbVQUvL0F9pw+CroeCXPARwwfNyI1oJpQqOVjgtqd8DkgMUxcnpI tbEzOnsV5ayoxwVHCzwM1CEXFRYpypybsTKjFQHjuZ072qJeRwF6IJ2bg1uQMxn+QVML Xvqv2WGl02rzc5y/r0eANUOj6rOKlWfK8SiDWEbg22LMmuXnK7iNTXWqoDm1027VjW8I PxqVgeN4RdG6LwRe/2R6Uj069QhRfuOBAMlmyvlDiMydlrG/cS7pyfsyhvVX+0KSpypo bwrwAAQFuFzJe/N5V8vdrnjRJe+rGOyelbi/trAMfX41X5Lc9LNNUj+EBaRml33xf9Dh nutQ== 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=k3HkS8n/DHjLJ9CSnu0btooLeG2USC/O5hAcB+zQHR0=; fh=k/wcCyk7hJQrfLPQvbbBchm8wuRLVDZskG2wvWfFEcU=; b=GR6s8IdVpJ8R+UK1Qm2E9HAqIc7z9CuaQRgdH0ur3PcRcbGnECjoYzWoeOiIUfOUyE wiiRrpvbf9WvvIOPdR9Pn6weoVV2xsKuLyF+0R1zIw18ToA4GkhHPXIqDmPxUVxM4If9 X1a79RXDrsThkm0EfjQYcRSZWBNRDOCCH0cwTzWe9d3amKwdvwOQQjafTrRmk7jRh7+8 1Rb4mO4lab//Z80uMHdnmx3hj9AaOpYUSyJIRhkkHOtIs2R/S6EgdULk8AMuxBJUkNFc J4rC+nfXoxXwtyekwdSqWx6ya8ZyLS74n3FZh6Ia1F+dL6IjQPggwwegBOmFKJuxoAj8 RfAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YFzpDs4q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s12-20020a170906960c00b0098cee0f8cfesi2315258ejx.969.2023.07.11.07.38.08; Tue, 11 Jul 2023 07:38:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YFzpDs4q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232478AbjGKOYV (ORCPT + 99 others); Tue, 11 Jul 2023 10:24:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234007AbjGKOX3 (ORCPT ); Tue, 11 Jul 2023 10:23:29 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF6A51BF5 for ; Tue, 11 Jul 2023 07:23:00 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2b5c231c23aso92366321fa.0 for ; Tue, 11 Jul 2023 07:23:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689085369; x=1691677369; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=k3HkS8n/DHjLJ9CSnu0btooLeG2USC/O5hAcB+zQHR0=; b=YFzpDs4qddfLuT2Ja47Tie8E9U6WSvRiitw3Rl6fvE7ZRbRoJ/B1O7jT+omGz2Zkoo Psieekd+8Hyx64OQnlvvI62//QvgBAYh+forEFEZlWdq6K0ex3Fk4oK/XuogaHW4O2RQ KAhZAe/mXovdHvRxuM0igb/7yg/9gPrZwWfcpVg2S6K3ceqZV3rQx1mHdYj1mZYZ1P1X o7nF3oFkjdaKskPFUFPENSh7AVinLMokMVPv7/uFZ56fMFDsJqiZvNPm226qBD8+LE7a D2Z29Jh6edFJJT5FZYRmny/D3dq0IbZ7ylCIMd0ZNN9/F9GaGvkbI1T0A1XG7LZduV36 LZXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689085369; x=1691677369; 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=k3HkS8n/DHjLJ9CSnu0btooLeG2USC/O5hAcB+zQHR0=; b=L2xoQUu84gAlfwMV02azOP1c+5wDPCcTGuKvRbI9wvJ7YPU9RJF5okcPnwCg41iiOO 6ryWqtTdHcb12v+e8WRfYzqrncu+2os1IUSuwU7xKhC1mPpeKCGhSQEj2l5wWpBqlDUK jfRwlJa0Xa6FeSJc+nHq+/EEfsVHu2AIVF8lIxkDjsmoykUAKKGgkhm1fSQZdeZuc9In P4fENNJ3+dhsKoRTYG3XrqpsSzYHDGELh3wtBYc4th6AKwgE0Lua+T2zGOG5ABS2yC/O RH4E325nakHEN/T0p7oJn2U3ltt84N0txRrqCrlfrDT6eTeAgU8diakCGWMTQMfv+InP BsRQ== X-Gm-Message-State: ABy/qLYtN4dVf7+KCPu9yxPpB07sjDebn/v9CRWfq33N9p6Jo7nhzDcH M14IaZksf+90/lvrDSMUSEzNXQ== X-Received: by 2002:a2e:b0c7:0:b0:2b6:ec69:7c3b with SMTP id g7-20020a2eb0c7000000b002b6ec697c3bmr12314784ljl.46.1689085369756; Tue, 11 Jul 2023 07:22:49 -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 q6-20020a2e84c6000000b002b69b44fd52sm488065ljh.5.2023.07.11.07.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 07:22:49 -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 18/18] ARM: ux500: Move power-domain driver to the genpd dir Date: Tue, 11 Jul 2023 16:22:47 +0200 Message-Id: <20230711142247.751857-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 To simplify with maintenance let's move the ux500 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: 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 633bc6767cd5..377f68e66fb4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2421,6 +2421,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 -- 2.34.1