Skip to content

Commit

Permalink
drivers/mfd: sensehat: Add Raspberry Pi Sense HAT to simple_mfd_i2c
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Mwesigwa Guma <[email protected]>
Co-developed-by: Joel Savitz <[email protected]>
Signed-off-by: Joel Savitz <[email protected]>
Signed-off-by: Charles Mirabile <[email protected]>
  • Loading branch information
Charles Mirabile authored and 6by9 committed Sep 18, 2024
1 parent e08c03f commit bc655d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/simple-mfd-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ static const struct of_device_id simple_mfd_i2c_of_match[] = {
{ .compatible = "maxim,max5970", .data = &maxim_max5970},
{ .compatible = "maxim,max5978", .data = &maxim_max5970},
{ .compatible = "raspberrypi,poe-core", &rpi_poe_core },
{ .compatible = "raspberrypi,sensehat" },
{}
};
MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);
Expand Down

0 comments on commit bc655d0

Please sign in to comment.