Jim Quinlan
afe76c8fd0
clk: allow a clk divider with max divisor when zero
...
This commit allows certain Broadcom STB clock dividers to be used with
clk-divider.c. It allows for a clock whose field value is the equal
to the divisor, execpt when the field value is zero, in which case the
divisor is 2^width. For example, consider a divisor clock with a two
bit field:
value divisor
0 4
1 1
2 2
3 3
Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
2015-07-28 11:59:19 -07:00
..
2015-07-28 11:59:09 -07:00
2015-07-28 11:59:09 -07:00
2015-07-01 19:22:00 -07:00
2015-07-28 11:59:09 -07:00
2015-07-28 11:59:09 -07:00
2015-07-20 10:52:49 -07:00
2015-07-20 11:11:36 -07:00
2015-07-28 11:59:09 -07:00
2015-07-28 11:59:09 -07:00
2015-07-20 10:53:10 -07:00
2015-07-28 11:59:09 -07:00
2015-07-20 11:10:40 -07:00
2015-07-20 11:11:07 -07:00
2015-07-20 11:11:08 -07:00
2015-07-20 11:11:37 -07:00
2015-07-28 11:59:14 -07:00
2015-07-28 11:59:09 -07:00
2015-07-28 11:59:12 -07:00
2015-07-20 11:11:11 -07:00
2015-07-28 11:58:44 -07:00
2015-07-20 11:11:13 -07:00
2015-07-28 11:59:16 -07:00
2015-07-20 11:11:15 -07:00
2015-07-28 11:59:09 -07:00
2015-07-28 11:59:09 -07:00
2015-07-28 11:59:09 -07:00
2015-07-28 11:59:09 -07:00
2015-07-20 11:11:18 -07:00
2015-07-20 11:11:20 -07:00
2014-10-20 16:20:23 +02:00
2015-06-11 16:18:08 -07:00
2015-07-20 11:11:29 -07:00
2015-05-13 12:32:52 -07:00
2015-07-20 10:52:50 -07:00
2015-05-13 12:32:53 -07:00
2013-09-29 21:09:24 +02:00
2015-07-20 10:52:52 -07:00
2015-07-20 11:11:32 -07:00
2015-07-20 10:52:53 -07:00
2015-07-27 18:13:32 -07:00
2015-05-21 11:55:05 -07:00
2012-09-19 21:51:27 +01:00
2015-07-28 11:59:19 -07:00
2015-07-20 10:52:54 -07:00
2015-06-10 14:19:43 -07:00
2015-05-14 16:51:50 -07:00
2015-05-14 16:51:50 -07:00
2015-05-14 16:51:50 -07:00
2015-07-28 11:51:39 -07:00
2015-07-20 11:11:22 -07:00
2015-05-05 22:50:50 -07:00
2015-06-16 14:12:25 -04:00
2015-06-16 14:12:25 -04:00
2015-05-14 17:11:18 -07:00
2014-09-09 13:55:44 -07:00
2015-04-10 13:51:55 -07:00
2015-07-20 11:11:33 -07:00
2015-07-20 10:52:56 -07:00
2015-07-20 10:52:57 -07:00
2013-05-31 12:07:45 -07:00
2015-07-20 10:52:58 -07:00
2015-04-10 14:44:43 -07:00
2015-02-18 09:56:43 -08:00
2015-07-20 10:53:00 -07:00
2015-07-28 11:58:46 -07:00
2015-07-20 11:11:35 -07:00
2015-07-20 10:53:01 -07:00
2014-01-27 11:20:22 -08:00
2015-07-02 09:51:26 -07:00
2015-07-28 11:59:09 -07:00
2015-07-20 10:53:04 -07:00
2013-12-19 17:47:32 -08:00
2015-07-20 10:53:05 -07:00
2015-07-06 17:20:57 -07:00
2015-07-28 11:59:09 -07:00
2015-03-12 12:20:34 -07:00
2015-05-06 11:58:57 +01:00
2015-06-20 13:29:48 -07:00
2015-07-06 17:20:55 -07:00