HomeFreeBSD

Introduce qoriq_gpio_pic driver

Description

Introduce qoriq_gpio_pic driver

It adds the PIC functionality on top of qoriq_gpio driver.
We need a separate module since the powerpc PIC API is completely
different than on other architectures.

Two types of intr_map_data are supported:
INTR_MAP_DATA_GPIO and INTR_MAP_DATA_FDT.

This way interrupts can be allocated using the userspace gpio
interrupt allocation method, as well as directly from simplebus.
The latter can be used by devices that have its irq routed to a GPIO pin.

Obtained from: Semihalf
Sponsored by: Alstom Group

Details

Provenance
kdAuthored on Nov 2 2021, 10:30 AM
wmaCommitted on Nov 6 2021, 8:08 AM
Parents
rGb8b7c0dda9a0: qoriq_gpio: Add support for driver inheritance
Branches
Unknown
Tags
Unknown