Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753436AbdFMWhd (ORCPT ); Tue, 13 Jun 2017 18:37:33 -0400 Received: from smtp-out-so.shaw.ca ([64.59.136.138]:37000 "EHLO smtp-out-so.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751802AbdFMWhc (ORCPT ); Tue, 13 Jun 2017 18:37:32 -0400 X-Authority-Analysis: v=2.2 cv=UpATD64B c=1 sm=1 tr=0 a=k5HOQ6ZN7M0zyjl8M7O1NA==:117 a=k5HOQ6ZN7M0zyjl8M7O1NA==:17 a=LWSFodeU3zMA:10 a=Q-fNiiVtAAAA:8 a=D19gQVrFAAAA:8 a=VDOFUbU1xgavM-KGBQIA:9 a=Fp8MccfUoT0GBdDC_Lng:22 a=W4TVW4IDbPiebHqcZpNg:22 From: Markus Mayer 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 Subject: [PATCH v2 0/2] SoC driver for Broadcom STB DPFE Date: Tue, 13 Jun 2017 15:37:08 -0700 Message-Id: <20170613223710.31719-1-code@mmayer.net> X-Mailer: git-send-email 2.13.0 X-CMAE-Envelope: MS4wfEsOjWDko93wxXOZoUchINHZxzaP0+LMV70lliE4mkTeAP9r+JERIJ+G9TeeV8LPhuMgiFD2ZvgzbphXY+XgwS4ZTiOw++BFQF2tnqk3LQXG8tx66Oj8 DJZqerp+E+/TMMZXCninwgPT5bavh1vx0rat/6n914s1IXWOwjQ75uve+cWEJBMkB1NSgd5u1zM40szyIs/N3iX/qdWUOS+ssTJ8clHbzRnwywc2ykkYehRx aMTbS3UzJkxbCUELVyrKkzaeImc6/TsXqe966APRBvSud5/OBZYA1JYchfcnGGTbuWtOsB02D1s6JaHv7bsWDhR+U3oGYaxjIRurgwe/ckCOecjlNW4LPn8t TMuJ0MYO40ppOg6xtVPnDwcos9BmmGo5lMzuAJ00iSb/rDitU7+SfNCidUO2lfDuCFM/vYPBRrJPz5Tv4D5Yf9cxVO3a+UkjP/7nqd01X5jNh56zr4X5pD0B BuAhe984wC+nmeJa Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1659 Lines: 41 From: Markus Mayer 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