Re: [PATCH 4/4] clocksource/vt8500: Add register R/W functions

2015-12-21 Thread Alexey Charkov
Roman Volkov mail.ru> writes: > > From: Roman Volkov v1ros.org> > > vt8500 timer requires special synchronization for accessing some of its > registers. Define special read and write functions to handle this process > transparently. Maybe introduce such accessor functions (conditionally) into

[PATCH 4/4] clocksource/vt8500: Add register R/W functions

2015-12-20 Thread Roman Volkov
From: Roman Volkov vt8500 timer requires special synchronization for accessing some of its registers. Define special read and write functions to handle this process transparently. To perform a read from the Timer Count register, user must write a one to the Timer Control register and wait for co