Pratyush Yadav
78aaedba9f
regmap: Allow specifying read/write width
...
Right now, regmap_read() and regmap_write() read/write a 32-bit value
only. To write other lengths, regmap_raw_read() and regmap_raw_write()
need to be used.
This means that any driver ported from Linux that relies on
regmap_{read,write}() to know the size already has to be updated at each
callsite. This makes the port harder to maintain.
So, allow specifying the read/write width to make it easier to port the
drivers, since now the only change needed is when initializing the
regmap.
Signed-off-by: Pratyush Yadav <p.yadav@ti.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
2020-09-30 11:55:22 -04:00
..
2020-08-03 22:19:54 -04:00
2020-09-08 08:46:32 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-08-14 15:18:30 -04:00
2020-05-18 21:19:18 -04:00
2020-06-02 17:27:04 -04:00
2020-07-11 21:30:21 +09:00
2020-07-28 19:30:39 -06:00
2020-05-18 21:19:23 -04:00
2020-09-30 08:54:46 +08:00
2020-09-30 11:55:22 -04:00
2020-09-30 08:54:45 +08:00
2020-07-27 14:16:29 +05:30
2020-07-27 14:02:28 +02:00
2020-05-18 21:19:18 -04:00
2020-09-01 14:47:43 +02:00
2020-07-25 14:46:57 -06:00
2020-09-01 14:47:43 +02:00
2020-09-30 08:52:24 -04:00
2020-09-23 10:31:41 +02:00
2020-09-30 11:55:22 -04:00
2020-05-18 21:19:23 -04:00
2020-09-30 08:52:30 -04:00
2020-07-25 14:46:57 -06:00
2020-08-07 22:31:32 -04:00
2020-09-30 08:52:54 -04:00
2020-08-13 09:53:34 +02:00
2020-08-20 09:49:20 +02:00
2020-09-30 08:52:52 -04:00
2020-09-30 08:53:01 -04:00
2020-09-30 08:53:26 -04:00
2020-06-23 14:43:23 -04:00
2020-05-18 21:19:18 -04:00
2020-09-10 15:32:09 -04:00
2020-07-27 15:18:15 -04:00
2020-09-30 08:53:36 -04:00
2020-09-17 06:09:53 +02:00
2020-08-03 22:19:54 -04:00
2020-07-25 14:46:57 -06:00
2020-09-17 06:09:53 +02:00
2020-09-30 08:54:38 +08:00
2020-09-30 08:53:42 -04:00
2020-09-30 11:55:22 -04:00
2020-09-18 22:23:58 +02:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:18 -04:00
2020-09-23 10:31:40 +02:00
2020-09-30 08:53:43 -04:00
2020-08-11 20:34:46 +05:30
2020-09-25 11:27:14 +08:00
2020-09-30 08:53:47 -04:00
2020-07-25 14:46:57 -06:00
2020-09-30 08:53:48 -04:00
2020-07-29 10:37:11 -04:00
2020-05-22 13:29:25 +02:00
2020-09-30 08:54:45 +08:00
2020-09-25 11:27:21 +08:00
2020-08-03 22:19:54 -04:00
2020-09-30 08:54:01 -04:00
2020-09-30 08:54:03 -04:00
2020-08-24 14:11:31 -04:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:18 -04:00
2020-08-25 08:01:16 +02:00
2020-08-24 14:11:31 -04:00
2020-08-14 15:18:30 -04:00
2020-09-23 10:31:41 +02:00