All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
To: Joel Savitz <jsavitz@redhat.com>, linux-rpi-kernel@lists.infradead.org
Cc: Joel Savitz <joelsavitz@gmail.com>,
	bcm-kernel-feedback-list@broadcom.com,
	 linux-arm-kernel@lists.infradead.org,
	fedora-rpi@googlegroups.com,  serge@raspberrypi.org
Subject: Re: [RFC PATCH] drivers: Raspbery Pi Sense Hat
Date: Thu, 08 Apr 2021 18:16:09 +0200	[thread overview]
Message-ID: <544611301cff5db027582f531880c41a87569116.camel@suse.de> (raw)
In-Reply-To: <20210408000353.3571132-1-jsavitz@redhat.com>


[-- Attachment #1.1: Type: text/plain, Size: 1495 bytes --]

Hi Joel, thanks for having a look at this.

On Wed, 2021-04-07 at 20:03 -0400, Joel Savitz wrote:
> From: Joel Savitz <joelsavitz@gmail.com>
> 
> This is a forward port of the Rapsberry Pi Sense Hat driver from the
> downstream Raspberry Pi kernel tree.
> 
> I have slightly consolidated things and done some quick testing of this
> driver on Fedora (which comes with the device tree blobs), and I want to
> do a bit more testing before submiting the driver for inclusion in
> mainline Linux.
> 
> I would like to get some feedback from the community on what may need to
> be improved, fixed, or changed as early as possible, so this is a request
> for comments.
> 
> Signed-off-by: Joel Savitz <joelsavitz@gmail.com>
> ---

Some random comments:

 - Can you share more info on the HW, is this a uC on the other side? etc...
 - A driver that depends on DT should have bindings.
 - Please have a look at a modern MFD device handles things. New APIs appeared.
   See for example the 'atc260x' driver available in linux-next.
 - Try to use regmap so as not having to export functions across modules.
 - No need to explicitly schedule the interrupt in the joystick driver. New IRQ
   APIs can handle that. See devm_request_threaded_irq().
 - I don't think adding new FB drivers is possible, the whole subsystem is in
   the process of being deprecated. I believe there is an equivalent framework
   in DRM to cater for these simple FB devices.

Regards,
Nicolas


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-04-08 16:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08  0:03 [RFC PATCH] drivers: Raspbery Pi Sense Hat Joel Savitz
2021-04-08  9:21 ` Peter Robinson
2021-04-08 16:16 ` Nicolas Saenz Julienne [this message]
2021-04-08 19:29 ` 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=544611301cff5db027582f531880c41a87569116.camel@suse.de \
    --to=nsaenzjulienne@suse.de \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=fedora-rpi@googlegroups.com \
    --cc=joelsavitz@gmail.com \
    --cc=jsavitz@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=serge@raspberrypi.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: 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.