[PATCH 0/4] support for gpio-line-names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Linux supports the device tree property "gpio-line-names" which allows
it name GPIOs from the device tree. This adds support for this property
to barebox as well. With this the gpio commands not only accept a GPIO
label (which is given by the requester of the GPIO), but also a GPIO
name.

Sascha Hauer (4):
  of: Add of_property_read_string_array()
  gpio: Introduce GPIO names
  of/gpio: Support gpio-line-names property
  ARM: Layerscape: TQMLS1046a: Add gpio-line-names

 arch/arm/dts/fsl-tqmls1046a-mbls10xxa.dts |  48 +++++++++
 commands/gpio.c                           |   4 +-
 drivers/gpio/gpiolib.c                    |  47 +++++++--
 drivers/of/base.c                         | 122 +++++++---------------
 include/gpio.h                            |   6 ++
 include/of.h                              |  83 ++++++++++++---
 6 files changed, 204 insertions(+), 106 deletions(-)

-- 
2.24.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux