Bin Meng 51050ff0a2 x86: irq: Support discrete PIRQ routing registers via device tree
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.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2018-06-13 09:50:57 +08:00
..
2011-04-13 19:43:28 +10:00
2015-04-29 21:02:33 -06:00
2017-02-06 11:38:46 +08:00
2018-04-16 16:54:51 +08:00
2011-04-13 19:43:28 +10:00
2011-04-13 19:43:28 +10:00
2017-02-06 11:38:46 +08:00
2011-04-13 19:43:28 +10:00