[lkml]   [2017]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v8 0/2] GPCv2 power gating driver

Here's v8 of GPCv2 patches with more feedback from Dong incorporated.

Andrey Smirnov

Changes since v7 (see [v7]):

- Drop the code to support USB OTG power domains and simplify
a number of codepaths because of that

- Add access table to regmap config to prevent accesses to
undesired locations in the register file

- Dropped cache type specifier from regmap config

- Re-arrange constant definition to align more closesly with RM

- Minor stylistic adjustments

Changes since v6 (see [v6]):

- Drop .readable_reg related code

- Switch regmap to REGCACHE_NONE and drop .volatile_reg

- Remove unnecessary #include directives

Changes since v5 (see [v5]):

- Apply reverse tree variable declartaion fromatting to
imx_gpcv2_probe() and imx7_gpc_pu_pgc_sw_pxx_req()

- Drop patch #3 in favour of defaulting to y in Kconfig

Changes since v4 (see [v4]):

- Single patch is split into multiple as per Shawn's reques

- Incorporated various feedback from Shawn

Changes since v3 (see [v3]):

- Minor device tree bindings documentation fixes as per
feedback from Rob Herring
- Collect Acked-by from Rob

Changes since v2 (see [v2]):

- Fix a critical bug where incorrect state of a bit was
expected in a busy wait loop (bit set instead of bit
cleared) imx7_gpc_pu_pgc_sw_pxx_req()

- Add missing step (setting of PCR in GPC_PGC_nCTRL) in power
down procedure

Changes since v1 (see [v1]):

- Various small DT bindings description fixes as per feedback
from Rob Herring


Andrey Smirnov (2):
dt-bindings: Add GPCv2 power gating driver
soc/imx: Add GPCv2 power gating driver

.../devicetree/bindings/power/fsl,imx-gpcv2.txt | 71 ++++
drivers/soc/Kconfig | 1 +
drivers/soc/imx/Kconfig | 10 +
drivers/soc/imx/Makefile | 1 +
drivers/soc/imx/gpcv2.c | 363 +++++++++++++++++++++
include/dt-bindings/power/imx7-power.h | 16 +
6 files changed, 462 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt
create mode 100644 drivers/soc/imx/Kconfig
create mode 100644 drivers/soc/imx/gpcv2.c
create mode 100644 include/dt-bindings/power/imx7-power.h


 \ /
  Last update: 2017-03-28 17:24    [W:1.901 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site