Commit Graph

6145 Commits

Author SHA1 Message Date
xiane 4baa975840 ANDROID: ODROID-C5: aml_erofs: Avoid symbol fix.
- generic_ro_fops, posix_acl_access_xattr_handler and
  posix_acl_default_xattr_handler.

Change-Id: I556303d05d3f0b1058d5d2023084a8006875df78
Signed-off-by: xiane <sangch.go@gmail.com>
2025-06-11 14:34:30 +09:00
shinys000114 65d8299701 ODROID-C5: dtbo: i2c: Add i2c overlays
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: Ib808b5af934e13336fea2b534dac18fc1b4f59a3
2025-06-11 14:34:30 +09:00
shinys000114 b90a684add ODROID-C5: dts: spi: Set aliase spicc0 to spi0
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I1bbc63bab284b7bc38e619c518e2b8a3108f18ec
2025-06-11 14:34:30 +09:00
shinys000114 e45bda8963 ODROID-C5: dtbo: Add uart A, C, D overlays
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I3496b865f60a77c2d3a8f0288b3d3bb984e18e71
2025-06-11 14:34:30 +09:00
shinys000114 49c21ebcf0 ODROID-C5: dtbo: add SPDIF_A overlay
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I520871c473f0ff28300be82124fa31864538b129
2025-06-11 14:34:30 +09:00
shinys000114 baa2ab5cb7 ODROID-C5: dtbo: Add PWM overlays
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I87917eb212333819a53d6a6945927fa6cc28a0c8
2025-06-11 14:34:30 +09:00
codewalkerster bc7d5e9265 ODROID-C5: Add device tree overlay support
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: Ia262c79d51baa8ce2a4d4991683294ee9910ddef
2025-06-11 14:34:23 +09:00
Dongjin Kim 3ed9d5d67e (DO NOT MERGE) Fix compile error when 'CONFIG_AMLOGIC_ETH_PRIVE' is not defined
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I8efc6577c3d3aee097ad1e808351c242a9422f44
2025-06-11 14:33:52 +09:00
shinys000114 17789be9d8 ODROID-C5: dts: Disabled UART_A default.
- uart_a disabled
- uart_a cts, rts disabled

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I27ab1c3f0012857f93c73e3322e8362e0d0ce63b
2025-06-11 14:33:52 +09:00
xiane 47b0ad8805 ANDROID: ODROID-C5: arm64/configs: Add gpiomem.
Change-Id: Ie3d86200c263b86763f49fa8cd4768daa128248d
Signed-off-by: xiane <sangch.go@gmail.com>
2025-06-11 14:33:52 +09:00
shinys000114 6e82f1097f ODROID-C5: gpiomem: Add /dev/gpiomem support
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: Ib2db5e6b013e6e3d5fb6da2410f12f3bfd79644f
2025-06-11 14:33:52 +09:00
shinys000114 f6fe6e2d57 ODROID-C5: gpio: Add gpio line names
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: Ieb2da3c8c3968b0f08a2d64b482096cd45f8c12a
2025-06-11 14:33:52 +09:00
shinys000114 97b14ce5d3 ODROID-C5: pwm: Add pwm support
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I5743ac6c8ce0ae01ba446b657887c5cd5b0144b8
2025-06-11 14:33:52 +09:00
shinys000114 05a3baabbb ODROID-C5: i2c: Add i2c support
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I339867c985294746d28f62c9985539287e93b0cd
2025-06-11 14:33:52 +09:00
xiane 9ff0e67149 ODROID-C5: arm64/dts: android: Add android dts.
Change-Id: Ibc7298e06bade1616393114e23e460cb00faec0d
Signed-off-by: xiane <sangch.go@gmail.com>
2025-06-11 14:33:52 +09:00
codewalkerster 60b942b593 ANDROID: ODROID: Add led trigger abis.
Change-Id: I7e5110ebb76446bcd334c41db6197312da8ee8a2
Signed-off-by: xiane <sangch.go@gmail.com>
2025-06-11 14:33:11 +09:00
shinys000114 793ce266c3 ODROID-C5: gpio_leds: Add blue/red leds
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I685e08390426325cfae4002610b48c5ecf643edd
2025-06-11 14:32:30 +09:00
xiane e85e9281aa ODROID-C5: arm64/dts: disabled sdio.
Change-Id: Ica4e04e78dd0ba8f652526184ae12eaee78dd985
Signed-off-by: xiane <sangch.go@gmail.com>
2025-06-11 14:32:30 +09:00
xiane 0d399b0055 ODROID-C5: arm64/dts: Set audio config.
- remove unused audio card: builtinmic and loopback.
- disabled unused node: pdma, loopbacka.

Change-Id: I172677e9739d14099ef2f30c31d8013c6ebd521d
2025-06-11 14:32:30 +09:00
xiane cbbc7ec00d ODROID-C5: arm64/dts: Removed unused nodes.
- adc_keypad, dvb_s_ts0_pins, gpio_keypad, pcie and vdin*.

Change-Id: I7d369debce4717fe1617b1787504fa1b8ffecd50
Signed-off-by: xiane <sangch.go@gmail.com>
2025-06-11 14:32:30 +09:00
Dongjin Kim 80e3f5bb29 ODROID-C5: very first minimal device tree
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2025-06-11 14:32:30 +09:00
Dongjin Kim 8ea7164d2b ODROID-C5: arm64/dts: meson-s7d: fix node 'eth' override problem
The node name 'eth' is already defined earlier, so the same node name
will override with the new pin mux that leads malfunction.

	eth_pins: eth {
		mux {
			...
		};
	};

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2025-06-11 14:32:30 +09:00
Dongjin Kim cd890ca345 ODROID-C5: Add '.gitignore'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ia4054f322be0b3a39521ed8313784669b4e822aa
2025-06-11 14:32:30 +09:00
chao.zhang a3d94dea52 pwm table: fix cpu pwm regulator config [1/1]
PD#SWPL-195669

Problem:
fix s6 cpu pwm regulator config

Solution:
fix regulator config

Verify:
s6

Change-Id: Ifdff3741e3255fa50c4c3b33f7a8cecaccc15e6e
Signed-off-by: chao.zhang <chao.zhang@amlogic.com>
2025-06-09 13:54:50 +09:00
chao.zhang 007b544ff4 pdvfs: need add tt cpu voltage of s6 [1/2]
PD#SWPL-211171

Problem:
need add tt cpu voltage for slt yield

Solution:
add tt2 cpu pdvfs table

Verify:
s6

Change-Id: Ia6ee701e07bef9a640a2b30ce15d3ace5b1f527a
Signed-off-by: chao.zhang <chao.zhang@amlogic.com>
2025-06-09 13:54:50 +09:00
zhenteng.tian 089e0f8c5b vc: send 10bit YUV data to vpp. [1/1]
PD#SWPL-192244

Problem:
vc need to send 10bit YUV data to vpp

Solution:
send 10bit YUV data to vpp

Verify:
T5M

Change-Id: Ie7c62c539b5af5f10d40fddce55afa6165fcd5a7
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2025-06-09 13:54:50 +09:00
Wenjie Qiao 87a35d0fe9 hdmitx: revert 463048 [1/1]
PD#SWPL-150260

Problem:
nts fail, ddp test fail

Solution:
revert hdmitx cl: 463048
the cl had resolved nts fail issue: 469109

Verify:
sc2

Test:
DRM-TX-33 DRM-TX-86

Change-Id: Ifca703b59646d52b3944cdf637b8a39e7f3455a3
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2025-06-09 13:54:50 +09:00
qinghui.jiang 5679183e30 amvecm: add patch for dejaggy [1/1]
PD#SWPL-211544

Problem:
dejaggy enable control conflict.

Solution:
add patch for dejaggy.

Verify:
S905X5

Change-Id: I5d7d995de0c19232c014a5eef94b3c51ecaadd83
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2025-06-09 13:54:49 +09:00
pengzhao.liu 9bb18cc229 kernel: add s6 dts for s905c5 [1/1]
PD#SWPL-198087

Problem:
add s6 dts for s905c5

Solution:
add s6 dts for s905c5

Verify:
s6

Change-Id: I8eee2bdf9a4756a4f365984d5b711101ac5bba4e
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
Signed-off-by: gongwei.chen <gongwei.chen@amlogic.com>
2025-06-09 13:54:49 +09:00
chuangcheng.peng 9f59cc0d49 demux: support PASS algo for scb0 [1/1]
PD#SWPL-202145

Problem:
support PASS algo for scb0

Solution:
support PASS algo for scb0

Verify:
not verified at S6

Change-Id: I4f2c6be9ee7d933937a49cbc519e7b61293e89e5
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
(cherry picked from commit c43b59626cc6be2a475611d994f44fa0c78f0bdb)
2025-06-09 13:54:49 +09:00
lele xiang 14830f550f Codec_mm: CB1 ui audio gap due to cma task occupy cpu. [1/2]
PD#SWPL-210800

Problem:
TVP pools smaller than 16MB cannot be set successfully..

Solution:
Adjust the minimum parameter of tvp_pool to 8MB.

Verify:
S7

Change-Id: I6230ec99ada3c6caedf6984a3546c64d407082f6
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2025-06-09 13:54:49 +09:00
wei wang 2198cd74bd remote: support a new key [1/3]
PD#SWPL-206536

Problem:
the remote has a new button

Solution:
support it

Verify:
Verify it on ohm_wv4

Change-Id: Ie10df98837d613811e4f0d5c5388f39986214884
Signed-off-by: wei wang <wei.wang@amlogic.com>
2025-06-09 13:54:49 +09:00
Jianxiong Pan c94ab82f9c mlock: skip the mlock optimization for rt thread. [1/2]
PD#SWPL-208030

Problem:
mlock optimization affects the performance of the rt threads.

Solution:
skip mlock optimization for rt threads.

Verify:
local.

Change-Id: Idb128ae0cc1346edfa0d649b4e0e17ab4b71860e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-06-09 13:54:49 +09:00
qinglin.li 86fbdbd064 project: add amlogic_kernel_select.bzl [1/1]
PD#SWPL-208157

Problem:
add amlogic_kernel_select.bzl to select kernel_build

Solution:
add amlogic_kernel_select.bzl to select kernel_build

Verify:
local

Change-Id: Ic20221862093350b5d76c7f55525c6cd7607ba14
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-06-09 13:54:49 +09:00
Shuai Li aa3af31fc7 audio: delete tdmc samesource for soundbar [2/2]
PD#SWPL-210395

Problem:
TDMC samesource flag is wrong for soundbar board.

Solution:
Add dts config to delete the samesource property in dtsi.

Verify:
raman X5 soundbar

Change-Id: Ibe500a7880c7b0a373c45596d6dec33597945a3c
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2025-06-09 13:54:49 +09:00
yiting.deng e234c50348 clk: s7: fix hevcf no output after enabled [1/1]
PD#SWPL-210177
PD#OTT-77737

Problem:
after hevcf clk setted rate, the loop is enabled/disabled, and
there is a probability that no output after clk is enabled
and check pass.

Solution:
after testing, it is found that it may be related to accuracy
of software delay 1ms, and delay of check is increased to 1.2ms

Verify:
s805x3

Change-Id: I733dd8dbdc6c4849fd3e39c87e34098d08bfe6fa
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2025-06-09 13:54:49 +09:00
he.he ab685b548e usb: save some parameters and handle dma=0 [1/1]
PD#SWPL-202732

Problem:
ERROR Transfer event TRB DMA ptr not

Solution:
save some parameters and handle dma=0

Verify:
T6D

Change-Id: I237868a870357ff8fb2de3e50a19432db3d52924
Signed-off-by: he.he <he.he@amlogic.com>
2025-06-09 13:54:49 +09:00
dian.shao 413260d6ed usb: crg udc stop ep timeout dead lock fix [1/1]
PD#SWPL-190054

Problem:
Crg udc stop ep timeout leads to dead lock.

Solution:
Abort if stuck.

Verify:
Customer projects.

Change-Id: I902e187e4f98b7f8dfc84d3311e4b315772f9391
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-06-09 13:54:49 +09:00
dian.shao cc6f090587 usb: t6d phy disc&squelch trim [1/1]
PD#SWPL-201200

Problem:
T6D phy disc&squelch trim.

Solution:
Set to max.

Verify:
T6D.

Change-Id: Iead699486b3f2bf2281d326c6bc6a01c335f61e5
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-06-09 13:54:49 +09:00
dian.shao aaea86117d usb: t6d udc remain power [1/1]
PD#SWPL-199585

Problem:
Seems off the power leads to
reinit bugs.

Solution:
Maintain the power.

Verify:
br301.

Change-Id: I6873e74ee4a4f6b614fa22a77270c38fd65f4e2d
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-06-09 13:54:49 +09:00
dian.shao 262d214ae8 usb: dwc2 std cancel err [1/1]
PD#SWPL-200276

Problem:
usb:dwc2 std cancel err.

Solution:
Fix workqueue alloc.

Verify:
br301.

Change-Id: I3948718f1045ce223715e91f6f61c9af94a994ac
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-06-09 13:54:49 +09:00
dian.shao b82b2fe0f0 usb: t6d resume err [1/1]
PD#SWPL-199440

Problem:
{Yocto-sdk}[T6d][stability-test]
t6d autosuspend test 1.5 h
amlogic-usb crash

Solution:
Refine crg udc remove.

Verify:
br301.

Change-Id: I1d62ed542e72cc5294736c5933669e35e218119e
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-06-09 13:54:49 +09:00
dian.shao c330821a7b usb: crg udc vmap leaks [1/1]
PD#SWPL-185878

Problem:
vmap allocation fail.

Solution:
Don't use devm_ioremap.
Release in remove.

Verify:
t950s

Change-Id: Ie3bd5a842b00f238f0f045f0441349e8556c1155
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-06-09 13:54:49 +09:00
dian.shao 16b1727b97 usb: t3 std [1/1]
PD#SWPL-194747

Problem:
T3 dwc pcd std not supported.

Solution:
Add std driver.

Verify:
T3.

Change-Id: I00e5fd0eb56a1de75a02d5d1a048030e5b223a3f
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-06-09 13:54:49 +09:00
dian.shao 24ba681814 usb: dwc2 shutdown err [1/1]
PD#SWPL-195276

Problem:
dwc_otg_flush_tx_fifo() HANG
dwc_otg_flush_rx_fifo() HANG

Solution:
cancel disconnect detect work.

Verify:
sc2

Change-Id: I1e01eaabd8fa1921933ddec11e0e5f38b31d4996
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-06-09 13:54:49 +09:00
dian.shao 5f0a2dda0a usb: m31 phy&crgu3drd role switch feature [1/1]
PD#SWPL-194901

Problem:
m31 phy&crgu3drd role switch feature.

Solution:
m31 phy driver updates.

Verify:
s5 t5m t3x.

Change-Id: Ic395e4fcc01549f9cda51acb321e843fbd578607
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-06-09 13:54:48 +09:00
dian.shao a95f53c607 usb: refactor crg controller reset control [1/1]
PD#SWPL-194742

Problem:
Current newly added usb controller power control in the
v0 usb2 phy driver is messy and err-prone due to code
regression issues.(i.e. any soc whose phy dts node is found
to contain the "pm-controller" will set resel level to low
in the crg_eixt path but the old version crg_udc driver does
not set it high again.)

Solution:
Refactor reset control logic to call
amlogic_crg_drd_usb2_set_controller_power
only in the controller driver.

Verify:
s6.

Change-Id: I7f635e72b2524dbdf917881913098db8d5b9a714
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-06-09 13:54:48 +09:00
dian.shao 9f3913accd usb: t6d usb2 phy disconnect trim [1/1]
PD#SWPL-193378

Problem:
t6d usb2 phy disconnect trim not
appropriate.

Solution:
change to 0x5

Verify:
t6d.

Change-Id: I4cc8c51788f5f3e745374e356d147daaf4461956
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-06-09 13:54:48 +09:00
he.he 6bf9589cbc usb: clean usb coverity [1/1]
PD#SWPL-190835

Problem:
clean usb coverity

Solution:
clean usb coverity

Verify:
all

Change-Id: I0522381ae418c83e1024c4edc1ca31eec2f6870b
Signed-off-by: he.he <he.he@amlogic.com>
2025-06-09 13:54:48 +09:00
dian.shao 932f9d56be usb: crg udc wakeup source needed in reinit scheme [1/1]
PD#SWPL-187367

Problem:
Suspend resume panic.

Solution:
Wakeup source.

Verify:
t6d

Change-Id: I317ab483c17a1320b80cc588133042a215f39c73
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2025-06-09 13:54:48 +09:00