Commit Graph

21 Commits

Author SHA1 Message Date
luke.liu 1ad309a6ec std: cpu power down support [1/1]
PD#SWPL-171838

Problem:
t7c std cpu disable

Solution:
cpu enable and unlock

Verify:
t7c

Change-Id: Ifb462e44168b3b70dd3ccd0080eae8ce0811386e
Signed-off-by: luke.liu <luke.liu@amlogic.com>
2024-08-21 00:21:48 -07:00
Xindong Xu 4c01570805 reboot: enter bootloader mode when boot error [1/1]
PD#SWPL-168534

Problem:
enter bootloader mode when boot error

Solution:
enter bootloader mode when boot error

Verify:
local

Change-Id: I566296fd4070d68a4082b283337e092cd1eeeeb7
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
2024-07-12 02:14:26 -07:00
changpeng.jiang be74d4babd suspend_debug: kernel suspend debug [4/4]
PD#SWPL-158380

Problem:
Add suspend debug mode function.

Solution:
Add code.

Verify:
s7_bh201

Change-Id: I6522324c2cfaa2c7e5ef9a412e4cb7dbdc097747
Signed-off-by: changpeng.jiang <changpeng.jiang@amlogic.com>
2024-03-05 04:57:33 -08:00
hao.qi 7a877ea87c quiescent: Quiescent Reboot fail [1/1]
PD#SWPL-152141

Problem:
quiescent case command update

Solution:
Support userrequested,quiescent

Verify:
ohm

Change-Id: I242461838deb9a97ed119304b6c1b908618a9e48
Signed-off-by: hao.qi <hao.qi@amlogic.com>
2024-01-03 22:19:12 -07:00
Jianxiong Pan 455d10eff1 zapper: disable hdmitx20 and mbox. [1/1]
PD#SWPL-126879

Problem:
s1a memory optimization.

Solution:
disable hdmitx20 and mbox.

Verify:
s1a.

Test:
s1a.

Change-Id: I317718936fdc14ec3b30faae7672fea66ac4541c
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-12-03 04:25:04 -07:00
binbin.wang ac11432483 PM: Fix incorrect code logic [1/1]
PD#SWPL-141257

Problem:
This is a problem with the judgment of the return valule
in the store interface of Suspend_reason

Solution:
Fix incorrect code logic

Verify:
SC2 pass

Change-Id: I2c618a240202c369852cb5ee4bccdf5a0f21c8ec
Signed-off-by: binbin.wang <binbin.wang@amlogic.com>
2023-11-14 20:43:12 -07:00
yiting.deng e386a75a6f 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 03:13:27 -07:00
xia.jin b2abef4e16 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-08-25 04:13:44 -07:00
xia.jin b520eaed57 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-08-24 03:53:57 -07: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