1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00
Files
u-boot-megous/drivers/gpio
Eric Nelson 6c880b7719 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>
2016-05-17 09:54:43 -06:00
..
2016-02-06 12:00:59 +01:00
2015-08-23 11:56:20 +02:00
2016-05-17 09:54:43 -06:00
2014-02-22 19:30:27 +01:00
2014-10-25 07:02:01 -04:00
2016-05-17 09:54:43 -06:00
2015-05-06 17:00:58 +09:00
2015-08-31 17:26:03 +09:00