From: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>
To: openbmc@lists.ozlabs.org, joel@jms.id.au
Cc: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>
Subject: [PATCH linux v1 0/4] Seven segment display support
Date: Mon, 6 Feb 2017 20:03:52 -0800 [thread overview]
Message-ID: <20170207040356.9891-1-jaghu@google.com> (raw)
Hi Joel,
Nancy mentioned this patch can be included into openbmc linux tree now.
Some other member will take up the work of addressing the comments from
upstream reviewers and send the patch upstream.
This patchset includes:
Documentation for the binding which provides an interface for adding clock,
data and clear signal GPIO lines to control seven segment display.
The platform device driver provides an API for displaying on two 7-segment
displays, and implements the required bit-banging. The hardware assumed is
74HC164 wired to two 7-segment displays.
The character device driver implements the user-space API for letting a user
write to two 7-segment displays including any conversion methods necessary
to map the user input to two 7-segment displays.
Adding clock, data and clear signal GPIO lines in the devicetree to control
seven segment display on zaius platform.
The platform driver matches on the device tree node; the platform driver also
initializes the character device.
Tested that the seven segment display works properly by writing to the
character device file on a EVB AST2500 board which also has 74HC164 wired
to two 7-segment displays.
Jaghathiswari Rankappagounder Natarajan (4):
Documentation: dt-bindings: Document bindings for seven segment
display support
drivers: misc: Character device driver for seven segment display
drivers: misc: Platform driver for seven segment display support
arm: dts: Add dt-binding to support seven segment display on zaius
.../devicetree/bindings/misc/seven-seg-gpio.txt | 27 +++
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 8 +
drivers/misc/Kconfig | 16 ++
drivers/misc/Makefile | 2 +
drivers/misc/seven_seg_disp.c | 201 ++++++++++++++++++++
drivers/misc/seven_seg_disp.h | 34 ++++
drivers/misc/seven_seg_gpio.c | 206 +++++++++++++++++++++
7 files changed, 494 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/seven-seg-gpio.txt
create mode 100644 drivers/misc/seven_seg_disp.c
create mode 100644 drivers/misc/seven_seg_disp.h
create mode 100644 drivers/misc/seven_seg_gpio.c
--
2.11.0.483.g087da7b7c-goog
next reply other threads:[~2017-02-07 4:04 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-07 4:03 Jaghathiswari Rankappagounder Natarajan [this message]
2017-02-07 4:03 ` [PATCH linux v1 1/4] Documentation: dt-bindings: Document bindings for seven segment display support Jaghathiswari Rankappagounder Natarajan
2017-02-07 4:03 ` [PATCH linux v1 2/4] drivers: misc: Character device driver for seven segment display Jaghathiswari Rankappagounder Natarajan
2017-02-07 4:03 ` [PATCH linux v1 3/4] drivers: misc: Platform driver for seven segment display support Jaghathiswari Rankappagounder Natarajan
2017-02-07 4:03 ` [PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius Jaghathiswari Rankappagounder Natarajan
2017-02-09 3:08 ` [PATCH linux v1 0/4] Seven segment display support Joel Stanley
-- strict thread matches above, loose matches on Subject: below --
2016-12-14 7:55 Jaghathiswari Rankappagounder Natarajan
2016-12-14 7:55 ` Jaghathiswari Rankappagounder Natarajan
2016-12-14 12:45 ` Thomas Petazzoni
2016-12-14 12:45 ` Thomas Petazzoni
2016-12-14 12:45 ` Thomas Petazzoni
2016-12-14 12:56 ` Greg KH
2016-12-14 12:56 ` Greg KH
2016-12-14 12:56 ` Greg KH
2016-12-14 13:12 ` Neil Armstrong
2016-12-14 13:12 ` Neil Armstrong
2016-12-14 14:15 ` Arnd Bergmann
2016-12-14 14:15 ` Arnd Bergmann
2016-12-14 14:15 ` Arnd Bergmann
2016-12-14 20:05 ` David Daney
2016-12-14 20:05 ` David Daney
2016-12-20 4:06 ` Jaghathiswari Rankappagounder Natarajan
2016-12-14 16:50 ` Greg KH
2016-12-14 16:50 ` Greg KH
2016-12-14 14:35 ` Patrick Williams
2016-12-14 23:23 ` Rob Lippert
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=20170207040356.9891-1-jaghu@google.com \
--to=jaghu@google.com \
--cc=joel@jms.id.au \
--cc=openbmc@lists.ozlabs.org \
/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.