From: Rajendra Nayak <rnayak@codeaurora.org> To: sboyd@codeaurora.org, mturquette@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, georgi.djakov@linaro.org, svarbanov@mm-sol.com, srinivas.kandagatla@linaro.org, sviau@codeaurora.org, Rajendra Nayak <rnayak@codeaurora.org> Subject: [PATCH v4 0/8] Add support for QCOM GDSCs Date: Thu, 26 Mar 2015 14:50:11 +0530 [thread overview] Message-ID: <1427361619-20360-1-git-send-email-rnayak@codeaurora.org> (raw) GDSCs (Global Distributed Switch Controllers) control switches that supply power to an on-chip power domain and hence can be programmed in SW to safely power collapse and restore power to the respective PDs. They are part of a considerable number of recent QCOM SoCs (This series adds support for msm8974, msm8916 and apq8084 devices) and are part of the Clock control block. The series implements support for GDSC using the genpd framework modelling these as SW controllable power domains. * Patch 3/8 has a dependency on 8916 GCC support series [1] * Client drivers which plan to use GDSC can refer to Documentation/devicetree/bindings/power/power_domain.txt to know how to hook up the power domain for the device through DT * Runtime PM specific documentation can be found in Documentation/power/runtime_pm.txt Changes since v3: * static inline'd gdsc_register/unregister stubs * error check fixes in gdsc_register * dropped oxili_gdsc for 8916 as its broken and needs additional WA's not part of this series * split dts and driver changes into seperate patches * Updated and included Stephanes patch to add gdscs to apq8084 mmcc in the series Changes since v2: * gdsc_unregister added * gdsc_register/unregister introduced in patch 1/6 Changes since v1: * added err checks for regmap apis * added gdsc_register() in gdsc.c [1] https://lkml.org/lkml/2015/3/18/408 Rajendra Nayak (4): clk: qcom: gdsc: Prepare common clk probe to register gdscs clk: qcom: gdsc: Add GDSCs in msm8916 GCC clk: qcom: gdsc: Add GDSCs in apq8084 GCC arm: dts: qcom: Add #power-domain-cells property Stephane Viau (1): clk: qcom: gdsc: Add GDSCs in apq8084 MMCC Stephen Boyd (3): clk: qcom: Add support for GDSCs clk: qcom: gdsc: Add GDSCs in msm8974 GCC clk: qcom: gdsc: Add GDSCs in msm8974 MMCC arch/arm/boot/dts/qcom-apq8084.dtsi | 1 + arch/arm/boot/dts/qcom-msm8974.dtsi | 2 + drivers/clk/qcom/Kconfig | 10 ++ drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/common.c | 16 ++- drivers/clk/qcom/common.h | 2 + drivers/clk/qcom/gcc-apq8084.c | 38 ++++++ drivers/clk/qcom/gcc-msm8916.c | 38 ++++++ drivers/clk/qcom/gcc-msm8974.c | 14 +++ drivers/clk/qcom/gdsc.c | 167 ++++++++++++++++++++++++++ drivers/clk/qcom/gdsc.h | 45 +++++++ drivers/clk/qcom/mmcc-apq8084.c | 56 ++++++++- drivers/clk/qcom/mmcc-msm8974.c | 54 +++++++++ include/dt-bindings/clock/qcom,gcc-apq8084.h | 6 + include/dt-bindings/clock/qcom,gcc-msm8916.h | 8 ++ include/dt-bindings/clock/qcom,gcc-msm8974.h | 3 + include/dt-bindings/clock/qcom,mmcc-apq8084.h | 8 ++ include/dt-bindings/clock/qcom,mmcc-msm8974.h | 8 ++ 18 files changed, 475 insertions(+), 2 deletions(-) create mode 100644 drivers/clk/qcom/gdsc.c create mode 100644 drivers/clk/qcom/gdsc.h -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
WARNING: multiple messages have this Message-ID (diff)
From: rnayak@codeaurora.org (Rajendra Nayak) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 0/8] Add support for QCOM GDSCs Date: Thu, 26 Mar 2015 14:50:11 +0530 [thread overview] Message-ID: <1427361619-20360-1-git-send-email-rnayak@codeaurora.org> (raw) GDSCs (Global Distributed Switch Controllers) control switches that supply power to an on-chip power domain and hence can be programmed in SW to safely power collapse and restore power to the respective PDs. They are part of a considerable number of recent QCOM SoCs (This series adds support for msm8974, msm8916 and apq8084 devices) and are part of the Clock control block. The series implements support for GDSC using the genpd framework modelling these as SW controllable power domains. * Patch 3/8 has a dependency on 8916 GCC support series [1] * Client drivers which plan to use GDSC can refer to Documentation/devicetree/bindings/power/power_domain.txt to know how to hook up the power domain for the device through DT * Runtime PM specific documentation can be found in Documentation/power/runtime_pm.txt Changes since v3: * static inline'd gdsc_register/unregister stubs * error check fixes in gdsc_register * dropped oxili_gdsc for 8916 as its broken and needs additional WA's not part of this series * split dts and driver changes into seperate patches * Updated and included Stephanes patch to add gdscs to apq8084 mmcc in the series Changes since v2: * gdsc_unregister added * gdsc_register/unregister introduced in patch 1/6 Changes since v1: * added err checks for regmap apis * added gdsc_register() in gdsc.c [1] https://lkml.org/lkml/2015/3/18/408 Rajendra Nayak (4): clk: qcom: gdsc: Prepare common clk probe to register gdscs clk: qcom: gdsc: Add GDSCs in msm8916 GCC clk: qcom: gdsc: Add GDSCs in apq8084 GCC arm: dts: qcom: Add #power-domain-cells property Stephane Viau (1): clk: qcom: gdsc: Add GDSCs in apq8084 MMCC Stephen Boyd (3): clk: qcom: Add support for GDSCs clk: qcom: gdsc: Add GDSCs in msm8974 GCC clk: qcom: gdsc: Add GDSCs in msm8974 MMCC arch/arm/boot/dts/qcom-apq8084.dtsi | 1 + arch/arm/boot/dts/qcom-msm8974.dtsi | 2 + drivers/clk/qcom/Kconfig | 10 ++ drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/common.c | 16 ++- drivers/clk/qcom/common.h | 2 + drivers/clk/qcom/gcc-apq8084.c | 38 ++++++ drivers/clk/qcom/gcc-msm8916.c | 38 ++++++ drivers/clk/qcom/gcc-msm8974.c | 14 +++ drivers/clk/qcom/gdsc.c | 167 ++++++++++++++++++++++++++ drivers/clk/qcom/gdsc.h | 45 +++++++ drivers/clk/qcom/mmcc-apq8084.c | 56 ++++++++- drivers/clk/qcom/mmcc-msm8974.c | 54 +++++++++ include/dt-bindings/clock/qcom,gcc-apq8084.h | 6 + include/dt-bindings/clock/qcom,gcc-msm8916.h | 8 ++ include/dt-bindings/clock/qcom,gcc-msm8974.h | 3 + include/dt-bindings/clock/qcom,mmcc-apq8084.h | 8 ++ include/dt-bindings/clock/qcom,mmcc-msm8974.h | 8 ++ 18 files changed, 475 insertions(+), 2 deletions(-) create mode 100644 drivers/clk/qcom/gdsc.c create mode 100644 drivers/clk/qcom/gdsc.h -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
next reply other threads:[~2015-03-26 9:20 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-03-26 9:20 Rajendra Nayak [this message] 2015-03-26 9:20 ` [PATCH v4 0/8] Add support for QCOM GDSCs Rajendra Nayak 2015-03-26 9:20 ` [PATCH v4 1/8] clk: qcom: Add support for GDSCs Rajendra Nayak 2015-03-26 9:20 ` Rajendra Nayak 2015-03-26 9:20 ` [PATCH v4 2/8] clk: qcom: gdsc: Prepare common clk probe to register gdscs Rajendra Nayak 2015-03-26 9:20 ` Rajendra Nayak 2015-03-26 9:20 ` [PATCH v4 3/8] clk: qcom: gdsc: Add GDSCs in msm8916 GCC Rajendra Nayak 2015-03-26 9:20 ` Rajendra Nayak 2015-03-26 9:20 ` [PATCH v4 4/8] clk: qcom: gdsc: Add GDSCs in msm8974 GCC Rajendra Nayak 2015-03-26 9:20 ` Rajendra Nayak 2015-03-26 9:20 ` [PATCH v4 5/8] clk: qcom: gdsc: Add GDSCs in msm8974 MMCC Rajendra Nayak 2015-03-26 9:20 ` Rajendra Nayak 2015-03-26 9:20 ` [PATCH v4 6/8] clk: qcom: gdsc: Add GDSCs in apq8084 GCC Rajendra Nayak 2015-03-26 9:20 ` Rajendra Nayak 2015-03-26 9:20 ` [PATCH v4 7/8] clk: qcom: gdsc: Add GDSCs in apq8084 MMCC Rajendra Nayak 2015-03-26 9:20 ` Rajendra Nayak 2015-03-26 9:20 ` [PATCH v4 8/8] arm: dts: qcom: Add #power-domain-cells property Rajendra Nayak 2015-03-26 9:20 ` Rajendra Nayak
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1427361619-20360-1-git-send-email-rnayak@codeaurora.org \ --to=rnayak@codeaurora.org \ --cc=georgi.djakov@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=mturquette@linaro.org \ --cc=sboyd@codeaurora.org \ --cc=srinivas.kandagatla@linaro.org \ --cc=svarbanov@mm-sol.com \ --cc=sviau@codeaurora.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.