Commit Graph

773 Commits

Author SHA1 Message Date
lizhi.hu e5756c01e4 lcd: fix lcd/bl irq resource [1/1]
PD#SWPL-203330

Problem:
irq res not acquired

Solution:
change api

Verify:
t7_an400

Change-Id: Ie4202ce0d114480cbe95aca98784d92462f1ccb4
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2025-03-12 22:07:15 -08:00
ruofei.zhao a06e95d614 hdmitx: add tracer uevent [1/1]
PD#SWPL-200879

Problem:
hwc cannot read the correct tracer information

Solution:
modify the reported tracer information

Verify:
S905X4

Test:
DRM-TX-78

Change-Id: I42a7848184de41f6d6d56cb4f4260b2cd58c98bf
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-03-12 22:06:43 -08:00
ruofei.zhao db77574b73 hdmitx: delete hdr_cap2/dv_cap2 [1/1]
PD#SWPL-92409

Problem:
hdmitx only provides HDR/DV support information of TV

Solution:
delete hdr_cap2/dv_cap2 nodes, change hdr_cap/dv_cap to
hdr_cap_rx/dv_cap_rx

Verify:
ADT4

Test:
DRM-TX-78

Change-Id: I6d74972e094fd11f128538b7fa8ae3b5f4d7c1ea
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-03-12 22:05:34 -08:00
Dezhi Kong f1bee25ea7 uvm: sync uvm buffer size with realloc [1/1]
PD#SWPL-198297

Problem:
uvm buffer size dynamic change will affect video play

Solution:
sync uvm buffer size with realloc
add a interface for decoder get uvm-dmabuf real size
sync k5.15 CL to k6.12:
https://scgit.amlogic.com/#/c/335879/

Verify:
adt4 android16 k6.12

Change-Id: I2f840c73df0682fb08f2267ee848533373aec0e9
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
2025-03-12 22:05:02 -08:00
xiang.wu1 bbb7a0461b hdmitx: optimize sysfs nodes [1/1]
PD#SWPL-203013

Problem:
optimize sysfs nodes

Solution:
1.Some sysfs nodes used for debugging are moved to the debug node.
2.Clear the global/static variables under hdmitx_sysfs_common.c
and use dev_set_drvdata(); dev_get_drvdata() to set the parameters
required by dev

Verify:
sc2/s7d

Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82

Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
Change-Id: I8716615c24749caadeb9be168896919091850ce7
2025-03-11 04:03:10 -08:00
lizhi.hu 43a1d3493e lcd: support dsi cmd read while video [1/1]
PD#SWPL-203981

Problem:
max_rd_time set error

Solution:
fix max_rd_time

Verify:
t7_an400
s6_bq201

Change-Id: I1f15aba15b9238088320049e3997cf1c113ce01e
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2025-03-11 00:58:52 -08:00
ruofei.zhao 0e8ecd352d hdmitx: the header file is placed in the driver directory [1/1]
PD#SWPL-203140

Problem:
header files are not available to the public

Solution:
move hdmitx_audio.h and hdmitx_version.h to driver directory

Verify:
S905X5M

Test:
DRM-TX-78

Change-Id: I4094740e56fd7e06bbde2eb3d54d415c4a428aff
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-03-07 06:05:03 -08:00
xiang.wu1 b30b612637 hdmitx: use macro to diff uboot/kernel header file [2/2]
PD#SWPL-202947

Problem:
use macro to diff uboot/kernel header file

Solution:
1、use __UBOOT__ macro to distinguish uboot/kernel
header file
2、remove edid_parse_header.h/edid_header.h

Verify:
sc2/s7d

Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82

Change-Id: Iec9703e0779fab5263c3c13ce3e1670d14fa0552
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2025-03-07 10:04:14 +08:00
xiang.wu1 7dce6b5239 hdmitx: add hdmitx_dump node [1/2]
PD#SWPL-141600

Problem:
Implement hdmitx dump node in the proc directory
and dump all hdmitx information

Solution:
Add hdmitx_dump node in proc and debug directory
Delete sysfs nodes such as hdmitx_basic_config, clkmsr,
hdmitx_pkt_dump, hdmirx_info etc.

Verify:
sc2/s7d

Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82

Verify:
(detail info)

Change-Id: I30bf6beff92c3a238786a028bc3469b62b56e674
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2025-03-06 02:14:20 -08:00
Evoke Zhang 6add4804e3 lcd: support enable lcd_if with different resume_type [1/1]
PD#SWPL-151191

Problem:
need support lcd_if early resume

Solution:
support lcd_if resume method by resume_type parameter

Verify:
ay301

Change-Id: If26fb11ac63ead8272c6e7f9c964483281398a20
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-03-05 20:04:30 -08:00
lizhi.hu 59ddaab427 lcd: MIPI-DSI develop(D-PHY & dual_port) [1/1]
PD#SWPL-54377

Problem:
improve D-PHY timing accuracy
support 2 port DSI on t7

Solution:
add

Verify:
t7_an400

Change-Id: I07cef4baa027872f03d55d8fda0c8ae73055e7ec
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2025-03-04 04:03:28 -08:00
Evoke Zhang 41a5105563 lcd: optimize vbyone interrupt handler [1/1]
PD#SWPL-202606

Problem:
need optimize vbyone interrupt handler

Solution:
optimize vbyone interrupt handler

Verify:
ay301

Change-Id: Ibf3ecbb41a873d5cf070c5e519ea601ce867cd84
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-02-28 21:47:01 -08:00
lizhi.hu 810a2172fc lcd: remove multi vout server regist (sync) [1/1]
PD#SWPL-202530

Problem:
vout module has only 1 server now

Solution:
remove multi vout server regist
remove panel mode support

Verify:
s6

Change-Id: Iaa025564c9d513957693a4d36aa533406964f3a0
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2025-02-28 03:47:51 -08:00
congyang.huang 331cad715f vout: dynamic switch viu and connector [1/1]
PD#SWPL-201190

Problem:
vout and drm need to support dynamic switch between viu and connector

Solution:
1.vout add global vout arch
2.vout modify vout_func_validate_vmode func to find vout_server by
connector_type and mode_name
3.drm support dynamic switch

Verify:
t7c s6

Test:
DRM-OSD-44

Change-Id: I31bd97f42947c6a2db8f0ae5d3ead4af196683e3
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2025-02-28 03:47:38 -08:00
Huiwen Yu 60be92bf72 atv_demod: Revert V4.02 commit (V4.03) [1/2]
PD#SWPL-193956

Problem:
Revert "add ops callbacks mutex and state callbacks for tvafe (V4.02)".

Solution:
Revert "add ops callbacks mutex and state callbacks for tvafe (V4.02)"
AMLATVDEMOD_VER "V4.03".

Verify:
T5M/TXHD2.

This reverts commit 856293324e.

Change-Id: I3d90b96bfce0d1033c3518ab86997b9e28450d17
Signed-off-by: huiwen.yu <huiwen.yu@amlogic.com>
2025-02-24 04:13:12 -08:00
nengwen.chen 48ad0b0ed1 atv_demod: add ops callbacks mutex and state callbacks for tvafe (V4.02) [1/2]
PD#SWPL-192795

Problem:
add ops callbacks mutex and state callbacks for tvafe.

Solution:
add ops callbacks mutex.
add aml_fe_get_atvdemod_state.
AMLATVDEMOD_VER "V4.02".

Verify:
T5M/TXHD2.

Change-Id: I04f252afc965b3d023bf0c1f08bf242736ba0827
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2025-02-23 19:59:44 -08:00
Wenjie Qiao d96a2d1dfc hdmitx: read edid fail [1/2]
PD#SWPL-201983

Problem:
read edid fail

Solution:
when can not read edid, reduce i2c clk 75k to 37.5k,
and read edid again, read edid end and recovery
i2c clk 37.5k to 75k

Verify:
s7d/s5

Test:
DRM-TX-38 DRM-TX-104

Change-Id: I3b24b24d6dab7291105e972fe3f46e514968c453
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2025-02-20 05:59:17 -08:00
Hao Shi 9f984ce199 codec_mm: remove kallsyms_lookup_name from codec_mm [1/1]
PD#SWPL-196432

Problem:
1.CONFIG_KALLSYMS_ALL will be closed
2.unlock when alloc failed in multi_task_alloc_pages

Solution:
1.get mte_sync_tags from kallsyms and
remove kallsyms_lookup_name from codec_mm
2.break with unlock

Verify:
sc2

Change-Id: I933d194bd1e7a933c3abd836a2f81aa3f7b16cb3
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2025-02-20 02:41:50 -08:00
zhou.han 9b306fc8fb hdmitx: update hdmitx version to 20250211 [1/1]
PD#SWPL-200629

Problem:
update hdmitx version for release

Solution:
update hdmitx version to 20250211

Verify:
BM201-S905X5M

Test:
DRM-TX-40

Change-Id: Iea0604e2c69d60dfc14e1d94186138dd940d6b9b
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2025-02-18 21:59:34 -08:00
Peng Yixin 8d92b08f12 media_module: CF1 Setting eos state [1/2]
PD#SWPL-197453

Problem:
It is not clear whether es data has
been all consumed, and EOS state need
be set

Solution:
Set eos state for user space
to read

Verify:
OHM

Change-Id: I7aeb977f8162a3420505f701ec5fbb4f54b9a6a7
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
2025-02-18 02:13:07 -08:00
mingliang.dong da81e2807a amvecm: add eyeprotect support for dv sink-led output [1/1]
PD#SWPL-202147

Problem:
dv2.6 sink-led ipt output,eye protect function not work

Solution:
add eyeprotect support for dv sink-led output

Verify:
s905x4

Change-Id: Ie1cb7da3bf2e8e2176f26775104d28c581c2ddf0
Signed-off-by: mingliang.dong <mingliang.dong@amlogic.com>
2025-02-17 20:19:34 -08:00
ruofei.zhao b6f9d877d5 hdmitx: sync hdmitx_edid_parse.c from 5.15 to 6.12 [1/1]
PD#SWPL-202413

Problem:
hdmitx_edid_parse.c of kernel 6.12 and kernel 5.15 should be the same

Solution:
sync hdmitx_edid_parse.c from 5.15 to 6.12

Verify:
S905X5M

Test:
DRM-TX-78

Change-Id: I577cf97858d6e1a1670d18c0b5a531ba385a3309
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-02-17 19:17:47 -08:00
qinglin.li 7766802d64 upgrade: kernel6.12 upgrade [1/1]
PD#SWPL-201584

Problem:
kernel6.12 upgrade

Solution:
AML_KERNEL_VERSION      6
UPSTREAM_VERSION        "fc99bcd94b4d"
AML_PATCH_VERSION       "fc99bcd94b4d"
MERGE_DATE              "2025-02-13"

Verify:
local

Change-Id: I0c5aa8d45f0f76be16bfc38012b62408c5d53c16
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-02-13 22:11:20 -08:00
ruofei.zhao 1e538db635 hdmitx: add hdmitx_clear_all_infoframes_pkt api [1/1]
PD#SWPL-198189

Problem:
optimize clear_pkt api

Solution:
add hdmitx_clear_all_infoframes_pkt api

Verify:
S905X5M

Test:
DRM-TX-78

Change-Id: I4a0d7eaf12aa6a8c899b6dbaf564fbb3fdbf4175
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-02-13 04:03:52 -08:00
xiang.wu1 efa0587618 hdmitx: optimization debug command [1/1]
PD#SWPL-197204

Problem:
optimization debug command

Solution:
Add hw/sw prefix for command to distinguish sw/hw debug method

Verify:
sc2/s7d

Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82

Change-Id: I2cd42f1a7f50039051b3d2dadbdc162ac4c9c624
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2025-02-13 02:20:04 -08:00
lele xiang 1828d63b19 codec_mm: CF1 Prealloc Mechanism based on multi decoder instance. [1/2]
PD#SWPL-188671

Problem:
Prealloc Mechanism based on multi decoder instance.

Solution:
Add an instance number attribute to adapt the pre-allocation mechanism
in multi-channel scenarios.

Verify:
T6d

Change-Id: Iec0248a761903816e4a11373ed34fb0b5cde1532
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2025-02-12 17:23:11 -08:00
dian.shao e821e90c94 usb: k6.12 s6 bringup [1/1]
PD#SWPL-201554

Problem:
k6.12 usb
bringup

Solution:
Porting phy driver.

Verify:
bl201.

Change-Id: Iee0fdae4fd425a3ff1eb5388348ebeb5aa1ef5af
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-02-12 05:56:40 -08:00
Evoke Zhang 45f1e4f7c8 lcd: add check_retry and exit cmd support [2/2]
PD#SWPL-197863

Problem:
need support check_retry and exit logic for more lcd_extern usage

Solution:
add check_retry and exit cmd support

Verify:
ay301

Change-Id: I5e0fab730cffc1d6994b444d5152777552f83304
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-02-12 00:20:04 -08:00
Evoke Zhang 66aa3177a2 lcd: update bootargs transfer to kernel via lrm [2/2]
PD#SWPL-198192

Problem:
need transmit lcd bootargs to kernel

Solution:
update lcd bootargs transfer to kernel via lrm

Verify:
ay301

Change-Id: I662951fffd6aa14cb565ad0fb055986f900425f3
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-02-11 20:23:12 -08:00
dian.shao 19f2fd2f54 usb: sc2 k6.12 bringup [1/1]
PD#SWPL-199348

Problem:
USB
-PHY
-K6.12 Porting sc2

Solution:
Drivers&dts

Verify:

Change-Id: Ie5807e6963cb451e284264ee12fcebb54693e744
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-02-11 06:05:12 -08:00
Yongjie Zhu c15099ca04 ion: optimize the address path of dev_ion.h [1/1]
PD#SWPL-201548

Problem:
different modules use different address path
of dev_ion.h

Solution:
move dev_ion.h to include/linux/amlogic/media/,
unify the address path of dev_ion.h

Verify:
ohm_wv4

Test:
kernel compile pass

Change-Id: I1c25128d86d36e4c5d0ea8dbd00c1872f0aac9d6
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2025-02-11 03:02:07 -08:00
yao liu 3780ac6dab amdv: bypass eyeprotect in sink-led [1/1]
PD#SWPL-198828

Problem:
switch eye protect mode, color not change when dv enable

Solution:
add eye protect support when dv enable, except sink-led

Verify:
s905x4

Change-Id: I8e9a2d805cf6f1cd21410a86046d6779e5dec51f
Signed-off-by: yao liu <yao.liu@amlogic.com>
2025-02-11 01:12:55 -08:00
nengwen.chen 219d275a03 dvb_extern: update code from 5.15 [1/1]
PD#SWPL-196435

Problem:
update code from 5.15

Solution:
update code from 5.15

Verify:
ohm.

Change-Id: I0f14179b5113f21c9cde0bfcaf324a386415661d
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2025-02-11 01:12:21 -08:00
shuanshuan.jiang 9641078c72 camera: fix build error [2/3]
PD#SWPL-201019

Problem:
build error

Solution:
fix build error

Verify:
local

Change-Id: Iff0506cca2a308b576a2764caf570a818288b230
Signed-off-by: shuanshuan.jiang <shuanshuan.jiang@amlogic.com>
2025-02-05 03:03:15 -08:00
zijie.lin ee479dfb1e lcd: porting from 5.15 to 6.12 [1/1]
PD#SWPL-196854

Problem:
ldim/tcon ko build failed

Solution:
main info
1. porting code from 5.15 to 6.12
2. last CL:500745
3. delete EDP related code
4. do not support unifykey

Verify:
sc2/s7d

Change-Id: I71b2e6a644373d2aaffa33bb783d4d2270b6e9d3
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
2025-01-20 20:05:19 -08:00
he.he 61bc41d118 usb: add role file conrtol the usb mode [1/1]
PD#SWPL-196779

Problem:
add role file conrtol the usb mode:
/sys/class/usb_role/drd-role-switch/role

Solution:
add role file conrtol the usb mode:
/sys/class/usb_role/drd-role-switch/role

Verify:
crg usb

Change-Id: I471ea5d28cf8e70544d4add9b49b074f6dd56c54
Signed-off-by: he.he <he.he@amlogic.com>
2025-01-20 02:09:54 -08:00
xiang.wu1 29d69eba80 hdmitx: kernel 6.12 optimize code architecture [1/1]
PD#SWPL-199409
PD#SWPL-197196

Problem:
kernel 6.12 optimize code architecture

Solution:
hdmitx20 and 21 implement a common main entrance
hdmitx20 and 21 use common hdmitx_dev struct
Remove function pointer calls in drv.c
hdmitx: Implement a public main entrance
implement amhdmitx probe
implement amhdmitx remove
implement suspend/resume

Verify:
s905X4/s905X5M

Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82

Change-Id: Iddd4bcd97552f86a1c5fdd72f488705f9722c953
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2025-01-17 02:49:25 -08:00
dongqing.li bb84725f88 ramdump: memcpy 0-24MB on panic for ker-32bit [2/2]
PD#SWPL-192100

Problem:
The 32-bit kernel cannot use the ramdump function.
Because the .text section is typically at 0x00108000,
which will be overwritten by the BL2E/BL33 after
reboot. And the PC side is unable to parse it.

Solution:
1. After kernel panic, use DMA to copy the 0-24MB
region to the 0x09000000 area.
2. Reboot to bl33z, fill compress_section[1] with
the 0x09000000 region.
3. Analyze it using the same method as before.

Verify:
sc2

Change-Id: I3e22beb06321289c6643d3f05ec2d910d5ce0beb
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2025-01-16 00:17:41 -08:00
Junyi Zhao 19214dc984 pwm: open double channel for tee [1/1]
PD#SWPL-196869

Problem:
when pwm's clk be locked by tee, all pwm should follow tee.
so, should support wifi 32K on pwm tee module.
in case of clk of wifi's pwm channel being locked.

Solution:
add  double channel to match wifi 32K legacy used.

Verify:
s6

Change-Id: I09a0ccbdf191ed31f86a6e3fc006672368eedd15
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2025-01-15 17:43:18 -08:00
Jianxiong Pan cb0ac85dff mm: remove the memory related configs in vendor driver. [1/1]
PD#SWPL-199195

Problem:
prevent the driver from relying on common related configs.

Solution:
remove the memory related configs in vendor driver.

Verify:
local.

Test:
build pass.

Change-Id: Ibbc35ccbee708bb26ab6ecd41522302f309bbb37
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-01-14 22:54:39 -08:00
miaohong chen ecbdfd000b AVBCD: CF2 Support screenshot and crop features . [2/3]
PD#SWPL-197097

Problem:
Support screenshot and crop features for AVBCD Wrapper.

Solution:
Support screenshot and crop features for AVBCD Wrapper.
depend on cl:
507199

Verify:
AH212

Change-Id: I8d48a0b6fc750d9a6140b6c42dced09e0f37580b
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
2025-01-14 22:30:06 -08:00
can.zhang 51c2856004 amdv: sync 5.15 code, remove module_params [1/1]
PD#SWPL-195517

Problem:
need sync code

Solution:
sync code

Verify:
sc2

Change-Id: If79f37d852a9440c901479f0b58a2fab9ac22eae
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2025-01-14 19:03:58 -08:00
shipeng sun c6a18bfe1c dmabuf_manage: CF2 Support VP9/AV1 No Head [2/4]
PD#SWPL-195582

Problem:
Support VP9/AV1 No Head

Solution:
Support VP9/AV1 No Head

Verify:
SC2

Change-Id: I9b9a6dc28098141c56b9fb8282a977a48925551a
Signed-off-by: shipeng sun <shipeng.sun@amlogic.com>
(cherry picked from commit bf7c56d00e96e03869b2da3e6d33bd5c690f1445)
2025-01-13 18:28:05 -08:00
ruofei.zhao 6c14e1f027 hdmitx: optimize notify_hpd_status api [1/1]
PD#SWPL-199605

Problem:
hdmitx_bootup_notify_hpd_status and
hdmitx_common_notify_hpd_status functions are duplicated

Solution:
Delete hdmitx_bootup_notify_hpd_status and
use hdmitx_common_notify_hpd_status

Verify:
S905X5M

Test:
DRM-TX-78

Change-Id: I67d00852494dce404f36615ec15bf4fcc60cc1ca
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-01-13 18:27:51 -08:00
Pengcheng Chen cfea629e55 vpp: modify is_tv_panel api [1/1]
PD#SWPL-190819

Problem:
modify is_tv_panel api

Solution:
modify is_tv_panel api

Verify:
s6

Change-Id: Id4b7e1218f978591726e7365b12a7e8a01f262c9
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
(cherry picked from commit 9501ec66d72460f1c8583dc0794cb3816a3a80a7)
2025-01-12 22:20:31 -08:00
hai.cao 3b828621f4 rdma: optimize rdma write time consuming [1/1]
PD#SWPL-199460

Problem:
sync rdma optimize code

Solution:
sync rdma optimize code

Verify:
all chip

Change-Id: Ifcb67aba168629ccf1bd3563fda10775d5d71ad0
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2025-01-10 02:57:12 -08:00
qiankun.wang 6f7b862c24 gki_module: add key_value common module_param_array function [1/1]
PD#SWPL-195506

Problem:
too many module_params_array extend boot time.

Solution:
Use key-val to obtain module_params_array information.

Verify:
sc2

Change-Id: I60b1c0b6f54d697747e393d2beb540f23a99a59c
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2025-01-08 22:20:49 -08:00
Tao Zeng 5adfcce57e amfc: sync driver from 5.15 for coverity [1/1]
PD#SWPL-198594

Problem:
coverity issues in amfc driver;

Solution:
1, fix coverity issues;
2, sync driver to support 576Mhz freq;
3, check if soc support amfc;

Verify:
local

Change-Id: Ie0afa615f09fc79e7e4757b5066f3f5aa008e944
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2025-01-07 22:14:16 -08:00
xiangyang.yan 61b3882fd0 eth: sync code from kernel5.15 to kernel6.12 [1/1]
PD#SWPL-197582

Problem:
sync code from kernel5.15 to kernel6.12

Solution:
sync code from kernel5.15 to kernel6.12

Verify:
S7D-S905X5M-BM201#070

Change-Id: I36100f3332297cc0e26fab4cf2013f2ff4fdd2d1
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2025-01-02 23:52:57 -08:00
dian.shao 6e629b1fc7 usb: Refactor usb phy driver [1/1]
PD#SWPL-197735

Problem:
USB phy drivers are messy.

Solution:
Refactor usb phy driver to use phy apis and
group soc-related ops together in separated
soc-tagged file.
Gather scattered dts phy nodes and use one
core phy driver to parse them.

Verify:
s905x5m.

Change-Id: Ie01a105ba77df2d1de50df1cf5ed82b81b8027e5
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-01-01 22:59:14 -08:00