summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-05 20:05:26 -0700
committerSimon Glass <sjg@chromium.org>2015-01-29 17:09:50 -0700
commit57068a7aeb19fee06933986926eaea3cf0128f16 (patch)
tree68335b90c13258ce3b87c4efeb0eba992d83b281 /include/asm-generic
parent5cfc662c496a0e52301a9379f91755b1f8fbf368 (diff)
downloadu-boot-imx-57068a7aeb19fee06933986926eaea3cf0128f16.zip
u-boot-imx-57068a7aeb19fee06933986926eaea3cf0128f16.tar.gz
u-boot-imx-57068a7aeb19fee06933986926eaea3cf0128f16.tar.bz2
dm: fdt: Add a function to decode phandles with arguments
For GPIOs and other functions we want to look up a phandle and then decode a list of arguments for that phandle. Each phandle can have a different number of arguments, specified by a property in the target node. This is the "#gpio-cells" property for GPIOs. Add a function to provide this feature, taken modified from Linux 3.18. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions