aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuraj Lutter <otis@FreeBSD.org>2021-05-07 21:48:21 +0000
committerJuraj Lutter <otis@FreeBSD.org>2021-05-23 13:40:24 +0000
commitc988a558fafe7a361e448c26254d4832ec3fd1ff (patch)
treef90f8002c03e6a38a69b3443e1d66d995c43e693
parent7e863cb9893b96f4ca6e0597572e3df218dd3830 (diff)
downloadsrc-c988a558fafe7a361e448c26254d4832ec3fd1ff.tar.gz
src-c988a558fafe7a361e448c26254d4832ec3fd1ff.zip
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 (cherry picked from commit c2c9ef3cedf6d83bdf27308e9e022658cc9b2a08)
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_ft5406.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_ft5406.c b/sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
index 86432cfca4ad..cfec565a8130 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_ft5406.c
@@ -269,7 +269,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)");
@@ -331,5 +331,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);