Skip to content

Commit 320d165

Browse files
Charles Mirabilepopcornmix
Charles Mirabile
authored andcommitted
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 <[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]>
1 parent 0933b5a commit 320d165

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mfd/simple-mfd-i2c.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ static const struct of_device_id simple_mfd_i2c_of_match[] = {
9999
{ .compatible = "maxim,max5970", .data = &maxim_max5970},
100100
{ .compatible = "maxim,max5978", .data = &maxim_max5970},
101101
{ .compatible = "maxim,max77705-battery", .data = &maxim_mon_max77705},
102+
{ .compatible = "raspberrypi,sensehat" },
102103
{}
103104
};
104105
MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);

0 commit comments

Comments
 (0)