Message ID | 20230307153617.643260-1-sebastian.reichel@collabora.com |
---|---|
Headers | show |
Series | Introduce RK806 Support | expand |
On Tue, 07 Mar 2023, Sebastian Reichel wrote: > Add support for SPI connected rk806, which is used by the RK3588 > evaluation boards. The PMIC is advertised to support I2C and SPI, > but the evaluation boards all use SPI. Thus only SPI support is > added here. > > Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> > --- > drivers/mfd/Kconfig | 14 ++ > drivers/mfd/Makefile | 1 + > drivers/mfd/rk8xx-core.c | 69 ++++++- > drivers/mfd/rk8xx-spi.c | 124 ++++++++++++ > include/linux/mfd/rk808.h | 409 ++++++++++++++++++++++++++++++++++++++ > 5 files changed, 614 insertions(+), 3 deletions(-) > create mode 100644 drivers/mfd/rk8xx-spi.c For my own reference (apply this as-is to your sign-off block): Acked-for-MFD-by: Lee Jones <lee@kernel.org> Can't apply the set though, as you're still missing Acks. Please ping me once we have them all. -- Lee Jones [李琼斯]
Quoting Sebastian Reichel (2023-03-07 07:36:07) > Reduce usage of 'struct rk808' (driver data of the parent MFD), so > that only the chip variant field is still being accessed directly. > This allows restructuring the MFD driver to support SPI based > PMICs. > > Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> > --- Acked-by: Stephen Boyd <sboyd@kernel.org>