u-boot/include/power
Quentin Schulz f172575d92 power: rk8xx: add support for RK806
This adds support for RK806, only the SPI variant has been tested.

The communication "protocol" over SPI is the following:
 - write three bytes:
   - 1 byte: [0:3] length of the payload, [6] Enable CRC, [7] Write
   - 1 byte: LSB register address
   - 1 byte: MSB register address
 - write/read length of payload

The CRC is always disabled for now.

The RK806 technically supports I2C as well, and this should be able to
support it without any change, but it wasn't tested.

The DT node name prefix for the buck converters has changed in the
Device Tree and is now dcdc-reg. The logic for buck converters is
however manageable within the current logic inside the rk8xx regulator
driver. The same cannot be said for the NLDO and PLDO.

Because pmic_bind_children() parses the DT nodes and extracts the LDO
index from the DT node name, NLDO and PLDO will have overlapping
indices. Therefore, we need a separate logic from the already-existing
ldo callbacks. Let's reuse as much as possible though.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
2024-03-14 18:19:44 +08:00
..
ab8500.h power: pmic: Add driver for ST-Ericsson AB8500 via PRCMU 2021-07-14 16:48:14 -04:00
acpi_pmc.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
act8846_pmic.h power: act8846_pmic: fix number of registers 2023-01-31 22:05:03 +09:00
as3722.h
battery.h
bd71837.h
da9063_pmic.h
fan53555.h
hi6553_pmic.h
lp873x.h
lp87565.h
ltc3676_pmic.h
max8997_muic.h
max8997_pmic.h
max8998_pmic.h
max17042_fg.h
max77663.h drivers: gpio: implement MAX77663 GPIO cell 2023-12-19 20:53:53 +02:00
max77686_pmic.h i2c: Convert CONFIG_POWER_I2C et al to Kconfig 2021-09-04 12:26:02 -04:00
max77693_fg.h
max77693_muic.h
max77693_pmic.h
mc34vr500_pmic.h
mp5416.h
palmas.h drivers: gpio: implement PALMAS GPIO cell 2023-12-19 20:53:53 +02:00
pca9450.h power: pmic: Add NXP PCA9451A PMIC support 2023-03-30 00:45:39 +02:00
pfuze100_pmic.h power: pfuze100: Add MEMx register definitions 2022-03-25 16:42:40 -04:00
pfuze3000_pmic.h
pmic.h power: pmic: add dm style definitions if not CONFIG_IS_ENABLED(POWER_LEGACY) 2023-05-10 16:45:42 -04:00
power_chrg.h
regulator.h headers: don't depend on errno.h being available 2024-01-24 11:12:11 -05:00
rk8xx_pmic.h power: rk8xx: add support for RK806 2024-03-14 18:19:44 +08:00
rn5t567_pmic.h
s2mps11.h
s5m8767.h
sandbox_pmic.h
stpmic1.h stm32mp: stpmic1: remove the debug unit request by debugger 2022-06-17 14:12:27 +02:00
tps62362.h tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
tps65090.h
tps65217.h tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
tps65218.h
tps65219.h power: add driver for the TPS65219 PMIC 2022-05-09 13:40:24 -04:00
tps65910.h tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
tps65910_pmic.h sysreset: implement TPS65910 sysreset functions 2023-11-03 17:42:14 -04:00
tps65941.h power: pmic: tps65941: Add compatible for LP876441 2021-07-15 17:56:04 +05:30
tps80031.h sysreset: implement TPS80031 sysreset functions 2023-11-03 17:41:54 -04:00