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>