Commit f3460326 authored by Conor Dooley's avatar Conor Dooley
Browse files

Merge patch series "JH7110 PMU Support"



Walker Chen <walker.chen@starfivetech.com> says:

Add the PMU (Power Management Unit) controller driver for the
StarFive JH7110 SoC. In order to meet low power requirements, PMU is
designed for including multiple PM domains that can be used for power
gating of selected IP blocks for power saving by reduced leakage
current.

Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
parents 6635e916 08b9a94e
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/starfive,jh7110-pmu.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: StarFive JH7110 Power Management Unit

maintainers:
  - Walker Chen <walker.chen@starfivetech.com>

description: |
  StarFive JH7110 SoC includes support for multiple power domains which can be
  powered on/off by software based on different application scenes to save power.

properties:
  compatible:
    enum:
      - starfive,jh7110-pmu

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  "#power-domain-cells":
    const: 1

required:
  - compatible
  - reg
  - interrupts
  - "#power-domain-cells"

additionalProperties: false

examples:
  - |
    pwrc: power-controller@17030000 {
        compatible = "starfive,jh7110-pmu";
        reg = <0x17030000 0x10000>;
        interrupts = <111>;
        #power-domain-cells = <1>;
    };
+13 −0
Original line number Diff line number Diff line
@@ -19905,6 +19905,19 @@ F: Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml
F:	drivers/reset/reset-starfive-jh7100.c
F:	include/dt-bindings/reset/starfive-jh7100.h
STARFIVE SOC DRIVERS
M:	Conor Dooley <conor@kernel.org>
S:	Maintained
T:	git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
F:	drivers/soc/starfive/
STARFIVE JH71XX PMU CONTROLLER DRIVER
M:	Walker Chen <walker.chen@starfivetech.com>
S:	Supported
F:	Documentation/devicetree/bindings/power/starfive*
F:	drivers/soc/starfive/jh71xx_pmu.c
F:	include/dt-bindings/power/starfive,jh7110-pmu.h
STATIC BRANCH/CALL
M:	Peter Zijlstra <peterz@infradead.org>
M:	Josh Poimboeuf <jpoimboe@kernel.org>
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ source "drivers/soc/renesas/Kconfig"
source "drivers/soc/rockchip/Kconfig"
source "drivers/soc/samsung/Kconfig"
source "drivers/soc/sifive/Kconfig"
source "drivers/soc/starfive/Kconfig"
source "drivers/soc/sunxi/Kconfig"
source "drivers/soc/tegra/Kconfig"
source "drivers/soc/ti/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ obj-y += renesas/
obj-y				+= rockchip/
obj-$(CONFIG_SOC_SAMSUNG)	+= samsung/
obj-y				+= sifive/
obj-$(CONFIG_SOC_STARFIVE)	+= starfive/
obj-y				+= sunxi/
obj-$(CONFIG_ARCH_TEGRA)	+= tegra/
obj-y				+= ti/
+12 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0

config JH71XX_PMU
	bool "Support PMU for StarFive JH71XX Soc"
	depends on PM
	depends on SOC_STARFIVE || COMPILE_TEST
	default SOC_STARFIVE
	select PM_GENERIC_DOMAINS
	help
	  Say 'y' here to enable support power domain support.
	  In order to meet low power requirements, a Power Management Unit (PMU)
	  is designed for controlling power resources in StarFive JH71XX SoCs.
Loading