git: c2c9ef3cedf6 - main - rpi_ft5406: Recognize raspberrypi, firmware-ts touchscreen
Juraj Lutter
otis at FreeBSD.org
Sun May 9 10:14:19 UTC 2021
The branch main has been updated by otis (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=c2c9ef3cedf6d83bdf27308e9e022658cc9b2a08
commit c2c9ef3cedf6d83bdf27308e9e022658cc9b2a08
Author: Juraj Lutter <otis at FreeBSD.org>
AuthorDate: 2021-05-07 21:48:21 +0000
Commit: Juraj Lutter <otis at FreeBSD.org>
CommitDate: 2021-05-09 10:13:19 +0000
rpi_ft5406: Recognize raspberrypi,firmware-ts touchscreen
- Recognize raspberrypi,firmware-ts touchscreen
- Move the driver from ofwbus to simplebus
Reviewed by: manu
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D30169
---
sys/arm/broadcom/bcm2835/bcm2835_ft5406.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_ft5406.c b/sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
index d9a01b4a929a..24396b1bd90b 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
@@ -270,7 +270,7 @@ static int
ft5406ts_probe(device_t dev)
{
- if (!ofw_bus_is_compatible(dev, "rpi,rpi-ft5406"))
+ if (!ofw_bus_is_compatible(dev, "raspberrypi,firmware-ts"))
return (ENXIO);
device_set_desc(dev, "FT5406 touchscreen (VC memory interface)");
@@ -332,5 +332,5 @@ static driver_t ft5406ts_driver = {
sizeof(struct ft5406ts_softc),
};
-DRIVER_MODULE(ft5406ts, ofwbus, ft5406ts_driver, ft5406ts_devclass, 0, 0);
+DRIVER_MODULE(ft5406ts, simplebus, ft5406ts_driver, ft5406ts_devclass, 0, 0);
MODULE_DEPEND(ft5406ts, evdev, 1, 1, 1);
More information about the dev-commits-src-main
mailing list