platform: starfive: add PMIC power ops in JH7110 visionfive2 board
authorMinda Chen <minda.chen@starfivetech.com>
Thu, 9 Mar 2023 06:19:59 +0000 (14:19 +0800)
committerAnup Patel <anup@brainfault.org>
Thu, 9 Mar 2023 15:41:20 +0000 (21:11 +0530)
commit568ea49490d935e01b9a41ef8bb5daf9cb0ef201
tree824c880575d263283d80d692c8077225a1d2c70e
parente9d08bd99cc702fcec1c5b59b593781da668e2bc
platform: starfive: add PMIC power ops in JH7110 visionfive2 board

add reboot and poweroff support. The whole reboot and shutdown
pm op includes shutdown jh7110 pmu device power domain
and access on board pmic register through I2C.

Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
platform/generic/configs/defconfig
platform/generic/starfive/jh7110.c