Commit Graph

12 Commits

Author SHA1 Message Date
Junyi Zhao f187cb668a i2c: optimize i2c driver [1/1]
PD#SWPL-175699

Problem:
need optimize i2c driver.

Solution:
optimize it.

Verify:
s7 skt

Change-Id: I9f212bb12568c4ce4cfbd9b2b0a00a45db4cfe71
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-07-15 19:45:24 -07:00
Junyi Zhao 4004a4e0f2 i2c: add hibernate support [1/1]
PD#SWPL-145755

Problem:
need hibernate support

Solution:
add hibernate support

Verify:
t7c an400

Change-Id: I00a0635a9fff11af1212dbb9e5eae913258e1d01
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-01-30 22:49:12 -07:00
Junyi Zhao 1d91000d86 pwm_i2c: hide tee reg base for security [2/2]
PD#SWPL-151463

Problem:
tee regbase should not be exposed

Solution:
hide tee reg base
merge trunk with CL 386234

Verify:
s7 pxp

Change-Id: Icb8e29a463f39ea1f6bffec1083215a35d1b1cee
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-01-22 12:48:44 +08:00
junyi.zhao 78fa2861ad i2c: add i2c tee driver for s7 [2/2]
PD#SWPL-135762

Problem:
there is no s7 pwm tee driver

Solution:
add s7 i2c tee driver

Verify:
s7 pxp

Change-Id: I9fa4081a7426c3bbe7138ec848bc7ae8a7d49ad4
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2024-01-22 12:48:43 +08:00
junyi.zhao 822c012111 i2c: fix clk get rate erro [1/2]
PD#SWPL-141317

Problem:
get erro clk rate

Solution:
move clk api frontally

Verify:
A5 av400

Change-Id: I78ade63d323796ec6fa1a6e1c697ba3be07a736e
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2023-09-28 04:04:07 -07:00
junyi.zhao 7a52f91eed i2c: fix abba interlock crash [1/1]
PD#SWPL-137018

Problem:
abba interlock cause kernel crash.

Solution:
avoid get/set clk rate in xfer function.

Verify:
txhd2 skt

Change-Id: I52f591acca64e5b5e27e97c60992da05f15d840c
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2023-09-05 00:56:40 -07:00
junyi.zhao 0dc8c6707a i2c: typo check fix [1/1]
PD#SWPL-103802

Problem:
need to fix typo check

Solution:
correct it

Verify:
SC2 AH212

Change-Id: I95504204b575cea329767e4976fc2f3e9cddab4e
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2022-12-06 03:38:59 -07:00
pengzhao.liu b946ffb848 typo: clear typo problem [1/1]
PD#SWPL-89627

Problem:
clear typo problem

Solution:
clear typo problem

Verify:
s4d

Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
Change-Id: I9121c9d4b54df9b9a7c244182693e0fd616f5a9e
2022-09-07 20:06:45 +08:00
wanwei.jiang 7ef5fd4983 build: directory customization [1/3]
PD#SWPL-72631

Problem:
common, build and common_drivers directories are not under the same directory

Solution:
common, build and common_drivers directories customization

Verify:
s4d and C2 AF400

Change-Id: I8e29737a0a791d58454691e922dda949098595bb
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-02-22 11:00:37 +08:00
qinglin.li 7c6316bebd printk : printk optimization [2/2]
PD#SWPL-70486

Problem:
use common tag in driver when printf

Solution:
set common pr_fmt in driver

Verify:
s4d

Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ieee271d289e4d2f81258875d36288046b996a5d2
2022-02-14 19:55:32 -07:00
wanwei.jiang eae63c7055 i2c: porting i2c driver [2/2]
PD#SWPL-68122

Problem:
modify the code to meet the checkpatch requirements

Solution:
modify the code to meet the checkpatch requirements

Verify:
s4d

Change-Id: I1e4d35cf212a8467134ade76a43f1f882a508572
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2021-12-21 18:39:22 +08:00
wanwei.jiang 9d0173b0cc i2c: porting i2c driver [1/2]
PD#SWPL-68122

Problem:
porting i2c adapter driver

Solution:
porting i2c adapter driver

Verify:
s4d

Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
Change-Id: I1c05f792d17cb92e9f8b2e880b2c210aa2f66426
2021-12-21 17:12:11 +08:00