[RFC PATCH v2 1/4] drivers/mfd: sensehat: Raspberry Pi Sense HAT core driver

nsaenzju at redhat.com nsaenzju at redhat.com
Mon Aug 30 05:48:17 PDT 2021


On Fri, 2021-08-20 at 14:07 -0400, Charles Mirabile wrote:
> This patch adds the core driver file, containing methods to communicate
> with the board over I2C. We also add the header file shared by all
> three drivers, containing common data and definitions. In addition, we
> add a config option to toggle compilation of the driver.
> 
> Signed-off-by: Charles Mirabile <cmirabil at redhat.com>
> Signed-off-by: Mwesigwa Guma <mguma at redhat.com>
> Signed-off-by: Joel Savitz <jsavitz at redhat.com>
> ---

Correct me if I'm wrong, but it seems to me that you could completely avoid
this driver if you used 'simple-mfd-i2c.c'. See 'kontron,sl28cpld' for an
example of how it's used.

Regards,
Nicolas




More information about the linux-rpi-kernel mailing list