Commit Graph

4892 Commits

Author SHA1 Message Date
he.he 5eb7e67aa3 usb: add some patches [1/1]
PD#SWPL-188390

Problem:
add some patches

Solution:
add some patches

Verify:
all

Change-Id: Iea01df348e0363d77c5673395d5f4b0689adbe03
Signed-off-by: he.he <he.he@amlogic.com>
2024-10-22 00:18:03 -07:00
Xindong Xu b5af8fbb45 common: change auto patch path [1/1]
PD#SWPL-189352

Problem:
auto patch error when lunch android

Solution:
change auto patch path

Verify:
local

Change-Id: Id7364d2bea63ae5850bce44311817d4a1716c807
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
2024-10-22 00:15:36 -07:00
qiyao.zhou a603db809e video_process: Fix compilation errors [1/1]
PD#SWPL-188435

Problem:
video_process failed to compile

Solution:
Fixed

Verify:
sc2_ah212

Change-Id: I0d6da53f3b48691ec2103486daf82593ddb74adc
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-10-21 04:39:22 -07:00
jian zhou b9fd28aa56 audio: config acodec reg base [1/1]
PD#SWPL-188427

Problem:
There is no to acode reg base.

Solution:
config acodec reg base

Verify:
sc2

Change-Id: I482700464e248f4f4218d9c604acdc182f3f74b8
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-10-21 16:50:17 +08:00
jian zhou 015acb9ff7 audio: set tdmout frddr select mask by the chip [1/1]
PD#SWPL-188060

Problem:
from sm1, the frddr select mask is bit 24-26,
before sm1, the frddr select mask is bit 24-25,
the bit 26 is for gain control.

Solution:
set tdmout frddr select mask by the chip,
before sm1, it is 0x3, from sm1, it is 0x7.

Verify:
a4

Change-Id: Icf92904ad94b18897d6c8687168e126e605224cd
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
(cherry picked from commit fd6639bb19)
(cherry picked from commit b9e8bdf57797218a34918d6fe6ed8e8b5eced79d)
2024-10-21 00:50:28 -07:00
Dezhen Wang 0a9b1d164d scripts: 6.6 mv common_drivers to up dir fix bug [1/1]
PD#SWPL-189685

Problem:
not change mk_smarthome32.sh

Solution:
change path in mk_smarthome32.sh

Verify:
local

Change-Id: I4ef61d4224e91fd2cf166b980b6aa112b927ae42
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
(cherry picked from commit 4e3efd7be9db7da1260a6b25b324e193e1043fea)
2024-10-20 23:58:24 -07:00
qinglin.li fa9f9dcea9 scripts: fix syntax error [1/1]
PD#SWPL-189610

Problem:
script syntax error

Solution:
fix syntax error

Verify:
local

Change-Id: Ie7156c53346bdc0bf51bdbda4a2d511d5a37dff5
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-10-18 18:22:46 +08:00
Feng Chen 14825229fd slcnand: fix WARN_ONCE error [1/1]
PD#SWPL-189392

Problem:
building error.

Solution:
fix it.

Verify:
SC2_AH212

Change-Id: I93c276aa59c87d586556dab04dbb7c5d2ac2ab1f
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2024-10-18 17:07:50 +08:00
Feng Chen c1b4430b13 spinand: SC2 bringup [1/1]
PD#SWPL-189392

Problem:
SC2 SPINAND module verification.

Solution:
Test PASS.

Verify:
SC2_AH219

Change-Id: I5f16af431cc563e3e082d783d1c3c9f0ce9ee5d5
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2024-10-18 16:50:10 +08:00
Feng Chen e5aba47637 slcnand: SC2 bringup [1/1]
PD#SWPL-189392

Problem:
SC2 SLCNAND module verification.

Solution:
- nand_controller.supported_op

data_only_read mode # √

cont_read mode # x

- platform_driver
int (*remove)(struct platform_device *) -> void (*remove)...

Verify:
SC2_AH212

Change-Id: I8cc58af9aba24de25a9a214879262c046dbfd1fd
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2024-10-18 16:45:39 +08:00
Long 57446eb8bd mmc: support eMMC and sdio on sc2. [1/1]
PD#SWPL-188384

Problem:
1. need to enable MMC_CAP2_FULL_PWR_CYCLE.
2. need to remove useless code.

Solution:
1. Enable MMC_CAP2_FULL_PWR_CYCLE.
2. Remove useless code.

Verify:
SC2

Change-Id: I5d1af45d09f0a2606659509fe29b6ed0896b88d0
Signed-off-by: Long <long.yu@amlogic.com>
2024-10-18 00:02:24 -07:00
Ao Xu 6cc9aab0a3 drm: sync 5.15 CL to 6.12 drm driver [1/1]
PD#SWPL-188410

Problem:
6.12 drm driver bringup

Solution:
sync 5.15 CL to 6.12 drm driver
delete CONFIG_AMLOGIC_KERNEL_VERSION related code

Verify:
sc2

Test:
DRM-OSD5,DRM-OSD-16

Change-Id: I27819e8d5c733961e0816a84050d0367f22df8fe
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2024-10-17 22:46:45 -07:00
zijie.hong 59b9677893 vdin: vdin sc2 k6.12 bringup [1/1]
PD#SWPL-188547

Problem:
vdin sc2 k6.12 bringup

Solution:
added

Verify:
sc2

Change-Id: I38dc0ec5adc0912ae3e1d54171e547b5f1689520
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2024-10-17 19:13:12 -07:00
ruofei.zhao dd4188cef2 hdmitx: fix hdmitx startup ioremap warning [1/1]
PD#SWPL-189311

Problem:
there is ioremap warning during hdmitx driver startup process

Solution:
removed all-0 address segment ioremap operation

Verify:
SC2

Test:
DRM-TX-5

Change-Id: Iec472bac2c4373e7c77bf618c72e013d1018b023
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-10-17 01:17:45 -07:00
Dezhen Wang 5c4980155c scripts: 6.12 mv common_drivers to up dir [1/1]
PD#SWPL-188894

Problem:
common_drivers dir is not normal position. move it out of common dir.

Solution:
move it out of common dir

Verify:
local

Change-Id: I949688e2e86d687ef205030a646975065860950a
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-10-17 00:11:25 -07:00
xiangyang.yan 2a74363d78 eth: sync code from original stmmac driver [1/1]
PD#SWPL-188389

Problem:
sync code from original stmmac driver

Solution:
sync code from original stmmac driver

Verify:
HW

Change-Id: I82c210e697ebb682cedebc480dee1320d7f187ec
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2024-10-16 22:54:23 -07:00
Zhongfu Luo e0d45b543e efuse: add efuse_obj encrypted data write command [1/1]
PD#SWPL-189350

Problem:
add efuse_obj encrypted data write command

Solution:
add efuse_obj encrypted data write command

Verify:
SC2 AH219

Change-Id: Ib69518de4d8eb33c0681a6f8ccdec9ad7009c2a3
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2024-10-16 20:20:54 -07:00
Zelong Dong 451d896a1a reset: support meson reset [1/1]
PD#SWPL-188372

Problem:
need to support meson reset

Solution:
support meson reset

Verify:
sc2_ah212

Change-Id: I702960b88d45c0c827f890b61b4fee22c2dc4392
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-10-16 05:39:26 -07:00
Yu Tu 75d44dfe97 pcie: sc2 pcie bringup kernel6.12 [1/1]
PD#SWPL-188391

Problem:
sc2 pcie bringup kernel6.12

Solution:
sc2 pcie bringup kernel6.12

Verify:
sc2_ah212

Change-Id: Ie220eb341e98bf27f51b7311afa0c06eaa9b00ee
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2024-10-16 04:58:46 -07:00
jiabin.chen 9100870660 wifi: fix wireless crash in 6.12 [1/1]
PD#SWPL-188510

Problem:
32bit build wifi fail

Solution:
config wifi & dts

Verify:
ohm

Change-Id: I6a613458f28871eca11dba2945b14d722be78df2
Signed-off-by: jiabin.chen <jiabin.chen@amlogic.com>
2024-10-16 16:36:03 +08:00
Lei Zhang bf8345f547 bringup: sync from kernel-6.6 trunk [4/4]
PD#SWPL-185970

Problem:
N/A

Solution:
sync from kernel-6.6 trunk

Verify:
on SC2

Change-Id: Ica22e7507b29f5aa3513defbdcee41b090b1d698
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2024-10-15 04:30:38 -07:00
song.han 095ef042a5 iotrace: add preempt protections at hooks [3/4]
PD#SWPL-185970

Problem:
BUG: sleeping function called from invalid context
	at kernel/sched/completion.c
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1,
	name: swapper/0
Preemption disabled at:
[<c0428468>] queue_stop_cpus_work+0x60/0x1bc
[<c030dc24>] show_stack+0x28/0x2c
[<c105e624>] dump_stack_lvl+0x48/0x54
[<c0371660>] ___might_sleep+0x1c4/0x1e8
[<c10621b8>] wait_for_completion+0x28/0x58
[<c0428180>] stop_machine_cpuslocked+0x10c/0x208
[<c106ac28>] patch_text+0x20/0x28
[<c0501254>] __jump_label_update+0x7c/0xec
[<c05002b8>] static_key_enable_cpuslocked+0x8c/0x100
[<c050034c>] static_key_enable+0x20/0x28
[<c0441acc>] tracepoint_add_func+0x38c/0x400
[<c0441c00>] tracepoint_probe_register+0x54/0x6c
[<c0db6974>] ftrace_ramoops_init+0x288/0x2fc
[<c163cb30>] aml_iotrace_init+0x46c/0x550
[<c03020a0>] do_one_initcall+0x104/0x364
[<c1601f90>] do_initcall_level+0xa0/0x15c
[<c1601ec0>] do_initcalls+0x58/0x88
[<c1601d04>] kernel_init_freeable+0x114/0x160
[<c105fe24>] kernel_init+0x20/0x1c4
[<c0300134>] ret_from_fork+0x14/0x40

Solution:
add preempt protections at hooks

Verify:
t5w

Change-Id: I4cfd069ca0b4ba2c9bd6e8202391577aff09d227
Signed-off-by: song.han <song.han@amlogic.com>
2024-10-15 04:30:08 -07:00
Lei Zhang 0dabda8673 DEBUG: bring up basic debug function [2/4]
PD#SWPL-185970

Problem:
N/A

Solution:
N/A

Verify:
on SC2

Change-Id: Ie4c90d8be99231ef0272309351ef8defd99e850a
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2024-10-15 04:29:17 -07:00
Lei Zhang 5dda8f03e5 HOOK: add necessary vendor hooks and export set_next_entity [1/4]
PD#SWPL-185970

Problem:
N/A

Solution:
1, add necessary vendor hooks
2, export set_next_entity

Verify:
on SC2

Change-Id: Ic90a86cddeb127740797545a3ea8712519340473
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2024-10-15 04:29:06 -07:00
Wanwei Jiang 22ee78ba4b script: support fatload mode for android project [1/1]
PD#SWPL-187929

Problem:
support fatload mode for android project

Solution:
add command line parameter --fatload

Verify:
local

Change-Id: I595a9e00a327faacbed5d3e4fd85a31abc3bdbe2
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-10-15 04:13:09 -07:00
Wanwei Jiang 5ef7ba1499 script: bringup android16-6.12 [1/1]
PD#SWPL-187929

Problem:
bringup android16-6.12

Solution:
1. modify script for external driver build on arm version
2. modify script for dtbo build

Verify:
local

Change-Id: I301f0c317a1d7a0325d4adf55ab419e79fb6cd5c
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-10-15 04:12:52 -07:00
Matthew Shyu 4f9d6a46d1 crypto: sync with 5.4, 6.6 and remove unused irq mode [1/1]
PD#SWPL-188399

Problem:
6.12 bringup for sc2

Solution:
Sync with 5.4 and 6.6.
Remove unused code

Verify:

Change-Id: I6857686fd55941cea0a9eb1df2f9fc8fded37612
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
2024-10-15 03:19:29 -07:00
Dezhen Wang 53520cf2da scripts: 6.12 add dtc tool path and fix menuconfig function [1/1]
PD#SWPL-188330

Problem:
6.12 remove dtc tool path in build.config.common so dtc use server
tool by default.

Solution:
6.12 add dtc tool path.
fix menuconfig function
fix building can not stop after error

Verify:
local

Change-Id: I431711d85a4a70060b7eed44cf9acffd3ccbe55b
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-10-15 02:23:26 -07:00
Jianxiong Pan 54207004ef mm: pagetrace: can not find symbol. [1/1]
PD#SWPL-188508

Problem:
pagetrace can not find symbol.

Solution:
init the file struct.

Verify:
sc2.

Change-Id: I478343fcc864be1fccf6f0f162077a8d37ef4805
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-10-15 01:19:45 -07:00
ruofei.zhao 81d299f688 cvbs: sync kernel 5.15 code to kernel 6.12 [1/1]
PD#SWPL-188407

Problem:
sync kernel 5.15 code to kernel 6.12

Solution:
sync kernel 5.15 code to kernel 6.12

Verify:
SC2

Test:
DRM-CVBS-3

Change-Id: I4718bc933eadabbaef5880f03e99b51cd086de75
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-10-15 00:42:47 -07:00
he.he e148bae334 usb: move xhci and dwc3 to common_drivers [1/1]
PD#SWPL-188390

Problem:
move xhci and dwc3 to common_drivers

Solution:
move xhci and dwc3 to common_drivers

Verify:
sc2

Change-Id: Ie40bf88170c03820ae7cd2746172536d5e947ff7
Signed-off-by: he.he <he.he@amlogic.com>
2024-10-15 00:00:01 -07:00
ruofei.zhao 5bf8f3d774 hdmitx: sync kernel 5.15 code to kernel 6.12 [1/1]
PD#SWPL-188403

Problem:
sync kernel 5.15 code to kernel 6.12

Solution:
sync kernel 5.15 code to kernel 6.12

Verify:
SC2

Test:
DRM-TX-5

Change-Id: Ie0be7d1be5cf2f5fd197fc77441b5f9d2eff8a1a
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
(cherry picked from commit 8e6c3c05d52f2aad51382d8f51938e647f09b6e4)
2024-10-15 12:25:49 +08:00
Chengbing.wu 26c7d0417b regulator: sc2 bringup for k6.12 [1/1]
PD#SWPL-188358

Problem:
1. need to support regulator at sc2 k6.12;

Solution:
1. add regulator at kernel-6.12 sc2 32bit dts;
2. 64bit default ok, base k6.6:410572;

Verify:
32bit & 64bit at ah212

Change-Id: I9649c112ccb8bd09975120a8c6071386f493f9ea
Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
2024-10-14 19:48:32 -07:00
shufei.zhao b0d48b78b9 PMU: support pmu for kernel6.12 [1/1]
PD#SWPL-188345

Problem:
support pmu for kernel6.12

Solution:
change dts

Verify:
sc2

Change-Id: Ie00d25445f6946106079c2204e35ac56320f5d98
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
2024-10-14 04:12:41 -07:00
Xingxing Wang c54ece12be thermal: Kernel6.12: sc2 bring up-Power-Thermal/Sensor [1/1]
PD#SWPL-188364

Problem:
thermal bringup of sc2 kernel612

Solution:
adjust driver code for kernel upgrade

Verify:
SC2

Change-Id: I4d60b9f55036d3e371f60eb43452eba943799d87
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-10-14 01:05:59 -07:00
Qianggui Song bb98885c84 pinctrl: export a class node for debug [1/1]
PD#SWPL-188373

Problem:
Some one need to debug pin function quickly

Solution:
1. remove debufs node for it need to mount debufs
2. create class node for this function
3. optimize code structure
4. add show_reg to dump register address and value

Verify:
txhd2 & sc2 & t7c

Change-Id: I510accd593ffb32394e5da2cc7f57ed994d182b5
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2024-10-13 22:55:59 -07:00
Chuan Liu 0e362aacaa cpufreq: Fix compilation errors [1/1]
PD#SWPL-188480

Problem:
cpufreq failed to compile

Solution:
Fixed

Verify:
sc2_ah212

Change-Id: I486da6f0ac946ccbe32bc432840ca3a4f666117d
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-10-12 05:44:58 -07:00
yiting.deng 67160ce194 clk: sc2: add pll od for 32bit [1/1]
PD#SWPL-188367

Problem:
fixedpll and hifipll get rate error in 32bit

Solution:
add od bit for fixedpll and hifipll support 32bit

Verify:
sc2_ah212

Change-Id: I3803457e101c70d52bbcd07a0b4943bc7a5cf865
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-10-12 05:42:57 -07:00
yiting.deng 7642a13591 mbox: sc2: kernel6.12 mbox 32bit bringup [1/1]
PD#SWPL-188363

Problem:
32bit mbox insmod failed

Solution:
fix mbox_sec dts reg config to adaptive 32bit

Verify:
sc2_ah212

Change-Id: I8a12e4ee3889993a417ca09cd4dac0077c2c14c1
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-10-11 23:58:39 -07:00
Dezhen Wang 51790a2f04 bringup: arm32bit on kernel6.12 [1/1]
PD#SWPL-188330

Problem:
arm32bit on kernel6.12

Solution:
1. modify build script
2. save defconfig for a32_base_defconfig
3. sync amlogic_gki.fragment to amlogic_a32.fragment
4. disable below configs:
CONFIG_AMLOGIC_FILE_CACHE
CONFIG_AMLOGIC_WIRELESS
CONFIG_AMLOGIC_MEMORY_EXTEND
CONFIG_AMLOGIC_PAGE_TRACE
CONFIG_AMLOGIC_SLAB_TRACE
CONFIG_AMLOGIC_CMA
CONFIG_AMLOGIC_VMAP

Verify:
local

Change-Id: I59089de925535a9999e808d0c98f7b49d9f86b82
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-10-10 21:22:47 -07:00
Dezhen Wang 4ee953122f scripts: 6.12 remove amlogic_gki_defconfig in common_drivers [1/1]
PD#SWPL-188205

Problem:
after add build parameter --config=fast, there will create extra
amlogic_gki_defconfig in common drivers dir

Solution:
delete extra file

Verify:
local

Change-Id: I29506df7d784553fddc9e59fda59d2030bbdcda7
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-10-09 19:33:04 -07:00
Wanwei Jiang a73692ccfe bringup: upgrade kernel from 6.11 to 6.12 [1/1]
PD#SWPL-188184

Problem:
upgrade kernel from 6.11 to 6.12

Solution:
AML_KERNEL_VERSION	3
UPSTREAM_VERSION	"5a81cc3248a2"
AML_PATCH_VERSION	"5a81cc3248a2"
MERGE_DATE		"2024-10-09"
1. modify build script
2. port auto patch and move common-mainline to common16-6.12
3. modify the code due to the change of
the remove output_poll_changed in struct drm_mode_config_funcs
4. modify the code due to the change of the remove GPIOF_DIR_OUT
5. modify the code due to the change of the remove no_llseek
6. modify the code due to the change of the struct fd
7. modify the code due to the change of the struct mem_cgroup_reclaim_iter
8. modify the code due to the change of the file unaligned.h

Verify:
local

Test:
bootup to console in fatload mode

Change-Id: I98629ea9e68fca121176682d31dc73b8a8c936f8
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-10-09 18:51:40 -07:00
Jianxiong Pan b09ac4c011 mm: add page trace. [1/1]
PD#SWPL-185599

Problem:
add page trace debug tool.

Solution:
add track info about allocate and free pages.

Verify:
sc2.

Change-Id: I9d9212dfc9d5d06ded3179502b1e02fe6accad05
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-09-29 16:38:52 +08:00
Wanwei Jiang 5b4ccd2e6a bringup: porting media dvb and audio modules [1/1]
PD#SWPL-183292

Problem:
porting media dvb and audio modules

Solution:
1. porting dvb auto patches
2. modify strlcpy() to strscpy()
3. remove the flag DRM_UNLOCKED, need owner to check
4. modify the code due to the change of
the remove function in struct platform_driver
5. add the header file of linux/vmalloc.h for vmalloc() and vfree()
6. modify files_lookup_fd_rcu() to task_lookup_next_fdget_rcu()
7. use shrinker_alloc() to alloc memory and initialize
8. modify __assign_str(dst, src) to __assign_str(dst)
9. modify asoc_rtd_to_cpu() to snd_soc_rtd_to_cpu()
10. modify pwm_apply_state() to pwm_apply_might_sleep()

Verify:
local

Test:
probe success

Change-Id: I6105f65f79ee4a2c197fd6305f59fa064b583d6b
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-09-26 19:20:48 +08:00
Wanwei Jiang 911eeadc02 bringup: upgrade kernel from 6.6.10 to 6.6.11 [1/1]
PD#SWPL-183292

Problem:
upgrade kernel from 6.6.10 to 6.6.11

Solution:
1. modify auto patches
2. modify the code due to the change of
the remove function in struct platform_driver
3. modify the code due to the change of
the match function in struct bus_type
4. modify some page function to folio function
5. modify spi module due to some functions changed

Verify:
local

Change-Id: I92c266b6a1bbae363abd0ff50d7f3037e90bc624
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-09-26 15:05:50 +08:00
Junyi Zhao 9fe0727ebb pwm: sc2 bringup pwm on kernel6.12 [1/1]
PD#SWPL-185502

Problem:
sc2 bringup pwm on kernel6.12

Solution:
Suitable for the pwm driver

Verify:
sc2_ah21

Change-Id: Ic12b347e91969136938011890b4e5babe72deca1
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-09-25 15:27:50 +08:00
Wanwei Jiang 621ac2f55c bringup: porting usb and wireless modules [1/1]
PD#SWPL-183292

Problem:
porting usb and wireless modules

Solution:
1. porting usb and wireless modules
2. setting the default value of CONFIG_AMLOGIC_KERNEL_VERSION as 16612
3. modify the reset Makefile

Verify:
local

Change-Id: Ie3c99a75a1f3f439ebaa8d5cc852a654465fb379
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-09-14 19:27:18 -07:00
Feng Chen 4fb1e346d7 spi: updates from tag spi-v6.11 [1/1]
PD#SWPL-185086

Problem:
spi building error.

Solution:
porting changes from spi-v6.11 core:
- spi_device
1.Single chipselect -> Array of physical chipselect
2.Single gpio_desc -> Array of GPIO descriptors
3.GPIO cs only use gpio_desc relate interface

- spi_message
1.delete is_dma_mapped flag

- spi_transfer
1.add tx/rx sg dma mapped flag

- remove Compatibility layer
1.spi_master -> spi_controller
2.spi_master_get_devdata -> spi_controller_get_devdata
3.spi_master_get -> spi_controller_get
...

Verify:
Local.

Change-Id: I7d2ee96cd9a09c67892ba9a2233580cf258e6813
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2024-09-14 11:56:35 +08:00
Junyi Zhao f8d6b8d921 pwm: sc2 bringup pwm on kernel6.12 [1/1]
PD#SWPL-185502

Problem:
sc2 bringup pwm on kernel6.12

Solution:
Suitable for the pwm driver

Verify:
sc2_ah212

Change-Id: I8ce577d3659f73f6c844f4229f68dc51bcc99ec8
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-09-13 04:38:58 -07:00
Jianxiong Pan d193aaf4b7 mm: add aml_cma. [1/1]
PD#SWPL-185599

Problem:
add aml cma module.

Solution:
cma multi-core allocation
add more debugging information

Verify:
sc2.

Change-Id: I019b56395206404478eaf3c53581c3fb709bb0f8
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-09-13 03:52:37 -07:00