diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-05-04 20:36:09 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-05-15 18:19:03 +0300 |
commit | c20e8c5b1203af3726561ee5649b147194e0618e (patch) | |
tree | 828773d0f7a917ef10591a68d348f13e9372abdd /include/linux/mfd | |
parent | 049449976f549605a6913d468b61356a9950a6a2 (diff) | |
download | linux-c20e8c5b1203af3726561ee5649b147194e0618e.tar.xz |
mfd: rk808: Split into core and i2c
Split rk808 into a core and an i2c part in preparation for
SPI support.
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> # for RTC
Tested-by: Diederik de Haas <didi.debian@cknow.org> # Rock64, Quartz64 Model A + B
Tested-by: Vincent Legoll <vincent.legoll@gmail.com> # Pine64 QuartzPro64
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230504173618.142075-6-sebastian.reichel@collabora.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/rk808.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h index a89ddd9ba68e..4183427a80fe 100644 --- a/include/linux/mfd/rk808.h +++ b/include/linux/mfd/rk808.h @@ -794,4 +794,10 @@ struct rk808 { const struct regmap_config *regmap_cfg; const struct regmap_irq_chip *regmap_irq_chip; }; + +void rk8xx_shutdown(struct device *dev); +int rk8xx_probe(struct device *dev, int variant, unsigned int irq, struct regmap *regmap); +int rk8xx_suspend(struct device *dev); +int rk8xx_resume(struct device *dev); + #endif /* __LINUX_REGULATOR_RK808_H */ |