Commit Graph

1849 Commits

Author SHA1 Message Date
hai.cao e2cbe9608f rdma: bringup for sm1 to 5.15 [1/1]
PD#SWPL-108101

Problem:
bringup for sm1 to 5.15

Solution:
compile it

Verify:
sm1

Change-Id: Ic30f3c8631f685dc49bd6432b3f1d9cb83d90ae1
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-04-04 19:37:02 +08:00
Chuan Liu a608f917f3 g12b/sm1: add some lost clocks [1/1]
PD#SWPL-110163

Problem:
part of the clock of g12b/sm1 is lost

Solution:
add clocks

Verify:
ac200

Change-Id: I5c021c862dc8913ad6295cb143b9400b11b97e63
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2023-04-04 19:37:02 +08:00
chen.xu a6cc61f9a2 bringup: Add dts and dtsi for sm1. [1/1]
PD#SWPL-108104

Problem:
Bringup sm1.

Solution:
Add dts and dtsi for sm1.

Verify:
sm1

Change-Id: I7545de2bf0cce6726b3a2009083081528b50199d
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-04-04 19:37:02 +08:00
chen.xu ae30d68ad3 bringup: Add dts and dtsi for g12b. [1/1]
PD#SWPL-108104

Problem:
Bringup g12b.

Solution:
Add dts and dtsi for g12b.

Verify:
g12b

Change-Id: Ia8aee2391c18e5a33da3c53a4f477045370788e4
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-04-04 19:37:02 +08:00
hai.cao eb4988656b rdma: bringup for g12b to 5.15 [1/1]
PD#SWPL-108101

Problem:
bringup for g12b to 5.15

Solution:
compile it

Verify:
g12b

Change-Id: I13d37b602dc572b6ac857ec23c661035602c1f05
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-04-04 19:37:02 +08:00
yao zhang1 104fd867e6 bringup: Enabled dmc monitor&cpuinfo for g12b & sm1. [1/1]
PD#SWPL-104242

Problem:
Bringup g12b & sm1

Solution:
Enabled dmc monitor&cpuinfo for g12b & sm1.

Verify:
g12b & sm1

Change-Id: I19d2cc5f4b4fe9457c0b774f438e25b66dc0a667
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-04-04 19:37:02 +08:00
Hao Shi 1b4c9a3eb8 decoder: codec_mm & vdec config for g12b&sm1 [1/1]
PD#SWPL-108147

Problem:
bringup decoder for g12b & sm1 to kernel5.15

Solution:
configure in dts

Verify:
g12b sm1

Change-Id: I35c3c433c913f6b541974a01289e12f2eeeaefc9
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2023-04-04 19:37:02 +08:00
xiangyang.yan 7650dfad26 eth: G12B bringup [1/1]
PD#SWPL-104285

Problem:
G12B bringup

Solution:
G12B bringup

Verify:
A311D-W400#248

Change-Id: I4a5cd566f2266e3a6740dbc12e550fc7ef2825aa
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2023-04-04 19:37:02 +08:00
xiangyang.yan 56e6b00f44 eth: SM1 bringup [1/1]
PD#SWPL-104285

Problem:
SM1 bringup

Solution:
SM1 bringup

Verify:
AC214-S905X3#175

Change-Id: I92cf80593f0abc31cb97e9c19a401d6519d1e29a
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2023-04-04 19:37:02 +08:00
Yao Jie 2c5349ae4c m4: bringup m4 on sm1 [1/1]
PD#SWPL-104282

Problem:
bringup m4 on sm1

Solution:
add bl40 module driver and configuration to
bringup m4

Verify:
SM1-AC200-S905D3

Change-Id: I39afd0f91a49bd187e23cb29111f06e8c404419d
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-04-04 19:37:02 +08:00
Xingxing Wang edea01b273 thermal: g12b thermal bringup [1/1]
PD#SWPL-104280

Problem:
g12b thermal bringup

Solution:
configure in tds

Verify:
g12b w400

Change-Id: I0eb48c3fae2d52f026b77a2c468cd33359721761
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2023-04-04 19:35:44 +08:00
chengbing.wu e515af696b regulator: g12b&sm1 regulator bringup [2/2]
PD#SWPL-104275

Problem:
1. need to support regulator at g12b and sm1 k5.15;

Solution:
2. enable g12b sm1 GPIO/FIXED regulator at dts;
3. change VDDIO_C to gpio_ao;

Verify:
W400_MBX_DDR4 #036 (g12b)
AC200

Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
Change-Id: I560da934d7b361efca9a7a994b6bee432805fa05
2023-04-04 19:35:44 +08:00
Xingxing Wang 3595c1f77c thermal: sm1 5.15 thermal bringup [1/1]
PD#SWPL-104280

Problem:
sm1 5.15 thermal bringup

Solution:
configure in dts

Verify:
sm1 ac200

Change-Id: I493a456d271eb12a91f1e6476a262d37eeeab1df
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2023-04-04 19:35:44 +08:00
Yan Wang 4f0ac7381a dts: fixed cpu smp/hotplug/idle crash. [1/1]
PD#SWPL-103755

Problem:
SM1 CPU SMP/hotplug fail.

Solution:
update dts for reserved memory property.
SM1 is cortex-A55, update CPU node property

Verify:
SM1 AC200

Change-Id: I794bac34cb1341d28c493cae86b80cfb326614a2
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2023-04-04 19:35:44 +08:00
Yan Wang 1953a28c76 dts: enable g12b cpuidle. [1/1]
PD#SWPL-103755

Problem:
g12b cpuidle crash

Solution:
fixed cpuidle crash and open it in dts

Verify:
g12b W400

Change-Id: I091ca624d1b6fdb56d18bf76a9b0d156b17a407f
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2023-04-04 19:35:44 +08:00
Yan Wang 36c89fbf04 g12b: fixed SMP/hotplug fail. [1/1]
PD#SWPL-103755

Problem:
g12b cpu smp&hotplug fail

Solution:
update CPU_NUM and secmon reserved memory property

Verify:
G12B W400

Change-Id: I13020348754f24bb67ba705a224b8e2cca46e5ba
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2023-04-04 19:35:44 +08:00
Hanjie Lin 243c8a4af2 dts: add g12b EAS support [1/1]
PD#SWPL-104260

Problem:
g12b EAS support

Solution:
dts modify

Verify:
w400

Change-Id: I67fc6d9a34776736ae3b49a554cb27537e016b67
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2023-04-04 19:35:44 +08:00
chengbing.wu 6a18d6305f regulator: g12b&sm1 regulator bringup [1/1]
PD#SWPL-104275

Problem:
1. need to support regulator at g12b and sm1 k5.15;

Solution:
1. enable g12b sm1 pwm regulator at dts;

Verify:
W400_MBX_DDR4 #036
(vddcpu0 and vddcpu1 max voltage test is 1.010v)

Change-Id: Ia4ab3cf8c7f762f4961a3fe52eb6551effe35ac2
Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
2023-04-04 19:35:44 +08:00
Zelong Dong f61d46dfb0 pinmux: sm1&g12b: support GPIO TEST_N [1/1]
PD#SWPL-104263

Problem:
need to support sm1&g12b GPIO TEST_N

Solution:
add GPIO TEST_N for sm1&g12b

Verify:
sm1&g12b

Change-Id: Ic8faf12364f10993c614707f5d73b924ea63d72e
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-04-04 19:35:44 +08:00
Xingxing Wang 9788de43da dvfs: dvfs bringup of g12b on k5.15 [1/1]
PD#SWPL-104281

Problem:
g12b dvfs bringup

Solution:
configure in dts

Verify:
g12b w400

Change-Id: I2bdbab225631b80a98cd6bb7c381d5251cab10f2
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2023-04-04 19:35:44 +08:00
Xingxing Wang 4c90c7d09f dvfs: bringup dvfs of sm1 k5.15 [1/1]
PD#SWPL-104281

Problem:
bringup dvfs of sm1 k5.15

Solution:
configure in dts

Verify:
sm1 ac200

Change-Id: I3ede3e40c6cecf672a76e7ac3e83a8ccde8e13bc
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2023-04-04 19:35:44 +08:00
Sunny Luo 13eb524095 spi: g12b/sm1 spicc bringup [1/1]
PD#SWPL-104269

Problem:
g12b/sm1 spicc bringup

Solution:
add spicc support for g12b/sm1

Verify:
G12B/SM1

Change-Id: I2932652ebdd8c5c8d0b5213eeb5045d66b645c28
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2023-04-04 19:35:44 +08:00
dian.shao f740f9446e usb: G12B & SM1 Bringup [1/1]
PD#SWPL-104286

Problem:
g12b_a311d_w400 & sm1_s905d3_ac200 bringup on kernel5.15.

Solution:
mod the dts and module load sequence.

Verify:
local.

Change-Id: I5eafb423114620bc0f261e85164a105c91be0212
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2023-04-04 19:35:44 +08:00
Chuan Liu 6a4094dcf6 g12a/g12b/sm1: update clock tree [1/1]
PD#SWPL-107164

Problem:
1 sys_pll/sys1_pll does not support to 1512M
2 clkid is stored in multiple header files

Solution:
1 added frequency point support
2 clkid is placed under the same header file

Verify:
w400/ac200

Change-Id: I47d7f7c36b830285cfa4800ca0d90651629edb7e
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2023-04-04 19:35:44 +08:00
Feng Chen 4a36611356 slcnand: G12B & SM1 Bringup [1/1]
PD#SWPL-104273

Problem:
g12b & sm1 need slc nand support

Solution:
modify dts files

Verify:
g12b & sm1

Change-Id: Id09277cf88386296cf280f66e9674f66a7d96823
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2023-04-04 19:35:44 +08:00
hongyu.chen1 f38f2c2a81 sm1: add power domain. [1/1]
PD#SWPL-104278

Problem:
add power domain.

Solution:
add power domain.

Verify:
sm1

Change-Id: I0aab1e2e3b65d279a4194095ded67b063cdfb7f7
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2023-04-04 19:35:44 +08:00
Zhongfu Luo b31109c932 dts: efuse: g12a/sm1 efuse bringup [1/1]
PD#SWPL-104259

Problem:
efuse: need to support efuse

Solution:
dts: efuse: g12a/sm1 efuse bringup

Verify:
G12B/SM1

Change-Id: I60f72ca56ea824c3607d87a3e85199305fc85276
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2023-04-04 19:35:44 +08:00
junyi.zhao 6d6dfb92f4 pwm: g12b&sm1: add pwm pins [1/1]
PD#SWPL-104266

Problem:
need to support pwm driver

Solution:
add pwm pins

Verify:
sm1&g12b

Change-Id: I6575b8bdbcb25723e0a223b666d90b066658db89
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2023-04-04 19:35:44 +08:00
Huqiang Qin c540ca7bb5 saradc: g12b/sm1: support saradc and keypad [1/1]
PD#SWPL-104271

Problem:
G12B & SM1 Bringup.

Solution:
G12B & SM1 Bringup.

Verify:
G12B

Change-Id: I20c328334d7bbd823084a3183e7704363ac7acd0
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2023-04-04 19:35:44 +08:00
junyi.zhao 262b3f6084 led: g12b&sm1: support led driver [1/1]
PD#SWPL-107182

Problem:
need to support led  driver

Solution:
config dts to support

Verify:
sm1&g12b

Change-Id: I8ef2b94bd6b63c613e0cf9ef368a151c8f4f7f86
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2023-04-04 19:35:44 +08:00
Yao Jie eaf422fb77 reboot: sm1 and g12b reboot bringup [1/1]
PD#SWPL-104276

Problem:
sm1 and g12b reboot bringup

Solution:
change dtsi, reboot driver and defconfig
to bringup reboot

Verify:
SM1-AN400
G12B-W400-A311D

Change-Id: Idcdff0a5b1643d60a79fe9021e20e4ec02c19c2b
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-04-04 19:35:44 +08:00
Yu Tu 0e1dcc6c28 pcie: need add pcie support for g12b and sm1 [1/1]
PD#SWPL-104287

Problem:
need add pcie support for g12b and sm1

Solution:
add pcie support for g12b and sm1

Verify:
g12b

Change-Id: I558ab4ba0c503bf74a49fb47d541ee66ebe7157d
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-04-04 19:35:44 +08:00
junyi.zhao 8e54ac3090 g12b&sm1: support i2c driver [1/1]
PD#SWPL-104265

Problem:
need to support i2c  driver

Solution:
config dts to support

Verify:
sm1&g12b

Change-Id: Icae13cc46a4f4ac142ec3bd4d4fc848deb4a2aea
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2023-04-04 19:35:44 +08:00
Yu Tu 0779acf192 uart: add uart config for g12b and sm1 [1/1]
PD#SWPL-104284

Problem:
need add g12b and sm1 uart support

Solution:
add uart config for g12b and sm1

Verify:
g12b

Change-Id: Ic96c0fab5925188fb2f746a0d610223fadb675d7
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-04-04 19:35:44 +08:00
Chuan Liu 51c61d4047 g12b/sm1: add clock tree [1/1]
PD#SWPL-104283

Problem:
porting to kernel5.15

Solution:
fixed

Verify:
w400/ac200

Change-Id: I858a7ffd12d64dcc8e1e8082977814de070052d0
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2023-04-04 19:35:44 +08:00
yiting.deng 8a425a895e vrtc: sm1 vrtc and mailbox bringup [2/2]
PD#SWPL-104274

Problem:
sm1 vrtc and mailbox bringup

Solution:
fix dts to support vrtc and mailbox

Verify:
sm1-ac200

Change-Id: I84b4b286461283ad5fc64c8f74a82c9cda8624ff
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2023-04-04 19:35:44 +08:00
yiting.deng 0ebebc3934 vrtc: g12b vrtc and mailbox bringup [1/2]
PD#SWPL-104274

Problem:
g12b vrtc and mailbox bringup

Solution:
fix dts to support vrtc and mailbox

Verify:
g12b-w400

Change-Id: Ie375ccb2a17f70f36a31320ea5b406788a73455c
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2023-04-04 19:35:44 +08:00
Zhongfu Luo dcb4d77233 defendkey: porting defendkey drvier [1/1]
PD#SWPL-104257

Problem:
defendkey: need to porting defendkey drvier

Solution:
porting defendkey drvier

Verify:
G12B/SM1

Change-Id: I05dc99435d92fcb2199fb2ea857a0171cee5b69e
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2023-04-04 19:35:44 +08:00
Huqiang Qin ed1bbcd061 watchdog: g12b/sm1: support watchdog [1/1]
PD#SWPL-104268

Problem:
G12B & SM1 Bringup.

Solution:
G12B & SM1 Bringup.

Verify:
G12B

Change-Id: I37407ab24b8336e042749d62ca303797218d65f7
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2023-04-04 19:35:44 +08:00
Zelong Dong 5ca9d24681 ir: sm1&g12b: support ir driver [1/1]
PD#SWPL-104270

Problem:
need to support sm1&g12b ir driver

Solution:
add ir dts node for sm1&g12b

Verify:
sm1&g12b

Change-Id: I0ed5a0576242f72cc6f667a5a6c62cc565484cc8
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-04-04 19:35:43 +08:00
junyi.zhao ab5e1ab61b pwm: g12b&sm1: support pwm driver [1/1]
PD#SWPL-104266

Problem:
need to support pwm driver

Solution:
fix dts reg address to support

Verify:
sm1&g12b

Change-Id: Idefbf233ade0a86ef7dd3d8e79eebf92230c4373
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2023-04-04 19:35:43 +08:00
Zelong Dong 557278f5f3 pinmux: sm1&g12b: support pinmux&gpio irq driver [1/1]
PD#SWPL-104263

Problem:
need to support sm1&g12b pinmux&gpio irq driver

Solution:
add pinmux & gpio irq driver for sm1&g12b

Verify:
sm1&g12b

Change-Id: I7a91be9f6e031152f9007804d8ae399c42339cc6
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-04-04 19:35:43 +08:00
Zelong Dong 6683a4d93d reset: sm1&g12b: support reset driver [1/1]
PD#SWPL-104262

Problem:
need to support sm1&g12b reset driver

Solution:
add reset dt-bindings and dts node for sm1&g12b

Verify:
sm1&g12b

Change-Id: I305010864a8f28af5ce4a5bd8be828ee77729931
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-04-04 19:35:43 +08:00
Mingyen Hung 54b6b3a3f3 crypto: enable amlogic crypto driver for SM1/G12B [1/1]
PD#SWPL-104288

Problem:
Need to bringup amlogic crypto driver for sm1/g12b
kernel 5.15.

Solution:
1. Basic configs/driver looks good.
2. Modify and enable device in dts for sm1/g12b

Verify:
1. On sm1(ac214)
2. On g12b(w400)

Change-Id: Ic5e460ec522060f22c328a66cdec7192b11a5684
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
2023-04-04 19:35:43 +08:00
yao zhang1 d133d2ef28 bringup: Add dts and dtsi for g12b & sm1. [1/1]
PD#SWPL-104242

Problem:
Bringup g12b & sm1

Solution:
Add dts and dtsi for g12b & sm1.

Verify:
g12b & sm1

Change-Id: Ic80ce592cb8d63fa903319a9689ea65cebe0a330
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-04-04 19:35:43 +08:00
dongfei.li 21183a40e5 frc: frc add axi_crash_function [2/2]
PD#SWPL-107293

Problem:
t5m validation item

Solution:
t5m validation item

Verify:
T5M

Change-Id: I8395c3d7f1773fa397473c199eedabbae19ff01b
Signed-off-by: sandy luo <sandy.luo@amlogic.com>
2023-04-04 04:21:12 -07:00
Wanwei Jiang ebd7f802c5 module: auto patch with mk_smarthome [1/1]
PD#SWPL-109858

Problem:
auto patch with mk_smarthome
ls: cannot access '*.patch': No such file or directory

Solution:
auto patch with mk_smarthome
using find instead of ls command

Verify:
sc2

Change-Id: I76a156cc1f556e9361e809f2d4de59b62d2260b6
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-04-04 04:20:50 -07:00
Jianxiong Pan 975c8b3e17 zapper: optimizate the defconfig. [1/1]
PD#SWPL-116862

Problem:
optimizate the defconfig.

Solution:
disable the unnecessary the configs.

Verify:
t215.

Change-Id: I212b3628cc5a8d9b4d26284c47b8197ad6784f79
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-04-04 03:07:57 -07:00
Pengcheng Chen 7ef840908d vpp: adjust pip alpha set when pi enable [1/1]
PD#SWPL-113773

Problem:
2 channel video blank screen when pi enable

Solution:
adjust pip alpha set when pi enable

Verify:
s5

Change-Id: I3484b42f91e9822009e24f75c51730ec569e2128
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-04-04 02:19:30 -07:00
Jianxiong Pan 1ff6652c7d zapper: add zapper defconfig. [1/1]
PD#SWPL-116862

Problem:
add zapper defconfig.

Solution:
get from mk_gx32.sh

Verify:
build pass.

Change-Id: Ibaaf4095617e825d36d9657404ee7c6e897f6133
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-04-04 00:39:56 -07:00