Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2021 13:32:23 GMT
From:      Juraj Lutter <otis@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e7cd56cfe037 - stable/13 - rpi_ft5406: Recognize raspberrypi, firmware-ts touchscreen
Message-ID:  <202105231332.14NDWN2H036698@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by otis (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=e7cd56cfe03720b5c0e8596303f6d1672a402903

commit e7cd56cfe03720b5c0e8596303f6d1672a402903
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2021-05-07 21:48:21 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2021-05-23 13:31:22 +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
    
    (cherry picked from commit c2c9ef3cedf6d83bdf27308e9e022658cc9b2a08)
---
 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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105231332.14NDWN2H036698>