Home
last modified time | relevance | path

Searched +full:rpm +full:- +full:msm8974 (Results 1 – 21 of 21) sorted by relevance

/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,smd.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andy Gross <agross@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.org>
12 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
18 Using the top-level SMD node is deprecated. Instead, the SMD edges are defined
29 "^smd-edge|rpm$":
30 $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
34 processor of some sort - or in SMD language an "edge". The name of the
[all …]
H A Dqcom-stats.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/qcom/qcom-stats.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Maulik Shah <quic_mkshah@quicinc.com>
22 - qcom,rpmh-stats
23 - qcom,sdm845-rpmh-stats
24 - qcom,rpm-stats
25 # For older RPM firmware versions with fixed offset for the sleep stats
26 - qcom,apq8084-rpm-stats
[all …]
H A Dqcom,smd-rpm.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/qcom/qcom,smd-rpm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Resource Power Manager (RPM) over SMD/GLINK
10 This driver is used to interface with the Resource Power Manager (RPM) found
11 in various Qualcomm platforms. The RPM allows each component in the system
15 The SMD or GLINK information for the RPM edge should be filled out. See
17 properties will reside within the RPM node itself.
19 The RPM exposes resources to its subnodes. The rpm_requests node must be
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-msm8974.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/interconnect/qcom,msm8974.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
7 #include <dt-bindings/clock/qcom,gcc-msm8974.h>
8 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
9 #include <dt-bindings/clock/qcom,rpmcc.h>
10 #include <dt-bindings/reset/qcom,gcc-msm8974.h>
11 #include <dt-bindings/gpio/gpio.h>
[all …]
H A Dqcom-msm8226.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
10 #include <dt-bindings/clock/qcom,gcc-msm8974.h>
11 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
12 #include <dt-bindings/clock/qcom,rpmcc.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/power/qcom-rpmpd.h>
15 #include <dt-bindings/reset/qcom,gcc-msm8974.h>
[all …]
H A Dqcom-msm8974pro-htc-m8.dts1 // SPDX-License-Identifier: GPL-2.0-only
2 #include "qcom-msm8974pro.dtsi"
5 #include <dt-bindings/input/input.h>
9 compatible = "htc,m8", "qcom,msm8974pro", "qcom,msm8974";
10 chassis-type = "handset";
16 gpio-keys {
17 compatible = "gpio-keys";
19 pinctrl-0 = <&gpio_keys_default>;
20 pinctrl-names = "default";
22 key-volume-down {
[all …]
H A Dqcom-msm8974-lge-nexus5-hammerhead.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "lge,hammerhead", "qcom,msm8974";
12 chassis-type = "handset";
21 stdout-path = "serial0:115200n8";
24 gpio-keys {
25 compatible = "gpio-keys";
[all …]
H A Dqcom-apq8084.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/clock/qcom,gcc-apq8084.h>
6 #include <dt-bindings/gpio/gpio.h>
9 #address-cells = <1>;
10 #size-cells = <1>;
13 interrupt-parent = <&intc>;
15 reserved-memory {
16 #address-cells = <1>;
[all …]
H A Dqcom-msm8974pro-fairphone-fp2.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "fairphone,fp2", "qcom,msm8974pro", "qcom,msm8974";
12 chassis-type = "handset";
21 stdout-path = "serial0:115200n8";
24 gpio-keys {
25 compatible = "gpio-keys";
[all …]
H A Dqcom-apq8074-dragonboard.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6 #include "qcom-msm8974.dtsi"
10 /delete-node/ &mpss_region;
14 compatible = "qcom,apq8074-dragonboard", "qcom,apq8074";
23 stdout-path = "serial0:115200n8";
26 gpio-keys {
[all …]
H A Dqcom-msm8974pro-oneplus-bacon.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974pro.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 compatible = "oneplus,bacon", "qcom,msm8974pro", "qcom,msm8974";
11 chassis-type = "handset";
12 qcom,msm-id = <194 0x10000>;
13 qcom,board-id = <8 0>;
21 stdout-path = "serial0:115200n8";
24 gpio-keys {
[all …]
H A Dqcom-msm8974-sony-xperia-rhine.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
17 stdout-path = "serial0:115200n8";
20 gpio-keys {
21 compatible = "gpio-keys";
23 pinctrl-names = "default";
24 pinctrl-0 = <&gpio_keys_pin_a>;
[all …]
H A Dqcom-apq8026-lg-lenok.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include "qcom-msm8226.dtsi"
10 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
12 /delete-node/ &adsp_region;
17 chassis-type = "watch";
18 qcom,board-id = <132 0x0a>;
19 qcom,msm-id = <199 0x20000>;
27 stdout-path = "serial0:115200n8";
30 reserved-memory {
[all …]
/linux/drivers/soc/qcom/
H A Dsmd-rpm.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
15 #include <linux/soc/qcom/smd-rpm.h>
20 * struct qcom_smd_rpm - state of the rpm device driver
22 * @dev: rpm device
25 * @ack_status: result of the rpm request
37 * struct qcom_rpm_header - header for all rpm requests and responses
47 * struct qcom_rpm_request - request message to the rpm
63 * struct qcom_rpm_message - response message from the rpm
67 * @message: textual message from the rpm
[all …]
H A Dqcom_stats.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2021, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2022-2025, Qualcomm Innovation Center, Inc. All rights reserved.
100 u64 accumulated = stat->accumulated; in qcom_print_stats()
105 if (stat->last_entered_at > stat->last_exited_at) in qcom_print_stats()
106 accumulated += arch_timer_read_counter() - stat->last_entered_at; in qcom_print_stats()
108 seq_printf(s, "Count: %u\n", stat->count); in qcom_print_stats()
109 seq_printf(s, "Last Entered At: %llu\n", stat->last_entered_at); in qcom_print_stats()
110 seq_printf(s, "Last Exited At: %llu\n", stat->last_exited_at); in qcom_print_stats()
116 struct subsystem_data *subsystem = s->private; in qcom_subsystem_sleep_stats_show()
[all …]
H A Dsocinfo.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2009-2017, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2017-2019, Linaro Ltd.
22 #include <dt-bindings/arm/qcom,ids.h>
65 [SMEM_IMAGE_TABLE_RPM_INDEX] = "rpm",
203 { qcom_board_id(MSM8974) },
245 { qcom_board_id_named(MSM8974PRO_AC, "MSM8974PRO-AC") },
256 { qcom_board_id_named(APQ8074PRO_AA, "APQ8074PRO-AA") },
257 { qcom_board_id_named(APQ8074PRO_AB, "APQ8074PRO-AB") },
258 { qcom_board_id_named(APQ8074PRO_AC, "APQ8074PRO-AC") },
[all …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,rpm-proc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/qcom,rpm-proc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Resource Power Manager (RPM) Processor/Subsystem
10 - Bjorn Andersson <andersson@kernel.org>
11 - Konrad Dybcio <konradybcio@kernel.org>
12 - Stephan Gerhold <stephan@gerhold.net>
15 Resource Power Manager (RPM) subsystem found in various Qualcomm platforms:
17 +--------------------------------------------+
[all …]
/linux/Documentation/devicetree/bindings/power/
H A Dqcom,rpmpd.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm RPM/RPMh Power domains
10 - Bjorn Andersson <andersson@kernel.org>
13 For RPM/RPMh Power domains, we communicate a performance state to RPM/RPMh
19 - enum:
20 - qcom,glymur-rpmhpd
21 - qcom,mdm9607-rpmpd
22 - qcom,milos-rpmhpd
[all …]
/linux/drivers/clk/qcom/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
158 tristate "RPM based Clock Controller"
161 The RPM (Resource Power Manager) is a dedicated hardware engine for
166 Say Y if you want to support the clocks exposed by the RPM on
170 tristate "RPM over SMD based Clock Controller"
173 The RPM (Resource Power Manager) is a dedicated hardware engine for
178 Say Y if you want to support the clocks exposed by the RPM on
179 platforms such as apq8016, apq8084, msm8974 etc.
430 tristate "MSM8974 Global Clock Controller"
434 Support for the global clock controller on msm8974 devices.
[all …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_COMMON_CLK_QCOM) += clk-qcom.o
4 clk-qcom-y += common.o
5 clk-qcom-y += clk-regmap.o
6 clk-qcom-y += clk-alpha-pll.o
7 clk-qcom-y += clk-pll.o
8 clk-qcom-y += clk-rcg.o
9 clk-qcom-y += clk-rcg2.o
10 clk-qcom-y += clk-branch.o
11 clk-qcom-y += clk-regmap-divider.o
[all …]
H A Dclk-smd-rpm.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/clk-provider.h>
17 #include <linux/soc/qcom/smd-rpm.h>
19 #include <dt-bindings/clock/qcom,rpmcc.h>
194 .key = cpu_to_le32(r->rpm_key), in clk_smd_rpm_handoff()
196 .value = cpu_to_le32(r->branch ? 1 : INT_MAX), in clk_smd_rpm_handoff()
200 r->rpm_res_type, r->rpm_clk_id, &req, in clk_smd_rpm_handoff()
205 r->rpm_res_type, r->rpm_clk_id, &req, in clk_smd_rpm_handoff()
217 .key = cpu_to_le32(r->rpm_key), in clk_smd_rpm_set_rate_active()
223 r->rpm_res_type, r->rpm_clk_id, &req, in clk_smd_rpm_set_rate_active()
[all …]