Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754125AbcDNIRP (ORCPT ); Thu, 14 Apr 2016 04:17:15 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:56715 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753640AbcDNIRI (ORCPT ); Thu, 14 Apr 2016 04:17:08 -0400 From: James Liao To: Matthias Brugger , Sascha Hauer CC: Rob Herring , Kevin Hilman , Daniel Kurtz , , , , , Subject: [PATCH v6 0/4] Mediatek MT2701 SCPSYS power domain support Date: Thu, 14 Apr 2016 16:16:55 +0800 Message-ID: <1460621819-695-1-git-send-email-jamesjj.liao@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1988 Lines: 54 This series is based on v4.6-rc1 and adds scpsys power domain support for Mediatek MT2701. To share the code between MT2701 and MT8173, this patchset also refined original mtk-scpsys.c to separate common codes and platform codes, so that mtk-scpsys.c can support new SoCs more easily. MT8173 and MT2701 scpsys init level are now subsys_init. Please refer to [1] to see discussion details. changes since v5: - Rebase to v4.6-rc1. - Add dependent clocks for MFG, ISP, ETH and HIF power domains. - Add "ethif" as a dependent clock in scpsys dt-binding document. changes since v4: - Rebase to v4.5-rc4. - Remove mtk-scpsys.h and Merge its code into mtk-scpsys.c. - Add names for every controlling registers and bits. - Include dt-bindings headers at the beginning of mtk-scpsys.c. - Sort compatible string in dt-binding documents. changes since v3: - Implement MT8173 and MT2701 scpsys drivers in a signle file. - Remove naming of registers that can't be shared among SoCs. changes since v2: - Rebase to mbgg/linux-mediatek v4.4-next/soc [1]. - Remove MTK_SCPSYS_MT8173 and MTK_SCPSYS_MT2701. - Modify scpsys dt-binding document to support MT2701. changes since v1: - Make MTK_SCPSYS in Kconfig invisible from users. - Add comments for changing scpsys init level to subsys_init. [1] http://lists.infradead.org/pipermail/linux-mediatek/2015-December/003416.html James Liao (2): soc: mediatek: Refine scpsys to support multiple platform soc: mediatek: Init MT8173 scpsys driver earlier Shunli Wang (2): soc: mediatek: Add MT2701 power dt-bindings soc: mediatek: Add MT2701 scpsys driver .../devicetree/bindings/soc/mediatek/scpsys.txt | 12 +- drivers/soc/mediatek/Kconfig | 2 +- drivers/soc/mediatek/mtk-scpsys.c | 497 +++++++++++++++------ include/dt-bindings/power/mt2701-power.h | 27 ++ 4 files changed, 387 insertions(+), 151 deletions(-) create mode 100644 include/dt-bindings/power/mt2701-power.h -- 1.9.1