Grygorii Strashko
5a3e3f88b0
gpio: syscon: retrive syscon node and regs offsets from dt
...
This patch adds handling of new "gpio,syscon-dev" DT property,
which allows to specify syscon node and data/direction registers
offsets in DT.
"gpio,syscon-dev" has following format:
gpio,syscon-dev = <&syscon_dev data_reg_offset [direction_reg_offset]>;
where
- syscon_dev - phandle on syscon node
- data_reg_offset - offset of data register (in bytes)
- direction_reg_offset - offset of dirrection register (optional, in bytes)
for example:
gpio,syscon-dev = <&devctrl 0x254>;
In such way, the support of multiple Syscon GPIO devices is added.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2014-09-16 14:40:05 -07:00
..
2014-08-17 09:12:35 -05:00
2014-07-22 16:39:26 +02:00
2014-09-02 10:44:01 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-03-18 09:28:30 +01:00
2014-05-16 17:52:36 +02:00
2014-03-14 10:26:45 +01:00
2014-06-19 16:56:28 +01:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-05-09 10:54:39 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-05-27 16:00:58 +02:00
2014-07-22 16:39:26 +02:00
2014-04-28 12:35:09 -07:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-06-19 09:31:16 +02:00
2014-03-26 10:31:34 +01:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2013-12-04 14:42:46 +01:00
2014-07-22 16:39:26 +02:00
2014-06-19 09:31:16 +02:00
2014-08-21 07:44:57 -05:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2013-03-27 16:05:11 +01:00
2013-08-23 19:44:28 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-09-04 18:59:15 +02:00
2014-07-22 16:39:26 +02:00
2012-05-21 14:31:53 +01:00
2014-05-09 10:54:56 +02:00
2013-12-03 13:10:48 +01:00
2012-11-28 11:39:33 -08:00
2013-12-04 14:42:46 +01:00
2013-07-31 00:34:31 +02:00
2014-07-22 16:39:26 +02:00
2014-05-09 11:08:11 +02:00
2014-07-22 16:39:26 +02:00
2014-03-27 10:11:59 +01:00
2014-07-22 16:39:26 +02:00
2014-07-09 12:22:56 +02:00
2014-07-22 16:39:26 +02:00
2014-08-28 14:19:40 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-05-03 12:16:24 -07:00
2014-07-07 12:54:28 +02:00
2014-07-22 16:39:26 +02:00
2014-08-08 18:00:35 -07:00
2014-07-22 16:39:26 +02:00
2013-10-29 11:01:02 +00:00
2014-07-26 18:00:40 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-05-09 10:55:19 +02:00
2013-12-04 14:42:46 +01:00
2014-07-22 16:39:26 +02:00
2013-03-27 16:05:16 +01:00
2014-07-22 16:39:26 +02:00
2014-09-16 14:40:05 -07:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-05-09 11:01:53 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2013-07-20 19:03:48 +02:00
2014-03-07 11:57:00 +08:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-09 12:22:54 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-08-28 14:19:47 +02:00
2014-05-09 11:03:03 +02:00
2014-02-03 09:11:45 +01:00
2014-05-09 11:04:08 +02:00
2014-09-04 18:23:29 +02:00
2014-08-29 08:58:34 +02:00
2014-07-24 18:18:47 +02:00
2014-08-17 09:12:35 -05:00
2014-07-24 16:03:45 +02:00
2014-08-29 08:58:34 +02:00
2014-07-28 12:23:57 +02:00
2014-09-04 18:59:15 +02:00
2014-08-28 14:19:47 +02:00