irq: Tidy up of-platdata irq support
authorSimon Glass <sjg@chromium.org>
Sat, 7 Aug 2021 13:24:11 +0000 (07:24 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Sep 2021 15:46:15 +0000 (09:46 -0600)
commit3e57ad907caa55bab8ba52ef87ddbc5130aede2c
treee06d04c0dbb964ec388ca885aa4544da2398963d
parentf521be6083db98e8e17b5b05626bfa6a0d5acf9b
irq: Tidy up of-platdata irq support

This function is available but not exported. More generally it does not
really work as intended.

Reimplement it and add a sandbox test too.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox.dtsi
arch/sandbox/include/asm/irq.h [new file with mode: 0644]
drivers/misc/Makefile
drivers/misc/irq-uclass.c
drivers/misc/irq_sandbox.c
drivers/misc/irq_sandbox_test.c [new file with mode: 0644]
include/irq.h
test/dm/of_platdata.c
tools/dtoc/dtb_platdata.py