| /Linux-v6.1/arch/arm/boot/dts/ |
| D | tegra30-peripherals-opp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 core_opp_table: opp-table-core { 5 compatible = "operating-points-v2"; 6 opp-shared; 8 core_opp_950: opp-950000 { 9 opp-microvolt = <950000 950000 1350000>; 10 opp-level = <950000>; 13 core_opp_1000: opp-1000000 { 14 opp-microvolt = <1000000 1000000 1350000>; 15 opp-level = <1000000>; [all …]
|
| D | tegra20-peripherals-opp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 core_opp_table: opp-table-core { 5 compatible = "operating-points-v2"; 6 opp-shared; 8 core_opp_950: opp-950000 { 9 opp-microvolt = <950000 950000 1300000>; 10 opp-level = <950000>; 13 core_opp_1000: opp-1000000 { 14 opp-microvolt = <1000000 1000000 1300000>; 15 opp-level = <1000000>; [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/opp/ |
| D | opp-v2-kryo-cpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/opp-v2-kryo-cpu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ilia Lin <ilia.lin@kernel.org> 13 - $ref: opp-v2-base.yaml# 22 The qcom-cpufreq-nvmem driver reads the efuse value from the SoC to provide 23 the OPP framework with required information (existing HW bitmap). 25 operating-points-v2 table when it is parsed by the OPP framework. 29 const: operating-points-v2-kryo-cpu [all …]
|
| D | opp-v2-base.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/opp-v2-base.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Viresh Kumar <viresh.kumar@linaro.org> 13 Devices work at voltage-current-frequency combinations and some implementations 15 Performance Points aka OPPs. This document defines bindings for these OPPs 19 This describes the OPPs belonging to a device. 25 pattern: '^opp-table(-[a-z0-9]+)?$' 27 opp-shared: [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/cpufreq/ |
| D | qcom-cpufreq-nvmem.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpufreq/qcom-cpufreq-nvmem.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ilia Lin <ilia.lin@kernel.org> 18 according to the required OPPs defined in the CPU OPP tables. 25 - qcom,apq8064 26 - qcom,apq8096 27 - qcom,ipq8064 28 - qcom,msm8939 [all …]
|
| D | ti-cpufreq.txt | 5 families support different OPPs depending on the silicon variant in use. 6 The ti-cpufreq driver can use revision and an efuse value from the SoC to 8 used to determine which OPPs from the operating-points-v2 table get enabled 11 Required properties: 12 -------------------- 14 - operating-points-v2: Phandle to the operating-points-v2 table to use. 16 In 'operating-points-v2' table: 17 - compatible: Should be 18 - 'operating-points-v2-ti-cpu' for am335x, am43xx, and dra7xx/am57xx, 20 - syscon: A phandle pointing to a syscon node representing the control module [all …]
|
| /Linux-v6.1/drivers/opp/ |
| D | of.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Texas Instruments Incorporated. 31 /* "operating-points-v2" can be an array for power domain providers */ in _opp_of_get_opp_desc_node() 32 return of_parse_phandle(np, "operating-points-v2", index); in _opp_of_get_opp_desc_node() 38 return _opp_of_get_opp_desc_node(dev->of_node, 0); in dev_pm_opp_of_get_opp_desc_node() 47 np = _opp_of_get_opp_desc_node(dev->of_node, index); in _managed_opp() 52 if (opp_table->np == np) { in _managed_opp() 55 * so will have same node-pointer, np. in _managed_opp() 57 * But the OPPs will be considered as shared only if the in _managed_opp() 58 * OPP table contains a "opp-shared" property. in _managed_opp() [all …]
|
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Texas Instruments Incorporated. 26 * The root of the list of all opp-tables. All opp_table structures branch off 27 * from here, with each opp_table containing the list of opps it supports in 32 /* OPP tables with uninitialized required OPPs */ 48 mutex_lock(&opp_table->lock); in _find_opp_dev() 49 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev() 50 if (opp_dev->dev == dev) { in _find_opp_dev() 55 mutex_unlock(&opp_table->lock); in _find_opp_dev() 70 return ERR_PTR(-ENODEV); in _find_opp_table_unlocked() [all …]
|
| D | opp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2009-2010 Texas Instruments Incorporated. 40 * struct opp_config_data - data for set config operations 56 * |- device 1 (represents voltage domain 1) 57 * | |- opp 1 (availability, freq, voltage) 58 * | |- opp 2 .. 60 * | `- opp n .. 61 * |- device 2 (represents the next voltage domain) 63 * `- device m (represents mth voltage domain) 69 * struct dev_pm_opp - Generic OPP description structure [all …]
|
| D | cpu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2014 Texas Instruments Incorporated. 25 * dev_pm_opp_init_cpufreq_table() - create a cpufreq table for a device 29 * Generate a cpufreq table for a provided device- this assumes that the 32 * This function allocates required memory for the cpufreq table. It is 33 * expected that the caller does the required maintenance such as freeing 34 * the table as required. 36 * Returns -EINVAL for bad pointers, -ENODEV if the device is not found, -ENOMEM 53 return max_opps ? max_opps : -ENODATA; in dev_pm_opp_init_cpufreq_table() 57 return -ENOMEM; in dev_pm_opp_init_cpufreq_table() [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/mmc/ |
| D | sdhci-msm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/mmc/sdhci-msm.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 8 title: Qualcomm SDHCI controller (sdhci-msm) 11 - Bhupesh Sharma <bhupesh.sharma@linaro.org> 20 - enum: 21 - qcom,sdhci-msm-v4 23 - items: 24 - enum: [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/clock/ |
| D | qcom,sm8450-camcc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom,sm8450-camcc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> 16 See also include/dt-bindings/clock/qcom,sm8450-camcc.h 20 const: qcom,sm8450-camcc 24 - description: Camera AHB clock from GCC 25 - description: Board XO source 26 - description: Board active XO source [all …]
|
| D | qcom,videocc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Taniya Das <tdas@codeaurora.org> 17 dt-bindings/clock/qcom,videocc-sc7180.h 18 dt-bindings/clock/qcom,videocc-sc7280.h 19 dt-bindings/clock/qcom,videocc-sdm845.h 20 dt-bindings/clock/qcom,videocc-sm8150.h 21 dt-bindings/clock/qcom,videocc-sm8250.h 26 - qcom,sc7180-videocc [all …]
|
| D | qcom,dispcc-sm8x50.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom,dispcc-sm8x50.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jonathan Marek <jonathan@marek.ca> 17 dt-bindings/clock/qcom,dispcc-sm8150.h 18 dt-bindings/clock/qcom,dispcc-sm8250.h 19 dt-bindings/clock/qcom,dispcc-sm8350.h 24 - qcom,sc8180x-dispcc 25 - qcom,sm8150-dispcc [all …]
|
| D | qcom,sm8450-dispcc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom,sm8450-dispcc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 17 include/dt-bindings/clock/qcom,sm8450-dispcc.h 22 - qcom,sm8450-dispcc 27 - description: Board XO source 28 - description: Board Always On XO source 29 - description: Display's AHB clock [all …]
|
| /Linux-v6.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# 10 - Bjorn Andersson <andersson@kernel.org> 19 - qcom,mdm9607-rpmpd 20 - qcom,msm8226-rpmpd 21 - qcom,msm8909-rpmpd 22 - qcom,msm8916-rpmpd 23 - qcom,msm8939-rpmpd 24 - qcom,msm8953-rpmpd [all …]
|
| D | power_domain.txt | 12 #power-domain-cells property in the PM domain provider node. 16 See power-domain.yaml. 20 Required properties: 21 - power-domains : A list of PM domain specifiers, as defined by bindings of 25 - power-domain-names : A list of power domain name strings sorted in the same 26 order as the power-domains property. Consumers drivers will use 27 power-domain-names to match power domains with power-domains 32 leaky-device@12350000 { 33 compatible = "foo,i-leak-current"; 35 power-domains = <&power 0>; [all …]
|
| /Linux-v6.1/Documentation/power/ |
| D | opp.rst | 5 (C) 2009-2010 Nishanth Menon <nm@ti.com>, Texas Instruments Incorporated 20 ------------------------------------------------- 22 Complex SoCs of today consists of a multiple sub-modules working in conjunction. 25 facilitate this, sub-modules in a SoC are grouped into domains, allowing some 31 OPPs. 39 We can represent these as three OPPs as the following {Hz, uV} tuples: 41 - {300000000, 1000000} 42 - {800000000, 1200000} 43 - {1000000000, 1300000} 46 ---------------------------------------- [all …]
|
| /Linux-v6.1/arch/arm64/boot/dts/mediatek/ |
| D | mt8183.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/clock/mt8183-clk.h> 9 #include <dt-bindings/gce/mt8183-gce.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/memory/mt8183-larb-port.h> 13 #include <dt-bindings/power/mt8183-power.h> 14 #include <dt-bindings/reset/mt8183-resets.h> 15 #include <dt-bindings/phy/phy.h> 16 #include <dt-bindings/thermal/thermal.h> [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/regulator/ |
| D | fixed-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/fixed-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 16 expected to have the regulator-min-microvolt and regulator-max-microvolt 20 - $ref: "regulator.yaml#" 21 - if: 25 const: regulator-fixed-clock [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/i2c/ |
| D | qcom,i2c-geni-qcom.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/i2c/qcom,i2c-geni-qcom.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 14 - $ref: /schemas/i2c/i2c-controller.yaml# 18 const: qcom,geni-i2c 23 clock-names: 26 clock-frequency: [all …]
|
| /Linux-v6.1/arch/arm64/boot/dts/qcom/ |
| D | sc7180.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 5 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. 8 #include <dt-bindings/clock/qcom,dispcc-sc7180.h> 9 #include <dt-bindings/clock/qcom,gcc-sc7180.h> 10 #include <dt-bindings/clock/qcom,gpucc-sc7180.h> 11 #include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h> 12 #include <dt-bindings/clock/qcom,rpmh.h> 13 #include <dt-bindings/clock/qcom,videocc-sc7180.h> 14 #include <dt-bindings/interconnect/qcom,osm-l3.h> 15 #include <dt-bindings/interconnect/qcom,sc7180.h> [all …]
|
| D | msm8953.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 4 #include <dt-bindings/clock/qcom,gcc-msm8953.h> 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/power/qcom-rpmpd.h> 8 #include <dt-bindings/thermal/thermal.h> 11 interrupt-parent = <&intc>; 13 #address-cells = <2>; 14 #size-cells = <2>; 19 sleep_clk: sleep-clk { [all …]
|
| D | sc7280.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 5 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/clock/qcom,camcc-sc7280.h> 8 #include <dt-bindings/clock/qcom,dispcc-sc7280.h> 9 #include <dt-bindings/clock/qcom,gcc-sc7280.h> 10 #include <dt-bindings/clock/qcom,gpucc-sc7280.h> 11 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h> 12 #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h> 13 #include <dt-bindings/clock/qcom,rpmh.h> 14 #include <dt-bindings/clock/qcom,videocc-sc7280.h> [all …]
|
| /Linux-v6.1/drivers/devfreq/ |
| D | governor_passive.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 list_for_each_entry(parent_cpu_data, &p_data->cpu_data_list, node) in get_parent_cpu_data() 30 if (parent_cpu_data->first_cpu == cpumask_first(policy->related_cpus)) in get_parent_cpu_data() 40 list_for_each_entry_safe(parent_cpu_data, tmp, &p_data->cpu_data_list, node) { in delete_parent_cpu_data() 41 list_del(&parent_cpu_data->node); in delete_parent_cpu_data() 43 if (parent_cpu_data->opp_table) in delete_parent_cpu_data() 44 dev_pm_opp_put_opp_table(parent_cpu_data->opp_table); in delete_parent_cpu_data() 81 (struct devfreq_passive_data *)devfreq->data; in get_target_freq_with_cpufreq() 92 ret = -EINVAL; in get_target_freq_with_cpufreq() 102 /* Get target freq via required opps */ in get_target_freq_with_cpufreq() [all …]
|