Skip to content

Add Broadcom STB memory controller driver

Florian Fainelli linux-arm-kernel linux-devicetree lkml 5 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 1 replyApplied
  2. v43 patches 0 repliesSuperseded
  3. v33 patches 7 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches6 repliesSuperseded
v13 patches3 repliesSuperseded

Changes in v5 from the cover letter

- use DEFINE_SIMPLE_PM_OPS() to avoid keeping the __maybe_unused

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: memory-controller: Document Broadcom STB MEMCDocumentation/devicetree/bindings/arm/bcm/brcm,brcmstb.txt Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml+54 -90 replies
2/3Documentation: sysfs: Document Broadcom STB memc sysfs knobsDocumentation/ABI/testing/sysfs-platform-brcmstb-memc+15 -00 replies
3/3memory: Add Broadcom STB memory controller driverdrivers/memory/Kconfig drivers/memory/Makefile drivers/memory/brcmstb_memc.c+311 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/3R-b
2/3
3/3

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

Read the v5 thread

Cover letter [PATCH v5 0/3] Add Broadcom STB memory controller driver

Hi Krzysztof,

This small patch series adds basic support for controlling self-refresh power down on Broadcom STB memory controllers. We might be able to contribute more features to the memory controller driver in the future like accurate reporting of the memory type, timings, and possibly some performance counters.

Changes in v5:

- use DEFINE_SIMPLE_PM_OPS() to avoid keeping the __maybe_unused

Changes in v4:

- drop unnecessary owner assignment for the platform_driver
- use pm_ptr() as directed

Changes in v3:

- made 'frequency' property optional to avoid introducing warnings for existing BMIPS and BCM7445 DTS files
- updated sysfs document to use a shorter and universal path

Changes in v2:

- merged the v1 first two patches
- added a sysfs document describing attributes exposed
- addressed feedback from Krzysztof regarding style and API usage

Florian Fainelli (3):
dt-bindings: memory-controller: Document Broadcom STB MEMC
Documentation: sysfs: Document Broadcom STB memc sysfs knobs
memory: Add Broadcom STB memory controller driver

 .../ABI/testing/sysfs-platform-brcmstb-memc   |  15 +
 .../bindings/arm/bcm/brcm,brcmstb.txt         |  11 +-
 .../brcm,brcmstb-memc-ddr.yaml                |  52 +++
 drivers/memory/Kconfig                        |   9 +
 drivers/memory/Makefile                       |   1 +
 drivers/memory/brcmstb_memc.c                 | 301 ++++++++++++++++++
 6 files changed, 380 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-platform-brcmstb-memc
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml
 create mode 100644 drivers/memory/brcmstb_memc.c
Signature · 1 line
2.25.1