Skip to content

Add SPI Driver to HPE GXP Architecture

[email protected] linux-arm-kernel linux-devicetree linux-spi lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 3 repliesIn review
  2. v55 patches 2 repliesSuperseded
  3. v45 patches 3 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v35 patches1 replySuperseded
v25 patches1 replySuperseded
v15 patches5 repliesSuperseded

Changes in v6 from the cover letter

*Fixed indentation in Kconfig file

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5spi: spi-gxp: Add support for HPE GXP SoCsdrivers/spi/Kconfig drivers/spi/Makefile drivers/spi/spi-gxp.c+333 -00 replies
2/5spi: dt-bindings: add documentation for hpe,gxp-spifiDocumentation/devicetree/bindings/spi/hpe,gxp-spifi.yaml+56 -00 replies
3/5ARM: dts: hpe: Add spi driver nodearch/arm/boot/dts/hpe-bmc-dl360gen10.dts arch/arm/boot/dts/hpe-gxp.dtsi+78 -12 replies
4/5ARM: configs: multi_v7_defconfig: Enable HPE GXP SPI driverarch/arm/configs/multi_v7_defconfig+1 -00 replies
5/5MAINTAINERS: add spi support to GXPMAINTAINERS+2 -00 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/5
2/5R-b
3/5
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/5] Add SPI Driver to HPE GXP Architecture

From: Nick Hawkins <[email protected]>

Changes since v6:
*Removed spaces between tags on commit descriptions

Changes since v5:
*Fixed indentation in Kconfig file

Changes since v4:
*Removed unnecessary quotes in hpe,gxp-spifi.yaml

Changes since v3:
*Fixed indentations in hpe,gxp-spifi.yaml

Changes since v2:
*Changed the CONFIG_SPI_GXP from y to m in defconfig *Removed extra space around < > for reg in hpe,gxp-spifi.yaml *Changed interrupt-parrent to interrupt-parent in hpe,gxp-spifi.yaml *Removed repeated include file in spi-gxp.c
*Removed unnecessary initialization of ret variable in spi-gxp.c *Removed conditional variable checks where failure is not possible in
spi-gxp.c
*Removed unnecessary variable cs in spi-gxp.c
*Removed blank gxp-spifi-remove function in spi-gxp.c *Fixed error messages so they are not repetitive

The GXP supports 3 separate SPI interfaces to accommodate the system flash, core flash, and other functions. The SPI engine supports variable clock frequency, selectable 3-byte or 4-byte addressing and a configurable x1, x2, and x4 command/address/data modes. The memory buffer for reading and writing ranges between 256 bytes and 8KB. This driver supports access to the core flash and bios part.

Nick Hawkins (5):
spi: spi-gxp: Add support for HPE GXP SoCs
spi: dt-bindings: add documentation for hpe,gxp-spifi
ARM: dts: hpe: Add spi driver node
ARM: configs: multi_v7_defconfig: Enable HPE GXP SPI driver
MAINTAINERS: add spi support to GXP

 .../bindings/spi/hpe,gxp-spifi.yaml           |  56 +++
 MAINTAINERS                                   |   2 +
 arch/arm/boot/dts/hpe-bmc-dl360gen10.dts      |  58 ++++
 arch/arm/boot/dts/hpe-gxp.dtsi                |  21 +-
 arch/arm/configs/multi_v7_defconfig           |   1 +
 drivers/spi/Kconfig                           |   7 +
 drivers/spi/Makefile                          |   1 +
 drivers/spi/spi-gxp.c                         | 325 ++++++++++++++++++
 8 files changed, 470 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/spi/hpe,gxp-spifi.yaml
 create mode 100644 drivers/spi/spi-gxp.c
Signature · 1 line
2.17.1