HomeFreeBSD

ACPI: Add ACPI_Q_AEI_NOPULL quirk and use in EC2

Description

ACPI: Add ACPI_Q_AEI_NOPULL quirk and use in EC2

AWS Graviton [1234] systems have a bug in their ACPI where they mark
the PL061's GPIO pins as needing to be configured in PullUp mode (in
fact the PL061 has no pullup/pulldown resistors); this flag needs to
be removed in order for _AEI objects to be handled on these systems.

Reviewed by: Ali Saidi
Approved by: re (kib)
MFC after: 1 week
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D47239

(cherry picked from commit 2f3f867ac6dd7ff3769366b828b79c44b38828e1)
(cherry picked from commit 5fa51c3653b14b364e26a4cce2733c7be6ee7721)

Details

Provenance
cpercivaAuthored on Oct 22 2024, 2:47 PM
Differential Revision
D47239: ACPI: Add ACPI_Q_AEI_NOPULL quirk and use in EC2
Parents
rG98ed0edd1a26: sys: Add GPIO_INTR_EDGE_MASK define
Branches
Unknown
Tags
Unknown