Home
last modified time | relevance | path

Searched full:vsram (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/drivers/devfreq/
Dmtk-cci-devfreq.c43 int pre_voltage, pre_vsram, new_vsram, vsram, voltage, ret; in mtk_ccifreq_set_voltage() local
60 dev_err(dev, "invalid vsram value: %d\n", pre_vsram); in mtk_ccifreq_set_voltage()
69 vsram = clamp(pre_voltage + soc_data->max_volt_shift, in mtk_ccifreq_set_voltage()
71 ret = regulator_set_voltage(drv->sram_reg, vsram, in mtk_ccifreq_set_voltage()
76 if (vsram == soc_data->sram_max_volt || in mtk_ccifreq_set_voltage()
80 voltage = vsram - soc_data->min_volt_shift; in mtk_ccifreq_set_voltage()
98 vsram = new_vsram; in mtk_ccifreq_set_voltage()
100 vsram = max(new_vsram, in mtk_ccifreq_set_voltage()
103 ret = regulator_set_voltage(drv->sram_reg, vsram, in mtk_ccifreq_set_voltage()
113 pre_vsram = vsram; in mtk_ccifreq_set_voltage()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/regulator/
Dmediatek,mt6358-regulator.yaml58 Supply for LDOs vsram-core (MT6366 only), vsram-gpu, vsram-others, vsram-proc11, vsram-proc12
119 "^(ldo_)?vsram[_-](core|gpu|others|proc1[12])$":
241 vsram-proc11 {
Dmediatek,mt6357-regulator.yaml198 mt6357_vsram_others_reg: ldo-vsram-others {
199 regulator-name = "vsram-others";
206 mt6357_vsram_proc_reg: ldo-vsram-proc {
207 regulator-name = "vsram-proc";
Dmediatek,mt6331-regulator.yaml242 mt6331_vsram_reg: ldo-vsram {
243 regulator-name = "vsram";
Dmediatek,mt6332-regulator.yaml99 mt6332_vsram_reg: ldo-vsram {
/linux-6.12.1/drivers/cpufreq/
Dmediatek-cpufreq.c31 * Mediatek SoCs has two voltage inputs, Vproc and Vsram. In some cases the two
33 * 100mV < Vsram - Vproc < 200mV
84 int pre_vproc, pre_vsram, new_vsram, vsram, vproc, ret; in mtk_cpufreq_voltage_tracking() local
96 dev_err(info->cpu_dev, "invalid Vsram value: %d\n", pre_vsram); in mtk_cpufreq_voltage_tracking()
105 vsram = clamp(pre_vproc + soc_data->max_volt_shift, in mtk_cpufreq_voltage_tracking()
107 ret = regulator_set_voltage(sram_reg, vsram, in mtk_cpufreq_voltage_tracking()
113 if (vsram == soc_data->sram_max_volt || in mtk_cpufreq_voltage_tracking()
117 vproc = vsram - soc_data->min_volt_shift; in mtk_cpufreq_voltage_tracking()
135 vsram = new_vsram; in mtk_cpufreq_voltage_tracking()
137 vsram = max(new_vsram, in mtk_cpufreq_voltage_tracking()
[all …]
Dpxa3xx-cpufreq.c72 #define OP(cpufreq, _xl, _xn, _hss, _dmc, _smc, _sfl, _dfi, vcore, vsram) \ argument
83 .vcc_sram = vsram, \
/linux-6.12.1/drivers/soc/mediatek/
Dmtk-regulator-coupler.c28 * modify the vsram voltage only when changing voltage of vgpu.
77 * If we're asked to set a voltage less than VSRAM min_uV, set in mediatek_regulator_balance_voltage()
78 * the minimum allowed voltage on VSRAM, as in this case it is in mediatek_regulator_balance_voltage()
/linux-6.12.1/arch/arm64/boot/dts/mediatek/
Dmt6357.dtsi159 mt6357_vsram_others_reg: ldo-vsram-others {
160 regulator-name = "vsram-others";
168 mt6357_vsram_proc_reg: ldo-vsram-proc {
169 regulator-name = "vsram-proc";
Dmt6331.dtsi226 mt6331_vsram_reg: ldo-vsram {
227 regulator-name = "vsram";
Dmt8186-corsola.dtsi1541 mt6366_vsram_gpu_reg: vsram-gpu {
1551 mt6366_vsram_others_reg: vsram-others {
1560 mt6366_vsram_proc11_reg: vsram-proc11 {
1569 mt6366_vsram_proc12_reg: vsram-proc12 {
/linux-6.12.1/Documentation/devicetree/bindings/cpufreq/
Dcpufreq-mediatek.txt18 - 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
/linux-6.12.1/drivers/regulator/
Dmt6358-regulator.c632 MT6366_LDO1("vsram-proc11", VSRAM_PROC11, "vs2-ldo3", 500000, 1293750, 6250,
634 MT6366_LDO1("vsram-others", VSRAM_OTHERS, "vs2-ldo3", 500000, 1293750, 6250,
636 MT6366_LDO1("vsram-gpu", VSRAM_GPU, "vs2-ldo3", 500000, 1293750, 6250,
638 MT6366_LDO1("vsram-proc12", VSRAM_PROC12, "vs2-ldo3", 500000, 1293750, 6250,
640 MT6366_LDO1("vsram-core", VSRAM_CORE, "vs2-ldo3", 500000, 1293750, 6250,
Dmt6357-regulator.c387 MT6357_LDO1("ldo-vsram-proc", VSRAM_PROC, 518750, 1312500, 6250,
390 MT6357_LDO1("ldo-vsram-others", VSRAM_OTHERS, 518750, 1312500, 6250,
Dmt6332-regulator.c323 MT6332_LDO_LINEAR("ldo-vsram", VSRAM_DVFS2, 700000, 1493750, 6250, buck_volt_range,
Dmt6331-regulator.c364 MT6331_REG_FIXED("ldo-vsram", VSRAM_DVFS1, MT6331_SYSLDO_CON4, 10, 15, 1012500,
/linux-6.12.1/Documentation/devicetree/bindings/interconnect/
Dmediatek,cci.yaml50 "voltage tracking" to step by step scale up/down Vproc and Vsram to fit