Searched +full:ls1b +full:- +full:pwmtimer (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/timer/loongson,ls1x-pwmtimer.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Loongson-1 PWM timer10 - Keguang Zhang <keguang.zhang@gmail.com>13 Loongson-1 PWM timer can be used for system clock source18 const: loongson,ls1b-pwmtimer30 - compatible31 - reg[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later3 * Clocksource driver for Loongson-1 SoC11 #include "timer-of.h"13 /* Loongson-1 PWM Timer Register Definitions */84 clkevt->event_handler(clkevt); in ls1x_clockevent_isr()137 .name = "ls1x-pwmtimer",183 count = readl(ls1x_cs->reg_base + PWM_CNTR); in ls1x_clocksource_read()203 return (u64)(jifs * ls1x_cs->ticks_per_jiffy) + count; in ls1x_clocksource_read()208 .name = "ls1x-pwmtimer",225 clockevents_config_and_register(&to->clkevt, timer_of_rate(to), in ls1x_pwm_clocksource_init()[all …]