u-boot/arch/sandbox/dts
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
..
include Makefile: Support include files for .dts files 2014-06-20 11:55:03 -06:00
cros-ec-keyboard.dtsi cros_ec: exynos: Match up device tree with kernel version 2015-04-18 11:11:16 -06:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox.dts sandbox: add missing compatible property in device tree 2019-12-10 05:42:25 -07:00
sandbox.dtsi x86: sandbox: Add a PMC emulator and test 2019-12-15 11:44:11 +08:00
sandbox64.dts sandbox: add missing compatible property in device tree 2019-12-10 05:42:25 -07:00
sandbox_pmic.dtsi dm: sandbox: i2c: Use new emulator parent uclass 2018-11-29 09:30:05 -07:00
test.dts dm: irq: Add support for requesting interrupts 2020-02-07 22:46:32 +08:00