Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2021 13:35:15 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: 0f12b394faa1 - stable/12 - rpi_ft5406: Recognize raspberrypi, firmware-ts touchscreen
Message-ID:  <202105231335.14NDZFnq039240@gitrepo.freebsd.org>

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

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

commit 0f12b394faa1f5b4039c96151f95c98034ce6cc1
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:34:55 +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)
    (cherry picked from commit e7cd56cfe03720b5c0e8596303f6d1672a402903)
---
 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 48fa702f5c46..4cc0c87b194b 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?202105231335.14NDZFnq039240>