[PATCH v2 0/4] Add reset support to HiFive Unmatched
Alexandre Ghiti
alexandre.ghiti at canonical.com
Mon Oct 4 13:08:19 CEST 2021
On Fri, Sep 24, 2021 at 10:42 AM Alexandre Ghiti
<alexandre.ghiti at canonical.com> wrote:
>
> 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
>
> --
> 2.30.2
>
The i2c sequence proposed here should not work according to Adam in
this thread: https://patchwork.kernel.org/project/linux-riscv/patch/20210921053356.1705833-1-alexandre.ghiti@canonical.com/.
According to Adam, the sequence he proposed should be SiFive Unmatched
board-specific, as this is not something other boards could use.
I'll be back with a v3, you can drop this.
Thanks,
Alex
More information about the U-Boot
mailing list