These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.12.y With the following command: git format-patch -N v6.12.27..HEAD (HEAD -> 8d3206ee456a5ecdf9ddbfd8e5e231e4f0cd716e) Exceptions: - (def)configs patches - github workflows patches - applied & reverted patches - readme patches - wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
From 6e961c98b2ba8dadc434f3cd7d943b47b41e81de Mon Sep 17 00:00:00 2001
|
|
From: Charles Mirabile <cmirabil@redhat.com>
|
|
Date: Tue, 19 Apr 2022 16:51:53 -0400
|
|
Subject: [PATCH] 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>
|
|
---
|
|
drivers/mfd/simple-mfd-i2c.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/mfd/simple-mfd-i2c.c
|
|
+++ b/drivers/mfd/simple-mfd-i2c.c
|
|
@@ -88,6 +88,7 @@ static const struct of_device_id simple_
|
|
{ .compatible = "silergy,sy7636a", .data = &silergy_sy7636a},
|
|
{ .compatible = "maxim,max5970", .data = &maxim_max5970},
|
|
{ .compatible = "maxim,max5978", .data = &maxim_max5970},
|
|
+ { .compatible = "raspberrypi,sensehat" },
|
|
{}
|
|
};
|
|
MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);
|