Home
last modified time | relevance | path

Searched +full:dynamic +full:- +full:power +full:- +full:coefficient (Results 1 – 25 of 75) sorted by relevance

123

/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dexynos5422-cpus.dtsi1 // SPDX-License-Identifier: GPL-2.0
13 * Exynos5420 and Exynos5800 always boot from Cortex-A15. On Exynos5422
15 * the gpg2-1 GPIO. By default all Exynos5422 based boards choose booting
16 * from the LITTLE: Cortex-A7.
21 #address-cells = <1>;
22 #size-cells = <0>;
26 compatible = "arm,cortex-a7";
29 clock-frequency = <1000000000>;
30 cci-control-port = <&cci_control0>;
31 operating-points-v2 = <&cluster_a7_opp_table>;
[all …]
H A Dvexpress-v2p-ca15_a7.dts1 // SPDX-License-Identifier: GPL-2.0
6 * Cortex-A15_A7 MPCore (V2P-CA15_A7)
8 * HBI-0249A
11 /dts-v1/;
12 #include "vexpress-v2m-rs1.dtsi"
15 model = "V2P-CA15_CA7";
18 compatible = "arm,vexpress,v2p-ca15_a7", "arm,vexpress";
19 interrupt-parent = <&gic>;
20 #address-cells = <2>;
21 #size-cells = <2>;
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/devfreq/
H A Drockchip_dmc.txt1 * Rockchip DMC(Dynamic Memory Controller) device
4 - compatible: Should be one of the following.
5 - "rockchip,px30-dmc" - for PX30 SoCs.
6 - "rockchip,rk1808-dmc" - for RK1808 SoCs.
7 - "rockchip,rk3128-dmc" - for RK3128 SoCs.
8 - "rockchip,rk3228-dmc" - for RK3228 SoCs.
9 - "rockchip,rk3288-dmc" - for RK3288 SoCs.
10 - "rockchip,rk3308-dmc" - for RK3308 SoCs.
11 - "rockchip,rk3328-dmc" - for RK3328 SoCs.
12 - "rockchip,rk3399-dmc" - for RK3399 SoCs.
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ipa/
H A Dmali_kbase_ipa_simple.c1 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
4 * (C) COPYRIGHT 2016-2018, 2020-2022 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
39 /* This is used if the dynamic power for top-level is estimated separately
40 * through the counter model. To roughly match the contribution of top-level
41 * power in the total dynamic power, when calculated through counter model,
42 * this scalar is used for the dynamic coefficient specified in the device tree
43 * for simple power model. This value was provided by the HW team after
44 * taking all the power data collected and dividing top level power by shader
45 * core power and then averaging it across all samples.
[all …]
H A Dmali_kbase_ipa.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * (C) COPYRIGHT 2016-2022 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
30 * enum kbase_ipa_block_type - Type of block for which power estimation is done.
34 * @KBASE_IPA_BLOCK_TYPE_TOP_LEVEL: Top-level block, that covers CSHW,
49 * struct kbase_ipa_model - Object describing a particular IPA model.
55 * @missing_dt_node_warning: flag to limit the matching power model DT not found
67 * kbase_ipa_model_add_param_s32 - Add an integer model parameter
83 * kbase_ipa_model_add_param_string - Add a string model parameter
88 * length is size - 1)
[all …]
H A Dmali_kbase_ipa.c1 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
4 * (C) COPYRIGHT 2016-2022 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
33 #define KBASE_IPA_FALLBACK_MODEL_NAME "mali-simple-power-model"
48 lockdep_assert_held(&model->kbdev->ipa.lock); in kbase_ipa_model_recalculate()
50 if (model->ops->recalculate) { in kbase_ipa_model_recalculate()
51 err = model->ops->recalculate(model); in kbase_ipa_model_recalculate()
53 dev_err(model->kbdev->dev, in kbase_ipa_model_recalculate()
54 "recalculation of power model %s returned error %d\n", in kbase_ipa_model_recalculate()
55 model->ops->name, err); in kbase_ipa_model_recalculate()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/
H A Dmali-midgard.txt2 # (C) COPYRIGHT 2013-2017 ARM Limited. All rights reserved.
11 # Boston, MA 02110-1301, USA.
21 - compatible : Should be mali<chip>, replacing digits with x from the back,
22 until malit<Major>xx, ending with arm,mali-midgard, the latter not optional.
23 - reg : Physical base address of the device and length of the register area.
24 - interrupts : Contains the three IRQ lines required by T-6xx devices
25 - interrupt-names : Contains the names of IRQ resources in the order they were
30 - clocks : Phandle to clock for the Mali T-6xx device.
31 - clock-names : Shall be "clk_mali".
32 - mali-supply : Phandle to regulator for the Mali device. Refer to
[all …]
H A Dmali-bifrost.txt1 # SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
3 # (C) COPYRIGHT 2013-2022 ARM Limited. All rights reserved.
17 # http://www.gnu.org/licenses/gpl-2.0.html.
26 - compatible : Should be mali<chip>, replacing digits with x from the back,
28 "arm,mali-midgard" or "arm,mali-bifrost"
29 - reg : Physical base address of the device and length of the register area.
30 - interrupts : Contains the three IRQ lines required by T-6xx devices
31 - interrupt-names : Contains the names of IRQ resources in the order they were
36 - clocks : One or more pairs of phandle to clock and clock specifier
40 - clock-names : Shall be set to: "clk_mali", "shadercores".
[all …]
H A Dcpus.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
21 with updates for 32-bit and 64-bit ARM systems provided in this document.
30 - square brackets define bitfields, eg reg[7:0] value of the bitfield in
59 On 32-bit ARM v7 or later systems this property is
68 On ARM v8 64-bit systems this property is required
71 * If cpus node's #address-cells property is set to 2
79 * If cpus node's #address-cells property is set to 1
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/arm/
H A Djuno-r2.dts9 /dts-v1/;
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include "juno-base.dtsi"
13 #include "juno-cs-r1r2.dtsi"
17 compatible = "arm,juno-r2", "arm,juno", "arm,vexpress";
18 interrupt-parent = <&gic>;
19 #address-cells = <2>;
20 #size-cells = <2>;
27 stdout-path = "serial0:115200n8";
31 compatible = "arm,psci-0.2";
[all …]
H A Djuno.dts4 * Copyright (c) 2013-2014 ARM Ltd.
9 /dts-v1/;
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include "juno-base.dtsi"
17 interrupt-parent = <&gic>;
18 #address-cells = <2>;
19 #size-cells = <2>;
26 stdout-path = "serial0:115200n8";
30 compatible = "arm,psci-0.2";
35 #address-cells = <2>;
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Drockchip_ipa.c1 // SPDX-License-Identifier: GPL-2.0
21 s32 *ls = data->ls; in calculate_static_coefficient()
22 u32 lkg = data->leakage; in calculate_static_coefficient()
23 u32 ref_lkg = data->ref_leakage; in calculate_static_coefficient()
24 u32 min = data->lkg_range[0], max = data->lkg_range[1]; in calculate_static_coefficient()
25 u32 static_coeff = data->static_coefficient; in calculate_static_coefficient()
35 data->static_coefficient = static_coeff * lkg / ref_lkg; in calculate_static_coefficient()
44 data->static_coefficient = static_coeff * lkg_scaling_factor / 100; in calculate_static_coefficient()
48 * rockchip_ipa_power_model_init() - initialise ipa power model parameter
50 * @lkg_name: nvmem cell name from nvmem-cell-names property
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ipa/
H A Dmali_kbase_ipa_simple.c3 * (C) COPYRIGHT 2016-2017 ARM Limited. All rights reserved.
12 * Boston, MA 02110-1301, USA.
31 * should preferably be minimal, as this model is rarely used when a dynamic
36 * struct kbase_ipa_model_simple_data - IPA context per device
37 * @dynamic_coefficient: dynamic coefficient of the model
38 * @static_coefficient: static coefficient of the model
54 * calculate_temp_scaling_factor() - Calculate temperature scaling coefficient
55 * @ts: Signed coefficients, in order t^0 to t^3, with units Deg^-N
56 * @t: Temperature, in mDeg C. Range: -2^17 < t < 2^17
59 * provided in the device tree. The result is used to scale the static power
[all …]
H A Dmali_kbase_ipa.h3 * (C) COPYRIGHT 2016-2017 ARM Limited. All rights reserved.
12 * Boston, MA 02110-1301, USA.
35 * kbase_ipa_model_add_param_s32 - Add an integer model parameter
51 * kbase_ipa_model_add_param_string - Add a string model parameter
56 * length is size - 1)
82 * get_dynamic_coeff() - calculate dynamic power coefficient
88 * Calculate a dynamic power coefficient, with units pW/(Hz V^2), which
97 * get_static_coeff() - calculate static power coefficient
101 * Calculate a static power coefficient, with units uW/(V^3), which is
109 * framework will scale the calculated power according to the
H A Dmali_kbase_ipa.c3 * (C) COPYRIGHT 2016-2017 ARM Limited. All rights reserved.
12 * Boston, MA 02110-1301, USA.
34 #define KBASE_IPA_FALLBACK_MODEL_NAME "mali-simple-power-model"
44 lockdep_assert_held(&model->kbdev->ipa.lock); in kbase_ipa_model_recalculate()
46 if (model->ops->recalculate) { in kbase_ipa_model_recalculate()
47 err = model->ops->recalculate(model); in kbase_ipa_model_recalculate()
49 dev_err(model->kbdev->dev, in kbase_ipa_model_recalculate()
50 "recalculation of power model %s returned error %d\n", in kbase_ipa_model_recalculate()
51 model->ops->name, err); in kbase_ipa_model_recalculate()
66 if (!strcmp(ops->name, name)) in kbase_ipa_model_ops_find()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ipa/backend/
H A Dmali_kbase_ipa_counter_common_csf.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * (C) COPYRIGHT 2020-2021 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
34 * struct kbase_ipa_counter_model_data - IPA counter model context per device
39 * counter model for top-level.
44 * @counter_coeffs: Buffer to store coefficient value used for HW counters
49 * deriving the power model coefficients. Range approx
50 * 0.1V - 5V (~= 8V): 2^7 <= reference_voltage <= 2^13
51 * @scaling_factor: User-specified power scaling factor. This is an
52 * integer, which is multiplied by the power coefficient
[all …]
H A Dmali_kbase_ipa_counter_common_jm.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * (C) COPYRIGHT 2017-2018, 2020-2022 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
48 * struct kbase_ipa_model_vinstr_data - IPA context per device
58 * deriving the power model coefficients. Range approx
59 * 0.1V - 5V (~= 8V): 2^7 <= reference_voltage <= 2^13
60 * @scaling_factor: User-specified power scaling factor. This is an
61 * integer, which is multiplied by the power coefficient
63 * Range approx 0-32: 0 < scaling_factor < 2^5
86 * struct kbase_ipa_group - represents a single IPA group
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/thermal/
H A Dcpu-cooling-api.rst22 --------------------------------------------
30 "thermal-cpufreq-%x". This api can support multiple instances of cpufreq
42 the name "thermal-cpufreq-%x" linking it with a device tree node, in
54 This interface function unregisters the "thermal-cpufreq-%x" cooling device.
58 2. Power models
61 The power API registration functions provide a simple power model for
62 CPUs. The current power is calculated as dynamic power (static power isn't
63 supported currently). This power model requires that the operating-points of
70 The dynamic power consumption of a processor depends on many factors.
73 - The time the processor spends running, consuming dynamic power, as
[all …]
H A Dcpu-idle-cooling.rst1 .. SPDX-License-Identifier: GPL-2.0
8 ----------
13 act on a cooling device to mitigate the dissipated power. When the
18 increase even after the dynamic leakage is reduced to its minimum by
20 to the static leakage. The only solution is to power down the
21 component, thus dropping the dynamic and static leakage that will
24 Last but not least, the system can ask for a specific power budget but
25 because of the OPP density, we can only choose an OPP with a power
26 budget lower than the requested one and under-utilize the CPU, thus
27 losing performance. In other words, one OPP under-utilizes the CPU
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/mediatek/
H A Dmt8183.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 #include <dt-bindings/clock/mt8183-clk.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/reset-controller/mt8183-resets.h>
12 #include <dt-bindings/phy/phy.h>
13 #include "mt8183-pinfunc.h"
17 interrupt-parent = <&sysirq>;
18 #address-cells = <2>;
19 #size-cells = <2>;
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Ddevfreq_cooling.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Copyright (C) 2014-2015 ARM Limited
18 * struct devfreq_cooling_power - Devfreq cooling power ops
19 * @get_static_power: Take voltage, in mV, and return the static power
20 * in mW. If NULL, the static power is assumed
23 * return the dynamic power draw in mW. If NULL,
24 * a simple power model is used.
25 * @dyn_power_coeff: Coefficient for the simple dynamic power model in
28 * dynamic power is calculated as
31 * device driver for the actual power.
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/thermal/
H A Dthermal-idle.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/thermal/thermal-idle.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Daniel Lezcano <daniel.lezcano@linaro.org>
22 const: thermal-idle
24 A thermal-idle node describes the idle cooling device properties to
27 '#cooling-cells':
31 the cooling-maps reference. The first cell is the minimum cooling state
34 duration-us:
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/hisilicon/
H A Dhi6220.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/reset/hisi,hi6220-resets.h>
10 #include <dt-bindings/clock/hi6220-clock.h>
11 #include <dt-bindings/pinctrl/hisi.h>
12 #include <dt-bindings/thermal/thermal.h>
16 interrupt-parent = <&gic>;
17 #address-cells = <2>;
18 #size-cells = <2>;
21 compatible = "arm,psci-0.2";
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3399-evb-rev1.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "rk3399-evb.dtsi"
8 #include "rk3399-early-opp.dtsi"
11 compatible = "rockchip,rk3399-evb-rev1", "rockchip,rk3399";
13 vdd_log: vdd-log {
14 compatible = "pwm-regulator";
18 regulator-name = "vdd_log";
19 regulator-min-microvolt = <800000>;
20 regulator-max-microvolt = <1400000>;
21 regulator-always-on;
[all …]
H A Drk3399-evb-rev2.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "rk3399-evb.dtsi"
8 #include "rk3399-early-opp.dtsi"
11 compatible = "rockchip,rk3399-evb-rev2", "rockchip,rk3399";
13 vcc5v0_sys: vcc5v0-sys {
14 compatible = "regulator-fixed";
15 regulator-name = "vcc5v0_sys";
16 regulator-always-on;
17 regulator-boot-on;
18 regulator-min-microvolt = <5000000>;
[all …]

123