summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/max310x.c
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2014-09-03 20:05:33 +0300
committerLinus Walleij <linus.walleij@linaro.org>2014-09-16 14:40:05 -0700
commit5a3e3f88b0a10f8b5baf224ebda5916195fb8745 (patch)
tree1295a7f780877edd44cdb468763f4126ba0705d8 /drivers/tty/serial/max310x.c
parent2c341d62eb4b697793c29da51fda64328df5ff59 (diff)
downloadop-kernel-dev-5a3e3f88b0a10f8b5baf224ebda5916195fb8745.zip
op-kernel-dev-5a3e3f88b0a10f8b5baf224ebda5916195fb8745.tar.gz
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>
Diffstat (limited to 'drivers/tty/serial/max310x.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud