Nell
|
d6bbc3f057
|
k1x:adc:p1: supprt adc driver for k1x
Change-Id: I200fe01c6bf351c13cc23876e4effca537ce028e
|
2024-11-28 18:29:06 +08:00 |
|
Nell
|
7f3c67387f
|
pm:regulator:set the sleep voltage of DCDC1 to 650mv
Change-Id: I5625c164575c557bdcae7198658411da8ffd6189
|
2024-11-28 18:27:51 +08:00 |
|
zhouxl
|
e34e17a548
|
add reboot mode select support while P1 reset will power off k1
Change-Id: Ida579928e674bd2faad6cfeac0331ca082ae3986
|
2024-11-28 18:27:45 +08:00 |
|
Nell
|
2631a43993
|
k1:rtc: fix stack-out-of-bounds when open KASAN
[ 5.671835] ==================================================================
[ 5.679369] BUG: KASAN: stack-out-of-bounds in _regmap_bus_read+0x9a/0xb8
[ 5.686445] Write of size 4 at addr ffffffc804047510 by task swapper/0/1
[ 5.693395]
[ 5.694963] CPU: 6 PID: 1 Comm: swapper/0 Not tainted 6.1.15+ #400
[ 5.701376] Hardware name: spacemit k1-x deb1 board (DT)
[ 5.706886] Call Trace:
[ 5.709440] [<ffffffff80009232>] dump_backtrace+0x1c/0x24
[ 5.715075] [<ffffffff81ad4342>] show_stack+0x2c/0x38
[ 5.720352] [<ffffffff81b01138>] dump_stack_lvl+0x3c/0x54
[ 5.725976] [<ffffffff81ad7a80>] print_report+0x1c8/0x4a4
[ 5.731588] [<ffffffff802cd072>] kasan_report+0xaa/0x134
[ 5.737124] [<ffffffff802cdf54>] __asan_store4+0x7c/0xa4
[ 5.742646] [<ffffffff80f1a7fc>] _regmap_bus_read+0x9a/0xb8
[ 5.748441] [<ffffffff80f181b8>] _regmap_read+0x76/0x1ee
[ 5.753955] [<ffffffff80f1838e>] regmap_read+0x5e/0x96
[ 5.759301] [<ffffffff811b7d6e>] spt_rtc_read_alarm+0x398/0x530
[ 5.765469] [<ffffffff811b2928>] __rtc_read_alarm+0x524/0x6e8
[ 5.771446] [<ffffffff811ae0e4>] __devm_rtc_register_device.part.0+0x1a4/0x480
[ 5.778956] [<ffffffff811ae438>] __devm_rtc_register_device+0x78/0x86
[ 5.785646] [<ffffffff811b93ee>] spacemit_rtc_probe+0x282/0x412
[ 5.791804] [<ffffffff80ee7040>] platform_probe+0x82/0xd2
[ 5.797424] [<ffffffff80ee2cde>] really_probe+0x110/0x5a4
[ 5.803043] [<ffffffff80ee3242>] __driver_probe_device+0xd0/0x1f8
[ 5.809375] [<ffffffff80ee33c0>] driver_probe_device+0x56/0x11e
[ 5.815530] [<ffffffff80ee3eaa>] __driver_attach+0x152/0x286
[ 5.821414] [<ffffffff80edf780>] bus_for_each_dev+0xd4/0x134
[ 5.827297] [<ffffffff80ee2428>] driver_attach+0x28/0x32
[ 5.832827] [<ffffffff80ee1958>] bus_add_driver+0x214/0x30c
[ 5.838627] [<ffffffff80ee4fc0>] driver_register+0x100/0x1e0
[ 5.844514] [<ffffffff80ee6b88>] __platform_driver_register+0x3e/0x4a
[ 5.851214] [<ffffffff81c33ffa>] spacemit_pmic_rtc_driver_init+0x1a/0x22
[ 5.858176] [<ffffffff80002d8e>] do_one_initcall+0xa6/0x34c
[ 5.863974] [<ffffffff81c01600>] kernel_init_freeable+0x31e/0x37c
[ 5.870313] [<ffffffff81b019b6>] kernel_init+0x1e/0x128
[ 5.875744] [<ffffffff80004b38>] ret_from_exception+0x0/0x16
[ 5.881637]
[ 5.883201] The buggy address belongs to stack of task swapper/0/1
[ 5.889603] and is located at offset 48 in frame:
[ 5.894568] spt_rtc_read_alarm+0x0/0x530
[ 5.898756]
[ 5.900317] This frame has 2 objects:
[ 5.904116] [48, 49) 'rtc_ctl'
[ 5.904136] [64, 96) 'v'
[ 5.907403]
[ 5.911683] The buggy address belongs to the virtual mapping at
[ 5.911683] [ffffffc804040000, ffffffc804049000) created by:
[ 5.911683] kernel_clone+0xa2/0x4ca
[ 5.927448]
[ 5.929005] The buggy address belongs to the physical page:
[ 5.934785] page:(____ptrval____) refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x100f9c
[ 5.944522] flags: 0x4000000000000000(zone=1)
[ 5.949068] raw: 4000000000000000 0000000000000000 0000000000000122 0000000000000000
[ 5.957099] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[ 5.965121] page dumped because: kasan: bad access detected
[ 5.970896]
[ 5.972455] Memory state around the buggy address:
[ 5.977415] ffffffc804047400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 5.984893] ffffffc804047480: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1
[ 5.992385] >ffffffc804047500: f1 f1 01 f2 00 00 00 00 f3 f3 f3 f3 00 00 00 00
[ 5.999869] ^
[ 6.003761] ffffffc804047580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 6.011238] ffffffc804047600: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1
[ 6.018738] ==================================================================
[ 6.027762] Disabling lock debugging due to kernel taint
Change-Id: I9485da33655da8021d313cfc5aaa68193cc8baa0
|
2024-11-28 18:27:43 +08:00 |
|
Nell
|
a6a94e057d
|
k1x:rtc:fix the issue of probabilistic failure on setting time
Change-Id: I012de89395d0d0af8070822b44100335c8bb0254
|
2024-11-28 18:27:43 +08:00 |
|
Nell
|
c94fc9f46e
|
k1x:rtc: fix the bug that setting rtc time failed
Change-Id: I189af06e1a79461523a5b7abd34606e1b36956ba
|
2024-11-28 18:27:39 +08:00 |
|
Nell
|
29fa84ef4e
|
k1x:deb1: support power-off system
Change-Id: Ied6688ae6a18d5c6024b272838183b12df423e30
|
2024-11-28 18:27:20 +08:00 |
|
Nell
|
bfcb1bd767
|
k1x:pmic: refactoring code to support new dcdc
support sy8810l pmic ic
Change-Id: I8709bf5b9af4def2da06788f4bcac7eb31b8f76e
|
2024-11-28 18:27:04 +08:00 |
|
Nell
|
6113f4d02c
|
k1x:pmic:rtc: support spm8821 rtc driver
Change-Id: I137d8856ab1970be531d9207c2f90ff105583caa
|
2024-11-28 18:27:03 +08:00 |
|
Nell
|
b40baba690
|
k1x:pmic: refine some code
1. add the function of reading the version/user/debug id
2. fix bug of pinfunc_desc
Change-Id: I583d8e4882fb456438c3ee5a97201df1f7ac96e9
|
2024-11-28 18:27:00 +08:00 |
|
Nell
|
581078e7c3
|
pm853: support the regulator func in asic
Change-Id: I62c002e500532006b3f21f3f0e26c98246f49bcd
|
2024-11-28 18:26:51 +08:00 |
|
Nell
|
9a33e9fe91
|
pmic:pm853: support regulator driver and compatible with spm8821
Change-Id: I0285e418f96395ceaa1efdce7b386923d79218dc
|
2024-11-28 18:26:50 +08:00 |
|
Nell
|
1a6060888e
|
pmic:spm8821:pinctrl: first version to support pinctrl dirver of spm8821
Change-Id: I0b0bc49acd314b0a1c8919605326b503272bbc44
|
2024-11-28 18:26:49 +08:00 |
|
Nell
|
85f7aea275
|
pmic: add the first version of pmic driver
Change-Id: I8e142173295b937fe7c7577c10bba18c3c8d4b6d
|
2024-11-28 18:26:48 +08:00 |
|