Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932919AbdCUOuQ (ORCPT ); Tue, 21 Mar 2017 10:50:16 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:33979 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932846AbdCUOuO (ORCPT ); Tue, 21 Mar 2017 10:50:14 -0400 From: Andrey Smirnov To: Shawn Guo Cc: Andrey Smirnov , yurovsky@gmail.com, Lucas Stach , Fabio Estevam , Dong Aisheng , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 0/2] GPCv2 power gating driver Date: Tue, 21 Mar 2017 07:50:02 -0700 Message-Id: <20170321145004.21265-1-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2295 Lines: 77 Shawn, Here's v7 of GPCv2 patches with feedback from Dong incorporated. Let me know if you want to do any of renaming that Dong suggested and if there's more to be improved in general. Thanks, Andrey Smirnov 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 [v1] https://lkml.org/lkml/2017/2/6/554 [v2] https://lkml.org/lkml/2017/2/13/489 [v3] https://lkml.org/lkml/2017/2/20/338 [v4] https://lkml.org/lkml/2017/2/28/738 [v5] https://lkml.org/lkml/2017/3/14/547 [v6] https://lkml.org/lkml/2017/3/16/357 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 | 365 +++++++++++++++++++++ include/dt-bindings/power/imx7-power.h | 18 + 6 files changed, 466 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 -- 2.9.3