From: Sean Anderson <sean.anderson@seco.com>
To: u-boot@lists.denx.de
Subject: [PATCH 0/5] sysinfo: Add gpio sysinfo driver
Date: Mon, 1 Mar 2021 15:45:58 -0500 [thread overview]
Message-ID: <20210301204603.2730666-1-sean.anderson@seco.com> (raw)
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
next reply other threads:[~2021-03-01 20:45 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-01 20:45 Sean Anderson [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210301204603.2730666-1-sean.anderson@seco.com \
--to=sean.anderson@seco.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.