diff options
author | Simon Glass | 2015-01-05 20:05:26 -0700 |
---|---|---|
committer | Simon Glass | 2015-01-29 17:09:50 -0700 |
commit | 57068a7aeb19fee06933986926eaea3cf0128f16 (patch) | |
tree | 68335b90c13258ce3b87c4efeb0eba992d83b281 /include/div64.h | |
parent | 5cfc662c496a0e52301a9379f91755b1f8fbf368 (diff) |
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/div64.h')
0 files changed, 0 insertions, 0 deletions