Home
last modified time | relevance | path

Searched hist:"57068 a7aeb19fee06933986926eaea3cf0128f16" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dfdtdec.h57068a7aeb19fee06933986926eaea3cf0128f16 Tue Jan 06 03:05:26 UTC 2015 Simon Glass <sjg@chromium.org> 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>
/rk3399_rockchip-uboot/lib/
H A Dfdtdec.c57068a7aeb19fee06933986926eaea3cf0128f16 Tue Jan 06 03:05:26 UTC 2015 Simon Glass <sjg@chromium.org> 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>