
In the TI SOCs a PBIAS cell exists to provide a bias voltage to the MMC1 IO cells. Without this bias voltage these I/O cells can not function properly. This bias voltage is either 1.8v or 3.0v.
The first patch implements the support for this PBIAS cell as a regulator driver. The sencond patch enables it in the default config for am57x and dra7x. The last patch is here to allow the binding of the driver. In the DTS of the dra7x and am57x platforms, the pbias entry is a child of a syscon.
Jean-Jacques Hiblot (3): regulator: pbias: Add PBIAS regulator for proper voltage switching on MMC1 configs: dra7xx_evm: am57xx_evm: Enable DM_REGULATOR_PBIAS dm: syscon: scan sub-nodes of the syscon node
configs/am57xx_evm_defconfig | 3 + configs/dra7xx_evm_defconfig | 1 + drivers/core/syscon-uclass.c | 1 + drivers/power/regulator/Kconfig | 10 + drivers/power/regulator/Makefile | 1 + drivers/power/regulator/pbias_regulator.c | 305 ++++++++++++++++++++++++++++++ 6 files changed, 321 insertions(+) create mode 100644 drivers/power/regulator/pbias_regulator.c