/linux/Documentation/devicetree/bindings/soc/qcom/ |
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 16 qcom,smd.yaml for the required edge properties. All SMD/GLINK related 17 properties will reside within the RPM node itself. [all …]
|
H A D | qcom,smd.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/soc/qcom/qcom,smd.yaml# 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 26 const: qcom,smd 29 "^smd-edge|rpm$": [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 …]
|
H A D | qcom,glink-rpm-edge.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,glink-rpm-edge.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm G-Link RPM edge 10 Qualcomm G-Link edge, a FIFO based mechanism for communication with Resource 11 Power Manager (RPM) on various Qualcomm platforms. 14 - Bjorn Andersson <andersson@kernel.org> 18 const: qcom,glink-rpm 30 - description: rpm_hlos mailbox in APCS [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | qcom,smd-rpm-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,smd-rpm-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: QCOM SMD RPM REGULATOR 10 The Qualcomm RPM over SMD regulator is modelled as a subdevice of the RPM. 11 Because SMD is used as the communication transport mechanism, the RPM 12 resides as a subnode of the SMD. As such, the SMD-RPM regulator requires 13 that the SMD and RPM nodes be present. 15 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml for [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 21 * @rpm_channel: reference to the smd channel 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 [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 CFLAGS_rpmh-rsc.o := -I$(src) 3 CFLAGS_qcom_aoss.o := -I$(src) 4 obj-$(CONFIG_QCOM_AOSS_QMP) += qcom_aoss.o 5 obj-$(CONFIG_QCOM_GENI_SE) += qcom-geni-se.o 6 obj-$(CONFIG_QCOM_COMMAND_DB) += cmd-db.o 7 obj-$(CONFIG_QCOM_GSBI) += qcom_gsbi.o 8 obj-$(CONFIG_QCOM_MDT_LOADER) += mdt_loader.o 9 obj-$(CONFIG_QCOM_OCMEM) += ocmem.o 10 obj-$(CONFIG_QCOM_PD_MAPPER) += qcom_pd_mapper.o [all …]
|
/linux/drivers/rpmsg/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 15 in /dev. They make it possible for user-space programs to send and 23 allows user-space programs to create endpoints with specific service name, 48 tristate "Qualcomm RPM Glink driver" 53 Say y here to enable support for the GLINK RPM communication driver, 54 which serves as a channel for communication with the RPM in GLINK 68 tristate "Qualcomm Shared Memory Driver (SMD)"
|
/linux/arch/arm/boot/dts/qcom/ |
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-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 …]
|
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,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 …]
|
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> 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 { 26 debounce-interval = <20>; [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> 12 chassis-type = "handset"; 21 stdout-path = "serial0:115200n8"; 24 gpio-keys { 25 compatible = "gpio-keys"; 27 pinctrl-names = "default"; [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> 11 chassis-type = "handset"; 12 qcom,msm-id = <194 0x10000>; 13 qcom,board-id = <8 0>; 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { 24 compatible = "gpio-keys"; [all …]
|
H A D | qcom-apq8064.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/clock/qcom,gcc-msm8960.h> 5 #include <dt-bindings/clock/qcom,lcc-msm8960.h> 6 #include <dt-bindings/reset/qcom,gcc-msm8960.h> 7 #include <dt-bindings/clock/qcom,mmcc-msm8960.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/soc/qcom,gsbi.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> [all …]
|
/linux/drivers/interconnect/qcom/ |
H A D | icc-rpm-clocks.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <linux/soc/qcom/smd-rpm.h> 8 #include "icc-rpm.h"
|
H A D | icc-rpm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <linux/soc/qcom/smd-rpm.h> 11 #include <dt-bindings/interconnect/qcom,rpm-icc.h> 13 #include <linux/interconnect-provider.h> 29 * struct rpm_clk_resource - RPM bus clock resource 30 * @resource_type: RPM resource type of the clock resource 41 * struct qcom_icc_provider - Qualcomm specific interconnect provider 47 * @ab_coeff: a percentage-based coefficient for compensating the AB calculations 48 * @ib_coeff: an inverse-percentage-based coefficient for compensating the IB calculations 51 * @bus_clk: a pointer to a HLOS-owned bus clock [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8953.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 4 #include <dt-bindings/clock/qcom,gcc-msm8953.h> 5 #include <dt-bindings/clock/qcom,rpmcc.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/power/qcom-rpmpd.h> 9 #include <dt-bindings/soc/qcom,apr.h> 10 #include <dt-bindings/sound/qcom,q6afe.h> 11 #include <dt-bindings/sound/qcom,q6asm.h> 12 #include <dt-bindings/thermal/thermal.h> [all …]
|
H A D | msm8976.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2016-2022, AngeloGioacchino Del Regno 9 #include <dt-bindings/clock/qcom,gcc-msm8976.h> 10 #include <dt-bindings/clock/qcom,rpmcc.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> 17 interrupt-parent = <&intc>; 18 #address-cells = <2>; [all …]
|
H A D | ipq6018.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/qcom,gcc-ipq6018.h> 10 #include <dt-bindings/reset/qcom,gcc-ipq6018.h> 11 #include <dt-bindings/clock/qcom,apss-ipq.h> 12 #include <dt-bindings/thermal/thermal.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 17 interrupt-parent = <&intc>; 20 sleep_clk: sleep-clk { [all …]
|
H A D | qcm2290.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 8 #include <dt-bindings/clock/qcom,dispcc-qcm2290.h> 9 #include <dt-bindings/clock/qcom,gcc-qcm2290.h> 10 #include <dt-bindings/clock/qcom,qcm2290-gpucc.h> 11 #include <dt-bindings/clock/qcom,rpmcc.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/firmware/qcom,scm.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/interrupt-controller/arm-gic.h> 16 #include <dt-bindings/interconnect/qcom,qcm2290.h> [all …]
|
/linux/include/dt-bindings/clock/ |
H A D | qcom,rpmcc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 /* RPM clocks */ 45 /* SMD RPM clocks */
|
/linux/Documentation/devicetree/bindings/misc/ |
H A D | qcom,fastrpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 The FastRPC implements an IPC (Inter-Processor Communication) 25 - adsp 26 - mdsp 27 - sdsp 28 - cdsp 29 - cdsp1 [all …]
|
/linux/drivers/regulator/ |
H A D | qcom_smd-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. 12 #include <linux/soc/qcom/smd-rpm.h> 48 if (vreg->enabled_updated) { in rpm_reg_write_active() 51 req[reqlen].value = cpu_to_le32(vreg->is_enabled); in rpm_reg_write_active() 55 if (vreg->uv_updated && vreg->is_enabled) { in rpm_reg_write_active() 58 req[reqlen].value = cpu_to_le32(vreg->uV); in rpm_reg_write_active() 62 if (vreg->load_updated && vreg->is_enabled) { in rpm_reg_write_active() 65 req[reqlen].value = cpu_to_le32(vreg->load / 1000); in rpm_reg_write_active() 73 vreg->type, vreg->id, in rpm_reg_write_active() [all …]
|
/linux/drivers/pmdomain/qcom/ |
H A 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 …]
|