aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorTomasz Figa <[email protected]>2012-10-11 10:11:17 +0200
committerLinus Walleij <[email protected]>2012-10-15 09:10:12 +0200
commitd3a7b9e3a168df881a0ae3bd0d582f44a5d5aca3 (patch)
treea6942be03dde1b58d2fe49f3c246f97ed3739d93 /lib/debugobjects.c
parent595be7268a85735d229451821b56f122d09d7bdc (diff)
pinctrl: samsung: Use one GPIO chip per pin bank
This patch modifies the pinctrl-samsung driver to register one GPIO chip per pin bank, instead of a single chip for all pin banks of the controller. It simplifies GPIO accesses a lot (constant time instead of looping through the list of banks to find the right one) and should have a good effect on performance of any bit-banging driver. In addition it allows to reference GPIO pins by a phandle to the bank node and a local pin offset inside of the bank (similar to previous gpiolib driver), which is more clear and readable than using indices relative to the whole pin controller. Example: device { /* ... */ gpios = <&gpk0 4 0>; /* ... */ }; Signed-off-by: Tomasz Figa <[email protected]> Reviewed-by: Kyungmin Park <[email protected]> Acked-by: Thomas Abraham <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions