Commit Graph

15 Commits

Author SHA1 Message Date
yiting.deng be4c0fb5e0 pm: fix kernel5.15 pm print log [1/1]
PD#SWPL-143117

Problem:
too much pm related print in suspend/resume

Solution:
add initcall_debug judgment before suspend/resume printing

Verify:
sc2

Change-Id: Ifbca9604ae008b188da408cd8c3cc353f0d3051f
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2023-11-09 20:08:16 +08:00
xia.jin 901ec845f9 C3: reboot -f crash [1/1]
PD#SH-15409

Problem:
reboot -f crash

Solution:
reboot -f crash

Verify:
c3

Change-Id: Ia9a04b34663999f9c426591f6dfd18432ee30a5f
Signed-off-by: xia.jin <xia.jin@amlogic.com>
2023-09-13 15:04:51 +08:00
xia.jin 80506932ca C3: reboot -f crash [1/1]
PD#SH-15409

Problem:
reboot -f crash

Solution:
reboot -f crash

Verify:
c3

Change-Id: Idf18489cef5b6caa678c909a639d1a7bbd44a242
Signed-off-by: xia.jin <xia.jin@amlogic.com>
2023-09-13 15:04:51 +08:00
Yao Jie 97f9c7a57f pm: fix pm driver build error [1/1]
PD#SWPL-123365

Problem:
pm driver build error without CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
enabled

Solution:
change pm driver to make it build success
without CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
enabled

Verify:
Local Build Success

Change-Id: Iba223696c420e27fd6510a747a71c3d24a50e7ba
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-05-14 23:49:15 -07:00
Yao Jie eaf422fb77 reboot: sm1 and g12b reboot bringup [1/1]
PD#SWPL-104276

Problem:
sm1 and g12b reboot bringup

Solution:
change dtsi, reboot driver and defconfig
to bringup reboot

Verify:
SM1-AN400
G12B-W400-A311D

Change-Id: Idcdff0a5b1643d60a79fe9021e20e4ec02c19c2b
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-04-04 19:35:44 +08:00
Yao Jie 2b31d6669b reboot: extend reboot reason index to 128 [8/8]
PD#SWPL-100550

Problem:
Need to extend reboot reason index to 128 for
some chip like SC2/S4/T3/T7, etc.

Solution:
Add another 4 bits of sticky register for reboot
reason index storage, this will extend reboot
reason to 128 (0 ~ 127)

Verify:
SC2-AH212

Change-Id: Ia756d7640dc7caf0132c66b55deb0c263e198f3d
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-01-11 22:10:28 -08:00
Hanjie Lin caa8b668c5 debug: gki optimize [2/4]
PD#SWPL-99365

Problem:
gki optimize

Solution:
1, code optimize
2, watchdog_hld to ko

Verify:
sc2_ah212

Change-Id: Ibb1b16bd61d794defb39d53f17ad86179ba4a661
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2022-12-27 04:32:55 -08:00
Yao Jie cb264b788b pm: extend wakeup reason index to 128 [7/7]
PD#SWPL-102505

Problem:
The wakeup reason can stores 16 types of reasons
(0 ~ 15), now need to extend wakeup reason index
to 128 (0 ~ 127)

Solution:
Add another 4 bits of sticky register for wakeup
reason index storage, this will extend wakeup
reason index to 128 (0 ~ 127)

Verify:
S4-S905Y4

Change-Id: I642851bbbb7490ebb2ea6cda93d710ab98d8c664
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2022-12-26 03:24:15 -08:00
binbin.wang 125182a598 Thermal: Fix the typo issue [1/1]
PD#SWPL-103804

Problem:
Typo issue

Solution:
Fix the typo issue.

Verify:
None

Change-Id: Iec839dfd01f6ef1a78590e456825feb2ff6822ff
Signed-off-by: binbin.wang <binbin.wang@amlogic.com>
2022-12-19 02:27:13 -08:00
Yao Jie 4fb89e60e0 reboot: t7c silicon reboot bringup [1/1]
PD#SWPL-94152

Problem:
t7c silicon reboot bringup

Solution:
t7c silicon reboot bringup

Verify:
T7C-AN400-A311D2

Change-Id: I0b91e582c5e68bcf10e756e0a7d018759949c6b5
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2022-12-02 14:04:53 +08:00
Wanwei Jiang 812361a4e9 pm: combine pm and reboot modules [1/1]
PD#SWPL-95684

Problem:
combine pm and reboot modules

Solution:
result: amlogic-pm.ko
original: amlogic-pm.ko amlogic-reboot.ko

Verify:
sc2

Change-Id: I25366f4413a7e7ec84131321e9b686b337358d70
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-11-05 12:06:33 +08:00
hongyu.chen1 ffe9eabf1b typo: fix typo issue in pm code [1/1]
PD#SWPL-89627

Problem:
typo check issue

Solution:
fix typo issue

Verify:
Typo

Change-Id: I212de191838a4b21dc3cbe7a4bb3df499fe7394e
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2022-09-13 22:04:56 -07:00
qinglin.li 7c6316bebd printk : printk optimization [2/2]
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
2022-02-14 19:55:32 -07:00
wanwei.jiang d29afa69b3 pm: porting pm driver [2/2]
PD#SWPL-68037

Problem:
modify the code to meet the checkpatch requirements

Solution:
1. pr_info -> pr_debug
2. delete pr_info in probe function

Verify:
s4d

Change-Id: I033bc71d4e0a223047d2a7317af586aacac358f4
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2021-12-20 16:50:58 +08:00
wanwei.jiang 7c6fe06dc6 pm: porting pm driver [1/2]
PD#SWPL-68037

Problem:
porting pm driver

Solution:
1. porting pm driver
2. modify device attribute to class attribute

Verify:
s4d

Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
Change-Id: If5fa4dbdca1d77ba603d9b5f8374d3f8ac55db2a
2021-12-20 16:31:52 +08:00