From: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com> To: openbmc@lists.ozlabs.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, arnd@arndb.de, gregkh@linuxfoundation.org Cc: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, joel@jms.id.au Subject: [PATCH linux v1 0/4] Seven segment display support Date: Tue, 13 Dec 2016 23:55:00 -0800 [thread overview] Message-ID: <1481702104-8617-1-git-send-email-jaghu@google.com> (raw) 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 | 197 ++++++++++++++++++++ drivers/misc/seven_seg_disp.h | 34 ++++ drivers/misc/seven_seg_gpio.c | 206 +++++++++++++++++++++ 7 files changed, 490 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.8.0.rc3.226.g39d4020
WARNING: multiple messages have this Message-ID (diff)
From: jaghu@google.com (Jaghathiswari Rankappagounder Natarajan) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH linux v1 0/4] Seven segment display support Date: Tue, 13 Dec 2016 23:55:00 -0800 [thread overview] Message-ID: <1481702104-8617-1-git-send-email-jaghu@google.com> (raw) 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 | 197 ++++++++++++++++++++ drivers/misc/seven_seg_disp.h | 34 ++++ drivers/misc/seven_seg_gpio.c | 206 +++++++++++++++++++++ 7 files changed, 490 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.8.0.rc3.226.g39d4020
next reply other threads:[~2016-12-14 7:55 UTC|newest] Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-12-14 7:55 Jaghathiswari Rankappagounder Natarajan [this message] 2016-12-14 7:55 ` [PATCH linux v1 0/4] Seven segment display support Jaghathiswari Rankappagounder Natarajan 2016-12-14 7:55 ` [PATCH linux v1 1/4] Documentation: dt-bindings: Document bindings for seven " Jaghathiswari Rankappagounder Natarajan 2016-12-14 7:55 ` Jaghathiswari Rankappagounder Natarajan 2016-12-14 7:55 ` Jaghathiswari Rankappagounder Natarajan 2016-12-14 7:55 ` [PATCH linux v1 2/4] drivers: misc: Character device driver for seven segment display Jaghathiswari Rankappagounder Natarajan 2016-12-14 7:55 ` Jaghathiswari Rankappagounder Natarajan 2016-12-14 7:55 ` Jaghathiswari Rankappagounder Natarajan 2016-12-14 12:32 ` Russell King - ARM Linux 2016-12-14 12:32 ` Russell King - ARM Linux 2016-12-14 12:32 ` Russell King - ARM Linux 2016-12-14 7:55 ` [PATCH linux v1 3/4] drivers: misc: Platform driver for seven segment display support Jaghathiswari Rankappagounder Natarajan 2016-12-14 7:55 ` Jaghathiswari Rankappagounder Natarajan 2016-12-14 7:55 ` [PATCH linux v1 4/4] arm: dts: Add dt-binding to support seven segment display on zaius Jaghathiswari Rankappagounder Natarajan 2016-12-14 7:55 ` Jaghathiswari Rankappagounder Natarajan 2016-12-14 8:55 ` Arnd Bergmann 2016-12-14 8:55 ` Arnd Bergmann 2016-12-14 8:55 ` Arnd Bergmann 2016-12-14 9:00 ` Arnd Bergmann 2016-12-14 9:00 ` Arnd Bergmann 2016-12-14 11:06 ` Russell King - ARM Linux 2016-12-14 11:06 ` Russell King - ARM Linux 2016-12-14 11:06 ` Russell King - ARM Linux 2016-12-14 11:40 ` Russell King - ARM Linux 2016-12-14 11:40 ` Russell King - ARM Linux 2016-12-15 23:07 ` Linus Walleij 2016-12-15 23:07 ` Linus Walleij 2016-12-15 23:07 ` Linus Walleij 2016-12-15 23:07 ` Linus Walleij 2016-12-14 9:02 ` Joel Stanley 2016-12-14 9:02 ` Joel Stanley 2016-12-14 9:02 ` Joel Stanley 2016-12-14 9:02 ` Joel Stanley 2016-12-14 12:45 ` [PATCH linux v1 0/4] Seven segment display support 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-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 2017-02-07 4:03 Jaghathiswari Rankappagounder Natarajan 2017-02-09 3:08 ` Joel Stanley
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=1481702104-8617-1-git-send-email-jaghu@google.com \ --to=jaghu@google.com \ --cc=arnd@arndb.de \ --cc=devicetree@vger.kernel.org \ --cc=gregkh@linuxfoundation.org \ --cc=joel@jms.id.au \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux@armlinux.org.uk \ --cc=mark.rutland@arm.com \ --cc=openbmc@lists.ozlabs.org \ --cc=robh+dt@kernel.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: linkBe 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.