
As there is no GPIO to reset the HiFive Unmatched board, we must directly ask the da9063 PMIC for a reset: this small patchset adds the corresponding sysreset driver and enables it for this board.
As the probing of this new device depends on a device-tree node, this series also adds the device tree bindings documentation for the da9063 device.
Changes in v2: - Add device tree probing as suggested by Heinrich - Rebased onto master
Alexandre Ghiti (4): dt-bindings: power: Add da9063 PMIC device bindings dt-bindings: power: Add new da9063 sysreset subdevice bindings drivers: pmic: Add sysreset driver for da9063 PMIC riscv: Enable da9063 sysreset driver on HiFive Unmatched
arch/riscv/dts/hifive-unmatched-a00.dts | 4 ++ configs/sifive_unmatched_defconfig | 2 + doc/device-tree-bindings/power/da9063.txt | 68 +++++++++++++++++++++++ drivers/power/pmic/da9063.c | 51 ++++++++++++++++- include/power/da9063_pmic.h | 1 + 5 files changed, 125 insertions(+), 1 deletion(-) create mode 100644 doc/device-tree-bindings/power/da9063.txt