/Linux-v6.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-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 …]
|
D | msm8974.c | 1 // 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 …]
|
/Linux-v6.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 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.yaml 17 within the RPM node itself. 19 The RPM exposes resources to its subnodes. The rpm_requests node must be [all …]
|
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> 23 "^smd-edge|rpm$": 24 $ref: /schemas/remoteproc/qcom,smd-edge.yaml# 28 processor of some sort - or in SMD language an "edge". The name of the 32 - compatible [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 <mkshah@codeaurora.org> 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-v6.1/drivers/clk/qcom/ |
D | clk-smd-rpm.c | 1 // 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> 144 struct qcom_smd_rpm *rpm; member 164 .key = cpu_to_le32(r->rpm_key), in clk_smd_rpm_handoff() 166 .value = cpu_to_le32(r->branch ? 1 : INT_MAX), in clk_smd_rpm_handoff() 169 ret = qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_ACTIVE_STATE, in clk_smd_rpm_handoff() 170 r->rpm_res_type, r->rpm_clk_id, &req, in clk_smd_rpm_handoff() 174 ret = qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_SLEEP_STATE, in clk_smd_rpm_handoff() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 67 tristate "RPM based Clock Controller" 71 The RPM (Resource Power Manager) is a dedicated hardware engine for 76 Say Y if you want to support the clocks exposed by the RPM on 80 tristate "RPM over SMD based Clock Controller" 84 The RPM (Resource Power Manager) is a dedicated hardware engine for 89 Say Y if you want to support the clocks exposed by the RPM on 90 platforms such as apq8016, apq8084, msm8974 etc. 261 tristate "MSM8974 Global Clock Controller" 264 Support for the global clock controller on msm8974 devices. [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 …]
|
/Linux-v6.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-v6.1/arch/arm/boot/dts/ |
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,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 …]
|
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/gpio/gpio.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/reset/qcom,gcc-msm8974.h> 15 #address-cells = <1>; 16 #size-cells = <1>; 17 interrupt-parent = <&intc>; [all …]
|
D | qcom-apq8074-dragonboard.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/gpio/gpio.h> 3 #include "qcom-msm8974.dtsi" 4 #include "qcom-pm8841.dtsi" 5 #include "qcom-pm8941.dtsi" 9 compatible = "qcom,apq8074-dragonboard", "qcom,apq8074"; 18 stdout-path = "serial0:115200n8"; 28 clock-frequency = <200000>; 34 read-only; 42 phy-select = <&tcsr 0xb000 1>; [all …]
|
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 …]
|
D | qcom-msm8974-lge-nexus5-hammerhead.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.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"; 19 stdout-path = "serial0:115200n8"; 22 gpio-keys { [all …]
|
D | qcom-msm8974pro-fairphone-fp2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.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,msm8974"; 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { [all …]
|
D | qcom-msm8974-sony-xperia-rhine.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 stdout-path = "serial0:115200n8"; 18 gpio-keys { 19 compatible = "gpio-keys"; [all …]
|
D | qcom-msm8974pro-sony-xperia-shinano-castor.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.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 = "sony,xperia-castor", "qcom,msm8974"; 19 stdout-path = "serial0:115200n8"; 22 gpio-keys { [all …]
|
D | qcom-msm8974pro-samsung-klte.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 3 #include "qcom-pma8084.dtsi" 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include <dt-bindings/leds/common.h> 10 compatible = "samsung,klte", "qcom,msm8974"; 19 stdout-path = "serial0:115200n8"; 22 gpio-keys { 23 compatible = "gpio-keys"; [all …]
|
/Linux-v6.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 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 …]
|
D | qcom_stats.c | 1 // 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 …]
|
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. 66 [SMEM_IMAGE_TABLE_RPM_INDEX] = "rpm", 215 { 126, "MSM8974" }, 240 { 194, "MSM8974PRO-AC" }, 247 { 208, "APQ8074PRO-AA" }, 248 { 209, "APQ8074PRO-AB" }, 249 { 210, "APQ8074PRO-AC" }, 250 { 211, "MSM8274PRO-AA" }, [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | msm8994.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/clock/qcom,gcc-msm8994.h> 7 #include <dt-bindings/clock/qcom,mmcc-msm8994.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/power/qcom-rpmpd.h> 13 interrupt-parent = <&intc>; 15 #address-cells = <2>; [all …]
|