Home
last modified time | relevance | path

Searched +full:vsram +full:- +full:proc (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/devfreq/
H A Dmtk-cci-devfreq.c1 // 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 …]
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dmediatek,mt6357-regulator.yaml1 # 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 <chen.zhong@mediatek.com>
11 - Fabien Parent <fabien.parent@linaro.org>
12 - Alexandre Mergnat <amergnat@baylibre.com>
17 - buck-<name>
18 - ldo-<name>.
22 "^buck-v(core|modem|pa|proc|s1)$":
[all …]
/openbmc/linux/drivers/cpufreq/
H A Dmediatek-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Pi-Cheng Chen <pi-cheng.chen@linaro.org>
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 …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt6357.dtsi1 // 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 …]
/openbmc/linux/Documentation/devicetree/bindings/cpufreq/
H A Dcpufreq-mediatek.txt5 - 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 …]
/openbmc/linux/Documentation/devicetree/bindings/interconnect/
H A Dmediatek,cci.yaml1 # 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-wei.chang@mediatek.com>
11 - Johnson Wang <johnson.wang@mediatek.com>
21 - mediatek,mt8183-cci
22 - mediatek,mt8186-cci
26 - description:
28 - description:
33 clock-names:
[all …]
/openbmc/linux/drivers/regulator/
H A Dmt6357-regulator.c1 // 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, &regval); 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 …]