lkml.org 
[lkml]   [2022]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v5 0/3] Add Broadcom STB memory controller driver
Date
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

--
2.25.1

\
 
 \ /
  Last update: 2022-08-13 00:27    [W:0.085 / U:0.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site