Re: [PATCH v4 5/8] riscv: Rework Sifive CLINT as UCLASS_TIMER driver

2020-09-15 Thread Sean Anderson
On 9/15/20 4:09 AM, Bin Meng wrote: > Hi Sean, > > On Thu, Sep 10, 2020 at 4:09 AM Sean Anderson wrote: >> >> This converts the clint driver from the riscv-specific interface to be a >> DM-based UCLASS_TIMER driver. In addition, the SiFive DDR driver previously >> implicitly depended on the

Re: [PATCH v4 5/8] riscv: Rework Sifive CLINT as UCLASS_TIMER driver

2020-09-15 Thread Bin Meng
Hi Sean, On Thu, Sep 10, 2020 at 4:09 AM Sean Anderson wrote: > > This converts the clint driver from the riscv-specific interface to be a > DM-based UCLASS_TIMER driver. In addition, the SiFive DDR driver previously > implicitly depended on the CLINT to select REGMAP. > > Unlike Andes's

[PATCH v4 5/8] riscv: Rework Sifive CLINT as UCLASS_TIMER driver

2020-09-09 Thread Sean Anderson
This converts the clint driver from the riscv-specific interface to be a DM-based UCLASS_TIMER driver. In addition, the SiFive DDR driver previously implicitly depended on the CLINT to select REGMAP. Unlike Andes's PLMT/PLIC (which AFAIK never have anything pass it a dtb), the SiFive CLINT is