All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] arm: aspeed: Add eSPI support
@ 2022-05-16  0:54 ` Chia-Wei Wang
  0 siblings, 0 replies; 35+ messages in thread
From: Chia-Wei Wang @ 2022-05-16  0:54 UTC (permalink / raw)
  To: robh+dt, joel, andrew, jk, a.kartashev, patrick.rudolph, dphadke,
	linux-aspeed, openbmc, devicetree, linux-arm-kernel,
	linux-kernel
  Cc: ryan_chen

This patch series add the driver support for the eSPI controller of Aspeed 5/6th generation SoCs. This controller is a slave device communicating with a master over Enhanced Serial Peripheral Interface (eSPI).
It supports all of the 4 eSPI channels, namely peripheral, virtual wire, out-of-band, and flash, and operates at max frequency of 66MHz.

v5:
 - unconditionally set VW GPIO to software mode as suggested by Jeremy
 - add missing DTS node for Aspeed G5 SoCs

v4:
 - fix dt-bindgins error with patternProperties
 - fix data type warning for ARM64 compilation
 - replace header based implementation with .c files
 - add more description for the ioctl interface

v3:
 - remove the redundant patch "clk: aspeed: Add eSPI reset bit"
 - fix missing header inclusion reported by test bot
 - fix dt-bindings error reported by yamllint

v2:
 - remove irqchip implementation
 - merge per-channel drivers into single one to avoid the racing issue
   among eSPI handshake process and driver probing.

Chia-Wei Wang (4):
  dt-bindings: aspeed: Add eSPI controller
  MAINTAINER: Add ASPEED eSPI driver entry
  soc: aspeed: Add eSPI driver
  ARM: dts: aspeed: Add eSPI node

 .../devicetree/bindings/soc/aspeed/espi.yaml  | 162 +++++
 MAINTAINERS                                   |   9 +
 arch/arm/boot/dts/aspeed-g5.dtsi              |  17 +
 arch/arm/boot/dts/aspeed-g6.dtsi              |  17 +
 drivers/soc/aspeed/Kconfig                    |  11 +
 drivers/soc/aspeed/Makefile                   |   5 +
 drivers/soc/aspeed/aspeed-espi-ctrl.c         | 214 +++++++
 drivers/soc/aspeed/aspeed-espi-ctrl.h         | 309 ++++++++++
 drivers/soc/aspeed/aspeed-espi-flash.c        | 352 +++++++++++
 drivers/soc/aspeed/aspeed-espi-flash.h        |  45 ++
 drivers/soc/aspeed/aspeed-espi-ioc.h          | 195 ++++++
 drivers/soc/aspeed/aspeed-espi-oob.c          | 558 ++++++++++++++++++
 drivers/soc/aspeed/aspeed-espi-oob.h          |  70 +++
 drivers/soc/aspeed/aspeed-espi-perif.c        | 511 ++++++++++++++++
 drivers/soc/aspeed/aspeed-espi-perif.h        |  45 ++
 drivers/soc/aspeed/aspeed-espi-vw.c           | 142 +++++
 drivers/soc/aspeed/aspeed-espi-vw.h           |  21 +
 17 files changed, 2683 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/aspeed/espi.yaml
 create mode 100644 drivers/soc/aspeed/aspeed-espi-ctrl.c
 create mode 100644 drivers/soc/aspeed/aspeed-espi-ctrl.h
 create mode 100644 drivers/soc/aspeed/aspeed-espi-flash.c
 create mode 100644 drivers/soc/aspeed/aspeed-espi-flash.h
 create mode 100644 drivers/soc/aspeed/aspeed-espi-ioc.h
 create mode 100644 drivers/soc/aspeed/aspeed-espi-oob.c
 create mode 100644 drivers/soc/aspeed/aspeed-espi-oob.h
 create mode 100644 drivers/soc/aspeed/aspeed-espi-perif.c
 create mode 100644 drivers/soc/aspeed/aspeed-espi-perif.h
 create mode 100644 drivers/soc/aspeed/aspeed-espi-vw.c
 create mode 100644 drivers/soc/aspeed/aspeed-espi-vw.h

-- 
2.25.1


^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2022-05-19  3:44 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-16  0:54 [PATCH v5 0/4] arm: aspeed: Add eSPI support Chia-Wei Wang
2022-05-16  0:54 ` Chia-Wei Wang
2022-05-16  0:54 ` Chia-Wei Wang
2022-05-16  0:54 ` [PATCH v5 1/4] dt-bindings: aspeed: Add eSPI controller Chia-Wei Wang
2022-05-16  0:54   ` Chia-Wei Wang
2022-05-16  0:54   ` Chia-Wei Wang
2022-05-17 18:31   ` Rob Herring
2022-05-17 18:31     ` Rob Herring
2022-05-17 18:31     ` Rob Herring
2022-05-18  0:15     ` ChiaWei Wang
2022-05-18  0:15       ` ChiaWei Wang
2022-05-18  0:15       ` ChiaWei Wang
2022-05-18 18:26       ` Rob Herring
2022-05-18 18:26         ` Rob Herring
2022-05-18 18:26         ` Rob Herring
2022-05-19  3:10         ` ChiaWei Wang
2022-05-19  3:10           ` ChiaWei Wang
2022-05-19  3:10           ` ChiaWei Wang
2022-05-18  6:18   ` Patrick Rudolph
2022-05-18  6:18     ` Patrick Rudolph
2022-05-18  6:18     ` Patrick Rudolph
2022-05-16  0:54 ` [PATCH v5 2/4] MAINTAINER: Add ASPEED eSPI driver entry Chia-Wei Wang
2022-05-16  0:54   ` Chia-Wei Wang
2022-05-16  0:54   ` Chia-Wei Wang
2022-05-16  0:54 ` [PATCH v5 3/4] soc: aspeed: Add eSPI driver Chia-Wei Wang
2022-05-16  0:54   ` Chia-Wei Wang
2022-05-16  0:54   ` Chia-Wei Wang
2022-05-18 19:12   ` Christophe JAILLET
2022-05-18 19:12     ` Christophe JAILLET
2022-05-18 19:12     ` Christophe JAILLET
2022-05-19  3:42     ` ChiaWei Wang
2022-05-19  3:42       ` ChiaWei Wang
2022-05-16  0:54 ` [PATCH v5 4/4] ARM: dts: aspeed: Add eSPI node Chia-Wei Wang
2022-05-16  0:54   ` Chia-Wei Wang
2022-05-16  0:54   ` Chia-Wei Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.