mbox series

[v3,0/3] Nuvoton Peripheral SPI (PSPI) Module

Message ID 20230208235433.3989937-1-wuhaotsh@google.com
Headers show
Series Nuvoton Peripheral SPI (PSPI) Module | expand

Message

Hao Wu Feb. 8, 2023, 11:54 p.m. UTC
This patch set adds peripheral SPI (PSPI) modules
to NPCM7XX SoCs. These modules can be used to
connect any SPI peripheral devices to the SoC.

This module will also be used in the next generation
NPCM8XX SoCs which haven't been merged yet.

-- Changes from v2 --
Change max_access_size to 2 to match the datasheet.

-- Changes from v1 --
A few minor updates for npcm-pspi.c according to
Phillipe Mathieu-Daude's review.

Thanks!

Hao Wu (3):
  MAINTAINERS: Add myself to maintainers and remove Havard
  hw/ssi: Add Nuvoton PSPI Module
  hw/arm: Attach PSPI module to NPCM7XX SoC

 MAINTAINERS                 |   8 +-
 docs/system/arm/nuvoton.rst |   2 +-
 hw/arm/npcm7xx.c            |  25 +++-
 hw/ssi/meson.build          |   2 +-
 hw/ssi/npcm_pspi.c          | 221 ++++++++++++++++++++++++++++++++++++
 hw/ssi/trace-events         |   5 +
 include/hw/arm/npcm7xx.h    |   2 +
 include/hw/ssi/npcm_pspi.h  |  53 +++++++++
 8 files changed, 310 insertions(+), 8 deletions(-)
 create mode 100644 hw/ssi/npcm_pspi.c
 create mode 100644 include/hw/ssi/npcm_pspi.h

Comments

Peter Maydell Feb. 16, 2023, 1:24 p.m. UTC | #1
On Wed, 8 Feb 2023 at 23:54, Hao Wu <wuhaotsh@google.com> wrote:
>
> This patch set adds peripheral SPI (PSPI) modules
> to NPCM7XX SoCs. These modules can be used to
> connect any SPI peripheral devices to the SoC.
>
> This module will also be used in the next generation
> NPCM8XX SoCs which haven't been merged yet.
>
> -- Changes from v2 --
> Change max_access_size to 2 to match the datasheet.
>
> -- Changes from v1 --
> A few minor updates for npcm-pspi.c according to
> Phillipe Mathieu-Daude's review.
>



Applied to target-arm.next, thanks.

-- PMM