diff options
author | Eric Nelson <eric@nelint.com> | 2016-04-24 16:32:40 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 09:54:43 -0600 |
commit | 6c880b7719d73dc4bf4bf828b6341e086e6f5eb6 (patch) | |
tree | 986f58750ecdee418484d05add68300556df3e1c /configs/T1042D4RDB_SDCARD_defconfig | |
parent | c0c62d923344d5a68f43259282e68a827318db01 (diff) | |
download | u-boot-imx-6c880b7719d73dc4bf4bf828b6341e086e6f5eb6.zip u-boot-imx-6c880b7719d73dc4bf4bf828b6341e086e6f5eb6.tar.gz u-boot-imx-6c880b7719d73dc4bf4bf828b6341e086e6f5eb6.tar.bz2 |
dm: gpio: add a default gpio xlate routine
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>
Diffstat (limited to 'configs/T1042D4RDB_SDCARD_defconfig')
0 files changed, 0 insertions, 0 deletions