]> git.ipfire.org Git - thirdparty/openwrt.git/blob
f89dfa8ffd42c45291071ac4a15d0433264396fd
[thirdparty/openwrt.git] /
1 From 2f9fad762e8ed78aa4220d582b4d1856808f4a7a Mon Sep 17 00:00:00 2001
2 From: Charles Mirabile <cmirabil@redhat.com>
3 Date: Tue, 19 Apr 2022 16:51:53 -0400
4 Subject: [PATCH 1275/1350] drivers/mfd: sensehat: Add Raspberry Pi Sense HAT
5 to simple_mfd_i2c
6
7 This patch adds the compatible string for the Sense HAT device to
8 the list of compatible strings in the simple_mfd_i2c driver so that
9 it can match against the device and load its children and their drivers
10
11 Co-developed-by: Mwesigwa Guma <mguma@redhat.com>
12 Signed-off-by: Mwesigwa Guma <mguma@redhat.com>
13 Co-developed-by: Joel Savitz <jsavitz@redhat.com>
14 Signed-off-by: Joel Savitz <jsavitz@redhat.com>
15 Signed-off-by: Charles Mirabile <cmirabil@redhat.com>
16 ---
17 drivers/mfd/simple-mfd-i2c.c | 1 +
18 1 file changed, 1 insertion(+)
19
20 --- a/drivers/mfd/simple-mfd-i2c.c
21 +++ b/drivers/mfd/simple-mfd-i2c.c
22 @@ -98,6 +98,7 @@ static const struct of_device_id simple_
23 { .compatible = "maxim,max5970", .data = &maxim_max5970},
24 { .compatible = "maxim,max5978", .data = &maxim_max5970},
25 { .compatible = "raspberrypi,poe-core", &rpi_poe_core },
26 + { .compatible = "raspberrypi,sensehat" },
27 {}
28 };
29 MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);