Commit Graph

162 Commits

Author SHA1 Message Date
jian.hu 03c0bd6aae clk: fix global-out-of-bounds in rtc clk [1/1]
PD#SWPL-180321

Problem:
there is global-out-of-bounds

Solution:
1.fix rtc global-out-of-bounds
2.update rtc clocks

Verify:
t6d br301

Change-Id: I08ada01d6c055e6983a33b6c2db99e4c70125508
Signed-off-by: jian.hu <jian.hu@amlogic.com>
2024-08-22 14:27:53 +08:00
Junyi Zhao 8ac817f3bc led: dcon_led: add flip function and mode select [1/1]
PD#SWPL-180332

Problem:
add flip function for led
add data mode select for led

Solution:
add this config

Verify:
t6d br301
t5m ay301

Change-Id: Ice3e3ff86d2b0823e1f2b1aea852f4bafc9fd3b7
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-08-22 14:27:53 +08:00
hongyu.chen1 3b11400a3d Soc: T6D: add hwspinlock config. [3/3]
PD#SWPL-180596

Problem:
t6d need hwspinlock support.

Solution:
add hwspinlock config in kernel.

Verify:
BR301 & BR309

Change-Id: I03e61903b1a2ed3226b0ced593f3a018957a4195
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-08-22 14:27:52 +08:00
jian.hu 4733a6fb58 clk: add usb pll and usb clock [1/1]
PD#SWPL-180321

Problem:
there are no usb pll and usb clock

Solution:
add usb pll and usb clock

Verify:
t6d br301

Change-Id: I24f381493a3f8d7d3510252fdc35ab2eb9b09b7e
Signed-off-by: jian.hu <jian.hu@amlogic.com>
2024-08-22 14:27:52 +08:00
Huqiang Qin 1a8eb82a73 pinctrl: t6d: support analog pins [1/1]
PD#SWPL-180323

Problem:
T6D Silicon Bringup.

Solution:
CVBS_IOUT for headphone insertion detection.

Verify:
T6D/BR301

Change-Id: Ic544c9aa400e847401875fa993bcb2b360485d15
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-08-22 14:27:52 +08:00
jian.hu db9d456652 clk: add amfc clk support [1/1]
PD#SWPL-180321

Problem:
it does not support amfc

Solution:
add amfc support

Verify:
t6d br301

Change-Id: Idb0d1d8aa3571402a636bd75018735fcb82bc489
Signed-off-by: jian.hu <jian.hu@amlogic.com>
2024-08-22 14:27:52 +08:00
jian.hu b97695c773 clk: correct eth phy clock name [1/1]
PD#SWPL-180321

Problem:
there is no eth phy clock

Solution:
correct eth phy clock name

Verify:
t6d br301

Change-Id: Ie8ff90cf998c4a8064f01e4e52d63b7e284b4dd3
Signed-off-by: jian.hu <jian.hu@amlogic.com>
2024-08-22 14:27:51 +08:00
Jian Hu 3e86a15c72 clk: add cpu clock [1/2]
PD#SWPL-166006

Problem:
t6d bringup

Solution:
1.fix rtc_32k
2.add cpu clk

Verify:
pxp

Change-Id: If0156b569b577fce2b01a8f8f4d2f1d510cfdd23
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2024-08-22 14:27:50 +08:00
Zelong Dong 8f2ba077e5 reset: t6d: support reset [1/1]
PD#SWPL-165710

Problem:
need to support reset

Solution:
support reset

Verify:
t6d

Change-Id: I909fc7a0417cb753c47a142e288946d9a59d45da
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-08-22 14:27:49 +08:00
Yao Jie 7c44a8164f mailbox: t6d pxp mailbox bringup [1/1]
PD#SWPL-167324

Problem:
T6D pxp mailbox bringup

Solution:
T6D pxp mailbox bringup

Verify:
T6D-PXP

Change-Id: I130affe4c46601ad1c0cca7cb50408ccc568ef89
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-08-22 14:27:49 +08:00
Jian Hu 822ddf5a2b clk: add t6d support [1/1]
PD#SWPL-166006

Problem:
t6d bringup

Solution:
add clk support

Verify:
pxp

Change-Id: Ia365d5a4aa389dbcd6f57b0df6da07f799e28790
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2024-08-22 14:27:49 +08:00
Huqiang Qin 7f8def29f1 pinctrl: t6d: support gpio/pinmux/gpio_intc [1/1]
PD#SWPL-165463

Problem:
T6D PxP Bringup.

Solution:
Feature support for new SoC.

Verify:
PxP

Change-Id: I038373eba3b6ef4cf7af48026521a3aa1ee75366
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-08-22 14:27:49 +08:00
hongyu.chen1 7fc0924582 T6D: add power domain config. [3/3]
PD#SWPL-164469

Problem:
t6d need power domain support.

Solution:
add power domain config in kernel.

Verify:
pxp

Change-Id: Idbafb1d0d68e444d846dfb07440c99f0d3cfeca7
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-08-22 14:27:49 +08:00
Chuan Liu 40e030d862 clk: s6: Fix known issue [1/1]
PD#SWPL-179629

Problem:
1 Optimize driver file formats using automated tools.
2 vpu_clk adds a flag feature to prevent glitch when operating the
clock.
3 The naming of hifi_pll is inconsistent with the clkid style.
4 The latest documentation provided by vlsi has changed the sys_clk
definition for USB and PCIe.

Solution:
1 Optimized
2 vpu_clk added flag CLK_OPS_PARENT_ENABLE.
3 The clkid of hifi_pll is named CLKID_HIFI_PLL.
4 USB and PCIe sys_clk have been updated.

Verify:
s6_bl201

Change-Id: I4560f7bc6d42583d4e62d184c182bfe199cb6955
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-08-02 02:52:10 -07:00
bangzheng.liu 03cdeebe7b DSP: SC2 far field voice early suspend with dsp [2/3]
PD#SWPL-139800

Problem:
SC2 far field voice need early suspend and record
with dsp.

Solution:
When DSP waked up by VAD, then:
1. DSP notify to AOCPU (would fail by unknown cmd) and ARM
during early suspend.
2. DSP notify to AOCPU (would fail by unknown cmd) and ARM
(would fail by timeout) and do retry after ARM deep sleep and
before AOCPU STR poweroff.
3. DSP notify to AOCPU after AOCPU STR poweroff.
4. when ffv not supported, dsp do not start vwe.

Verify:
sc2_ah212

Change-Id: I0e610ab7dd76c362c71a9ec98ce589bf7d04beda
Signed-off-by: bangzheng.liu <bangzheng.liu@amlogic.com>
2024-07-11 22:05:15 -07:00
yiting.deng ffbb7c05de clk: s7: update pwm_clk to secure [3/3]
PD#SWPL-174549

Problem:
secure permission needs to be set for the pwm_clk register
related to voltage regulation. Relevant clk configurations
need to be stored in bl31. kernel configurations need to
be deleted.

Solution:
fix it

Verify:
s7

Change-Id: If3477940b33f4a612743cb1c5c58ce45e59a8505
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-07-07 20:13:49 -07:00
Chuan Liu 79c74dc207 clk: s6: Fix mclk0 output exception [1/1]
PD#SWPL-172965

Problem:
1 The mclk0 power supply uses the power supply inside the mclk_pll, so the
mclk0 output must ensure that mclk_pll is also enabled.
mclk_pll_clk can output clocks mclk_pll_src and fclk50m. The existence of
these two clock sources is meaningless.
2 If mclk0 uses mclk_pll as the clock source, div2 must be selected for
the clock of the later stage; otherwise, the output clock waveform of
mclk0 is abnormal.

Solution:
1 Delete the mclk_pll_src and fclk50m clock sources and set mclk_pll_clk
as the clock source of mclk0.
2 mclk0 selects div2 by default.

Verify:
s6_bl201

Change-Id: I9a8e3e1616b4c9b3b9c86990f86dc337f9f9c877
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-05 10:44:47 +08:00
Chuan Liu 5d5ac8b435 clk: s6: Fix some parent issue with sys_clk [1/1]
PD#SWPL-172965

Problem:
1 All I2C Masters (i2c_m_a-f) in a chip share an APB bus, which is
provided by sys_i2c_m_a. PWM is designed with a similar architecture, and
the APB bus of PWM is clock provided by sys_pwm_a.
2 The CLKID definition of smart card is inconsistent.

Solution:
1 The parent of sys_i2c_m_b-f is set to sys_i2c_m_a.
2 The parent of sys_pwm_b-i is set to sys_pwm_a.
3 CLKID_SC_DIV was renamed CLKID_SC.

Verify:
s6_bl201

Change-Id: I94482625f3a9fe387113edce21ed16e9dc63a074
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-05 10:44:46 +08:00
hongyu.chen1 e2a00330a8 S6: add adapt power domain config. [3/3]
PD#SWPL-174348

Problem:
adapt need mempd control.

Solution:
add adapt config in kernel.

Verify:
bl201

Change-Id: Ibf2abce9524480b657a7d271215a0eb87aaeb6d4
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-07-05 10:44:46 +08:00
Yao Jie 9a115ae21e mailbox: add aocpu alive detection and mailbox retry [4/4]
PD#SWPL-172976

Problem:
add aocpu alive detection and mailbox retry mechanism to
avoid mailbox message lost due to aocpu crash or mailbox
signal lost occasionally

Solution:
add aocpu alive detection and mailbox retry mechanism

Verify:
S6-BL201

Change-Id: Ia90380a7ead99e7f00eb82bcde02201f4636dd30
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-07-05 10:44:46 +08:00
Chuan Liu 136b96ae1d clk: s6: Fixed known issues [1/1]
PD#SWPL-172965

Problem:
1 mclk_pll and dspa_clk output are incorrect
2 mmc failed to insmod
3 Lost sys_i2c_s_a

Solution:
1 Update the table for mclk_pll
2 Update the parent table of the dspa
3 Ignore initializing gp0_pll
4 Added sys_i2c_s_a

Verify:
s6_bl201

Change-Id: I23586623d908ef871e178acf0da8883aabc12fc9
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-05 10:44:46 +08:00
Chuan Liu dcccf4e11d clk: s6: Clock bringup [2/2]
PD#SWPL-172965

Problem:
1 Lost mclk and aclkm clocks
2 Discard meson_clk_pll_v3_ops
3 clk_measure table has been updated
4 hifipll and gp0pll cannot be locked
5 Optimize clock naming

Solution:
1 Added mclk and aclkm clocks
2 Replace meson_clk_pll_v3_ops with meson_clk_pll_v4_ops
3 Updated hifipll and gp0pll configuration timing

Verify:
s6_bl201

Change-Id: Ia5407b3b529c38a241e0a038aad371b5822c0c02
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-05 10:40:49 +08:00
Chuan Liu 097bb34999 clk: s6: Optimize clock driver [2/2]
PD#SWPL-158289

Problem:
1 The register corresponding to oscin was updated;
2 Put some of the key clocks into bl31 for processing.

Solution:
fixed

Verify:
pxp

Change-Id: Ie5ea8b6c507ce136ba397e8e54362b72f05cf45c
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-05 10:40:49 +08:00
Yao Jie a078845dfb mailbox: s6 mailbox pxp bringup [1/1]
PD#SWPL-156519

Problem:
S6 mailbox pxp bringup

Solution:
S6 mailbox pxp bringup

Verify:
PXP

Change-Id: I08917759de24df334397db8f49f64b057172f3f3
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-07-05 10:40:49 +08:00
Chuan Liu d888b53768 clk: s6: clock tree bringup [2/2]
PD#SWPL-154653

Problem:
clock tree bringup

Solution:
added

Verify:
pxp

Change-Id: I421aad497bbd7d1bd46430bf5c708cede10c7301
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-05 10:40:48 +08:00
Qianggui Song 8cc02266f3 pinctrl: s6: driver bringup [1/1]
PD#SWPL-154155

Problem:
s6 pinctrl bringup

Solution:
add pinctrl driver data

Verify:
s6_pxp

Change-Id: I4e0cb65df30ba4bfa1acd6c0c81231bcda012f7b
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2024-07-05 10:40:48 +08:00
Zelong Dong dd59c49694 reset: add reset controller support for s6 [1/1]
PD#SWPL-154396

Problem:
don't support s6 platform

Solution:
add reset controller support for s6

Verify:
s6_pxp

Change-Id: I7b5b78f28b1b9b0fa512aa7d13c67eab77dbf065
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-07-05 10:40:48 +08:00
hongyu.chen1 2f87ad9112 S6: power domain: add config. [3/3]
PD#SWPL-153862

Problem:
s6 need power domain support.

Solution:
add power domain in kernel.

Verify:
pxp

Change-Id: I5ba46225cb08a4a92d43fe25d7f6385d65bf6efb
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-07-05 10:40:48 +08:00
yao zhang1 bdfb73ddc4 bringup: Add s6 dts and dtsi. [1/1]
PD#SWPL-149346

Problem:
Bringup s6.

Solution:
Add s6 dts and dtsi.

Verify:
s6 pxp

Change-Id: I545254ab574a29c65d586db054bf8e29f09a090d
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2024-07-05 10:40:48 +08:00
wenlong.zhang d7edb9e2b7 drm: solution for gfcd odd size display abnormal [1/1]
PD#SWPL-171666

Problem:
gfcd source odd width display abnormal

Solution:
1.add workround for odd width input;
2.add gfcd odd size and gfcd global alpha enum;
3.move the gfcd block forward because it is more sensitive to timing;
4.optimizing gfcd afbc switches;
5.add gfcd div alpha setting;

Verify:
s7d

Test:
DRM-OSD-15

Change-Id: I83fda11948abd49abe021830a5acdd2607776094
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2024-07-03 19:48:43 -07:00
qing.zhang 8fc85981fc Audio: G12A kernel 5.15 need oe pin function [1/2]
PD#SWPL-158794

Problem:
oe pin can't work

Solution:
add oe pin control

Verify:
g12a

Change-Id: I43145d13958d9928eb839e8173e1b8fbd2dafbe2
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-06-18 05:51:44 -07:00
hongyu.chen1 edbb446892 S7D: power domain amfc config. [1/1]
PD#SWPL-164972

Problem:
1.The AMFC module is currently configured to always on.
In order to save power consumption, power can be
removed during suspend.
2.usb power domain naming is not standard

Solution:
1.Cancel the AMFC always on configuration.
2.Change the usb domain name

Verify:
S7D

Change-Id: Ib92ffee894f248f7edb2a358bddc548543c68719
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-06-07 01:03:24 -07:00
qing.zhang 861319cbd6 Audio: add earc rx for s7d [1/1]
PD#SWPL-163105

Problem:
new earc Rx design

Solution:
changelist from https://scgit.amlogic.com/#/c/417153
1. new default setting for arc in
2. remove pll refresh when startup
3. when cmdc init, need refresh pll after pll default setting
4. force channel sync for channel mapping
5. add dmac bit29 check for common arc check
6. add iec raw channel status check
7. use chip info(arc_ch_sync/arc_in_new)

Verify:
use s7d

Change-Id: Id681334bfde57bfe71a870a16859e24712e262e3
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-04-24 02:06:36 -07:00
yao zhang1 6619b5500d bringup: Fixed s7d build error [1/1]
PD#SWPL-165213

Problem:
Fixed s7d build error

Solution:
Fixed s7d build error

Verify:
s7d

Change-Id: Ic5cc56c134821e5710f00d32fe82eb7d404b07aa
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2024-04-17 19:31:22 +08:00
hongyu.chen1 af8b89097e S7D: Clean up power domain state. [3/3]
PD#SWPL-163896

Problem:
1.need to clean out the power that
is always on to save power.
2.Some modules related to mempd have
been added for debugging later.

Solution:
1.Clean up an open power supply.
2.add power domain config.

Verify:
S7D

Change-Id: Ic313a24168041cb925483202bc26f9c53c6b1548
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-04-17 19:31:22 +08:00
Zelong Dong f349ec882b ir: support 2 multi-format ir controller [1/1]
PD#SWPL-163059

Problem:
legacy ir controller was updated to multi-format ir controller
and each controller have a IRQ

Solution:
support 2 IRQs in ir driver

Verify:
s7d_bm201

Change-Id: I268562144440d642e4f635dbe76bb45f799d6bee
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-04-17 19:31:21 +08:00
Yao Jie 5a9dbd20b6 mailbox: s7d add aocpu alive check mechanism [1/1]
PD#SWPL-163760

Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.

Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.

Verify:
S7D-BM209

Change-Id: I285a300313c1439be2ed50fafc58c4a92fa032ac
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-04-17 19:31:21 +08:00
Chuan Liu ae4943530e clk: s7d: Fix known issue [1/1]
PD#SWPL-163050

Problem:
1 PLL driver adds rstn features
2 Add ACLKM clock
3 Adapts to pll_v4_ops

Solution:
Fixed

Verify:
s7d_bm209

Change-Id: Ide5199539d388d9ee415ecf65f3c162b2e4c881c
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-04-17 19:31:21 +08:00
Yao Jie a01e0cf416 mailbox: s7d mailbox bringup [1/1]
PD#SWPL-163061

Problem:
If there are more requirements of mailbox channels
application for other modules, mailbox driver should
be changed to add more channels, this is inconvenient
for other drivers usage

Solution:
Allocate more reserved mailbox channels for other
modules application in the future

Verify:
S7D-BM209

Change-Id: I669d42aa386676d959e27ebb51c6d7dedd7d54ac
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-04-17 19:31:20 +08:00
hongyu.chen1 a1d1313fb6 S7D: add power domain config in kernel. [1/1]
PD#SWPL-163077

Problem:
Some new power domains have been added.

Solution:
Add the relevant configuration.

Verify:
S7D

Change-Id: I7f5bc148d0034ffad96b1f04f00417ec5796dced
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-04-17 19:31:20 +08:00
wenlong.zhang 560bdbdbac drm: s7d bringup & support gfcd [1/1]
PD#SWPL-147645

Problem:
s7d bringup & support gfcd

Solution:
s7d bringup & support gfcd

Verify:
s7d

Test:
DRM-OSD-138

Change-Id: I6e8f268f0fa42a6906f18a21d923ec059b749954
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2024-04-17 19:31:20 +08:00
Chuan Liu 5c2c80108d clk: s7d: add scmi clocks [2/2]
PD#SWPL-158288

Problem:
1 Adding the logic associated with the en0p5 member makes the driver's
processing more complicated and messy.
2 Added clocks with security permissions.

Solution:
1 Only add CLK_MESON_PLL_FIXED_EN0P5 flag to implement the functions
of en0p5, so that the driver change cost is minimal.
2 Determine whether to add the CLK_MESON_PLL_FIXED_EN0P5 flag based
on whether en0p5 is enabled in init_regs.
3 Added scmi clocks

Verify:
pxp

Change-Id: I2f9e258569f4bed44cb5fd9b57368dbfa3c425cb
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-04-17 19:31:20 +08:00
hongyu.chen1 683c742a61 S7D: power domain: modify config. [1/1]
PD#SWPL-154090

Problem:
The S7D and S7 power domain names overlap
and need to be repaired.

Solution:
modify config.

Verify:
Compile through.

Change-Id: Ia0d18a5a2684184b8c5938c77b8b7adccd8b0ad6
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-04-17 19:31:20 +08:00
Zelong Dong 0d992a2110 reset: add reset controller support for s7d [1/1]
PD#SWPL-147281

Problem:
don't support s7d platform

Solution:
add reset controller support for s7d

Verify:
s7d_pxp

Change-Id: I29250fbe165b6f51f61bac180f0eb47bb2151fa3
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-04-17 19:31:20 +08:00
Yao Jie 041d15adc7 mailbox: s7d mailbox pxp bringup [1/1]
PD#SWPL-147284

Problem:
s7d mailbox pxp bringup

Solution:
s7d mailbox pxp bringup

Verify:
S7D-PXP

Change-Id: Ibbba899fb22cc21701a9555684c9e8cd314265a4
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-04-17 19:29:59 +08:00
Chuan Liu 1c692807f3 clk: s7d: clock tree bringup [2/2]
PD#SWPL-147273

Problem:
clock tree bringup for s7d

Solution:
added

Verify:
pxp

Change-Id: I629a0465ad61aa7935fea2d850fbd3418f7a840e
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-04-17 19:29:58 +08:00
Huqiang Qin e7b35c7fa5 gpio: s7d: support gpio and irq [1/1]
PD#SWPL-146832

Problem:
S7D PxP Bringup.

Solution:
S7D PxP Bringup.

Verify:
PxP

Change-Id: I5954932f83e4cfb1aded18c90879c27522ca550d
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-04-17 19:29:58 +08:00
hongyu.chen1 129b6f74fa S7D: power domain: add support in kernel. [3/3]
PD#SWPL-146595

Problem:
S7D need power domain in kernel.

Solution:
add power domain in kernel.

Verify:
pxp

Change-Id: Ia05ec9960f38388444ae14869576f8cd1d51cf78
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-04-17 19:29:58 +08:00
mingyang.he cf15989a9f drm: kasan failed for slab-out-of-bounds [1/1]
PD#SWPL-151540

Problem:
kasan failed
cat/echo sysfs osd node crash in s5
cat fbdump return zero size file in s5

Solution:
reset BLOCK_ID_MAX with 32
sysfs node should according to vpu block by index
set correct plane index

Verify:
s5, t5m

Test:
DRM-OSD-17

Change-Id: I02094c9044b172af46ab9b5bd5688a12f18ce96a
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2024-04-01 04:39:02 -07:00
yiting.deng d64b311bb5 clk: s5: fix k5.15 wrong clk config [1/1]
PD#SWPL-161479

Problem:
fix s5 kernel5.15 clk wrong config

Solution:
fix it

Verify:
s5

Change-Id: I5d9fb22d5d9d15d00adfa92975ad332add647fa2
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-03-25 03:13:18 -07:00