Commit Graph

10 Commits

Author SHA1 Message Date
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