summaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2014-09-03 21:05:33 +0400
committerLinus Walleij <linus.walleij@linaro.org>2014-09-17 01:40:05 +0400
commit5a3e3f88b0a10f8b5baf224ebda5916195fb8745 (patch)
tree1295a7f780877edd44cdb468763f4126ba0705d8 /drivers/hid
parent2c341d62eb4b697793c29da51fda64328df5ff59 (diff)
downloadlinux-5a3e3f88b0a10f8b5baf224ebda5916195fb8745.tar.xz
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/hid')
0 files changed, 0 insertions, 0 deletions