All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] sysinfo: Add gpio sysinfo driver
@ 2021-03-01 20:45 Sean Anderson
  2021-03-01 20:45 ` [PATCH 1/5] dm: gpio: Fix gpio_get_list_count failing with livetree Sean Anderson
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Sean Anderson @ 2021-03-01 20:45 UTC (permalink / raw)
  To: u-boot

This series adds a GPIO sysinfo driver using the
dm_gpio_get_values_as_int_base3 function. The board revision is mapped
based in devicetree properties. This series is based on Simon's GPIO
series [1].

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=228126


Sean Anderson (5):
  dm: gpio: Fix gpio_get_list_count failing with livetree
  sysinfo: Provide some global/default IDs
  sysinfo: Require that sysinfo_detect be called before other methods
  sysinfo: Add gpio-sysinfo driver
  test: Add gpio-sysinfo test

 arch/sandbox/dts/test.dts                     |   7 +
 common/spl/spl_fit.c                          |   4 +
 .../sysinfo/gpio-sysinfo.txt                  |  37 +++++
 drivers/gpio/gpio-uclass.c                    |   4 +-
 drivers/sysinfo/Kconfig                       |   8 +
 drivers/sysinfo/Makefile                      |   1 +
 drivers/sysinfo/gazerbeam.h                   |  10 +-
 drivers/sysinfo/gpio.c                        | 138 ++++++++++++++++++
 drivers/sysinfo/sandbox.h                     |  10 +-
 include/sysinfo.h                             |  42 ++++--
 test/dm/Makefile                              |   1 +
 test/dm/sysinfo-gpio.c                        |  69 +++++++++
 12 files changed, 309 insertions(+), 22 deletions(-)
 create mode 100644 doc/device-tree-bindings/sysinfo/gpio-sysinfo.txt
 create mode 100644 drivers/sysinfo/gpio.c
 create mode 100644 test/dm/sysinfo-gpio.c

-- 
2.25.1

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2021-03-05 19:43 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-01 20:45 [PATCH 0/5] sysinfo: Add gpio sysinfo driver Sean Anderson
2021-03-01 20:45 ` [PATCH 1/5] dm: gpio: Fix gpio_get_list_count failing with livetree Sean Anderson
2021-03-05  4:08   ` Simon Glass
2021-03-01 20:46 ` [PATCH 2/5] sysinfo: Provide some global/default IDs Sean Anderson
2021-03-05  4:08   ` Simon Glass
2021-03-05 14:57     ` Sean Anderson
2021-03-01 20:46 ` [PATCH 3/5] sysinfo: Require that sysinfo_detect be called before other methods Sean Anderson
2021-03-05  4:08   ` Simon Glass
2021-03-05 15:12     ` Sean Anderson
2021-03-05 16:39       ` Simon Glass
2021-03-01 20:46 ` [PATCH 4/5] sysinfo: Add gpio-sysinfo driver Sean Anderson
2021-03-01 21:07   ` Sean Anderson
2021-03-05  4:08     ` Simon Glass
2021-03-05 15:19       ` Sean Anderson
2021-03-05 16:39         ` Simon Glass
2021-03-05 17:24           ` Sean Anderson
2021-03-05 19:43             ` Simon Glass
2021-03-01 20:46 ` [PATCH 5/5] test: Add gpio-sysinfo test Sean Anderson
2021-03-05  4:08   ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.