u-boot-brain/arch
Simon Glass 025543554c dm: irq: Add support for requesting interrupts
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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2020-02-07 22:46:32 +08:00
..
arc common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
arm Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq 2020-02-05 07:19:52 -05:00
m68k common: Move clock functions into a new file 2020-01-24 23:06:48 +05:30
microblaze common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mips common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
nds32 asm: dma-mapping.h: Fix dma mapping functions 2020-01-25 12:04:36 -05:00
nios2 common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
powerpc common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
riscv asm: dma-mapping.h: Fix dma mapping functions 2020-01-25 12:04:36 -05:00
sandbox dm: irq: Add support for requesting interrupts 2020-02-07 22:46:32 +08:00
sh common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
x86 x86: itss: Add of-platdata support 2020-02-07 22:45:35 +08:00
xtensa common: Move relocate_code() to init.h 2020-01-24 23:06:48 +05:30
.gitignore
Kconfig x86: Enable pinctrl in SPL and TPL 2019-12-15 11:44:24 +08:00