On 12 June 2018 at 02:26, Bin Meng <bmeng...@gmail.com> wrote:
> Currently both pirq_reg_to_linkno() and pirq_linkno_to_reg() assume
> consecutive PIRQ routing control registers. But this is not always
> the case on some platforms. Introduce a new device tree property
> intel,pirq-regmap to describe how the PIRQ routing register offset
> is mapped to the link number and adjust the irq router driver to
> utilize the mapping.
>
> Signed-off-by: Bin Meng <bmeng...@gmail.com>
>
> ---
>
> Changes in v2:
> - new patch to "support discrete PIRQ routing registers via device tree"
>
>  arch/x86/cpu/irq.c                                 | 102 
> +++++++++++++++++++--
>  arch/x86/include/asm/irq.h                         |  32 ++-----
>  doc/device-tree-bindings/misc/intel,irq-router.txt |   6 ++
>  3 files changed, 107 insertions(+), 33 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to