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

From: Andreas Schwab
Date: Mon Nov 11 2019 - 11:55:41 EST


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?

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."