From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754821AbcLNHzz (ORCPT ); Wed, 14 Dec 2016 02:55:55 -0500 Received: from mail-pg0-f42.google.com ([74.125.83.42]:33131 "EHLO mail-pg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753456AbcLNHzy (ORCPT ); Wed, 14 Dec 2016 02:55:54 -0500 From: Jaghathiswari Rankappagounder Natarajan 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 , 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 Message-Id: <1481702104-8617-1-git-send-email-jaghu@google.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: jaghu@google.com (Jaghathiswari Rankappagounder Natarajan) Date: Tue, 13 Dec 2016 23:55:00 -0800 Subject: [PATCH linux v1 0/4] Seven segment display support Message-ID: <1481702104-8617-1-git-send-email-jaghu@google.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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