Sebastian Andrzej Siewior
7e170c6e4f
mfd: ti_am335x_tscadc: Don't read back REG_SE
...
The purpose of reg_se_cache has been defeated. It should avoid the
read-back of the register to avoid the latency and the fact that the
bits are reset to 0 after the individual conversation took place.
The reason why this is required like this to work, is that read-back of
the register removes the bits of the ADC so they do not start another
conversation after the register is re-written from the TSC side for the
update.
To avoid the not required read-back I introduce a "set once" variant which
does not update the cache mask. After the conversation completes, the
bit is removed from the SE register anyway and we don't plan a new
conversation "any time soon". The current set function is renamed to
set_cache to distinguish the two operations.
This is a small preparation for a larger sync-rework.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-01-07 08:41:15 +00:00
..
2013-06-18 09:41:10 +02:00
2013-09-02 10:59:57 +02:00
2013-09-02 11:00:16 +02:00
2013-10-23 16:21:53 +01:00
2012-09-21 23:40:34 +02:00
2013-10-23 16:20:44 +01:00
2013-07-31 13:01:29 +01:00
2013-06-13 12:11:39 +02:00
2013-06-13 10:52:00 +01:00
2013-09-02 10:22:44 +01:00
2013-08-14 18:52:51 +01:00
2013-05-21 23:23:21 +02:00
2013-06-13 12:11:41 +02:00
2013-07-31 13:01:29 +01:00
2013-11-15 16:37:40 -08:00
2013-10-23 16:22:06 +01:00
2013-06-18 00:49:52 +02:00
2013-10-23 16:22:06 +01:00
2013-06-18 00:49:52 +02:00
2013-10-23 16:22:03 +01:00
2013-10-26 00:28:21 +02:00
2013-07-31 13:01:29 +01:00
2013-04-05 11:20:13 +02:00
2013-05-16 19:14:06 +02:00
2013-06-13 12:11:42 +02:00
2012-11-28 12:22:27 -08:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-10-23 16:20:32 +01:00
2012-11-20 12:21:10 +01:00
2013-04-09 12:18:16 +02:00
2013-07-31 13:01:29 +01:00
2013-07-31 02:02:54 +02:00
2013-08-20 03:16:00 +02:00
2013-08-20 03:15:52 +02:00
2013-08-20 03:16:00 +02:00
2013-09-02 10:27:49 +02:00
2013-09-26 11:04:16 +02:00
2013-09-26 11:04:16 +02:00
2013-07-31 13:01:29 +01:00
2013-10-23 16:21:17 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-06-13 12:11:44 +02:00
2013-06-11 19:36:59 +02:00
2013-11-15 16:47:22 -08:00
2013-08-14 18:53:19 +01:00
2013-07-31 13:01:29 +01:00
2012-09-23 20:51:34 +02:00
2013-07-31 13:01:29 +01:00
2013-11-04 18:38:00 +01:00
2013-10-23 16:22:40 +01:00
2013-10-23 16:22:33 +01:00
2013-10-23 16:22:20 +01:00
2013-02-14 00:23:00 +01:00
2013-10-23 16:21:49 +01:00
2013-10-23 16:22:18 +01:00
2013-06-30 23:29:44 +02:00
2013-08-20 08:51:23 +01:00
2013-10-23 16:22:23 +01:00
2013-11-04 09:41:19 +01:00
2013-10-23 16:22:30 +01:00
2013-10-23 16:21:22 +01:00
2013-10-23 16:21:07 +01:00
2013-10-23 16:21:24 +01:00
2012-11-06 23:14:08 +01:00
2013-07-31 13:01:29 +01:00
2013-08-20 08:51:32 +01:00
2013-11-15 16:37:40 -08:00
2013-10-23 16:22:25 +01:00
2013-10-23 16:22:25 +01:00
2013-04-09 09:46:23 +02:00
2013-10-23 16:22:01 +01:00
2013-08-20 09:27:35 +01:00
2013-07-31 13:01:29 +01:00
2012-11-28 12:22:27 -08:00
2013-11-11 11:22:19 +00:00
2012-11-26 12:10:51 +01:00
2013-07-31 13:01:29 +01:00
2012-11-28 12:22:27 -08:00
2013-04-19 00:45:20 +02:00
2013-08-30 14:24:07 +02:00
2013-08-30 14:24:07 +02:00
2013-09-07 20:14:19 -07:00
2013-08-30 14:24:07 +02:00
2013-10-23 16:20:59 +01:00
2013-10-23 16:21:07 +01:00
2013-08-20 10:22:01 +02:00
2013-10-23 16:22:15 +01:00
2012-11-26 00:35:08 +01:00
2013-05-16 19:15:07 +02:00
2013-07-31 13:01:29 +01:00
2013-04-19 18:37:59 +02:00
2013-10-23 16:20:54 +01:00
2012-10-01 15:27:48 +02:00
2013-06-18 09:41:15 +02:00
2013-07-31 13:01:29 +01:00
2013-04-09 14:15:58 +02:00
2013-04-09 12:18:16 +02:00
2013-07-31 13:01:45 +01:00
2013-04-09 14:15:58 +02:00
2013-10-23 16:21:12 +01:00
2013-09-07 20:14:19 -07:00
2013-07-31 13:01:29 +01:00
2013-10-23 16:22:28 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2014-01-07 08:41:15 +00:00
2013-10-23 16:21:07 +01:00
2013-10-23 16:20:56 +01:00
2013-07-31 13:01:29 +01:00
2013-10-23 16:22:13 +01:00
2013-10-23 16:22:10 +01:00
2013-08-20 08:51:48 +01:00
2013-07-31 13:01:29 +01:00
2013-10-23 16:21:51 +01:00
2013-10-25 11:03:48 +02:00
2012-11-28 12:22:27 -08:00
2013-07-31 13:01:29 +01:00
2013-06-13 12:11:39 +02:00
2013-06-13 12:11:39 +02:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-07-10 11:10:27 -07:00
2013-07-31 13:01:29 +01:00
2013-08-01 09:55:33 +01:00
2013-08-20 10:19:38 +02:00
2013-10-25 11:03:48 +02:00
2013-07-31 13:01:29 +01:00
2013-10-23 16:20:49 +01:00
2013-07-31 13:01:29 +01:00
2013-04-26 16:10:03 +02:00
2013-06-19 11:32:00 +02:00
2012-11-26 11:48:56 +01:00
2012-11-28 12:22:27 -08:00
2013-08-20 08:51:58 +01:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2012-07-19 10:38:31 -04:00
2013-07-31 13:00:53 +01:00
2013-10-23 16:21:46 +01:00
2013-11-11 11:22:13 +00:00
2013-07-31 13:01:29 +01:00
2013-07-31 13:01:29 +01:00
2013-10-23 16:20:37 +01:00
2013-07-31 13:01:29 +01:00
2012-09-14 09:52:11 +02:00
2013-06-18 00:49:52 +02:00