Re: [PATCH v4 3/8] riscv: Rework Andes PLMT as a UCLASS_TIMER driver

2020-09-15 Thread Sean Anderson
On 9/15/20 3:18 AM, Bin Meng wrote: > Hi Sean, > > On Thu, Sep 10, 2020 at 4:09 AM Sean Anderson wrote: >> >> This converts the PLMT driver from the riscv-specific timer interface to be >> a DM-based UCLASS_TIMER driver. >> >> The clock-frequency/clocks properties are preferred over timebase-freq

Re: [PATCH v4 3/8] riscv: Rework Andes PLMT as a 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 PLMT driver from the riscv-specific timer interface to be > a DM-based UCLASS_TIMER driver. > > The clock-frequency/clocks properties are preferred over timebase-frequency > for two reasons. First, properties whic

[PATCH v4 3/8] riscv: Rework Andes PLMT as a UCLASS_TIMER driver

2020-09-09 Thread Sean Anderson
This converts the PLMT driver from the riscv-specific timer interface to be a DM-based UCLASS_TIMER driver. The clock-frequency/clocks properties are preferred over timebase-frequency for two reasons. First, properties which affect a device should be located near its binding in the device tree. Us