Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/qcom/
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
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 information for the RPM edge should be filled out. See qcom,smd.txt
17 within the RPM node itself.
19 The RPM exposes resources to its subnodes. The rpm_requests node must be
[all …]
Dqcom,smem.txt6 - compatible:
12 - memory-region:
14 Value type: <prop-encoded-array>
17 - qcom,rpm-msg-ram:
19 Value type: <prop-encoded-array>
20 Definition: handle to RPM message memory resource
22 - hwlocks:
24 Value type: <prop-encoded-array>
29 The following example shows the SMEM setup for MSM8974, with a main SMEM region
30 at 0xfa00000 and the RPM message ram at 0xfc428000:
[all …]
Dqcom,smd.txt7 - compatible:
15 processor of some sort - or in SMD language an "edge". The name of the edges
19 - interrupts:
21 Value type: <prop-encoded-array>
25 - mboxes:
27 Value type: <prop-encoded-array>
31 - qcom,ipc:
33 Value type: <prop-encoded-array>
36 - phandle to a syscon node representing the apcs registers
37 - u32 representing offset to the register within the syscon
[all …]
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dclk-smd-rpm.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/clk-provider.h>
17 #include <linux/soc/qcom/smd-rpm.h>
19 #include <dt-bindings/clock/qcom,rpmcc.h>
20 #include <dt-bindings/mfd/qcom-rpm.h>
132 struct qcom_smd_rpm *rpm; member
142 struct qcom_rpm *rpm; member
158 .key = cpu_to_le32(r->rpm_key), in clk_smd_rpm_handoff()
160 .value = cpu_to_le32(r->branch ? 1 : INT_MAX), in clk_smd_rpm_handoff()
163 ret = qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_ACTIVE_STATE, in clk_smd_rpm_handoff()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
50 tristate "RPM based Clock Controller"
54 The RPM (Resource Power Manager) is a dedicated hardware engine for
59 Say Y if you want to support the clocks exposed by the RPM on
63 tristate "RPM over SMD based Clock Controller"
67 The RPM (Resource Power Manager) is a dedicated hardware engine for
72 Say Y if you want to support the clocks exposed by the RPM on
73 platforms such as apq8016, apq8084, msm8974 etc.
221 tristate "MSM8974 Global Clock Controller"
224 Support for the global clock controller on msm8974 devices.
[all …]
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 …]
/kernel/linux/linux-5.10/drivers/interconnect/qcom/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 icc-bcm-voter-objs := bcm-voter.o
4 qnoc-msm8916-objs := msm8916.o
5 qnoc-msm8974-objs := msm8974.o
6 icc-osm-l3-objs := osm-l3.o
7 qnoc-qcs404-objs := qcs404.o
8 icc-rpmh-obj := icc-rpmh.o
9 qnoc-sc7180-objs := sc7180.o
10 qnoc-sdm845-objs := sdm845.o
11 qnoc-sm8150-objs := sm8150.o
[all …]
Dmsm8974.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
12 * Network On Chip (NOC) for the msm8974:
15 * |----------+-----------------------------------+-----------|
19 * |------------+-+-----------| |------------+-+-----------|
23 * |--------------+-+---------------------------------+-+-------------|
27 * |------------+-------------| |------------+-------------|
30 #include <dt-bindings/interconnect/qcom,msm8974.h>
33 #include <linux/interconnect-provider.h>
41 #include "smd-rpm.h"
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/
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 …]
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 …]
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 …]
/kernel/linux/linux-6.6/drivers/interconnect/qcom/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 obj-$(CONFIG_INTERCONNECT_QCOM) += interconnect_qcom.o
5 interconnect_qcom-y := icc-common.o
6 icc-bcm-voter-objs := bcm-voter.o
7 qnoc-msm8916-objs := msm8916.o
8 qnoc-msm8939-objs := msm8939.o
9 qnoc-msm8974-objs := msm8974.o
10 qnoc-msm8996-objs := msm8996.o
11 icc-osm-l3-objs := osm-l3.o
12 qnoc-qcm2290-objs := qcm2290.o
[all …]
Dmsm8974.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
12 * Network On Chip (NOC) for the msm8974:
15 * |----------+-----------------------------------+-----------|
19 * |------------+-+-----------| |------------+-+-----------|
23 * |--------------+-+---------------------------------+-+-------------|
27 * |------------+-------------| |------------+-------------|
30 #include <dt-bindings/interconnect/qcom,msm8974.h>
33 #include <linux/interconnect-provider.h>
40 #include "icc-rpm.h"
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/
Dqcom,rpmcc.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 Clock Controller
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
11 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
14 The clock enumerators are defined in <dt-bindings/clock/qcom,rpmcc.h> and
19 suspend, you need to specify the non-active clock, the one not containing
25 - enum:
26 - qcom,rpmcc-apq8060
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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,gcc-msm8974.h>
7 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
8 #include <dt-bindings/clock/qcom,rpmcc.h>
9 #include <dt-bindings/reset/qcom,gcc-msm8974.h>
10 #include <dt-bindings/gpio/gpio.h>
13 #address-cells = <1>;
[all …]
Dqcom-msm8974-fairphone-fp2.dts1 #include "qcom-msm8974.dtsi"
2 #include "qcom-pm8841.dtsi"
3 #include "qcom-pm8941.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 compatible = "fairphone,fp2", "qcom,msm8974";
18 stdout-path = "serial0:115200n8";
21 gpio-keys {
22 compatible = "gpio-keys";
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/
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,gcc-msm8974.h>
7 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
8 #include <dt-bindings/clock/qcom,rpmcc.h>
9 #include <dt-bindings/reset/qcom,gcc-msm8974.h>
10 #include <dt-bindings/gpio/gpio.h>
13 #address-cells = <1>;
[all …]
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,gcc-msm8974.h>
10 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
11 #include <dt-bindings/clock/qcom,rpmcc.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/power/qcom-rpmpd.h>
14 #include <dt-bindings/reset/qcom,gcc-msm8974.h>
17 #address-cells = <1>;
[all …]
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";
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dqcom,rpmcc.txt1 Qualcomm RPM Clock Controller Binding
2 ------------------------------------------------
3 The RPM is a dedicated hardware engine for managing the shared
10 - compatible : shall contain only one of the following. The generic
13 "qcom,rpmcc-msm8660", "qcom,rpmcc"
14 "qcom,rpmcc-apq8060", "qcom,rpmcc"
15 "qcom,rpmcc-msm8916", "qcom,rpmcc"
16 "qcom,rpmcc-msm8936", "qcom,rpmcc"
17 "qcom,rpmcc-msm8974", "qcom,rpmcc"
18 "qcom,rpmcc-msm8976", "qcom,rpmcc"
[all …]
/kernel/linux/linux-5.10/drivers/soc/qcom/
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
23 * @dev: rpm device
26 * @ack_status: result of the rpm request
39 * struct qcom_rpm_header - header for all rpm requests and responses
49 * struct qcom_rpm_request - request message to the rpm
65 * struct qcom_rpm_message - response message from the rpm
69 * @message: textual message from the rpm
[all …]
/kernel/linux/linux-6.6/drivers/clk/qcom/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
69 tristate "RPM based Clock Controller"
73 The RPM (Resource Power Manager) is a dedicated hardware engine for
78 Say Y if you want to support the clocks exposed by the RPM on
82 tristate "RPM over SMD based Clock Controller"
86 The RPM (Resource Power Manager) is a dedicated hardware engine for
91 Say Y if you want to support the clocks exposed by the RPM on
92 platforms such as apq8016, apq8084, msm8974 etc.
301 tristate "MSM8974 Global Clock Controller"
305 Support for the global clock controller on msm8974 devices.
[all …]
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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/remoteproc/
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 <konrad.dybcio@linaro.org>
12 - Stephan Gerhold <stephan@gerhold.net>
15 Resource Power Manager (RPM) subsystem found in various Qualcomm platforms:
17 +--------------------------------------------+
[all …]
/kernel/linux/linux-6.6/drivers/soc/qcom/
Dqcom_stats.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2021, The Linux Foundation. All rights reserved.
73 u64 accumulated = stat->accumulated; in qcom_print_stats()
78 if (stat->last_entered_at > stat->last_exited_at) in qcom_print_stats()
79 accumulated += arch_timer_read_counter() - stat->last_entered_at; in qcom_print_stats()
81 seq_printf(s, "Count: %u\n", stat->count); in qcom_print_stats()
82 seq_printf(s, "Last Entered At: %llu\n", stat->last_entered_at); in qcom_print_stats()
83 seq_printf(s, "Last Exited At: %llu\n", stat->last_exited_at); in qcom_print_stats()
89 struct subsystem_data *subsystem = s->private; in qcom_subsystem_sleep_stats_show()
93 stat = qcom_smem_get(subsystem->pid, subsystem->smem_item, NULL); in qcom_subsystem_sleep_stats_show()
[all …]

12