[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170613223710.31719-1-code@mmayer.net>
Date: Tue, 13 Jun 2017 15:37:08 -0700
From: Markus Mayer <code@...yer.net>
To: Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Florian Fainelli <f.fainelli@...il.com>,
Gregory Fong <gregory.0xf0@...il.com>
Cc: Markus Mayer <mmayer@...adcom.com>,
Broadcom Kernel List <bcm-kernel-feedback-list@...adcom.com>,
Device Tree List <devicetree@...r.kernel.org>,
ARM Kernel List <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH v2 0/2] SoC driver for Broadcom STB DPFE
From: Markus Mayer <mmayer@...adcom.com>
This series introduces a driver to interact with the Broadcom STB DDR
PHY Front End (DPFE), specifically to communicate with the DCPU that is
part of the DDR PHY and which is running its own firmware.
The DCPU provides information such as DRAM refresh rate, which can be
used as indirect indicator for the DRAM temperature (the higher the
refresh rate, the hotter the RAM).
The series was previously submitted as HWMON driver[1]. It has been
removed from that subsystem, because it doesn't provide any standard
HWMON data due to hardware design properties, and is now implemented as
SoC driver.
Changes since v1:
- binding simplified to use one node with three memory regions
instead of three nodes with one region
- no longer part of the HWMON subsystem
- better error handling and error reporting to userland
- uses [readl|writel]_relaxed() directly, since there is no need for
wrappers doing endian conversion
- re-download firmware upon "resume"
- minor changes to improve clarity
[1] https://lkml.org/lkml/2017/4/18/640
Markus Mayer (2):
dt/bindings: Add bindings for Broadcom STB DRAM Sensors
soc: brcmstb: Add driver for DPFE
.../devicetree/bindings/soc/bcm/brcm,dpfe-cpu.txt | 27 +
MAINTAINERS | 8 +
drivers/soc/bcm/brcmstb/Makefile | 2 +-
drivers/soc/bcm/brcmstb/dpfe.c | 689 +++++++++++++++++++++
4 files changed, 725 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/soc/bcm/brcm,dpfe-cpu.txt
create mode 100644 drivers/soc/bcm/brcmstb/dpfe.c
--
2.7.4
Powered by blists - more mailing lists