Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Benjamin Gaignard
2017-12-08 15:08 GMT+01:00 Daniel Lezcano : > On 08/12/2017 15:04, Benjamin Gaignard wrote: >> 2017-12-08 14:46 GMT+01:00 Daniel Lezcano : >>> On 08/12/2017 12:32, Benjamin Gaignard wrote: The stm32 timer hardware is currently only used as

Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Benjamin Gaignard
2017-12-08 15:08 GMT+01:00 Daniel Lezcano : > On 08/12/2017 15:04, Benjamin Gaignard wrote: >> 2017-12-08 14:46 GMT+01:00 Daniel Lezcano : >>> On 08/12/2017 12:32, Benjamin Gaignard wrote: The stm32 timer hardware is currently only used as a clock event device, but it can be utilized as

Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Daniel Lezcano
On 08/12/2017 15:04, Benjamin Gaignard wrote: > 2017-12-08 14:46 GMT+01:00 Daniel Lezcano : >> On 08/12/2017 12:32, Benjamin Gaignard wrote: >>> The stm32 timer hardware is currently only used as a clock event device, >>> but it can be utilized as a clocksource as well.

Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Daniel Lezcano
On 08/12/2017 15:04, Benjamin Gaignard wrote: > 2017-12-08 14:46 GMT+01:00 Daniel Lezcano : >> On 08/12/2017 12:32, Benjamin Gaignard wrote: >>> The stm32 timer hardware is currently only used as a clock event device, >>> but it can be utilized as a clocksource as well. >>> >>> Implement this by

Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Benjamin Gaignard
2017-12-08 14:46 GMT+01:00 Daniel Lezcano : > On 08/12/2017 12:32, Benjamin Gaignard wrote: >> The stm32 timer hardware is currently only used as a clock event device, >> but it can be utilized as a clocksource as well. >> >> Implement this by enabling the free running

Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Benjamin Gaignard
2017-12-08 14:46 GMT+01:00 Daniel Lezcano : > On 08/12/2017 12:32, Benjamin Gaignard wrote: >> The stm32 timer hardware is currently only used as a clock event device, >> but it can be utilized as a clocksource as well. >> >> Implement this by enabling the free running counter in the hardware

Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Daniel Lezcano
On 08/12/2017 12:32, Benjamin Gaignard wrote: > The stm32 timer hardware is currently only used as a clock event device, > but it can be utilized as a clocksource as well. > > Implement this by enabling the free running counter in the hardware block > and converting the clock event part from a

Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Daniel Lezcano
On 08/12/2017 12:32, Benjamin Gaignard wrote: > The stm32 timer hardware is currently only used as a clock event device, > but it can be utilized as a clocksource as well. > > Implement this by enabling the free running counter in the hardware block > and converting the clock event part from a

[PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Benjamin Gaignard
The stm32 timer hardware is currently only used as a clock event device, but it can be utilized as a clocksource as well. Implement this by enabling the free running counter in the hardware block and converting the clock event part from a count down event timer to a comparator based timer.

[PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Benjamin Gaignard
The stm32 timer hardware is currently only used as a clock event device, but it can be utilized as a clocksource as well. Implement this by enabling the free running counter in the hardware block and converting the clock event part from a count down event timer to a comparator based timer.