devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] SoC driver for Broadcom STB DPFE
@ 2017-06-13 22:37 Markus Mayer
  2017-06-13 22:37 ` [PATCH v2 1/2] dt/bindings: Add bindings for Broadcom STB DRAM Sensors Markus Mayer
  2017-06-13 22:37 ` [PATCH v2 2/2] soc: brcmstb: Add driver for DPFE Markus Mayer
  0 siblings, 2 replies; 12+ messages in thread
From: Markus Mayer @ 2017-06-13 22:37 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Florian Fainelli, Gregory Fong
  Cc: Markus Mayer, Broadcom Kernel List, Device Tree List,
	ARM Kernel List, Linux Kernel Mailing List

From: Markus Mayer <mmayer-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>

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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-06-21 21:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-13 22:37 [PATCH v2 0/2] SoC driver for Broadcom STB DPFE Markus Mayer
2017-06-13 22:37 ` [PATCH v2 1/2] dt/bindings: Add bindings for Broadcom STB DRAM Sensors Markus Mayer
2017-06-18 14:05   ` Rob Herring
2017-06-19 17:26     ` Markus Mayer
     [not found]       ` <CANEuBv6YEoTBBzPA5fkrveD05RZNtTBTak-qmxz7BvnrED5pbg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-21 20:44         ` Florian Fainelli
     [not found]   ` <20170613223710.31719-2-code-7CzEARzsJhSsTnJN9+BGXg@public.gmane.org>
2017-06-21 21:02     ` Florian Fainelli
2017-06-13 22:37 ` [PATCH v2 2/2] soc: brcmstb: Add driver for DPFE Markus Mayer
     [not found]   ` <20170613223710.31719-3-code-7CzEARzsJhSsTnJN9+BGXg@public.gmane.org>
2017-06-14  0:03     ` Florian Fainelli
     [not found]       ` <5b79dee6-bb84-30b3-1bb2-287b24d42534-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-14 16:34         ` Markus Mayer
     [not found]           ` <CANEuBv6N3TTNzSuDQXk-eiEV_fvGtVJZhdWUO_XdgPj6+j7q5A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-14 21:32             ` Florian Fainelli
2017-06-21 21:00               ` Florian Fainelli
     [not found]                 ` <a59aab64-b351-2e16-a5ab-b2ac41ffbf5e-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-21 21:01                   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).