• Simon Glass's avatar
    dm: irq: Add support for requesting interrupts · 02554355
    Simon Glass authored
    At present driver model supports the IRQ uclass but there is no way to
    request a particular interrupt for a driver.
    
    Add a mechanism, similar to clock and reset, to read the interrupts
    required by a device from the device tree and to request those interrupts.
    
    U-Boot itself does not have interrupt-driven handlers, so just provide a
    means to read and clear an interrupt. This can be useful to handle
    peripherals which must use an interrupt to determine when data is
    available, for example.
    
    Bring over the basic binding file as well, from Linux v5.4. Note that the
    older binding is not supported in U-Boot; the newer 'special form' must be
    used.
    
    Add a simple test of the new functionality.
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    Reviewed-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
    02554355
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
adc.c Loading commit data...
audio.c Loading commit data...
axi.c Loading commit data...
blk.c Loading commit data...
board.c Loading commit data...
bootcount.c Loading commit data...
bus.c Loading commit data...
cache.c Loading commit data...
clk.c Loading commit data...
clk_ccf.c Loading commit data...
core.c Loading commit data...
cpu.c Loading commit data...
devres.c Loading commit data...
dma.c Loading commit data...
dsi_host.c Loading commit data...
eth.c Loading commit data...
firmware.c Loading commit data...
gpio.c Loading commit data...
hwspinlock.c Loading commit data...
i2c.c Loading commit data...
i2s.c Loading commit data...
irq.c Loading commit data...
led.c Loading commit data...
mailbox.c Loading commit data...
mdio.c Loading commit data...
mdio_mux.c Loading commit data...
misc.c Loading commit data...
mmc.c Loading commit data...
nop.c Loading commit data...
ofnode.c Loading commit data...
osd.c Loading commit data...
p2sb.c Loading commit data...
panel.c Loading commit data...
pch.c Loading commit data...
pci.c Loading commit data...
pci_ep.c Loading commit data...
phy.c Loading commit data...
pmc.c Loading commit data...
pmic.c Loading commit data...
power-domain.c Loading commit data...
pwm.c Loading commit data...
ram.c Loading commit data...
regmap.c Loading commit data...
regulator.c Loading commit data...
remoteproc.c Loading commit data...
reset.c Loading commit data...
rng.c Loading commit data...
rtc.c Loading commit data...
serial.c Loading commit data...
sf.c Loading commit data...
smem.c Loading commit data...
sound.c Loading commit data...
spi.c Loading commit data...
spmi.c Loading commit data...
syscon.c Loading commit data...
sysreset.c Loading commit data...
tee.c Loading commit data...
test-driver.c Loading commit data...
test-fdt.c Loading commit data...
test-main.c Loading commit data...
test-uclass.c Loading commit data...
timer.c Loading commit data...
usb.c Loading commit data...
video.c Loading commit data...
virtio.c Loading commit data...
wdt.c Loading commit data...