Skip to content

Seven segment display support

Jaghathiswari Rankappagounder Natarajan openbmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Documentation: dt-bindings: Document bindings for seven segment display supportDocumentation/devicetree/bindings/misc/seven-seg-gpio.txt+27 -00 replies
2/4drivers: misc: Character device driver for seven segment displaydrivers/misc/Kconfig drivers/misc/Makefile drivers/misc/seven_seg_disp.c +1 more+244 -00 replies
3/4drivers: misc: Platform driver for seven segment display supportdrivers/misc/Kconfig drivers/misc/Makefile drivers/misc/seven_seg_gpio.c+215 -00 replies
4/4arm: dts: Add dt-binding to support seven segment display on zaiusarch/arm/boot/dts/aspeed-bmc-opp-zaius.dts+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH linux v1 0/4] Seven segment display support

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