soc: bcm: bcm2835-pm: Add support for power domains under a new binding.
authorEric Anholt <eric@anholt.net>
Wed, 12 Dec 2018 23:51:48 +0000 (15:51 -0800)
committerpopcornmix <popcornmix@gmail.com>
Thu, 13 Jun 2019 10:45:17 +0000 (11:45 +0100)
commit716e6e18ca272365477d63d03aad91c8adb1422d
treed2af4f23ed35c1881af57d568357fd23c76539bd
parentae3f6780c32d263019c1ac87f896b3a4066322a0
soc: bcm: bcm2835-pm: Add support for power domains under a new binding.

This provides a free software alternative to raspberrypi-power.c's
firmware calls to manage power domains.  It also exposes a reset line,
where previously the vc4 driver had to try to force power off the
domain in order to trigger a reset.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
(cherry picked from commit 670c672608a1ffcbc7ac0f872734843593bb8b15)
drivers/mfd/bcm2835-pm.c
drivers/soc/bcm/Kconfig
drivers/soc/bcm/Makefile
drivers/soc/bcm/bcm2835-power.c [new file with mode: 0644]
include/dt-bindings/soc/bcm2835-pm.h [new file with mode: 0644]
include/linux/mfd/bcm2835-pm.h