drivers/mfd: sensehat: Add Raspberry Pi Sense HAT to simple_mfd_i2c

This patch adds the compatible string for the Sense HAT device to
the list of compatible strings in the simple_mfd_i2c driver so that
it can match against the device and load its children and their drivers

Co-developed-by: Mwesigwa Guma <mguma@redhat.com>
Signed-off-by: Mwesigwa Guma <mguma@redhat.com>
Co-developed-by: Joel Savitz <jsavitz@redhat.com>
Signed-off-by: Joel Savitz <jsavitz@redhat.com>
Signed-off-by: Charles Mirabile <cmirabil@redhat.com>
This commit is contained in:
Charles Mirabile
2022-04-19 16:51:53 -04:00
committed by Dom Cobley
parent 2696eff325
commit cd2c4e8fb1

View File

@@ -117,6 +117,7 @@ static const struct of_device_id simple_mfd_i2c_of_match[] = {
{ .compatible = "maxim,max5970", .data = &maxim_max5970}, { .compatible = "maxim,max5970", .data = &maxim_max5970},
{ .compatible = "maxim,max5978", .data = &maxim_max5970}, { .compatible = "maxim,max5978", .data = &maxim_max5970},
{ .compatible = "maxim,max77705-battery", .data = &maxim_mon_max77705}, { .compatible = "maxim,max77705-battery", .data = &maxim_mon_max77705},
{ .compatible = "raspberrypi,sensehat" },
{ .compatible = "silergy,sy7636a", .data = &silergy_sy7636a}, { .compatible = "silergy,sy7636a", .data = &silergy_sy7636a},
{ .compatible = "spacemit,p1", .data = &spacemit_p1, }, { .compatible = "spacemit,p1", .data = &spacemit_p1, },
{} {}