Skip to content

Commit f2326ea

Browse files
committed
Merge branch 'genpd_create_dir' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm into drivers-for-6.6
Merge the topic branch that introduces the genpd subsystem into the Qualcomm soc driver tree, in order to deal with patches landed in the Qualcomm rpmhpd driver already in this cycle.
2 parents 8d20740 + a6a67e5 commit f2326ea

File tree

108 files changed

+152
-120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+152
-120
lines changed

MAINTAINERS

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,6 +1843,7 @@ F: Documentation/devicetree/bindings/phy/amlogic*
18431843
F: arch/arm/boot/dts/amlogic/
18441844
F: arch/arm/mach-meson/
18451845
F: arch/arm64/boot/dts/amlogic/
1846+
F: drivers/genpd/amlogic/
18461847
F: drivers/mmc/host/meson*
18471848
F: drivers/phy/amlogic/
18481849
F: drivers/pinctrl/meson/
@@ -1903,6 +1904,7 @@ F: drivers/bluetooth/hci_bcm4377.c
19031904
F: drivers/clk/clk-apple-nco.c
19041905
F: drivers/cpufreq/apple-soc-cpufreq.c
19051906
F: drivers/dma/apple-admac.c
1907+
F: drivers/genpd/apple/
19061908
F: drivers/i2c/busses/i2c-pasemi-core.c
19071909
F: drivers/i2c/busses/i2c-pasemi-platform.c
19081910
F: drivers/iommu/apple-dart.c
@@ -2419,6 +2421,7 @@ F: arch/arm/mach-ux500/
24192421
F: drivers/clk/clk-nomadik.c
24202422
F: drivers/clocksource/clksrc-dbx500-prcmu.c
24212423
F: drivers/dma/ste_dma40*
2424+
F: drivers/genpd/st/ste-ux500-pm-domain.c
24222425
F: drivers/hwspinlock/u8500_hsem.c
24232426
F: drivers/i2c/busses/i2c-nomadik.c
24242427
F: drivers/iio/adc/ab8500-gpadc.c
@@ -2591,6 +2594,7 @@ F: arch/arm/include/debug/renesas-scif.S
25912594
F: arch/arm/mach-shmobile/
25922595
F: arch/arm64/boot/dts/renesas/
25932596
F: arch/riscv/boot/dts/renesas/
2597+
F: drivers/genpd/renesas/
25942598
F: drivers/soc/renesas/
25952599
F: include/linux/soc/renesas/
25962600
K: \brenesas,
@@ -4007,7 +4011,7 @@ F: arch/mips/kernel/*bmips*
40074011
F: drivers/irqchip/irq-bcm63*
40084012
F: drivers/irqchip/irq-bcm7*
40094013
F: drivers/irqchip/irq-brcmstb*
4010-
F: drivers/soc/bcm/bcm63xx
4014+
F: drivers/genpd/bcm/bcm63xx-power.c
40114015
F: include/linux/bcm963xx_nvram.h
40124016
F: include/linux/bcm963xx_tag.h
40134017

@@ -4222,7 +4226,7 @@ R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
42224226
L: linux-pm@vger.kernel.org
42234227
S: Maintained
42244228
T: git https://github.com/broadcom/stblinux.git
4225-
F: drivers/soc/bcm/bcm63xx/bcm-pmb.c
4229+
F: drivers/genpd/bcm/bcm-pmb.c
42264230
F: include/dt-bindings/soc/bcm-pmb.h
42274231

42284232
BROADCOM SPECIFIC AMBA DRIVER (BCMA)
@@ -8665,6 +8669,13 @@ F: Documentation/devicetree/bindings/power/power?domain*
86658669
F: drivers/base/power/domain*.c
86668670
F: include/linux/pm_domain.h
86678671

8672+
GENERIC PM DOMAIN PROVIDERS
8673+
M: Ulf Hansson <ulf.hansson@linaro.org>
8674+
L: linux-pm@vger.kernel.org
8675+
S: Supported
8676+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git
8677+
F: drivers/genpd/
8678+
86688679
GENERIC RESISTIVE TOUCHSCREEN ADC DRIVER
86698680
M: Eugen Hristev <eugen.hristev@microchip.com>
86708681
L: linux-input@vger.kernel.org
@@ -17515,7 +17526,7 @@ L: linux-pm@vger.kernel.org
1751517526
L: linux-arm-msm@vger.kernel.org
1751617527
S: Maintained
1751717528
F: Documentation/devicetree/bindings/power/avs/qcom,cpr.yaml
17518-
F: drivers/soc/qcom/cpr.c
17529+
F: drivers/genpd/qcom/cpr.c
1751917530

1752017531
QUALCOMM CPUFREQ DRIVER MSM8996/APQ8096
1752117532
M: Ilia Lin <ilia.lin@kernel.org>
@@ -20313,7 +20324,7 @@ STARFIVE JH71XX PMU CONTROLLER DRIVER
2031320324
M: Walker Chen <walker.chen@starfivetech.com>
2031420325
S: Supported
2031520326
F: Documentation/devicetree/bindings/power/starfive*
20316-
F: drivers/soc/starfive/jh71xx_pmu.c
20327+
F: drivers/genpd/starfive/jh71xx_pmu.c
2031720328
F: include/dt-bindings/power/starfive,jh7110-pmu.h
2031820329

2031920330
STARFIVE SOC DRIVERS
@@ -21097,7 +21108,7 @@ F: drivers/irqchip/irq-ti-sci-inta.c
2109721108
F: drivers/irqchip/irq-ti-sci-intr.c
2109821109
F: drivers/reset/reset-ti-sci.c
2109921110
F: drivers/soc/ti/ti_sci_inta_msi.c
21100-
F: drivers/soc/ti/ti_sci_pm_domains.c
21111+
F: drivers/genpd/ti/ti_sci_pm_domains.c
2110121112
F: include/dt-bindings/soc/ti,sci_pm_domain.h
2110221113
F: include/linux/soc/ti/ti_sci_inta_msi.h
2110321114
F: include/linux/soc/ti/ti_sci_protocol.h
@@ -21331,6 +21342,7 @@ L: linux-kernel@vger.kernel.org
2133121342
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
2133221343
S: Maintained
2133321344
T: git git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
21345+
F: drivers/genpd/ti/omap_prm.c
2133421346
F: drivers/soc/ti/*
2133521347

2133621348
TI LM49xxx FAMILY ASoC CODEC DRIVERS

arch/arm/mach-ux500/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@
66
obj-y := pm.o
77
obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o
88
obj-$(CONFIG_SMP) += platsmp.o
9-
obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o

arch/arm/mach-ux500/cpu-db8500.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
#include <asm/mach/map.h>
2727
#include <asm/mach/arch.h>
2828

29-
#include "pm_domains.h"
30-
3129
static int __init ux500_l2x0_unlock(void)
3230
{
3331
int i;
@@ -115,9 +113,6 @@ static const struct of_device_id u8500_local_bus_nodes[] = {
115113

116114
static void __init u8500_init_machine(void)
117115
{
118-
/* Initialize ux500 power domains */
119-
ux500_pm_domains_init();
120-
121116
of_platform_populate(NULL, u8500_local_bus_nodes,
122117
NULL, NULL);
123118
}

arch/arm/mach-ux500/pm_domains.h

Lines changed: 0 additions & 17 deletions
This file was deleted.

drivers/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ obj-$(CONFIG_DMADEVICES) += dma/
4545

4646
# SOC specific infrastructure drivers.
4747
obj-y += soc/
48+
obj-$(CONFIG_PM_GENERIC_DOMAINS) += genpd/
4849

4950
obj-y += virtio/
5051
obj-$(CONFIG_VDPA) += vdpa/

drivers/genpd/Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
obj-y += actions/
3+
obj-y += amlogic/
4+
obj-y += apple/
5+
obj-y += bcm/
6+
obj-y += imx/
7+
obj-y += mediatek/
8+
obj-y += qcom/
9+
obj-y += renesas/
10+
obj-y += rockchip/
11+
obj-y += samsung/
12+
obj-y += st/
13+
obj-y += starfive/
14+
obj-y += sunxi/
15+
obj-y += tegra/
16+
obj-y += ti/
17+
obj-y += xilinx/

drivers/genpd/actions/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-License-Identifier: GPL-2.0+
2+
obj-$(CONFIG_OWL_PM_DOMAINS_HELPER) += owl-sps-helper.o
3+
obj-$(CONFIG_OWL_PM_DOMAINS) += owl-sps.o
File renamed without changes.

drivers/genpd/amlogic/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
obj-$(CONFIG_MESON_GX_PM_DOMAINS) += meson-gx-pwrc-vpu.o
3+
obj-$(CONFIG_MESON_EE_PM_DOMAINS) += meson-ee-pwrc.o
4+
obj-$(CONFIG_MESON_SECURE_PM_DOMAINS) += meson-secure-pwrc.o

0 commit comments

Comments
 (0)