git: 87705c5c2178 - main - bcm2835_clkman: add RPI4 compat string
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Sep 2022 15:32:13 UTC
The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=87705c5c21784c401a8d425b2780bb8b1c37d431 commit 87705c5c21784c401a8d425b2780bb8b1c37d431 Author: Matthew Grooms <mgrooms@shrew.net> AuthorDate: 2022-09-08 15:34:15 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2022-09-09 15:31:25 +0000 bcm2835_clkman: add RPI4 compat string This enables attachment on the RPI4, thus enabling the bcm2835_pwm driver too. Per the device tree documentation, these compat strings are equivalent, and no further changes to the driver are required. https://lists.freebsd.org/archives/freebsd-arm/2021-June/000143.html MFC after: 3 days --- sys/arm/broadcom/bcm2835/bcm2835_clkman.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/arm/broadcom/bcm2835/bcm2835_clkman.c b/sys/arm/broadcom/bcm2835/bcm2835_clkman.c index 40fb75a3b050..155fd3c78367 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_clkman.c +++ b/sys/arm/broadcom/bcm2835/bcm2835_clkman.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <arm/broadcom/bcm2835/bcm2835_clkman.h> static struct ofw_compat_data compat_data[] = { + {"brcm,bcm2711-cprman", 1}, {"brcm,bcm2835-cprman", 1}, {"broadcom,bcm2835-cprman", 1}, {NULL, 0}