summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2020-09-28 10:52:26 -0400
committerAndes <[email protected]>2020-09-30 08:54:46 +0800
commite5ca9a752399c2701cb71527d198bfa78268580d (patch)
tree2e792a2bdf8bc6a50fc0ad4cb5b5f55f7ead0783 /scripts/const_structs.checkpatch
parent15943bb558d2fef6ae6d2713e252db17754d207d (diff)
riscv: Rework Sifive CLINT as UCLASS_TIMER driver
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 part of the device tree passed in by qemu. This device tree doesn't have a clocks or clock-frequency property on clint, so we need to fall back on the timebase-frequency property. Perhaps in the future we can get a clock-frequency property added to the qemu dtb. Unlike with the Andes PLMT, the Sifive CLINT is also an IPI controller. RISCV_SYSCON_CLINT is retained for this purpose. Signed-off-by: Sean Anderson <[email protected]> Reviewed-by: Pragnesh Patel <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions