mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
670c672608
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>
14 lines
235 B
C
14 lines
235 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
#ifndef BCM2835_MFD_PM_H
|
|
#define BCM2835_MFD_PM_H
|
|
|
|
#include <linux/regmap.h>
|
|
|
|
struct bcm2835_pm {
|
|
struct device *dev;
|
|
void __iomem *base;
|
|
void __iomem *asb;
|
|
};
|
|
|
|
#endif /* BCM2835_MFD_PM_H */
|