]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add dwc_otg_acpi
authorAndrew Turner <andrew@FreeBSD.org>
Tue, 30 Jun 2020 15:58:29 +0000 (15:58 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Tue, 30 Jun 2020 15:58:29 +0000 (15:58 +0000)
commit518da7ace813e7eacdf943f6ed6fa7d62c878786
tree3fd6d6fbdb715a5587771e0b61a0aeac8e606588
parenta5ae70f5a0554235c499016bec3a721adbb1043a
Add dwc_otg_acpi

Create an acpi attachment for the DWC USB OTG device. This is present in
the Raspberry Pi 4 in the USB-C port normally used to power the board. Some
firmware presents the kernel with ACPI tables rather than FDT so we need
an ACPI attachment.

Submitted by: Greg V <greg_unrelenting.technology>
Approved by: hselasky (removal of All rights reserved)
Differential Revision: https://reviews.freebsd.org/D25203
sys/conf/files
sys/dev/usb/controller/dwc_otg.c
sys/dev/usb/controller/dwc_otg_acpi.c [new file with mode: 0644]
sys/dev/usb/controller/dwc_otg_fdt.c
sys/mips/mediatek/mtk_dotg.c