Add a condition to enable the PMIC sysreset function via the
system-power-controller device tree property in addition to the existing
Kconfig dependency, provided the PMIC supports it.

Rockchip change can be removed if required since rockchip seems to use PMIC
in the SPL stage too and at that time device tree may not be available.

Svyatoslav Ryhel (1):
  power: pmic: enable sysreset function with device tree property

 drivers/power/pmic/max77663.c         | 4 +++-
 drivers/power/pmic/max8907.c          | 3 ++-
 drivers/power/pmic/palmas.c           | 4 +++-
 drivers/power/pmic/pmic_tps65910_dm.c | 4 +++-
 drivers/power/pmic/rk8xx.c            | 4 +++-
 drivers/power/pmic/tps80031.c         | 4 +++-
 6 files changed, 17 insertions(+), 6 deletions(-)

-- 
2.51.0

Reply via email to