Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff drivers

From: David Abdurachmanov
Date: Mon Nov 11 2019 - 12:02:04 EST


On Mon, Nov 11, 2019 at 6:55 PM Andreas Schwab <schwab@xxxxxxx> wrote:
>
> On Nov 11 2019, Anup Patel wrote:
>
> >> -----Original Message-----
> >> From: Andreas Schwab <schwab@xxxxxxx>
> >> Sent: Monday, November 11, 2019 8:02 PM
> >> To: Anup Patel <Anup.Patel@xxxxxxx>
> >> Cc: Palmer Dabbelt <palmer@xxxxxxxxxxx>; Paul Walmsley
> >> <paul.walmsley@xxxxxxxxxx>; Atish Patra <Atish.Patra@xxxxxxx>; Alistair
> >> Francis <Alistair.Francis@xxxxxxx>; Christoph Hellwig <hch@xxxxxx>; Anup
> >> Patel <anup@xxxxxxxxxxxxxx>; linux-riscv@xxxxxxxxxxxxxxxxxxx; linux-
> >> kernel@xxxxxxxxxxxxxxx
> >> Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff drivers
> >>
> >> On Nov 11 2019, Anup Patel wrote:
> >>
> >> >> -----Original Message-----
> >> >> From: Andreas Schwab <schwab@xxxxxxx>
> >> >> Sent: Monday, November 11, 2019 7:38 PM
> >> >> To: Anup Patel <Anup.Patel@xxxxxxx>
> >> >> Cc: Palmer Dabbelt <palmer@xxxxxxxxxx>; Paul Walmsley
> >> >> <paul.walmsley@xxxxxxxxxx>; Atish Patra <Atish.Patra@xxxxxxx>;
> >> >> Alistair Francis <Alistair.Francis@xxxxxxx>; Christoph Hellwig
> >> >> <hch@xxxxxx>; Anup Patel <anup@xxxxxxxxxxxxxx>;
> >> >> linux-riscv@xxxxxxxxxxxxxxxxxxx; linux- kernel@xxxxxxxxxxxxxxx
> >> >> Subject: Re: [PATCH] RISC-V: Enable SYSCON reboot and poweroff
> >> >> drivers
> >> >>
> >> >> On Nov 11 2019, Anup Patel wrote:
> >> >>
> >> >> > We can use SYSCON reboot and poweroff drivers for the SiFive test
> >> >> > device found on QEMU virt machine and SiFive SOCs.
> >> >>
> >> >> I don't see any syscon-reboot compatible in the device tree.
> >> >
> >> > I have sent patch to QEMU as well for generating SYSCON DT nodes.
> >>
> >> What about the kernel DT?
> >
> > For QEMU virt machine, the DT is generated by QEMU at runtime
> > so we don't need an explicit DT file in Linux sources.
>
> What about the HiFiveU?

Unleashed uses gpio-restart which depends on gpio driver (not upstreamed and
not posted for review on mailing list). I have that working on my build.

david

>
> Andreas.
>
> --
> Andreas Schwab, SUSE Labs, schwab@xxxxxxx
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-riscv