Searched +full:vsram +full:- +full:proc (Results 1 – 8 of 8) sorted by relevance
/linux-6.14.4/drivers/devfreq/ |
D | mtk-cci-devfreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 const struct mtk_ccifreq_platform_data *soc_data = drv->soc_data; in mtk_ccifreq_set_voltage() 42 struct device *dev = drv->dev; in mtk_ccifreq_set_voltage() 43 int pre_voltage, pre_vsram, new_vsram, vsram, voltage, ret; in mtk_ccifreq_set_voltage() local 44 int retry_max = drv->vtrack_max; in mtk_ccifreq_set_voltage() 46 if (!drv->sram_reg) { in mtk_ccifreq_set_voltage() 47 ret = regulator_set_voltage(drv->proc_reg, new_voltage, in mtk_ccifreq_set_voltage() 48 drv->soc_data->proc_max_volt); in mtk_ccifreq_set_voltage() 52 pre_voltage = regulator_get_voltage(drv->proc_reg); in mtk_ccifreq_set_voltage() 58 pre_vsram = regulator_get_voltage(drv->sram_reg); in mtk_ccifreq_set_voltage() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/regulator/ |
D | mediatek,mt6357-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/mediatek,mt6357-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen Zhong <[email protected]> 11 - Fabien Parent <[email protected]> 12 - Alexandre Mergnat <[email protected]> 17 - buck-<name> 18 - ldo-<name>. 22 "^buck-v(core|modem|pa|proc|s1)$": [all …]
|
/linux-6.14.4/drivers/cpufreq/ |
D | mediatek-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Pi-Cheng Chen <pi-[email protected]> 31 * Mediatek SoCs has two voltage inputs, Vproc and Vsram. In some cases the two 33 * 100mV < Vsram - Vproc < 200mV 71 if (cpumask_test_cpu(cpu, &info->cpus)) in mtk_cpu_dvfs_info_lookup() 81 const struct mtk_cpufreq_platform_data *soc_data = info->soc_data; in mtk_cpufreq_voltage_tracking() 82 struct regulator *proc_reg = info->proc_reg; in mtk_cpufreq_voltage_tracking() 83 struct regulator *sram_reg = info->sram_reg; in mtk_cpufreq_voltage_tracking() 84 int pre_vproc, pre_vsram, new_vsram, vsram, vproc, ret; in mtk_cpufreq_voltage_tracking() local 85 int retry = info->vtrack_max; in mtk_cpufreq_voltage_tracking() [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/mediatek/ |
D | mt6357.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/input/input.h> 14 compatible = "mediatek,mt6357-auxadc"; 15 #io-channel-cells = <1>; 19 mt6357_vproc_reg: buck-vproc { 20 regulator-name = "vproc"; 21 regulator-min-microvolt = <518750>; 22 regulator-max-microvolt = <1312500>; 23 regulator-ramp-delay = <6250>; 24 regulator-enable-ramp-delay = <220>; [all …]
|
D | mt8186-corsola.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 /dts-v1/; 7 #include <dt-bindings/pinctrl/mt8186-pinfunc.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/gpio-keys.h> 11 #include <dt-bindings/regulator/mediatek,mt6397-regulator.h> 26 stdout-path = "serial0:115200n8"; 35 backlight_lcd0: backlight-lcd0 { 36 compatible = "pwm-backlight"; [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/cpufreq/ |
D | cpufreq-mediatek.txt | 5 - clocks: A list of phandle + clock-specifier pairs for the clocks listed in clock names. 6 - clock-names: Should contain the following: 7 "cpu" - The multiplexer for clock input of CPU cluster. 8 "intermediate" - A parent of "cpu" clock which is used as "intermediate" clock 11 Please refer to Documentation/devicetree/bindings/clock/clock-bindings.txt for 13 - operating-points-v2: Please refer to Documentation/devicetree/bindings/opp/opp-v2.yaml 15 - proc-supply: Regulator for Vproc of CPU cluster. 18 - sram-supply: Regulator for Vsram of CPU cluster. When present, the cpufreq driver 20 Vsram to fit SoC specific needs. When absent, the voltage scaling 23 - mediatek,cci: [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/interconnect/ |
D | mediatek,cci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jia-Wei Chang <jia-[email protected]> 11 - Johnson Wang <[email protected]> 21 - mediatek,mt8183-cci 22 - mediatek,mt8186-cci 26 - description: 28 - description: 33 clock-names: [all …]
|
/linux-6.14.4/drivers/regulator/ |
D | mt6357-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 9 // Based on mt6397-regulator.c 20 #include <linux/regulator/mt6357-regulator.h> 47 .n_voltages = ((max) - (min)) / (step) + 1, \ 90 .n_voltages = ((max) - (min)) / (step) + 1, \ 120 * mt6357_get_buck_voltage_sel - get_voltage_sel for regmap users 133 ret = regmap_read(rdev->regmap, info->da_vsel_reg, ®val); in mt6357_get_buck_voltage_sel() 135 dev_err(&rdev->dev, in mt6357_get_buck_voltage_sel() 137 info->desc.name, ret); in mt6357_get_buck_voltage_sel() 141 regval &= info->da_vsel_mask; in mt6357_get_buck_voltage_sel() [all …]
|