lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210807002722.2634585-1-jsavitz@redhat.com>
Date:   Fri,  6 Aug 2021 20:27:19 -0400
From:   Joel Savitz <jsavitz@...hat.com>
To:     linux-kernel@...r.kernel.org
Cc:     Joel Savitz <jsavitz@...hat.com>, Lee Jones <lee.jones@...aro.org>,
        Stefan Wahren <stefan.wahren@...e.com>,
        Nicolas Saenz Julienne <nsaenzju@...hat.com>,
        linux-rpi-kernel@...ts.infradead.org, fedora-rpi@...glegroups.com,
        Charles Mirabile <cmirabil@...hat.com>,
        Mwesigwa Guma <mguma@...hat.com>
Subject: [RFC PATCH 0/3] Raspberry Pi Sense HAT driver

This patch series adds a set of drivers for operating the Sense HAT
peripheral device. This board is an add on for the Raspberry Pi that is
designed to connect using the GPIO connector via I2C.

It features:
	- a joystick
	- an 8x8 RGB LED matrix display
	- a whole bunch of environmental sensors with their own drivers
	(those are already in upstream Linux)

This is a refactor of the work of Serge Schneider, the author of a
version of this driver that is currently in the Raspberry Pi downstream
kernel. We modified his code to make it suitable for upstream Linux.

A couple of tests are available for this driver in this repo:
https://github.com/underground-software/sensehat/tree/master/tests
	- color_test displays various solid colors on the LED panel
	- framebuffer_test diplays a single lit cell that is
	  controllable via the arrow keys or the joystick

Though the driver is split into three modules, they are interdependent
and meaningless in isolation. As such, we have grouped them together.

This is a request for comments. Please let us know if you
have any suggestions, complements, or harsh criticism. ;)

Known issue:
- We do not know how to integrate the device tree overlay into mainline
  Linux. Fortunately, most Linux distrubtions designed for the Raspberry
  Pi already include the approriate device tree overlay as a part of
  their importation of all overlays from the downstream Raspberry Pi
  kernel. Suggestions are welcome and appreciated.

For more information about the Sense HAT, visit:
https://www.raspberrypi.org/products/sense-hat/

Signed-off-by: Charles Mirabile <cmirabil@...hat.com>
Signed-off-by: Mwesigwa Guma <mguma@...hat.com>
Signed-off-by: Joel Savitz <jsavitz@...hat.com>

Joel Savitz (3):
  drivers/mfd: rpisense: Raspberry Pi senseHAT core driver
  drivers/mfd: rpisense: Raspberry Pi senseHAT joystick driver
  drivers/mfd: rpisense: Raspberry Pi senseHAT 8x8 LED matrix display
    driver

 drivers/mfd/Kconfig            |  10 ++
 drivers/mfd/Makefile           |   3 +
 drivers/mfd/rpisense-core.c    | 170 +++++++++++++++++++++++
 drivers/mfd/rpisense-display.c | 242 +++++++++++++++++++++++++++++++++
 drivers/mfd/rpisense-js.c      | 132 ++++++++++++++++++
 include/linux/mfd/rpisense.h   |  55 ++++++++
 6 files changed, 612 insertions(+)
 create mode 100644 drivers/mfd/rpisense-core.c
 create mode 100644 drivers/mfd/rpisense-display.c
 create mode 100644 drivers/mfd/rpisense-js.c
 create mode 100644 include/linux/mfd/rpisense.h

-- 
2.27.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ