Skip to content

Add Broadcom North Star 2 support

Ray Jui linux-arm-kernel linux-pci lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 3 repliesIn review
  2. v44 patches 7 repliesSuperseded
  3. v34 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches7 repliesSuperseded
v14 patches5 repliesSuperseded

Changes in v5 from the cover letter

- Incorporate iProc PCIe changes from Bjorn Helgaas to handle ARM32 specific struct pci_sys_data
- Move ARCH_BCM_IPROC from arch/arm64/Kconfig to arch/arm64/Kconfig.platforms

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PCI: iproc: enable arm64 support for iProc PCIedrivers/pci/host/pcie-iproc.c drivers/pci/host/pcie-iproc.h+23 -82 replies
2/4PCI: iproc: Fix ARM64 dependency in Kconfigdrivers/pci/host/Kconfig+1 -10 replies
3/4arm64: Add Broadcom iProc family supportarch/arm64/Kconfig.platforms arch/arm64/configs/defconfig+6 -00 replies
4/4arm64: dts: Add Broadcom North Star 2 supportDocumentation/devicetree/bindings/arm/bcm/ns2.txt arch/arm64/boot/dts/Makefile arch/arm64/boot/dts/broadcom/Makefile +2 more+192 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchVikram PrakashScott BrandenBjorn Helgaas
1/4R-b A-b
2/4R-b R-b A-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/4] Add Broadcom North Star 2 support

This patch series adds Broadcom North Star 2 (NS2) SoC support. NS2 is an ARMv8 based SoC and under the Broadcom iProc family.

Sorry for tying this with the Broadcom iProc PCIe driver fixes for ARM64. I have to tie them together because iProc PCIe support is enabled by default when ARCH_BCM_IPROC is enabled. Without the fixes in the iProc PCIe driver, enabling CONFIG_ARCH_BCM_IPROC would break the build for arm64 defconfig. Let me know if there's a better way to handle this.

This patch series is generated based on v4.2-rc2 and tested on Broadcom NS2 SVK

Code available on GITHUB:
repo: https://github.com/Broadcom/arm64-linux.git
branch: ns2-core-v5

Changes from V4:
- Incorporate iProc PCIe changes from Bjorn Helgaas to handle ARM32 specific struct pci_sys_data
- Move ARCH_BCM_IPROC from arch/arm64/Kconfig to arch/arm64/Kconfig.platforms

Changes from V3:
- Add more paragraph to the iProc PCIe arm64 support patch commit message to explain the change and anticipated future change in more details

Changes from V2:
- Drop hardcoded earlycon kernel command line paramter in NS2 SVK dts file because 1) earlycon is a debugging feature that can be enabled in the bootloader and should not be enabled by default in the board dts file and 2) of_earlycon should be used and support should be added to 8250 DW driver

Changes from V1:
- Took Arnd's advice to tweak the location of struct pci_sys_data within struct iproc_pcie. This helps to get rid of most of the CONFIG_ARM wrap in iProc PCIe core driver
- Use stdout-path and alias for serial console in NS2 SVK dts
- Add all 4 CPU descriptions in NS2 dtsi
- Remove "clock-frequency" property in the armv8 timer node so timer frequency can be determined based on readings from CNTFRQ_EL0
- Remove config flag ARCH_BCM_NS2. Leave only ARCH_BCM_IPROC for all Broadcom arm64 SoCs as advised

Ray Jui (4):
PCI: iproc: enable arm64 support for iProc PCIe
PCI: iproc: Fix ARM64 dependency in Kconfig
arm64: Add Broadcom iProc family support
arm64: dts: Add Broadcom North Star 2 support

 Documentation/devicetree/bindings/arm/bcm/ns2.txt |    9 ++
 arch/arm64/Kconfig.platforms                      |    5 +
 arch/arm64/boot/dts/Makefile                      |    1 +
 arch/arm64/boot/dts/broadcom/Makefile             |    5 +
 arch/arm64/boot/dts/broadcom/ns2-svk.dts          |   59 +++++++++++
 arch/arm64/boot/dts/broadcom/ns2.dtsi             |  118 +++++++++++++++++++++
 arch/arm64/configs/defconfig                      |    1 +
 drivers/pci/host/Kconfig                          |    2 +-
 drivers/pci/host/pcie-iproc.c                     |   27 +++--
 drivers/pci/host/pcie-iproc.h                     |    4 +-
 10 files changed, 222 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/bcm/ns2.txt
 create mode 100644 arch/arm64/boot/dts/broadcom/Makefile
 create mode 100644 arch/arm64/boot/dts/broadcom/ns2-svk.dts
 create mode 100644 arch/arm64/boot/dts/broadcom/ns2.dtsi
Signature · 1 line
1.7.9.5