/linux-6.12.1/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,smd-rpm.yaml | 1 # 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 …]
|
D | qcom-stats.yaml | 1 # 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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/interconnect/ |
D | qcom,rpm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interconnect/qcom,rpm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm RPM Network-On-Chip Interconnect 10 - Georgi Djakov <djakov@kernel.org> 13 RPM interconnect providers support system bandwidth requirements through 14 RPM processor. The provider is able to communicate with the RPM through 15 the RPM shared memory device. 18 - $ref: qcom,rpm-common.yaml# [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/clock/ |
D | qcom,rpmcc.yaml | 1 # 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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/remoteproc/ |
D | qcom,rpm-proc.yaml | 1 # 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-6.12.1/drivers/interconnect/qcom/ |
D | Makefile | 1 # 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-msm8909-objs := msm8909.o 8 qnoc-msm8916-objs := msm8916.o 9 qnoc-msm8937-objs := msm8937.o 10 qnoc-msm8939-objs := msm8939.o 11 qnoc-msm8953-objs := msm8953.o 12 qnoc-msm8974-objs := msm8974.o [all …]
|
D | msm8916.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2018-2020 Linaro Ltd 8 #include <linux/interconnect-provider.h> 15 #include <dt-bindings/interconnect/qcom,msm8916.h> 17 #include "icc-rpm.h" 115 .mas_rpm_id = -1, 116 .slv_rpm_id = -1, 132 .mas_rpm_id = -1, 133 .slv_rpm_id = -1, 150 .mas_rpm_id = -1, [all …]
|
D | msm8939.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * With reference of msm8916 interconnect driver of Georgi Djakov. 9 #include <linux/interconnect-provider.h> 16 #include <dt-bindings/interconnect/qcom,msm8939.h> 18 #include "icc-rpm.h" 120 .mas_rpm_id = -1, 121 .slv_rpm_id = -1, 137 .mas_rpm_id = -1, 153 .mas_rpm_id = -1, 154 .slv_rpm_id = -1, [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mailbox/ |
D | qcom,apcs-kpss-global.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mailbox/qcom,apcs-kpss-global.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Jassi Brar <jassisinghbrar@gmail.com> 19 - items: 20 - enum: 21 - qcom,ipq5018-apcs-apps-global 22 - qcom,ipq5332-apcs-apps-global 23 - qcom,ipq8074-apcs-apps-global [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | msm8916.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 6 #include <dt-bindings/arm/coresight-cti-dt.h> 7 #include <dt-bindings/clock/qcom,gcc-msm8916.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/interconnect/qcom,msm8916.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/reset/qcom,gcc-msm8916.h> 13 #include <dt-bindings/soc/qcom,apr.h> [all …]
|
D | msm8916-pm8916.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * msm8916-pm8916.dtsi describes common properties (e.g. regulator connections) 4 * that apply to most devices that make use of the MSM8916 SoC and PM8916 PMIC. 6 * were rarely re-used for different purposes. Devices that deviate from the 8 * the necessary properties in the board-specific device tree. 11 #include "msm8916.dtsi" 15 vdda-supply = <&pm8916_l2>; 19 vdda-supply = <&pm8916_l2>; 20 vddio-supply = <&pm8916_l6>; 24 vddio-supply = <&pm8916_l6>; [all …]
|
D | msm8939.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2020-2023, Linaro Limited 7 #include <dt-bindings/clock/qcom,gcc-msm8939.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/interconnect/qcom,msm8939.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/reset/qcom,gcc-msm8939.h> 13 #include <dt-bindings/soc/qcom,apr.h> [all …]
|
D | qcs404.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/qcom,gcc-qcs404.h> 8 #include <dt-bindings/clock/qcom,turingcc-qcs404.h> 9 #include <dt-bindings/clock/qcom,rpmcc.h> 10 #include <dt-bindings/power/qcom-rpmpd.h> 11 #include <dt-bindings/thermal/thermal.h> 14 interrupt-parent = <&intc>; 16 #address-cells = <2>; 17 #size-cells = <2>; [all …]
|
/linux-6.12.1/drivers/soc/qcom/ |
D | smd-rpm.c | 1 // 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 …]
|
D | qcom_stats.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2021, The Linux Foundation. All rights reserved. 77 u64 accumulated = stat->accumulated; in qcom_print_stats() 82 if (stat->last_entered_at > stat->last_exited_at) in qcom_print_stats() 83 accumulated += arch_timer_read_counter() - stat->last_entered_at; in qcom_print_stats() 85 seq_printf(s, "Count: %u\n", stat->count); in qcom_print_stats() 86 seq_printf(s, "Last Entered At: %llu\n", stat->last_entered_at); in qcom_print_stats() 87 seq_printf(s, "Last Exited At: %llu\n", stat->last_exited_at); in qcom_print_stats() 93 struct subsystem_data *subsystem = s->private; in qcom_subsystem_sleep_stats_show() 97 stat = qcom_smem_get(subsystem->pid, subsystem->smem_item, NULL); in qcom_subsystem_sleep_stats_show() [all …]
|
D | socinfo.c | 1 // 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> 62 [SMEM_IMAGE_TABLE_RPM_INDEX] = "rpm", 237 { qcom_board_id_named(MSM8974PRO_AC, "MSM8974PRO-AC") }, 246 { qcom_board_id(MSM8916) }, 248 { qcom_board_id_named(APQ8074PRO_AA, "APQ8074PRO-AA") }, 249 { qcom_board_id_named(APQ8074PRO_AB, "APQ8074PRO-AB") }, 250 { qcom_board_id_named(APQ8074PRO_AC, "APQ8074PRO-AC") }, [all …]
|
/linux-6.12.1/drivers/clk/qcom/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 77 tristate "MSM8916 A53 PLL" 79 Support for the A53 PLL on MSM8916 devices. It provides 81 Say Y if you want to support higher CPU frequencies on MSM8916 93 tristate "MSM8916 APCS Clock Controller" 96 Support for the APCS Clock Controller on msm8916 devices. The 99 such as msm8916. 122 tristate "RPM based Clock Controller" 125 The RPM (Resource Power Manager) is a dedicated hardware engine for 130 Say Y if you want to support the clocks exposed by the RPM on [all …]
|
D | Makefile | 1 # 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 …]
|
D | clk-smd-rpm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk-provider.h> 16 #include <linux/soc/qcom/smd-rpm.h> 18 #include <dt-bindings/clock/qcom,rpmcc.h> 193 .key = cpu_to_le32(r->rpm_key), in clk_smd_rpm_handoff() 195 .value = cpu_to_le32(r->branch ? 1 : INT_MAX), in clk_smd_rpm_handoff() 199 r->rpm_res_type, r->rpm_clk_id, &req, in clk_smd_rpm_handoff() 204 r->rpm_res_type, r->rpm_clk_id, &req, in clk_smd_rpm_handoff() 216 .key = cpu_to_le32(r->rpm_key), in clk_smd_rpm_set_rate_active() 222 r->rpm_res_type, r->rpm_clk_id, &req, in clk_smd_rpm_set_rate_active() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/power/ |
D | qcom,rpmpd.yaml | 1 # 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,mdm9607-rpmpd 21 - qcom,msm8226-rpmpd 22 - qcom,msm8909-rpmpd [all …]
|
/linux-6.12.1/include/dt-bindings/power/ |
D | qcom-rpmpd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 267 /* MSM8916 Power Domain Indexes */ 405 /* RPM SMD Power Domain performance levels */
|
/linux-6.12.1/arch/arm/boot/dts/qcom/ |
D | qcom-msm8226.dtsi | 1 // 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> 15 #include <dt-bindings/thermal/thermal.h> [all …]
|
/linux-6.12.1/drivers/pmdomain/qcom/ |
D | rpmpd.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. */ 14 #include <linux/soc/qcom/smd-rpm.h> 16 #include <dt-bindings/power/qcom-rpmpd.h> 23 * RPMPD_X is X encoded as a little-endian, lower-case, ASCII string */ 935 { .compatible = "qcom,mdm9607-rpmpd", .data = &mdm9607_desc }, 936 { .compatible = "qcom,msm8226-rpmpd", .data = &msm8226_desc }, 937 { .compatible = "qcom,msm8909-rpmpd", .data = &msm8916_desc }, 938 { .compatible = "qcom,msm8916-rpmpd", .data = &msm8916_desc }, 939 { .compatible = "qcom,msm8917-rpmpd", .data = &msm8917_desc }, [all …]
|