Re: [PATCH v13 07/13] clocksource: Add a new timer-ingenic driver

2019-06-24 Thread Thomas Gleixner
On Tue, 25 Jun 2019, Paul Cercueil wrote: > + > +struct ingenic_soc_info { > + unsigned int num_channels; > +}; > + > +struct ingenic_tcu { > + struct regmap *map; > + struct clk *timer_clk, *cs_clk; > + > + unsigned int timer_channel, cs_channel; > + struct clock_event_device c

[PATCH v13 07/13] clocksource: Add a new timer-ingenic driver

2019-06-24 Thread Paul Cercueil
This driver handles the TCU (Timer Counter Unit) present on the Ingenic JZ47xx SoCs, and provides the kernel with a system timer, a clocksource and a sched_clock. Signed-off-by: Paul Cercueil Tested-by: Mathieu Malaterre Tested-by: Artur Rojek --- Notes: v2: Use SPDX identifier for the lic