Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit d97d0f1b authored by Andreas Färber's avatar Andreas Färber
Browse files

Merge branch 'v4.13/sps' into v4.13/drivers



This adds the SPS power domains driver.

Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
parents f35b0936 6932ec60
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
Actions Semi Owl Smart Power System (SPS)

Required properties:
- compatible          :  "actions,s500-sps" for S500
- reg                 :  Offset and length of the register set for the device.
- #power-domain-cells :  Must be 1.
                         See macros in:
                          include/dt-bindings/power/owl-s500-powergate.h for S500


Example:

		sps: power-controller@b01b0100 {
			compatible = "actions,s500-sps";
			reg = <0xb01b0100 0x100>;
			#power-domain-cells = <1>;
		};
+1 −0
Original line number Diff line number Diff line
menu "SOC (System On Chip) specific Drivers"

source "drivers/soc/actions/Kconfig"
source "drivers/soc/atmel/Kconfig"
source "drivers/soc/bcm/Kconfig"
source "drivers/soc/fsl/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
# Makefile for the Linux Kernel SOC specific device drivers.
#

obj-$(CONFIG_ARCH_ACTIONS)	+= actions/
obj-$(CONFIG_ARCH_AT91)		+= atmel/
obj-y				+= bcm/
obj-$(CONFIG_ARCH_DOVE)		+= dove/
+16 −0
Original line number Diff line number Diff line
if ARCH_ACTIONS || COMPILE_TEST

config OWL_PM_DOMAINS_HELPER
	bool

config OWL_PM_DOMAINS
	bool "Actions Semi SPS power domains"
	depends on PM
	select OWL_PM_DOMAINS_HELPER
	select PM_GENERIC_DOMAINS
	help
	  Say 'y' here to enable support for Smart Power System (SPS)
	  power-gating on Actions Semiconductor S500 SoC.
	  If unsure, say 'n'.

endif
+2 −0
Original line number Diff line number Diff line
obj-$(CONFIG_OWL_PM_DOMAINS_HELPER) += owl-sps-helper.o
obj-$(CONFIG_OWL_PM_DOMAINS) += owl-sps.o
Loading