[U-Boot] [PATCH 076/126] x86: Add a uclass for ITSS

Bin Meng bmeng.cn at gmail.com
Thu Oct 10 02:27:29 UTC 2019


Hi Simon,

On Wed, Sep 25, 2019 at 10:59 PM Simon Glass <sjg at chromium.org> wrote:
>
> This models some sort of interrupt thingy but there are so many
> abreviations that I cannot find out what it stands for. It is something
> to do with interrupts.
>

After I read the ApolloLake datasheet, the ITSS contains the following parts:

- A register block that is compatible with current "intel,irq-router"
driver in U-Boot, plus two more
- IOAPIC
- Legacy 8254
- Legacy 8259
- Legacy I/O ports like NMI and reset control (0xcf9)
- HPET

So it seems to me that the best option for us is to extend current
"intel,irq-router" driver to support new capabilities, instead of
creating a new "ITSS" uclass driver, which we both don't know that
ITSS stands for ...

> It supports two operations.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/misc/Kconfig       |  9 ++++++
>  drivers/misc/Makefile      |  1 +
>  drivers/misc/itss-uclass.c | 34 +++++++++++++++++++++++
>  include/dm/uclass-id.h     |  1 +
>  include/itss.h             | 56 ++++++++++++++++++++++++++++++++++++++
>  5 files changed, 101 insertions(+)
>  create mode 100644 drivers/misc/itss-uclass.c
>  create mode 100644 include/itss.h
>

Regards,
Bin


More information about the U-Boot mailing list