PD#SWPL-178969
Problem:
there are 2 ddr cooling device of t5w 18nm chip
Solution:
remove the 20nm ddr cooling device for 18nm chip
Verify:
t5w
Change-Id: I32d2d202bb86879725cf66f3f9525cdb96a8c7ca
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-157595
Problem:
s7 tempsensor coefficient update
Solution:
calibrated chip(bit28~30==0) use old coeff<296 396 2757 8526>
while new chip(bit28~30!=0) use new coeff<296 396 2907 8739>
Verify:
S7
Change-Id: I236eb26b06e542508d8cd596de162dbaadc4bc8d
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-145744
Problem:
t5d&t5w import new ddr chip, we need to modify ddr thermal parameter
Solution:
update new ddr parameter
Verify:
t5d&t5w
Change-Id: If6835048d2e6a192efa688e3aa62e06c58b3e86f
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-141014
Problem:
txhd2 need to add media related thermal control
Solution:
1. add media cooling device. media module should call
media_cooling_register to register the cooling device.
and usually configure maxstate of the cooling device.
2. reconstruct cpucore cooling device.
Verify:
txhd2
Change-Id: I0576e0d91a3062b60f877a4e8577e4fe84e5f53b
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-141971
Problem:
The shutdown/reboot mode will not freeze the threads.After the sensor
driver executes the shutdown callback, the thermal worker may still
operate the register to read the temperature.This is a risk.
Solution:
Unregister the thermal zone in the shutdown callback。
Verify:
T3X
Change-Id: I3ed988b98cc4c6e87d3cbe3cb3d66781d214717d
Signed-off-by: Binbin Wang <binbin.wang@amlogic.com>
PD#SWPL-139694
Problem:
add more regs control in ddr cooling device
Solution:
add more regs control in ddr cooling device
Verify:
txhd2
Change-Id: I99c978d2034b3dcf01239752ce1a112f8e07afce
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#TV-92278
Problem:
read temperature failed
Solution:
sensor reset ctrl can't cleared by reboot command, so we clear it in
driver probe function.
Verify:
TXHD2
Change-Id: Ic4f3ca61ea81ce00b7f9a50723a19392d93b1b30
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-136383
Problem:
poweroff power current is high
Solution:
add shutdown callback in sensor driver
Verify:
TXHD2
Change-Id: Idd38c485b9458e3a9c7b27b959f48a17c59dc89b
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-102920
Problem:
Because of wrong logic when writing an invalid value,
the array is out of bounds
Solution:
Fix the wrong logic.
Verify:
T3
Change-Id: I01216d799201f49de42802d78a5297a0cb0e74d0
Signed-off-by: binbin.wang <binbin.wang@amlogic.com>
PD#SWPL-103829
Problem:
there are words spelling error
Solution:
correct spelling mistakes
Verify:
local scan
Change-Id: Ifc0bf977d64ceed2ae67a3235077fc9d4c734f0e
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
PD#SWPL-96947
Problem:
kernel5.15 for SC2: break GKI--thermal crash
Solution:
manage amlogic cooling device id in driver itself
instead of lib idr related api
Verify:
SC2
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
Change-Id: Ia8da226ae252af6d85e9f376f23f030d7a49fddd
PD#SWPL-83862
Problem:
add ddr cooling device to C3
Solution:
add ddr cooling device to C3
echo 96000 > /sys/kernel/debug/tsensor0/tempwrite to test
ddr cooling device action when temperature rise to 96C.
Verify:
C3 AW419
Change-Id: I9ea242a656a4fcbf308b613cd3695c04e2ff2afc
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-70486
Problem:
use common tag in driver when printf
Solution:
set common pr_fmt in driver
Verify:
s4d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ieee271d289e4d2f81258875d36288046b996a5d2
PD#SWPL-68630
Problem:
porting thermal driver
Solution:
1. porting thermal driver
2. modify the function type of the member of
struct thermal_cooling_device_ops
state2power
power2state
get_requested_power
3. modify the function(cpu_hotplug.c) interface
cpu_up() --> add_cpu()
cpu_down() --> remove_cpu()
4. modify config and move module_init from meson_cooldev.c to meson_tsensor.c
5. modify pr_info() --> pr_debug() when probe
Verify:
s4d
Change-Id: I5eead0120dbc826cbb4282d28d7531018c826025
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>