All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Savitz <jsavitz@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Joel Savitz <jsavitz@redhat.com>,
	Lee Jones <lee.jones@linaro.org>,
	Stefan Wahren <stefan.wahren@i2se.com>,
	Nicolas Saenz Julienne <nsaenzju@redhat.com>,
	linux-rpi-kernel@lists.infradead.org,
	fedora-rpi@googlegroups.com,
	Charles Mirabile <cmirabil@redhat.com>,
	Mwesigwa Guma <mguma@redhat.com>
Subject: [RFC PATCH 0/3] Raspberry Pi Sense HAT driver
Date: Fri,  6 Aug 2021 20:27:19 -0400	[thread overview]
Message-ID: <20210807002722.2634585-1-jsavitz@redhat.com> (raw)

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@redhat.com>
Signed-off-by: Mwesigwa Guma <mguma@redhat.com>
Signed-off-by: Joel Savitz <jsavitz@redhat.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


             reply	other threads:[~2021-08-07  0:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-07  0:27 Joel Savitz [this message]
2021-08-07  0:27 ` [RFC PATCH 1/3] drivers/mfd: rpisense: Raspberry Pi senseHAT core driver Joel Savitz
2021-08-07  0:32   ` Randy Dunlap
2021-08-07  9:53   ` Stefan Wahren
2021-08-07  0:27 ` [RFC PATCH 2/3] drivers/mfd: rpisense: Raspberry Pi senseHAT joystick driver Joel Savitz
2021-08-07 13:05   ` Peter Robinson
2021-08-07 19:06   ` kernel test robot
2021-08-07  0:27 ` [RFC PATCH 3/3] drivers/mfd: rpisense: Raspberry Pi senseHAT 8x8 LED matrix display driver Joel Savitz
2021-08-07 13:20   ` Peter Robinson
2021-08-07  9:03 ` [RFC PATCH 0/3] Raspberry Pi Sense HAT driver Stefan Wahren

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=20210807002722.2634585-1-jsavitz@redhat.com \
    --to=jsavitz@redhat.com \
    --cc=cmirabil@redhat.com \
    --cc=fedora-rpi@googlegroups.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=mguma@redhat.com \
    --cc=nsaenzju@redhat.com \
    --cc=stefan.wahren@i2se.com \
    /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.