Many drivers use a common form of offset + flags for device tree nodes. e.g.: <&gpio1 2 GPIO_ACTIVE_LOW> This patch adds a common implementation of this type of parsing and calls it when a gpio driver doesn't supply its' own xlate routine. This will allow removal of the driver-specific versions in a handful of drivers and simplify the addition of new drivers. Signed-off-by: Eric Nelson <eric@nelint.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> |
||
|---|---|---|
| .. | ||
| bitops | ||
| atomic-long.h | ||
| bitsperlong.h | ||
| errno.h | ||
| global_data.h | ||
| gpio.h | ||
| ioctl.h | ||
| sections.h | ||
| signal.h | ||
| u-boot.h | ||
| unaligned.h | ||