| /linux/Documentation/devicetree/bindings/soc/qcom/ |
| H A D | qcom,smd.yaml | 1 # 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 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 …]
|
| H A 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 …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8974.dtsi | 1 // 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 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,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 D | qcom-msm8974pro-htc-m8.dts | 1 // 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 D | qcom-msm8974-lge-nexus5-hammerhead.dts | 1 // 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 D | qcom-apq8084.dtsi | 1 // 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 D | qcom-msm8974pro-fairphone-fp2.dts | 1 // 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 D | qcom-apq8074-dragonboard.dts | 1 // 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 D | qcom-msm8974pro-oneplus-bacon.dts | 1 // 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 D | qcom-msm8974-sony-xperia-rhine.dtsi | 1 // 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 D | qcom-apq8026-lg-lenok.dts | 1 // 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 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 …]
|
| H A D | qcom_stats.c | 1 // 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 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> 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 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/Documentation/devicetree/bindings/power/ |
| H A 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,glymur-rpmhpd 21 - qcom,mdm9607-rpmpd 22 - qcom,milos-rpmhpd [all …]
|
| /linux/drivers/clk/qcom/ |
| H A D | Kconfig | 1 # 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 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 …]
|
| H A D | clk-smd-rpm.c | 1 // 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 …]
|