drivers/clocksource/timer-atcpit100.c
0 → 100644
+248
−0
Loading
Gitlab 现已全面支持 git over ssh 与 git over https。通过 HTTPS 访问请配置带有 read_repository / write_repository 权限的 Personal access token。通过 SSH 端口访问请使用 22 端口或 13389 端口。如果使用CAS注册了账户但不知道密码,可以自行至设置中更改;如有其他问题,请发邮件至 service@cra.moe 寻求协助。
ATCPIT100 is often used on the Andes architecture, This timer provide 4 PIT channels. Each PIT channel is a multi-function timer, can be configured as 32,16,8 bit timers or PWM as well. For system timer it will set channel 1 32-bit timer0 as clock source and count downwards until underflow and restart again. It also set channel 0 32-bit timer0 as clock event and count downwards until condition match. It will generate an interrupt for handling periodically. Signed-off-by:Rick Chen <rickchen36@gmail.com> Signed-off-by:
Greentime Hu <green.hu@gmail.com> Reviewed-by:
Linus Walleij <linus.walleij@linaro.org> Add andestech atcpit100 timer
CRA Git | Maintained and supported by SUSTech CRA and CCSE