* [PATCH v2 0/7] arm64: dts: st: add STM32MP2 power domains
@ 2026-11-27 18:18 Patrick Delaunay
2026-11-27 18:18 ` [PATCH v2 1/7] dt-bindings: power: st: add STM32MP PM domain Patrick Delaunay
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Patrick Delaunay @ 2026-11-27 18:18 UTC (permalink / raw)
To: Ulf Hansson, Patrick Delaunay, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Maxime Coquelin, Alexandre Torgue
Cc: linux-pm, devicetree, linux-arm-kernel, linux-kernel, linux-stm32
Hello,
Version 2 of [1], updated after review.
This series adds PSCI power-domain topology and models the STM32MP2
D1 functional dependency for STM32MP25, STM32MP23 and STM32MP21.
Some peripherals in the D2 domain, powered by VDD_CORE, are assigned
by RIFSC to CPU1. Their RCC clocks are available only while the
Cortex-A35 cluster, powered by VDD_CPU, is active.
The D1 domain describes this SoC restriction (see the PWR table
"Functionalities depending on system operating mode") in DT rather than
requiring individual drivers to know about it. This domain is placed
below the PSCI cluster domain so that active devices prevent the cluster
from entering an incompatible idle state.
D1 does not control a separate power switch and does not model the
wakeup path. Wakeup routing is handled separately through EXTI1 and
the retention power domain (PSCI domain with GENPD_FLAG_ACTIVE_WAKEUP).
The series adds the DT binding, the generic power-domain provider
driver, the MAINTAINERS entry and the device-tree changes for the
three STM32MP2 families.
Regards,
Patrick
[1] arm64: dts: st: add STM32MP2 power domains
https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1201830
https://lore.kernel.org/all/20261104135604.907283-1-patrick.delaunay@foss.st.com/
https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=1212599
https://lore.kernel.org/all/20261116104054.94115-1-patrick.delaunay@foss.st.com/
Changes in v2:
- update commit message
- update binding description
- move additionalProperties after required
- rename "power-domain-d1" to generic name "power-controller"
- remove "generic" in binding title
Patrick Delaunay (7):
dt-bindings: power: st: add STM32MP PM domain
pmdomain: st: add STM32MP power domain
MAINTAINERS: add entry for ST STM32 power domain driver
arm64: dts: st: add D1 domain for STM32MP25 family
arm64: dts: st: fix power-domain labels DT coding style in STM32MP25
arm64: dts: st: add D1 domain for STM32MP23 family
arm64: dts: st: add power domains for STM32MP21 family
.../bindings/power/st,stm32mp-pm-domain.yaml | 48 +++++++
MAINTAINERS | 7 +
arch/arm64/boot/dts/st/stm32mp211.dtsi | 37 +++++
arch/arm64/boot/dts/st/stm32mp231.dtsi | 54 +++++---
arch/arm64/boot/dts/st/stm32mp233.dtsi | 1 +
arch/arm64/boot/dts/st/stm32mp235.dtsi | 2 +-
arch/arm64/boot/dts/st/stm32mp251.dtsi | 126 ++++++++++-------
arch/arm64/boot/dts/st/stm32mp253.dtsi | 9 +-
arch/arm64/boot/dts/st/stm32mp255.dtsi | 2 +-
drivers/pmdomain/st/Kconfig | 14 ++
drivers/pmdomain/st/Makefile | 1 +
drivers/pmdomain/st/stm32mp-pm-domain.c | 128 ++++++++++++++++++
12 files changed, 355 insertions(+), 74 deletions(-)
create mode 100644 Documentation/devicetree/bindings/power/st,stm32mp-pm-domain.yaml
create mode 100644 drivers/pmdomain/st/stm32mp-pm-domain.c
---
base-commit: 9437ee8b6cf607e883b36e44bd755968daaebd48
branch: stm32mp_d1_domain
--
2.43.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 1/7] dt-bindings: power: st: add STM32MP PM domain
2026-11-27 18:18 [PATCH v2 0/7] arm64: dts: st: add STM32MP2 power domains Patrick Delaunay
@ 2026-11-27 18:18 ` Patrick Delaunay
2026-11-27 18:18 ` [PATCH v2 2/7] pmdomain: st: add STM32MP power domain Patrick Delaunay
2026-11-27 18:18 ` [PATCH v2 3/7] MAINTAINERS: add entry for ST STM32 power domain driver Patrick Delaunay
2 siblings, 0 replies; 6+ messages in thread
From: Patrick Delaunay @ 2026-11-27 18:18 UTC (permalink / raw)
To: Ulf Hansson, Patrick Delaunay, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Maxime Coquelin, Alexandre Torgue
Cc: linux-pm, devicetree, linux-arm-kernel, linux-kernel, linux-stm32
Document the STM32MP D1 functional-dependency power domain.
Some peripherals assigned to CPU1 rely on RCC clocks that are available
only while the Cortex-A35 cluster is active. Model this dependency as
a child of the PSCI cluster domain, which represents the PWR CPU domain
powered from VDD_CPU.
The D1 domain does not control a separate power switch. Device wakeup
routing is handled separately through EXTI1 and the retention power
domain.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---
Changes in v2:
- update commit message
- update binding description
- move additionalProperties after required
- rename "power-domain-d1" to generic name "power-controller"
- remove "generic" in binding title
.../bindings/power/st,stm32mp-pm-domain.yaml | 48 +++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/st,stm32mp-pm-domain.yaml
diff --git a/Documentation/devicetree/bindings/power/st,stm32mp-pm-domain.yaml b/Documentation/devicetree/bindings/power/st,stm32mp-pm-domain.yaml
new file mode 100644
index 000000000000..b4118e1e5a38
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/st,stm32mp-pm-domain.yaml
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/power/st,stm32mp-pm-domain.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: STM32MP power domain
+
+maintainers:
+ - Patrick Delaunay <patrick.delaunay@foss.st.com>
+
+allOf:
+ - $ref: /schemas/power/power-domain.yaml#
+
+description: |
+ The STM32MP SoCs contain a D1 domain for PWR and RCC, which defines the
+ devices assigned by RIFSC to CPU1, the Cortex A cluster powered by VDD_CPU.
+ the devices in this domain are functional and clocked by RCC only when the
+ cluster domain is active, not in Idle state. The devices in this domain are
+ not powered by VDD_CPU and are wake-up capable in Stop1 low power modes.
+
+ This power domain node represents this dependency (see PWR table
+ "Functionalities depending on system operating mode").
+
+properties:
+ compatible:
+ const: st,stm32mp-pm-domain
+
+ '#power-domain-cells':
+ const: 0
+
+ power-domains:
+ maxItems: 1
+
+required:
+ - compatible
+ - '#power-domain-cells'
+ - power-domains
+
+additionalProperties: false
+
+examples:
+ - |
+ power-controller {
+ compatible = "st,stm32mp-pm-domain";
+ #power-domain-cells = <0>;
+ power-domains = <&cluster_pd>;
+ };
--
2.43.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 2/7] pmdomain: st: add STM32MP power domain
2026-11-27 18:18 [PATCH v2 0/7] arm64: dts: st: add STM32MP2 power domains Patrick Delaunay
2026-11-27 18:18 ` [PATCH v2 1/7] dt-bindings: power: st: add STM32MP PM domain Patrick Delaunay
@ 2026-11-27 18:18 ` Patrick Delaunay
2026-11-29 0:01 ` kernel test robot
2026-11-29 0:36 ` kernel test robot
2026-11-27 18:18 ` [PATCH v2 3/7] MAINTAINERS: add entry for ST STM32 power domain driver Patrick Delaunay
2 siblings, 2 replies; 6+ messages in thread
From: Patrick Delaunay @ 2026-11-27 18:18 UTC (permalink / raw)
To: Ulf Hansson, Patrick Delaunay, Maxime Coquelin, Alexandre Torgue
Cc: linux-pm, linux-arm-kernel, linux-kernel, linux-stm32
Register the STM32MP D1 functional-dependency domain as a generic
power domain below the PSCI cluster domain.
Devices attached to D1 require the cluster to remain active while they
need their RCC clocks. D1 has no hardware power-switch operations and
does not propagate active-wakeup constraints; wakeup routing is handled
separately by EXTI1 and the retention domain.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---
Changes in v2:
- update commit message
drivers/pmdomain/st/Kconfig | 14 +++
drivers/pmdomain/st/Makefile | 1 +
drivers/pmdomain/st/stm32mp-pm-domain.c | 128 ++++++++++++++++++++++++
3 files changed, 143 insertions(+)
create mode 100644 drivers/pmdomain/st/stm32mp-pm-domain.c
diff --git a/drivers/pmdomain/st/Kconfig b/drivers/pmdomain/st/Kconfig
index a77a70211f61..da8a54d44158 100644
--- a/drivers/pmdomain/st/Kconfig
+++ b/drivers/pmdomain/st/Kconfig
@@ -1,4 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-only
+
+config STM32MP_PM_DOMAIN
+ tristate "STM32MP PM domain"
+ depends on ARCH_STM32 || COMPILE_TEST
+ select PM_GENERIC_DOMAINS
+ default y
+ help
+ Enable support for the STM32MP Power Management (PM) domain driver.
+ This driver implements a generic PM domain for STM32MP SoCs, allowing
+ the kernel to manage power domains for various hardware blocks using
+ the generic power management framework. It is typically used to
+ control the power state of devices and peripherals on STM32MP
+ platforms. If unsure, say Y.
+
config UX500_PM_DOMAIN
bool "ST-Ericsson ux500 Power Domain"
depends on ARCH_U8500 || COMPILE_TEST
diff --git a/drivers/pmdomain/st/Makefile b/drivers/pmdomain/st/Makefile
index 6d8b617eb834..0e8131b7fe9d 100644
--- a/drivers/pmdomain/st/Makefile
+++ b/drivers/pmdomain/st/Makefile
@@ -1,2 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
+obj-$(CONFIG_STM32MP_PM_DOMAIN) += stm32mp-pm-domain.o
obj-$(CONFIG_UX500_PM_DOMAIN) += ste-ux500-pm-domain.o
diff --git a/drivers/pmdomain/st/stm32mp-pm-domain.c b/drivers/pmdomain/st/stm32mp-pm-domain.c
new file mode 100644
index 000000000000..1a6393840f56
--- /dev/null
+++ b/drivers/pmdomain/st/stm32mp-pm-domain.c
@@ -0,0 +1,128 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Implements PM domain using the generic PM domain for STM32MP SoC.
+ *
+ * Copyright (C) STMicroelectronics 2026
+ * Author(s): Patrick Delaunay <patrick.delaunay@foss.st.com>
+ */
+
+#include <linux/device.h>
+#include <linux/module.h>
+#include <linux/of.h>
+#include <linux/platform_device.h>
+#include <linux/pm_domain.h>
+#include <linux/pm_runtime.h>
+
+struct stm32mp_pm_subdomain_link {
+ struct generic_pm_domain *domain;
+ struct generic_pm_domain *subdomain;
+};
+
+static void stm32mp_pm_domain_genpd_remove(void *data)
+{
+ struct generic_pm_domain *genpd = data;
+
+ pm_genpd_remove(genpd);
+}
+
+static void stm32mp_pm_domain_release_subdomain(void *data)
+{
+ struct stm32mp_pm_subdomain_link *link = data;
+
+ pm_genpd_remove_subdomain(link->domain, link->subdomain);
+}
+
+static void stm32mp_pm_domain_release_genpd_provider(void *data)
+{
+ struct device_node *np = data;
+
+ of_genpd_del_provider(np);
+}
+
+static int stm32mp_pm_domain_probe(struct platform_device *pdev)
+{
+ struct device *dev = &pdev->dev;
+ struct device_node *np = dev->of_node;
+ struct generic_pm_domain *pd;
+ struct stm32mp_pm_subdomain_link *link;
+ int ret;
+
+ if (!np)
+ return -ENODEV;
+
+ /* The OF node must specify us as a power-domain provider. */
+ if (!of_property_present(np, "#power-domain-cells")) {
+ dev_warn(dev, "%pOF lacks #power-domain-cells\n", np);
+ return 0;
+ }
+
+ pd = devm_kzalloc(dev, sizeof(*pd), GFP_KERNEL);
+ if (!pd)
+ return -ENOMEM;
+
+ pd->name = dev_name(dev);
+
+ /*
+ * Domain based only on PM clk framework, no GENPD_FLAG_ACTIVE_WAKEUP
+ * support, the wake-up path is handled by interrupt driver with its
+ * power domain. GENPD_FLAG_NO_STAY_ON as domain no required sync state,
+ * domain allow low power modes even if devices are not probed
+ */
+ pd->flags = GENPD_FLAG_PM_CLK | GENPD_FLAG_IRQ_SAFE | GENPD_FLAG_NO_STAY_ON;
+
+ ret = pm_genpd_init(pd, NULL, false);
+ if (ret)
+ return dev_err_probe(dev, ret, "failed to init power domain\n");
+
+ ret = devm_add_action_or_reset(dev, stm32mp_pm_domain_genpd_remove, pd);
+ if (ret)
+ return dev_err_probe(dev, ret, "failed to add action\n");
+
+ link = devm_kzalloc(dev, sizeof(*link), GFP_KERNEL);
+ if (!link)
+ return -ENOMEM;
+ link->domain = pd_to_genpd(dev->pm_domain);
+ link->subdomain = pd;
+
+ ret = pm_genpd_add_subdomain(link->domain, link->subdomain);
+ if (ret)
+ return dev_err_probe(dev, ret, "failed to add subdomain\n");
+
+ ret = devm_add_action_or_reset(dev, stm32mp_pm_domain_release_subdomain, link);
+ if (ret)
+ return dev_err_probe(dev, ret, "failed to add action\n");
+
+ ret = of_genpd_add_provider_simple(np, pd);
+ if (ret)
+ return dev_err_probe(dev, ret, "failed to add power domain provider\n");
+
+ ret = devm_add_action_or_reset(dev, stm32mp_pm_domain_release_genpd_provider, np);
+ if (ret)
+ return dev_err_probe(dev, ret, "failed to add action\n");
+
+ ret = devm_pm_runtime_enable(dev);
+ if (ret)
+ return dev_err_probe(dev, ret, "failed to enable pm-runtime\n");
+
+ return 0;
+}
+
+static const struct of_device_id stm32mp_pm_domain_matches[] = {
+ { .compatible = "st,stm32mp-pm-domain", },
+ { }
+};
+MODULE_DEVICE_TABLE(of, stm32mp_pm_domain_matches);
+
+static struct platform_driver stm32mp_pm_domain_driver = {
+ .driver = {
+ .name = "stm32mp_pm_domain",
+ .of_match_table = stm32mp_pm_domain_matches,
+ },
+ .probe = stm32mp_pm_domain_probe,
+};
+
+module_platform_driver(stm32mp_pm_domain_driver);
+
+MODULE_AUTHOR("Patrick Delaunay <patrick.delaunay@foss.st.com>");
+MODULE_DESCRIPTION("ST STM32MP power domain driver");
+MODULE_LICENSE("GPL");
--
2.43.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 3/7] MAINTAINERS: add entry for ST STM32 power domain driver
2026-11-27 18:18 [PATCH v2 0/7] arm64: dts: st: add STM32MP2 power domains Patrick Delaunay
2026-11-27 18:18 ` [PATCH v2 1/7] dt-bindings: power: st: add STM32MP PM domain Patrick Delaunay
2026-11-27 18:18 ` [PATCH v2 2/7] pmdomain: st: add STM32MP power domain Patrick Delaunay
@ 2026-11-27 18:18 ` Patrick Delaunay
2 siblings, 0 replies; 6+ messages in thread
From: Patrick Delaunay @ 2026-11-27 18:18 UTC (permalink / raw)
To: Ulf Hansson; +Cc: linux-pm, Patrick Delaunay, linux-kernel
Add a MAINTAINERS entry for the STM32MP power domain driver.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---
(no changes since v1)
MAINTAINERS | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index c72a281a8167..5a47f33e5267 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -26609,6 +26609,13 @@ F: drivers/pinctrl/stm32/
F: include/dt-bindings/pinctrl/stm32-pinfunc.h
X: drivers/pinctrl/stm32/pinctrl-stm32-hdp.c
+ST STM32 POWER DOMAIN DRIVER
+M: Patrick Delaunay <patrick.delaunay@foss.st.com>
+L: linux-stm32@st-md-mailman.stormreply.com (moderated for non-subscribers)
+S: Maintained
+F: Documentation/devicetree/bindings/power/st,stm32mp-pm-domain.yaml
+F: drivers/pmdomain/st/stm32mp-pm-domain.c
+
ST STM32 SPI DRIVER
M: Alain Volmat <alain.volmat@foss.st.com>
L: linux-spi@vger.kernel.org
--
2.43.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 2/7] pmdomain: st: add STM32MP power domain
2026-11-27 18:18 ` [PATCH v2 2/7] pmdomain: st: add STM32MP power domain Patrick Delaunay
@ 2026-11-29 0:01 ` kernel test robot
2026-11-29 0:36 ` kernel test robot
1 sibling, 0 replies; 6+ messages in thread
From: kernel test robot @ 2026-11-29 0:01 UTC (permalink / raw)
To: Patrick Delaunay, Ulf Hansson, Maxime Coquelin, Alexandre Torgue
Cc: oe-kbuild-all, linux-pm, linux-arm-kernel, linux-kernel, linux-stm32
Hi Patrick,
kernel test robot noticed the following build errors:
[auto build test ERROR on 9437ee8b6cf607e883b36e44bd755968daaebd48]
url: https://github.com/intel-lab-lkp/linux/commits/Patrick-Delaunay/dt-bindings-power-st-add-STM32MP-PM-domain/20261127-191825
base: 9437ee8b6cf607e883b36e44bd755968daaebd48
patch link: https://lore.kernel.org/r/20261127191823.v2.2.I59b2ea87f07947037b772c49c277092c887f4310%40changeid
patch subject: [PATCH v2 2/7] pmdomain: st: add STM32MP power domain
config: arc-randconfig-1001-20261128 (https://download.01.org/0day-ci/archive/20261129/20261129074739.N82dAQss-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261129/20261129074739.N82dAQss-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261129074739.N82dAQss-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/pmdomain/core.c: In function 'genpd_queue_power_off_work':
>> drivers/pmdomain/core.c:986:13: error: 'pm_wq' undeclared (first use in this function)
queue_work(pm_wq, &genpd->power_off_work);
^~~~~
drivers/pmdomain/core.c:986:13: note: each undeclared identifier is reported only once for each function it appears in
drivers/pmdomain/core.c: In function 'genpd_dev_pm_qos_notifier':
>> drivers/pmdomain/core.c:1247:25: error: 'struct dev_pm_info' has no member named 'ignore_children'
if (!dev || dev->power.ignore_children)
^
drivers/pmdomain/core.c: In function 'rtpm_status_str':
>> drivers/pmdomain/core.c:3915:16: error: 'struct dev_pm_info' has no member named 'runtime_error'
if (dev->power.runtime_error)
^
>> drivers/pmdomain/core.c:3917:21: error: 'struct dev_pm_info' has no member named 'disable_depth'
else if (dev->power.disable_depth)
^
>> drivers/pmdomain/core.c:3919:21: error: 'struct dev_pm_info' has no member named 'runtime_status'
else if (dev->power.runtime_status < ARRAY_SIZE(status_lookup))
^
drivers/pmdomain/core.c:3920:31: error: 'struct dev_pm_info' has no member named 'runtime_status'
p = status_lookup[dev->power.runtime_status];
^
--
drivers/pmdomain/governor.c: In function 'default_suspend_ok':
>> drivers/pmdomain/governor.c:90:17: error: 'struct dev_pm_info' has no member named 'ignore_children'
if (!dev->power.ignore_children)
^
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS
Depends on [n]: PM [=n]
Selected by [y]:
- STM32MP_PM_DOMAIN [=y] && (ARCH_STM32 || COMPILE_TEST [=y])
vim +/pm_wq +986 drivers/pmdomain/core.c
c8f0ea45169c57 drivers/base/power/domain.c Geert Uytterhoeven 2014-11-10 976
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 977 /**
86e12eac1f7f84 drivers/base/power/domain.c Ulf Hansson 2016-12-08 978 * genpd_queue_power_off_work - Queue up the execution of genpd_power_off().
a3d09c73492e57 drivers/base/power/domain.c Moritz Fischer 2016-01-27 979 * @genpd: PM domain to power off.
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 980 *
86e12eac1f7f84 drivers/base/power/domain.c Ulf Hansson 2016-12-08 981 * Queue up the execution of genpd_power_off() unless it's already been done
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 982 * before.
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 983 */
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 984 static void genpd_queue_power_off_work(struct generic_pm_domain *genpd)
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 985 {
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 @986 queue_work(pm_wq, &genpd->power_off_work);
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 987 }
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 988
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 2/7] pmdomain: st: add STM32MP power domain
2026-11-27 18:18 ` [PATCH v2 2/7] pmdomain: st: add STM32MP power domain Patrick Delaunay
2026-11-29 0:01 ` kernel test robot
@ 2026-11-29 0:36 ` kernel test robot
1 sibling, 0 replies; 6+ messages in thread
From: kernel test robot @ 2026-11-29 0:36 UTC (permalink / raw)
To: Patrick Delaunay, Ulf Hansson, Maxime Coquelin, Alexandre Torgue
Cc: llvm, oe-kbuild-all, linux-pm, linux-arm-kernel, linux-kernel,
linux-stm32
Hi Patrick,
kernel test robot noticed the following build errors:
[auto build test ERROR on 9437ee8b6cf607e883b36e44bd755968daaebd48]
url: https://github.com/intel-lab-lkp/linux/commits/Patrick-Delaunay/dt-bindings-power-st-add-STM32MP-PM-domain/20261127-191825
base: 9437ee8b6cf607e883b36e44bd755968daaebd48
patch link: https://lore.kernel.org/r/20261127191823.v2.2.I59b2ea87f07947037b772c49c277092c887f4310%40changeid
patch subject: [PATCH v2 2/7] pmdomain: st: add STM32MP power domain
config: i386-buildonly-randconfig-1005-20261129 (https://download.01.org/0day-ci/archive/20261129/20261129082229.8EW1ds3V-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261129/20261129082229.8EW1ds3V-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261129082229.8EW1ds3V-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/pmdomain/core.c:986:13: error: use of undeclared identifier 'pm_wq'
986 | queue_work(pm_wq, &genpd->power_off_work);
| ^~~~~
>> drivers/pmdomain/core.c:1247:26: error: no member named 'ignore_children' in 'struct dev_pm_info'
1247 | if (!dev || dev->power.ignore_children)
| ~~~~~~~~~~ ^
>> drivers/pmdomain/core.c:3915:17: error: no member named 'runtime_error' in 'struct dev_pm_info'
3915 | if (dev->power.runtime_error)
| ~~~~~~~~~~ ^
>> drivers/pmdomain/core.c:3917:22: error: no member named 'disable_depth' in 'struct dev_pm_info'
3917 | else if (dev->power.disable_depth)
| ~~~~~~~~~~ ^
>> drivers/pmdomain/core.c:3919:22: error: no member named 'runtime_status' in 'struct dev_pm_info'
3919 | else if (dev->power.runtime_status < ARRAY_SIZE(status_lookup))
| ~~~~~~~~~~ ^
drivers/pmdomain/core.c:3920:32: error: no member named 'runtime_status' in 'struct dev_pm_info'
3920 | p = status_lookup[dev->power.runtime_status];
| ~~~~~~~~~~ ^
6 errors generated.
--
>> drivers/pmdomain/governor.c:90:18: error: no member named 'ignore_children' in 'struct dev_pm_info'
90 | if (!dev->power.ignore_children)
| ~~~~~~~~~~ ^
1 error generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS
Depends on [n]: PM [=n]
Selected by [y]:
- STM32MP_PM_DOMAIN [=y] && (ARCH_STM32 || COMPILE_TEST [=y])
vim +/pm_wq +986 drivers/pmdomain/core.c
c8f0ea45169c57 drivers/base/power/domain.c Geert Uytterhoeven 2014-11-10 976
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 977 /**
86e12eac1f7f84 drivers/base/power/domain.c Ulf Hansson 2016-12-08 978 * genpd_queue_power_off_work - Queue up the execution of genpd_power_off().
a3d09c73492e57 drivers/base/power/domain.c Moritz Fischer 2016-01-27 979 * @genpd: PM domain to power off.
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 980 *
86e12eac1f7f84 drivers/base/power/domain.c Ulf Hansson 2016-12-08 981 * Queue up the execution of genpd_power_off() unless it's already been done
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 982 * before.
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 983 */
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 984 static void genpd_queue_power_off_work(struct generic_pm_domain *genpd)
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 985 {
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 @986 queue_work(pm_wq, &genpd->power_off_work);
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 987 }
29e47e2173349e drivers/base/power/domain.c Ulf Hansson 2015-09-02 988
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-11-29 0:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 18:18 [PATCH v2 0/7] arm64: dts: st: add STM32MP2 power domains Patrick Delaunay
2026-11-27 18:18 ` [PATCH v2 1/7] dt-bindings: power: st: add STM32MP PM domain Patrick Delaunay
2026-11-27 18:18 ` [PATCH v2 2/7] pmdomain: st: add STM32MP power domain Patrick Delaunay
2026-11-29 0:01 ` kernel test robot
2026-11-29 0:36 ` kernel test robot
2026-11-27 18:18 ` [PATCH v2 3/7] MAINTAINERS: add entry for ST STM32 power domain driver Patrick Delaunay
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®