Messages in this thread | | | Subject | Re: [RFC PATCH v2 1/4] drivers/mfd: sensehat: Raspberry Pi Sense HAT core driver | From | nsaenzju@redhat ... | Date | Mon, 30 Aug 2021 14:48:17 +0200 |
| |
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@redhat.com> > Signed-off-by: Mwesigwa Guma <mguma@redhat.com> > Signed-off-by: Joel Savitz <jsavitz@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
| |