mfd: rk8xx: Add rk806 support
authorSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 4 May 2023 17:36:12 +0000 (19:36 +0200)
committerLee Jones <lee@kernel.org>
Mon, 15 May 2023 15:20:22 +0000 (16:20 +0100)
commit210f418f8ace9f056c337f7945e0ae3e242b3389
tree2b4d8b57f9abb65ff7e8e182406b6fe5f2da82d2
parent706a4141d40fd98a884824b3d97b19b0ecb7e9a8
mfd: rk8xx: Add rk806 support

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.

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-9-sebastian.reichel@collabora.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/rk8xx-core.c
drivers/mfd/rk8xx-spi.c [new file with mode: 0644]
include/linux/mfd/rk808.h