/linux/Documentation/devicetree/bindings/interconnect/ |
H A D | qcom,sm6350-rpmh.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interconnect/qcom,sm6350-rpmh.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SM6350 RPMh Network-On-Chip Interconnect 10 - Luca Weiss <luca.weiss@fairphone.com> 13 Qualcomm RPMh-based interconnect provider on SM6350. 16 - $ref: qcom,rpmh-common.yaml# 21 - qcom,sm6350-aggre1-noc 22 - qcom,sm6350-aggre2-noc [all …]
|
H A D | qcom,rpm-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interconnect/qcom,rpm-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm RPMh Network-On-Chip Interconnect 10 - Konrad Dybcio <konradybcio@kernel.org> 14 through manual requests based on either predefined values or as indicated by 19 '#interconnect-cells': 21 - const: 2 22 - const: 1 [all …]
|
/linux/drivers/pmdomain/qcom/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 tables based on feedback from the CPR hardware. If you want to do 18 be called qcom-cpr 21 tristate "Qualcomm RPMh Power domain driver" 24 QCOM RPMh Power domain driver to support power-domains with 26 value to RPMh which then translates it into corresponding voltage 36 QCOM RPM Power domain driver to support power-domains with
|
/linux/drivers/interconnect/qcom/ |
H A D | bcm-voter.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. 7 #include <linux/interconnect-provider.h> 13 #include <soc/qcom/rpmh.h> 16 #include "bcm-voter.h" 17 #include "icc-rpmh.h" 23 * struct bcm_voter - Bus Clock Manager voter 47 return bcm_a->aux_data.vcd - bcm_b->aux_data.vcd; in cmp_vcd() 61 /* BCMs with enable_mask use one-hot-encoding for on/off signaling */ 68 bcm->vote_x[bucket] = 0; in bcm_aggregate_mask() [all …]
|
/linux/drivers/clk/qcom/ |
H A D | clk-rpmh.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. 6 #include <linux/clk-provider.h> 12 #include <soc/qcom/cmd-db.h> 13 #include <soc/qcom/rpmh.h> 16 #include <dt-bindings/clock/qcom,rpmh.h> 22 * struct bcm_db - Auxiliary data pertaining to each Bus Clock Manager(BCM) 23 * @unit: divisor used to convert Hz value to an RPMh msg 24 * @width: multiplier used to convert Hz value to an RPMh msg 36 * struct clk_rpmh - individual rpmh clock data structure [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 122 tristate "RPM based Clock Controller" 134 tristate "RPM over SMD based Clock Controller" 146 tristate "RPMh Clock Driver" 149 RPMh manages shared resources on some Qualcomm Technologies, Inc. 151 Say Y if you want to support the clocks exposed by RPMh on 177 clock that feeds the CPUs on ipq based devices. 178 Say Y if you want to support CPU frequency scaling on ipq based 191 ipq based devices. 1321 tristate "High-Frequency PLL (HFPLL) Clock Controller" [all …]
|
/linux/drivers/soc/qcom/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 the low-power state for resources related to the remoteproc 26 resource on a RPM-hardened platform must use this database to get 33 This driver is used to manage Generic Interface (GENI) firmware based 71 allocate memory from OCMEM based on performance, latency and power 84 and instances handled by the remote DSPs. This is a kernel-space 124 Say yes here to support USB-C and battery status on modern Qualcomm 147 purpose of exchanging sector-data between the remote filesystem 156 The RPM Master sleep stats driver provides detailed per-subsystem 158 assess whether all the low-power modes available are entered as [all …]
|
H A D | cmd-db.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2016-2018, 2020, The Linux Foundation. All rights reserved. 18 #include <soc/qcom/cmd-db.h> 88 * based accelerator is a 'slave' (shared resource) and has slave id indicating 105 const u8 *magic = header->magic; in cmd_db_magic_matches() 114 u16 offset = le16_to_cpu(hdr->header_offset); in rsc_to_entry_header() 116 return cmd_db_header->data + offset; in rsc_to_entry_header() 122 u16 offset = le16_to_cpu(hdr->data_offset); in rsc_offset() 123 u16 loffset = le16_to_cpu(ent->offset); in rsc_offset() 125 return cmd_db_header->data + offset + loffset; in rsc_offset() [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | qcom,pcie-sa8775p.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/qcom,pcie-sa8775p.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 14 Qualcomm SA8775p SoC PCIe root complex controller is based on the Synopsys 19 const: qcom,pcie-sa8775p 25 reg-names: 27 - const: parf # Qualcomm specific registers [all …]
|
H A D | qcom,pcie-sm8150.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/qcom,pcie-sm8150.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 14 Qualcomm SM8150 SoC PCIe root complex controller is based on the Synopsys 19 const: qcom,pcie-sm8150 25 reg-names: 28 - const: parf # Qualcomm specific registers [all …]
|
H A D | qcom,pcie-sc7280.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/qcom,pcie-sc7280.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 14 Qualcomm SC7280 SoC PCIe root complex controller is based on the Synopsys 19 const: qcom,pcie-sc7280 25 reg-names: 28 - const: parf # Qualcomm specific registers [all …]
|
/linux/drivers/regulator/ |
H A D | qcom-rpmh-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. 18 #include <soc/qcom/cmd-db.h> 19 #include <soc/qcom/rpmh.h> 21 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 24 * enum rpmh_regulator_type - supported RPMh accelerator types 25 * @VRM: RPMh VRM accelerator which supports voting on enable, voltage, 27 * @XOB: RPMh XOB accelerator which supports voting on the enable state 68 * struct rpmh_vreg_hw_data - RPMh regulator hardware configurations 69 * @regulator_type: RPMh accelerator type used to manage this [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 64 the netlink mechanism. User-space applications can subscribe to these events 65 for real-time updates on various regulator events. 75 They provide two I2C-controlled DC/DC step-down converters with 101 tristate "Active-semi act8865 voltage regulator" 106 This driver controls a active-semi act8865 voltage output 110 tristate "Active-semi ACT8945A voltage regulator" 113 This driver controls a active-semi ACT8945A voltage regulator 114 via I2C bus. The ACT8945A features three step-down DC/DC converters [all …]
|
/linux/include/dt-bindings/regulator/ |
H A D | qcom,rpmh-regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * These mode constants may be used to specify modes for various RPMh regulator 9 * device tree properties (e.g. regulator-initial-mode). Each type of regulator 21 * automatically switches between LPM and HPM based 22 * upon the real-time load current. This mode is
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | ti,sn65dsi86.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Douglas Anderson <dianders@chromium.org> 23 enable-gpios: 27 suspend-gpios: 31 no-hpd: 37 vccio-supply: 40 vpll-supply: 43 vcca-supply: [all …]
|
/linux/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_gmu.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved. */ 11 #include <soc/qcom/cmd-db.h> 23 struct adreno_gpu *adreno_gpu = &a6xx_gpu->base; in a6xx_gmu_fault() 24 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_fault() 27 gmu->hung = true; in a6xx_gmu_fault() 30 del_timer(&gpu->hangcheck_timer); in a6xx_gmu_fault() 33 kthread_queue_work(gpu->worker, &gpu->recover_work); in a6xx_gmu_fault() 45 dev_err_ratelimited(gmu->dev, "GMU watchdog expired\n"); in a6xx_gmu_irq() 51 dev_err_ratelimited(gmu->dev, "GMU AHB bus error\n"); in a6xx_gmu_irq() [all …]
|
/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | panel-edp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-edp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Douglas Anderson <dianders@chromium.org> 14 to a Embedded DisplayPort AUX bus (see display/dp-aux-bus.yaml) without 17 board, either for second-sourcing purposes or to support multiple SKUs 32 the operating system will lookup the panel in a table (based on EDID 51 :<T1>:<T2>: :<--T10-->:<T11>:<T12>: 52 : +-----------------------+---------+---------+ [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7180-trogdor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include <dt-bindings/sound/sc7180-lpass.h> 16 #include "sc7180-firmware-tfa.dtsi" 22 thermal-zones { 23 charger_thermal: charger-thermal { [all …]
|