[PATCH v3 04/35] irq: Add a method to convert an interrupt to ACPI

Bin Meng bmeng.cn at gmail.com
Sun Jun 28 11:13:48 CEST 2020


On Sun, Jun 14, 2020 at 10:55 AM Simon Glass <sjg at chromium.org> wrote:
>
> When generating ACPI tables we need to convert IRQs in U-Boot to the ACPI
> structures required by ACPI. This is a SoC-specific conversion and cannot
> be handled by generic code, so add a new IRQ method to do the conversion.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> ---
>
> (no changes since v1)
>
> Changes in v1:
> - Fix 'the an' typo
> - Move header definitions into this patch
>
>  drivers/misc/irq-uclass.c  | 18 ++++++++++--
>  drivers/misc/irq_sandbox.c | 16 +++++++++++
>  include/acpi/acpi_device.h | 59 ++++++++++++++++++++++++++++++++++++++
>  include/irq.h              | 43 +++++++++++++++++++++++++++
>  test/dm/irq.c              | 22 ++++++++++++++
>  5 files changed, 156 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list