Hanjie Lin
71de1a49bb
debug_lockup: add support [2/2]
...
PD#SWPL-71728
Problem:
add debug_lockup support
Solution:
add debug_lockup support
Verify:
s4
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com >
Change-Id: I578f6c22b8a41aae861871249248618230f18859
2022-02-22 03:18:28 -07:00
Yu Tu
058a3bb589
clk: Not conforming to GKI specifications [1/2]
...
PD#SWPL-70783
Problem:
Not conforming to GKI specifications
Solution:
add this modified
Verify:
c2_af400
Signed-off-by: Yu Tu <yu.tu@amlogic.com >
Change-Id: I6cd4bb2d0fa308eae4a6f7e6f39d60bc3cc47de8
2022-02-17 03:00:23 -07:00
wanwei.jiang
2ac4eb2a3d
cpuinfo: print chipid [2/2]
...
PD#SWPL-71735
Problem:
print chipid when cat /proc/cpuinfo
Solution:
print chipid when cat /proc/cpuinfo
Verify:
s4d and C2 AF400
Change-Id: I447e9149f00ad4f4451813340c4e00dd42d4522e
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-02-16 13:35:50 +08:00
Tao Zeng
0a649a2a65
mm: add pagetrace driver [2/2]
...
PD#SWPL-70022
Problem:
No pagetrace function on 5.15 kernel
Solution:
porting it from 5.4
Verify:
local
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com >
Change-Id: I16874164b9238a5ee8f0449ecda05377d6761a2a
2022-02-15 00:24:39 -07:00
wanwei.jiang
08a2acfaea
reboot: porting reboot driver [1/1]
...
PD#SWPL-70992
Problem:
porting reboot driver
Solution:
1. porting reboot driver
2. ptimizing log printing
Verify:
s4d
Change-Id: I51bf865af792c01e5be6c3a6d0bd069fa1b9f2fe
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-01-24 13:54:47 +08:00
Long Yu
0531d3b475
MMC: porting mmc driver [1/1]
...
PD#SWPL-68831
Problem:
porting mmc driver
Solution:
porting mmc driver
Verify:
s4d
Change-Id: If21f1e1300b1ee8393e24f8bc1f857497a3f975f
Signed-off-by: Rong Chen <rong.chen@amlogic.com >
2022-01-20 22:50:43 -07:00
Shunzhou Jiang
df03c700db
Power: power domain driver follow GKI standard [1/2]
...
PD#SWPL-66796
Problem:
Power domain driver not follow GKI
Solution:
follow GKI standard
Verify:
s4d
Change-Id: Id80f02e916c51f5a35a2d7299bd8a06c21700d29
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com >
2022-01-19 19:31:13 -07:00
wanwei.jiang
82c658e68b
thermal: porting thermal driver [1/1]
...
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 >
2022-01-14 18:39:57 +08:00
wanwei.jiang
1f3df6f810
gkitool: driver optimization [1/1]
...
PD#SWPL-68520
Problem:
driver optimization
Solution:
1. read command line from bootargs nor /proc/cmdline
2. parse command line to param and value
3. support early_param and __setup
4. support module_param
5. use pr_debug nor gki_tool_debug
because can't pass parameters to it from the command line
Verify:
s4d
Change-Id: Ib2d7915018e3c1a70284340b30bf929e6bb64b41
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-01-13 15:40:36 +08:00
wanwei.jiang
5b9119c59f
irblaster: porting irblaster driver [1/1]
...
PD#SWPL-69666
Problem:
porting irblaster driver
Solution:
porting irblaster driver
Verify:
s4d
Change-Id: If15957c9c4072bb08bf5454cc3e81eac646eb1ad
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-01-11 20:46:44 +08:00
wanwei.jiang
22ba320f55
rng: porting rng driver [1/1]
...
PD#SWPL-69195
Problem:
porting rng driver
Solution:
porting rng driver
Verify:
s4d
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
Change-Id: I26c40fa7e0e39ba0e2e647e6cabe26520adf076b
2022-01-07 12:37:54 +08:00
wanwei.jiang
788578ab2f
adc: porting adc driver [1/1]
...
PD#SWPL-69192
Problem:
porting adc driver
Solution:
1. porting adc driver
2. move kfifo_buf.c from kernel to driver,
becasue CONFIG_IIO_KFIFO_BUF is not set
3. modify code style
4. reduce print level when probe phase
Verify:
s4d
Change-Id: I4bca5ab1572402ab37100a64805482e3adc554b5
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-01-06 20:25:29 +08:00
wanwei.jiang
d607696240
jtag: porting jtag driver [1/1]
...
PD#SWPL-69190
Problem:
porting jtag driver
Solution:
porting jtag driver
Verify:
s4d
Change-Id: Icf0b8be00045444e71c6779f9bf97d3f5c7756cb
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-01-05 17:07:20 +08:00
qinglin.li
7231e83d7f
mailbox: porting mailbox driver [1/2]
...
PD#SWPL-65955
Problem:
porting mailbox driver
Solution:
porting mailbox driver
Verify:
s4d-ap222
Change-Id: I4dc5a60e588c54551f835af15b824bbb06877bb6
Signed-off-by: qinglin.li <qinglin.li@amlogic.com >
2022-01-04 18:10:30 +08:00
wanwei.jiang
17f72adc13
efuse_unifykey: porting efuse_unifykey driver [1/1]
...
PD#SWPL-69066
Problem:
porting efuse_unifykey driver
Solution:
1. porting efuse_unifykey driver
2. pfn_valid -> pfn_is_map_memory
3. use secmon driver interface in efuse_api.c
4. add <linux/compat.h> for compat_ptr
5. add <crypto/sha256_base.h> for SHA256_DIGEST_SIZE
6. reduce the print level in the probe function
Verify:
s4d
Change-Id: Ia9833a2ad0d0bc0f751624c65ccefd92bdc3276b
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2022-01-04 14:07:33 +08:00
wanwei.jiang
8751d93d08
cpufreq: porting cpufreq driver [1/1]
...
PD#SWPL-67706
Problem:
porting cpufreq driver
Solution:
1. porting cpufreq driver
2. depends on pwm-regulator, so set CONFIG_REGULATOR_PWM to m
Verify:
s4d
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
Change-Id: I9ca89af7fd3fe084a54ff05dee5500fcc82d212f
2021-12-30 10:01:59 +08:00
wanwei.jiang
a3ad4649bf
pwm: porting pwm driver [1/1]
...
PD#SWPL-67421
Problem:
porting pwm driver
Solution:
porting pwm driver
Verify:
s4d
Change-Id: Ie5d4b92fa457ee98fb1f81d4446e1a4f38047c50
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-29 14:19:59 +08:00
wanwei.jiang
f57f2b94be
ir: porting ir driver [1/1]
...
PD#SWPL-68760
Problem:
porting ir driver
Solution:
1. porting ir driver
2. porting struct tasklet_struct
Verify:
s4d
Change-Id: I5db4e2404718d0ecdde2c2efa013564c7c5a9298
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-28 15:33:46 +08:00
Yu Tu
3c65ade6ff
clk: clk debug __clk_lookup no EXPORT [1/1]
...
PD#SWPL-67715
Problem:
__clk_lookup no EXPORT
Solution:
use clk_get_sys
Verify:
s4d
Signed-off-by: Yu Tu <yu.tu@amlogic.com >
Change-Id: Ie2c0f0a191851cd2e3b8d88e5d800ba1749fd2ff
2021-12-27 17:35:51 +08:00
wanwei.jiang
c3212056eb
gkitool: porting gkitool driver [1/1]
...
PD#SWPL-68520
Problem:
porting gkitool driver
Solution:
porting gkitool driver
Verify:
s4d
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
Change-Id: Iaa98e45633199814367ed1e63eee0a8aaaca36d6
2021-12-23 21:06:08 +08:00
wanwei.jiang
4c8cc1d42f
tee: porting tee driver [1/1]
...
PD#SWPL-68397
Problem:
porting tee driver
Solution:
porting tee driver
Verify:
s4d
Change-Id: I048b21d639cf3903daf820ce555e3526e0539dab
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-22 19:29:04 +08:00
wanwei.jiang
7f5461b0f1
spi: porting spi driver [1/1]
...
PD#SWPL-68123
Problem:
porting spi driver
Solution:
porting spi driver
Verify:
s4d
Change-Id: I846bf0d796774ed5c85be80ec9dcba5600551da9
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-22 15:48:10 +08:00
wanwei.jiang
9d0173b0cc
i2c: porting i2c driver [1/2]
...
PD#SWPL-68122
Problem:
porting i2c adapter driver
Solution:
porting i2c adapter driver
Verify:
s4d
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
Change-Id: I1c05f792d17cb92e9f8b2e880b2c210aa2f66426
2021-12-21 17:12:11 +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
wanwei.jiang
1fdb3a336b
config: follow porting guide [1/1]
...
PD#SWPL-67821
Problem:
follow the configure rules
Solution:
1. follow the configure rules
2. follow the module name rules
3. follow the directoy rules
Verify:
s4d
Change-Id: Iac68261fe7ce994240fcab2c6edc1f283a719b3d
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-17 19:22:25 +08:00
wanwei.jiang
7eaa5e3d6c
cpuinfo: porting cpuinfo driver [1/2]
...
PD#SWPL-67677
Problem:
porting cpuinfo driver
Solution:
porting cpuinfo driver
Verify:
s4d
Change-Id: I2e137208d4ded6143d288c1ea9f1bf481e84f019
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-15 15:59:07 +08:00
wanwei.jiang
845408bc7c
secmon: remove dma_alloc_from_contiguous [1/1]
...
PD#SWPL-66601
Problem:
Symbols missing from ksymtab:
- dma_alloc_from_contiguous
Solution:
remove dma_alloc_from_contiguous
Verify:
s4d
Change-Id: I3f72f7ead27b0f06150762564733af6e7733b8a0
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-14 10:40:50 +08:00
wanwei.jiang
24483b3139
secmon: modify the code to meet the checkpatch requirements [1/1]
...
PD#SWPL-66601
Problem:
modify the code to meet the checkpatch requirements
Solution:
modify the code to meet the checkpatch requirements
1. add test access secmon memory
2. add reading reserve memory range
Verify:
sd4
Change-Id: I3cf01f5f7b838bdeecb08760315d935c75d0988d
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-13 19:48:49 +08:00
qinglin.li
0e32a70a27
power: porting power driver [1/2]
...
PD#SWPL-66014
Problem:
porting power driver
Solution:
add 1 power drivers
amlogic-power-common.ko
Verify:
s4d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com >
Change-Id: I8af5b5b5eeba4686cf0c09604cd77d2a9c19650f
2021-12-10 16:09:07 +08:00
wanwei.jiang
d8cfbc189b
secmon: init secmon driver [1/1]
...
PD#SWPL-66601
Problem:
porting secmon driver
Solution:
porting secmon driver, and modify function:
dma_alloc_from_contiguous() -> dma_alloc_coherent()
Verify:
s4d
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
Change-Id: Ibe8cee8b91596dcb4caa14c254453faf37425d97
2021-12-09 15:10:33 +08:00
wanwei.jiang
1c89d857e7
irqchip: init gpio irq driver [1/1]
...
PD#SWPL-65807
Problem:
init gpio irq driver
Solution:
add 1 driver
amlogic-irqchip-common.ko
Verify:
s4d
Change-Id: I589992db8235c3e335e4e444791de3f73538db63
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-01 13:34:17 +08:00
wanwei.jiang
27ff7401d0
pinctrl: init pinctrl driver [1/1]
...
PD#SWPL-65781
Problem:
init pinctrl driver
Solution:
add 2 clock drivers
amlogic-pinctrl-common.ko
amlogic-pinctrl-s4.ko
Verify:
s4d
Change-Id: I193db50fc8af2b157bcd0e37c8ff2f0b64b81761
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-12-01 13:33:23 +08:00
wanwei.jiang
7bd15c52a3
clk: init clock driver [1/1]
...
PD#SWPL-65394
Problem:
init clock driver
Solution:
add 2 clock driver
amlogic-clk-common.ko
amlogic-clk-s4.ko
Verify:
s4d
Change-Id: Icedcea7d56026fb570c5cf305e47f1884d4aa87b
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-11-29 19:00:07 +08:00
wanwei.jiang
5c8d2b6e35
init: init amlogic driver framework [1/1]
...
PD#SWPL-64232
Problem:
1. enable abi test
2. add amlogic include directory to kernel
Solution:
1. add ABI list
2. modify ABI xml
3. add parameter --userdebug in mk.sh for CONFIG_AMLOGIC_USERDEBUG
4. add common_drivers/include to LINUXINCLUDE
Verify:
s4d
Change-Id: Ibd506f971af7eb2851e53851b3cd52646f238ce7
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com >
2021-11-29 13:38:41 +08:00