[PATCH v4 0/3] Add Broadcom STB memory controller driver
Florian Fainelli
f.fainelli at gmail.com
Fri Aug 12 10:31:22 PDT 2022
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 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
--
2.25.1
More information about the linux-arm-kernel
mailing list