| /OK3568_Linux_fs/kernel/Documentation/driver-api/thermal/ |
| H A D | cpu-idle-cooling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ---------- 13 act on a cooling device to mitigate the dissipated power. When the 20 to the static leakage. The only solution is to power down the 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 28 with a power less than the requested power budget and the next OPP 29 exceeds the power budget. An intermediate OPP could have been used if [all …]
|
| H A D | power_allocator.rst | 2 Power allocator governor tunables 6 ----------- 20 -------------- 22 The power allocator governor implements a 23 Proportional-Integral-Derivative controller (PID controller) with 24 temperature as the control input and power as the controlled output: 29 - e = desired_temperature - current_temperature 30 - err_integral is the sum of previous errors 31 - diff_err = e - previous_error 39 | +----------+ +---+ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3308k.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/input/input.h> 10 uboot-wide-temperature { 12 compatible = "rockchip,uboot-wide-temperature"; 17 rockchip,high-temp = <55000>; 18 rockchip,high-temp-max-freq = <1008000>; 22 rockchip,high-temp = <55000>; 23 rockchip,high-temp-max-freq = <1008000>; 27 rockchip,sleep-mode-config = < 36 soc-thermal { [all …]
|
| H A D | rk3399-gru-kevin.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Kevin Rev 6+ board device tree source 5 * Copyright 2016-2017 Google, Inc 8 /dts-v1/; 9 #include "rk3399-gru-chromebook.dtsi" 10 #include <dt-bindings/input/linux-event-codes.h> 13 * Kevin-specific things 21 compatible = "google,kevin-rev15", "google,kevin-rev14", 22 "google,kevin-rev13", "google,kevin-rev12", 23 "google,kevin-rev11", "google,kevin-rev10", [all …]
|
| H A D | rk1808k.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 rockchip,high-temp = <85000>; 8 rockchip,high-temp-max-freq = <1008000>; 13 center-supply = <&vdd_log>; 14 system-status-freq = < 22 rockchip,high-temp = <85000>; 23 rockchip,high-temp-max-freq = <664000>; 24 rockchip,thermal-zone = "soc-thermal"; 28 soc-thermal { 29 sustainable-power = <1224>; [all …]
|
| H A D | px30-robot-no-gpu.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 #include "px30-robot.dtsi" 8 compatible = "rockchip,linux", "rockchip,px30-robot-no-gpu"; 11 /delete-node/ thermal-zones; 13 thermal_zones: thermal-zones { 14 soc_thermal: soc-thermal { 15 polling-delay-passive = <20>; 16 polling-delay = <1000>; 17 sustainable-power = <252>; 19 thermal-sensors = <&tsadc 0>; [all …]
|
| H A D | rk3399-rock960.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include "rk3399-rock960.dtsi" 14 stdout-path = "serial2:1500000n8"; 18 compatible = "gpio-leds"; 19 pinctrl-names = "default"; 20 pinctrl-0 = <&user_led1_pin>, <&user_led2_pin>, 24 user_led1: led-1 { 27 linux,default-trigger = "heartbeat"; 30 user_led2: led-2 { [all …]
|
| H A D | rk3399-evb-rev1.dtsi | 1 // 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 D | rk3399-evb-rev2.dtsi | 1 // 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 …]
|
| H A D | rk3399pro-npu.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 #include <dt-bindings/clock/rk1808-cru.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/power/rk1808-power.h> 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/thermal/thermal.h> 13 compatible = "rockchip,rk3399pro-npu"; 15 interrupt-parent = <&gic>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/thermal/ |
| H A D | gov_power_allocator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * A power allocator to manage temperature 9 #define pr_fmt(fmt) "Power allocator: " fmt 20 #define INVALID_TRIP -1 27 * mul_frac() - multiply two fixed-point numbers 31 * Return: the result of multiplying two fixed-point numbers. The 32 * result is also a fixed-point number. 40 * div_frac() - divide two fixed-point numbers 44 * Return: the result of dividing two fixed-point numbers. The 45 * result is also a fixed-point number. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/thermal/ |
| H A D | thermal-zones.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 6 $schema: http://devicetree.org/meta-schemas/base.yaml# 11 - Amit Kucheria <amitk@kernel.org> 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all 25 This binding describes the thermal-zones. 27 The polling-delay properties of a thermal-zone are bound to the maximum dT/dt [all …]
|
| H A D | zx2967-thermal.txt | 4 - compatible: should be one of the following. 5 * zte,zx296718-thermal 6 - reg: physical base address of the controller and length of memory mapped 8 - clocks : Pairs of phandle and specifier referencing the controller's clocks. 9 - clock-names: "topcrm" for the topcrm clock. 11 - #thermal-sensor-cells: must be 0. 13 Please note: slope coefficient defined in thermal-zones section need to be 19 compatible = "zte,zx296718-thermal"; 22 clock-names = "topcrm", "apb"; 23 #thermal-sensor-cells = <0>; [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/rk3308/ |
| H A D | rk3308.c | 1 // SPDX-License-Identifier: GPL-2.0+ 134 * use GPIO0_A4 to indicate power supply voltage for VCCIO3 by hardware, 135 * then we can switch to io_vsel3 after system power on, and release GPIO0_A4 161 rk_clrsetreg(&grf->soc_con0, IOVSEL3_CTRL_MASK | IOVSEL3_MASK, val); in rk_board_init() 204 rk_clrreg(&sgrf->con_secure0, 0x2b83); in arch_cpu_init() 213 * but some boards may give a 3.3V power supply for VCCIO4, this may in arch_cpu_init() 217 rk_clrsetreg(&grf->soc_con0, IOVSEL4_MASK, VCCIO4_3V3 << IOVSEL4_SHIFT); in arch_cpu_init() 222 glb_rst_st = readl(&cru->glb_rst_st); in arch_cpu_init() 223 writel(FST_GLB_WDT_RST | SND_GLB_WDT_RST, &cru->glb_rst_st); in arch_cpu_init() 230 &cru->glb_rst_con); in arch_cpu_init() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/qcom/ |
| H A D | sc7180.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 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> 16 #include <dt-bindings/interrupt-controller/arm-gic.h> [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/md/ |
| H A D | raid5-cache.rst | 7 caches data to the RAID disks. The cache can be in write-through (supported 8 since 4.4) or write-back mode (supported since 4.10). mdadm (supported since 9 3.4) has a new option '--write-journal' to create array with cache. Please 11 in write-through mode. A user can switch it to write-back mode by:: 13 echo "write-back" > /sys/block/md0/md/journal_mode 15 And switch it back to write-through mode by:: 17 echo "write-through" > /sys/block/md0/md/journal_mode 20 the cache disk must be fast and sustainable. 22 write-through mode 34 The write-through cache will cache all data on cache disk first. After the data [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/pm/ |
| H A D | intel_pstate.rst | 1 .. SPDX-License-Identifier: GPL-2.0 24 For the processors supported by ``intel_pstate``, the P-state concept is broader 27 information about that). For this reason, the representation of P-states used 32 ``intel_pstate`` maps its internal representation of P-states to frequencies too 38 Since the hardware P-state selection interface used by ``intel_pstate`` is 43 time the corresponding CPU is taken offline and need to be re-initialized when 47 only way to pass early-configuration-time parameters to it is via the kernel 66 ----------- 69 hardware-managed P-states (HWP) support. If it works in this mode, the 74 provides its own scaling algorithms for P-state selection. Those algorithms [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/renesas/ |
| H A D | r8a77961.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car M3-W+ (R8A77961) SoC 5 * Copyright (C) 2016-2017 Renesas Electronics Corp. 8 #include <dt-bindings/clock/r8a77961-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/power/r8a77961-sysc.h> 16 #address-cells = <2>; 17 #size-cells = <2>; 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; [all …]
|
| H A D | r8a774a1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r8a774a1-cpg-mssr.h> 11 #include <dt-bindings/power/r8a774a1-sysc.h> 17 #address-cells = <2>; 18 #size-cells = <2>; 37 compatible = "fixed-clock"; 38 #clock-cells = <0>; 39 clock-frequency = <0>; [all …]
|
| H A D | r8a774b1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r8a774b1-cpg-mssr.h> 11 #include <dt-bindings/power/r8a774b1-sysc.h> 17 #address-cells = <2>; 18 #size-cells = <2>; 26 compatible = "fixed-clock"; 27 #clock-cells = <0>; 28 clock-frequency = <0>; [all …]
|
| H A D | r8a77965.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car M3-N (R8A77965) SoC 11 #include <dt-bindings/clock/r8a77965-cpg-mssr.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/power/r8a77965-sysc.h> 19 #address-cells = <2>; 20 #size-cells = <2>; 39 compatible = "fixed-clock"; 40 #clock-cells = <0>; 41 clock-frequency = <0>; [all …]
|
| H A D | r8a774e1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r8a774e1-cpg-mssr.h> 11 #include <dt-bindings/power/r8a774e1-sysc.h> 17 #address-cells = <2>; 18 #size-cells = <2>; 26 compatible = "fixed-clock"; 27 #clock-cells = <0>; 28 clock-frequency = <0>; [all …]
|
| /OK3568_Linux_fs/kernel/tools/power/x86/turbostat/ |
| H A D | turbostat.8 | 3 turbostat \- Report processor frequency and idle statistics 12 .RB [ "\--interval seconds" ] 15 idle power-state statistics, temperature and power on X86 processors. 19 in one-shot upon its completion. 22 The 5-second interval can be changed using the --interval option. 26 Options can be specified with a single or double '-', and only as much of the option 27 name as necessary to disambiguate it from others is necessary. Note that options are case-sensitiv… 29 \fB--add attributes\fP add column with counter having specified 'attributes'. The 'location' attri… 41 MSRs are read as 64-bits, u32 truncates the displayed value to 32-bits. 51 Any string that does not match a key-word above is used [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | thermal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 #define THERMAL_TRIPS_NONE -1 25 #define THERMAL_CSTATE_INVALID -1UL 34 #define THERMAL_TEMP_INVALID -274000 57 THERMAL_DEVICE_POWER_CAPABILITY_CHANGED, /* power capability changed */ 114 * struct thermal_zone_device - structure for a thermal zone 142 * step-wise governor. 193 * struct thermal_governor - structure that holds thermal governor information 224 * effective. See Documentation/driver-api/thermal/sysfs-api.rst for more 232 * See Documentation/driver-api/thermal/sysfs-api.rst for more information. [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | mt2701.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/clock/mt2701-clk.h> 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/power/mt2701-power.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/memory/mt2701-larb-port.h> 14 #include <dt-bindings/reset/mt2701-resets.h> 15 #include "mt2701-pinfunc.h" 18 #address-cells = <2>; [all …]
|