Wenchao Chen
24ae565a72
UPSTREAM: mmc: hsq: Fix data stomping during mmc recovery
...
The block device uses multiple queues to access emmc. There will be up to 3
requests in the hsq of the host. The current code will check whether there
is a request doing recovery before entering the queue, but it will not check
whether there is a request when the lock is issued. The request is in recovery
mode. If there is a request in recovery, then a read and write request is
initiated at this time, and the conflict between the request and the recovery
request will cause the data to be trampled.
Signed-off-by: Wenchao Chen <wenchao.chen@unisoc.com >
Fixes: 511ce378e1 ("mmc: Add MMC host software queue support")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220916090506.10662-1-wenchao.chen666@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
Change-Id: I879d746f578ba7c6f27029d81c980c743c3215ba
(cherry picked from commit e7afa79a3b )
2022-12-02 18:42:28 +08:00
Finley Xiao
567e355611
arm64: dts: rockchip: rk3588: Add memory read margin for litcore and dsu
...
It may improve stability.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I8d41ee7348bff9d280b5d22e42d8ad356d2db7eb
2022-12-02 18:42:12 +08:00
Tao Huang
e5e0f7afd8
clk: rockchip: rk3588: allow insmod to succeed if no DT match
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I175e3200a41fd3a81059b90d1d6b77d47ea39913
2022-12-02 18:36:48 +08:00
Tao Huang
5305ba2860
clk: rockchip: rk3568: allow insmod to succeed if no DT match
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I3e6326773603509ae076229fb71f188b2edae3fe
2022-12-02 18:36:48 +08:00
Tao Huang
ea5e44076e
soc: rockchip: grf: allow insmod to succeed if no DT match
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I1bc31e2e67bfcedf91f890780bcbae62d538b6d9
2022-12-02 18:33:15 +08:00
Jon Lin
7c2d6bfd55
drivers: rkflash: Fix the error definition of SFC dll cells
...
Change-Id: I7429a115df0719c918834886c4f6ef7823ef1414
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2022-12-01 22:59:08 +08:00
Liang Chen
545e8565ef
PM / devfreq: rockchip_dmc: Add SYS_STATUS_VIDEO_4K_60P
...
Signed-off-by: Liang Chen <cl@rock-chips.com >
Change-Id: I091f395dfcf8f6b11f77d03b860f4ea8450678b2
2022-12-01 16:48:32 +08:00
Liang Chen
d0fdfb8dcd
soc: rockchip: rockchip_system_monitor: Add support set video 4k 60fps status
...
Signed-off-by: Liang Chen <cl@rock-chips.com >
Change-Id: If3250c44e8340585003a64b9b3a3145292086cd6
2022-12-01 16:40:42 +08:00
Zhihuan He
e50ad473db
PM / devfreq: rockchip-dfi: rk3588: fix total counter get err for lp5
...
Signed-off-by: Zhihuan He <huan.he@rock-chips.com >
Change-Id: I5e267a3ed4eb5d501d5634111f67ec4cc6d690d6
2022-12-01 16:08:49 +08:00
Tao Huang
ea5fb26011
drm/rockchip: tve: Fix shutdown panic when no bind
...
Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000000000000830
Mem abort info:
ESR = 0x96000005
Exception class = DABT (current EL), IL = 32 bits
SET = 0, FnV = 0
EA = 0, S1PTW = 0
Data abort info:
ISV = 0, ISS = 0x00000005
CM = 0, WnR = 0
user pgtable: 4k pages, 39-bit VAs, pgdp = 00000000aaff8145
[0000000000000830] pgd=000000007a5c9003, pud=000000007a5c9003, pmd=0000000000000000
Internal error: Oops: 96000005 [#1 ] PREEMPT SMP
Modules linked in:
Process init (pid: 1, stack limit = 0x00000000722656e6)
CPU: 3 PID: 1 Comm: init Not tainted 4.19.232 #72
Hardware name: Rockchip RK3528 EVB1 DDR4 V10 Board (DT)
pstate: 60400005 (nZCv daif +PAN -UAO)
pc : __ll_sc___cmpxchg_case_acq_8+0x4/0x20
lr : mutex_lock+0x18/0x40
sp : ffffff800802bc60
x29: ffffff800802bc60 x28: ffffffc07c8e0000
x27: 0000000000000000 x26: 0000000000000000
x25: ffffff8009510d78 x24: ffffff8009cde040
x23: ffffffc07c9e3890 x22: ffffff8009d89000
x21: ffffff8009b73b30 x20: 0000000000000000
x19: 0000000000000830 x18: ffffffffffffffff
x17: 0000000000000000 x16: 0000000000000002
x15: ffffff80095ed278 x14: ffffff8089ce4196
x13: ffffff8009ce41b0 x12: ffffff8009ce45d0
x11: ffffff8009adf3b8 x10: 0000000005f5e0ff
x9 : 00000000ffffffd0 x8 : 6873203a73756c70
x7 : 0000000000000058 x6 : 0000000000000001
x5 : 0000000000000005 x4 : 0000000000000004
x3 : 0000000000000830 x2 : ffffffc07c8e0000
x1 : 0000000000000000 x0 : 0000000000000830
Call trace:
__ll_sc___cmpxchg_case_acq_8+0x4/0x20
rockchip_tve_shutdown+0x1c/0x38
platform_drv_shutdown+0x20/0x30
device_shutdown+0x118/0x200
kernel_restart_prepare+0x34/0x40
kernel_restart+0x14/0x78
__se_sys_reboot+0x1cc/0x208
__arm64_sys_reboot+0x18/0x20
el0_svc_common.constprop.0+0x64/0x178
el0_svc_handler+0x28/0x78
el0_svc+0x8/0xc
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Ic1e85b963548e5e66ef78fae5af8dcc12e928fa2
2022-12-01 15:29:12 +08:00
Liang Chen
9368d30479
ARM: dts: rockchip: rk3128-evb-ddr3-v10-linux: correct node name for rk805 regualtors
...
error log:
[ 3.079253] rk808 0-0018: using lookup tables for GPIO lookup
[ 3.079269] rk808 0-0018: No GPIO consumer dvs found
[ 3.079285] rk808-regulator rk808-regulator: there is no dvs1 gpio
[ 3.086236] DCDC_REG1: supplied by regulator-dummy
[ 3.092350] DCDC_REG2: supplied by regulator-dummy
[ 3.092948] <<GTP-INF>>[gt1x_get_chip_type:903] Chip Type: GT1X
[ 3.097899] DCDC_REG3: supplied by regulator-dummy
[ 3.109098] DCDC_REG4: supplied by regulator-dummy
[ 3.112873] <<GTP-INF>>[gt1x_read_version:859] IC VERSION:GT917S_000203(Patch)_0101(Mask)_00(SensorID)
[ 3.123382] <<GTP-INF>>[gt1x_init_panel:604] Config group0 used, length:239
[ 3.123744] LDO_REG1: supplied by regulator-dummy
[ 3.130454] <<GTP-INF>>[gt1x_init_panel:655] X_MAX=720,Y_MAX=1280,TRIGGER=0x01,WAKEUP_LEVEL=1
[ 3.144571] LDO_REG2: supplied by regulator-dummy
[ 3.150481] LDO_REG3: supplied by regulator-dummy
[ 3.160549] rk808-rtc rk808-rtc: registered as rtc1
root@rk312x:/#
root@rk312x:/# ls /sys/kernel/debug/regulator/
0-0018-DCDC_REG1 supply_map
0-0018-DCDC_REG2 vcc3v3_lcd_n
0-0018-DCDC_REG3 vcc5v0_sys
0-0018-DCDC_REG4 vcc_2v8_cam
0-0018-LDO_REG1 vcc_host_5v
0-0018-LDO_REG2 vcc_hub_5v
0-0018-LDO_REG3 vcc_phy
reg-dummy-regulator-dummy vcc_sdmmc
regulator_summary vccio_wifi
Signed-off-by: Liang Chen <cl@rock-chips.com >
Change-Id: Iac0857006b09b56981c6033f74318eb80a2936e0
2022-12-01 15:26:01 +08:00
Simon Xue
22dccf0395
iommu/rockchip: fix devm_free_irq
...
RK3128 vop-iommu skip request the irq due to register read issue.
So don't free irq when shut down or belowing error will output
[ 102.107589] WARNING: CPU: 3 PID: 1013 at kernel/irq/devres.c:143 devm_free_irq+0x68/0x9c
[ 102.115720] Modules linked in:
[ 102.118862] CPU: 3 PID: 1013 Comm: init Not tainted 5.10.110 #15
[ 102.124907] Hardware name: Generic DT based system
[ 102.129732] Backtrace:
[ 102.132230] [<c0bb9218>] (dump_backtrace) from [<c0bb95b8>] (show_stack+0x20/0x24)
[ 102.139843] r7:600f0013 r6:c0e96442 r5:00000000 r4:c1219d6c
[ 102.145553] [<c0bb9598>] (show_stack) from [<c0bbc7f8>] (dump_stack_lvl+0x94/0xac)
[ 102.153171] [<c0bbc764>] (dump_stack_lvl) from [<c0bbc824>] (dump_stack+0x14/0x1c)
[ 102.160780] r7:00000000 r6:00000000 r5:00000009 r4:c017ac34
[ 102.166488] [<c0bbc810>] (dump_stack) from [<c011fd80>] (__warn+0xd4/0x100)
[ 102.173497] [<c011fcac>] (__warn) from [<c0bb9cd8>] (warn_slowpath_fmt+0x8c/0xc4)
[ 102.181026] r9:00000000 r8:00000009 r7:c017ac34 r6:0000008f r5:c0df4ea4 r4:c353c000
[ 102.188820] [<c0bb9c50>] (warn_slowpath_fmt) from [<c017ac34>] (devm_free_irq+0x68/0x9c)
[ 102.196962] r9:c0e44260 r8:c128d018 r7:c12ea690 r6:c1a17f40 r5:0000002e r4:c353c000
[ 102.204759] [<c017abcc>] (devm_free_irq) from [<c051e934>] (rk_iommu_shutdown+0x58/0x5c)
[ 102.212895] r6:c1a17f40 r5:00000001 r4:c197ec00
[ 102.217558] [<c051e8dc>] (rk_iommu_shutdown) from [<c05b134c>] (platform_drv_shutdown+0x2c/0x30)
[ 102.226385] r7:c12ea690 r6:c12285f0 r5:c197ec10 r4:c197ec14
[ 102.232094] [<c05b1320>] (platform_drv_shutdown) from [<c05ad464>] (device_shutdown+0x15c/0x1dc)
[ 102.240938] [<c05ad308>] (device_shutdown) from [<c01441d4>] (kernel_restart_prepare+0x3c/0x48)
[ 102.249684] r10:00000058 r9:01234567 r8:00000010 r7:c353c000 r6:4321fedc r5:c11168ec
[ 102.257548] r4:00000000
[ 102.260124] [<c0144198>] (kernel_restart_prepare) from [<c01442f4>] (kernel_restart+0x1c/0x60)
[ 102.268785] [<c01442d8>] (kernel_restart) from [<c01445d8>] (__do_sys_reboot+0x154/0x1e0)
[ 102.277004] r5:c11168ec r4:00000000
[ 102.280617] [<c0144484>] (__do_sys_reboot) from [<c01446d4>] (sys_reboot+0x18/0x1c)
[ 102.288326] r9:c353c000 r8:c01002c4 r7:00000058 r6:005241c4 r5:00524140 r4:00000000
[ 102.296121] [<c01446bc>] (sys_reboot) from [<c0100060>] (ret_fast_syscall+0x0/0x54)
[ 102.303821] Exception stack(0xc353dfa8 to 0xc353dff0)
[ 102.308912] dfa0: 00000000 00524140 fee1dead 28121969 01234567 00000010
[ 102.317141] dfc0: 00000000 00524140 005241c4 00000058 beddbefc 0044b1a8 b6f39d00 b6f3a010
[ 102.325364] dfe0: 00523b5c beddbc90 004dadf4 b6e584c8
[ 102.330545] ---[ end trace adc766c58fa6634f ]---
[ 102.335275] ------------[ cut here ]------------
[ 102.339948] WARNING: CPU: 3 PID: 1013 at kernel/irq/manage.c:1756 free_irq+0x26c/0x29c
[ 102.347907] Trying to free already-free IRQ 46
[ 102.352381] Modules linked in:
[ 102.355479] CPU: 3 PID: 1013 Comm: init Tainted: G W 5.10.110 #15
[ 102.362907] Hardware name: Generic DT based system
[ 102.367721] Backtrace:
[ 102.370212] [<c0bb9218>] (dump_backtrace) from [<c0bb95b8>] (show_stack+0x20/0x24)
[ 102.377824] r7:600f0093 r6:c0e96442 r5:00000000 r4:c1219d6c
[ 102.383532] [<c0bb9598>] (show_stack) from [<c0bbc7f8>] (dump_stack_lvl+0x94/0xac)
[ 102.391150] [<c0bbc764>] (dump_stack_lvl) from [<c0bbc824>] (dump_stack+0x14/0x1c)
[ 102.398759] r7:c353dd34 r6:00000000 r5:00000009 r4:c017823c
[ 102.404466] [<c0bbc810>] (dump_stack) from [<c011fd80>] (__warn+0xd4/0x100)
[ 102.411473] [<c011fcac>] (__warn) from [<c0bb9cd8>] (warn_slowpath_fmt+0x8c/0xc4)
[ 102.419002] r9:c0df48e7 r8:00000009 r7:c017823c r6:000006dc r5:c0df4854 r4:c353c000
[ 102.426799] [<c0bb9c50>] (warn_slowpath_fmt) from [<c017823c>] (free_irq+0x26c/0x29c)
[ 102.434676] r9:600f0013 r8:0000002e r7:c1a17f40 r6:c1978a6c r5:00000000 r4:c1978a00
[ 102.442471] [<c0177fd0>] (free_irq) from [<c017ac40>] (devm_free_irq+0x74/0x9c)
[ 102.449832] r10:c197ec54 r9:c0e44260 r8:c128d018 r7:c12ea690 r6:c1a17f40 r5:0000002e
[ 102.457700] r4:c353c000
[ 102.460278] [<c017abcc>] (devm_free_irq) from [<c051e934>] (rk_iommu_shutdown+0x58/0x5c)
[ 102.468414] r6:c1a17f40 r5:00000001 r4:c197ec00
[ 102.473075] [<c051e8dc>] (rk_iommu_shutdown) from [<c05b134c>] (platform_drv_shutdown+0x2c/0x30)
[ 102.481901] r7:c12ea690 r6:c12285f0 r5:c197ec10 r4:c197ec14
[ 102.487611] [<c05b1320>] (platform_drv_shutdown) from [<c05ad464>] (device_shutdown+0x15c/0x1dc)
[ 102.496453] [<c05ad308>] (device_shutdown) from [<c01441d4>] (kernel_restart_prepare+0x3c/0x48)
[ 102.505200] r10:00000058 r9:01234567 r8:00000010 r7:c353c000 r6:4321fedc r5:c11168ec
[ 102.513066] r4:00000000
[ 102.515642] [<c0144198>] (kernel_restart_prepare) from [<c01442f4>] (kernel_restart+0x1c/0x60)
[ 102.524302] [<c01442d8>] (kernel_restart) from [<c01445d8>] (__do_sys_reboot+0x154/0x1e0)
[ 102.532521] r5:c11168ec r4:00000000
[ 102.536134] [<c0144484>] (__do_sys_reboot) from [<c01446d4>] (sys_reboot+0x18/0x1c)
[ 102.543833] r9:c353c000 r8:c01002c4 r7:00000058 r6:005241c4 r5:00524140 r4:00000000
[ 102.551626] [<c01446bc>] (sys_reboot) from [<c0100060>] (ret_fast_syscall+0x0/0x54)
[ 102.559324] Exception stack(0xc353dfa8 to 0xc353dff0)
[ 102.564414] dfa0: 00000000 00524140 fee1dead 28121969 01234567 00000010
[ 102.572641] dfc0: 00000000 00524140 005241c4 00000058 beddbefc 0044b1a8 b6f39d00 b6f3a010
[ 102.580864] dfe0: 00523b5c beddbc90 004dadf4 b6e584c8
[ 102.585947] ---[ end trace adc766c58fa66350 ]---
Change-Id: Ic0603d4d00528dc6b5ef6d480b15d3c14585dec3
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2022-12-01 10:31:42 +08:00
Frank Wang
f07500720b
phy: rockchip: usbdp: init flip variable in fixed lane mux case
...
It should be initialized the USB flip for fixed lane mapping case
if the USB lanes are assigned. The ln0/ln1 is normal (!flip) and ln2/ln3
is reverse (flip).
This also amend "rx cdr lock timeout" log level to notice since it
may not cause the functional defect in most cases.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com >
Change-Id: I693f772b87df97581a60f89219ec4dc6cafb79a3
2022-11-30 16:22:03 +08:00
Elaine Zhang
cd10522093
clk: rockchip: fix up frac clk parent no update
...
For some special conditions, the parent clock of fractional
is not updated correctly.
before clk summary:
clk_spdif2_dp0_src
clk_spdif2_dp0
mclk_spdif2
mclk_spdif2_dp0
clk_spdif2_dp0_frac
after clk summary:
clk_spdif2_dp0_src
clk_spdif2_dp0_frac
clk_spdif2_dp0
mclk_spdif2
mclk_spdif2_dp0
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
Change-Id: I9e9027774bf25f0f0ea6d8df6491a7feef4ffc48
2022-11-30 15:06:38 +08:00
Finley Xiao
37158d1f2b
clk: rockchip: rk3128: Change SCLK_DDRC to composite
...
Change-Id: I6aeae7103c1eaed0b4515d8d11863c4b190b6918
Signed-off-by: Liang Chen <cl@rock-chips.com >
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
2022-11-30 15:03:05 +08:00
Jianqun Xu
649f030b09
video: rockchip: mpp: fix gcc-6 compile error without AV1DEC driver
...
drivers/video/rockchip/mpp/mpp_service.o: In function `mpp_add_driver':
drivers/video/rockchip/mpp/mpp_service.c:102: undefined reference to `av1dec_driver_register'
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
Change-Id: Ibf2effb98ce7c0c2219d3bbd762dd8c34530626f
2022-11-30 14:54:18 +08:00
Simon Xue
17dc73a159
drm/rockchip: logo: fix rockchip_free_loader_memory
...
Add "mem=0x40000000" to COMMAND LINE, kernel will crash:
[ 18.379633][ T35] Unable to handle kernel paging request at virtual address ffffffff01d7c000
[ 18.380412][ T35] Mem abort info:
[ 18.380726][ T35] ESR = 0x96000006
[ 18.381060][ T35] EC = 0x25: DABT (current EL), IL = 32 bits
[ 18.381587][ T35] SET = 0, FnV = 0
[ 18.381920][ T35] EA = 0, S1PTW = 0
[ 18.382264][ T35] Data abort info:
[ 18.382585][ T35] ISV = 0, ISS = 0x00000006
[ 18.383029][ T35] CM = 0, WnR = 0
[ 18.383360][ T35] swapper pgtable: 4k pages, 39-bit VAs, pgdp=0000000001c47000
[ 18.384014][ T35] [ffffffff01d7c000] pgd=0000000040f2f003, p4d=0000000040f2f003, pud=0000000040f2f003, pmd=0000000000000000
[ 18.385299][ T35] Internal error: Oops: 96000006 [#1 ] PREEMPT SMP
[ 18.385862][ T35] Modules linked in:
[ 18.386205][ T35] CPU: 2 PID: 35 Comm: kworker/2:1 Not tainted 5.10.110 #324
[ 18.386843][ T35] Hardware name: Rockchip RK3568 EVB1 DDR4 V10 Board (DT)
[ 18.387470][ T35] Workqueue: events rockchip_drm_fb_destroy_work
[ 18.388026][ T35] pstate: 80c00009 (Nzcv daif +PAN +UAO -TCO BTYPE=--)
[ 18.388626][ T35] pc : rockchip_free_loader_memory+0x100/0x1a0
[ 18.389156][ T35] lr : rockchip_free_loader_memory+0xc8/0x1a0
[ 18.389683][ T35] sp : ffffffc0125abd00
[ 18.390039][ T35] x29: ffffffc0125abd00 x28: 0000000000001000
[ 18.390570][ T35] x27: ffffff807df00000 x26: 0000008000000000
[ 18.391099][ T35] x25: fffffffeffe00000 x24: 0000000000000001
[ 18.391628][ T35] x23: ffffff80043d6300 x22: ffffff807df00000
[ 18.392157][ T35] x21: ffffff807dfb7000 x20: ffffff80043a8480
[ 18.392686][ T35] x19: ffffffff01d7c000 x18: 0000000000000000
[ 18.393215][ T35] x17: 0000000000000000 x16: 0000000000000000
[ 18.393744][ T35] x15: 00000072e03fbb78 x14: 0000000000000000
[ 18.394273][ T35] x13: 000000000000003d x12: 0000000000000000
[ 18.394802][ T35] x11: 00000000fffffff6 x10: ffffffc0122f8000
[ 18.395330][ T35] x9 : 0000000000010000 x8 : 0000000000000008
[ 18.395859][ T35] x7 : 0000000000818000 x6 : ffffff801ad909f0
[ 18.396387][ T35] x5 : 0000000000000039 x4 : ffffffc0122d01b8
[ 18.396917][ T35] x3 : 0000000000000000 x2 : 0000000000000000
[ 18.397445][ T35] x1 : ffffff80032622d8 x0 : 0000000000001000
[ 18.397975][ T35] Call trace:
[ 18.398255][ T35] rockchip_free_loader_memory+0x100/0x1a0
[ 18.398762][ T35] __rockchip_drm_fb_destroy+0xa4/0xc8
[ 18.399233][ T35] rockchip_drm_fb_destroy_work+0x14/0x20
[ 18.399728][ T35] process_one_work+0x1b0/0x490
[ 18.400142][ T35] worker_thread+0x4c/0x3f8
[ 18.400534][ T35] kthread+0x140/0x160
[ 18.400882][ T35] ret_from_fork+0x10/0x30
Logo buffer allocated from Uboot which may removed in kernel for any
purpose such as "debug". So, before freeing to the buddy system, we
must check if the buffer are valid.
Change-Id: I9a27c4552a3c7f450b034d2a6c6c3a321bb2fc54
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2022-11-30 09:37:58 +08:00
Liang Chen
5151d5723a
ARM: dts: rockchip: rk312x-android: enable irq mode for fiq-debugger
...
Fiq mode is not ready on kernel-5.10.
Signed-off-by: Liang Chen <cl@rock-chips.com >
Change-Id: I658582c00b055fcab938e3ac479bb26b69c70201
2022-11-30 09:00:10 +08:00
Jianwei Fan
9409e07a01
media: rockchip: cif: add BGR888 format support
...
Change-Id: I1368917d0899f4f972c9ea3548b01dd9b9d1d6e8
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
2022-11-29 21:22:04 +08:00
Zefa Chen
e79faf3c91
media: rockchip: vicap fixed data type error for Y8/Y10/Y12
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I9aa8841b5a0925eaa99117dd28c36d9929a4745a
2022-11-29 21:21:06 +08:00
Elon Zhang
0700444da4
ARM: dts: rockchip: add rv1106g-smart-door-lock-rmsl-v12.dts
...
Major changes from v10:
1) Change WiFi sdio from SDMMC0 to SDIO_M0.
2) RK803 Flood&PRO GPIO pin changes due to 1).
Signed-off-by: Elon Zhang <zhangzj@rock-chips.com >
Change-Id: If264d2ec1ff7421a5089244b116cd3bac9bcbf70
2022-11-29 19:43:01 +08:00
Elon Zhang
d331f0f14e
ARM: dts: rockchip: rv1106-pinctrl: add sdmmc1m0_bus1
...
Signed-off-by: Elon Zhang <zhangzj@rock-chips.com >
Change-Id: I7e727eca6ece4d84d5cbd438c33c8be1ca72a263
2022-11-29 19:43:01 +08:00
David Wu
593076a706
net: phy: motorcomm: Add 100m BGS voltage for RK631
...
Signed-off-by: David Wu <david.wu@rock-chips.com >
Change-Id: I1a8fd4d428e0d3d6c8a0c6b3e2dd63c5d53590a5
2022-11-29 19:36:15 +08:00
ZiHan Huang
8a99863c84
ARM: dts: rockchip: rk3036 adaptive pwm3 Infrared function
...
Change-Id: Idb6251f109900c4c2956688a849aced0e9872a10
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com >
2022-11-29 18:09:37 +08:00
ZiHan Huang
e356fea7b2
ARM: configs: rockchip_linux_defconfig: add remotectl pwm
...
Change-Id: I62ec4985381e16b19d8dc00a16bdefa7258f2ff3
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com >
2022-11-29 18:08:00 +08:00
Weiwen Chen
7b00a6d6dc
ARM: configs: rockchip: rv1106/rv1103 enable CONFIG_MTD_SPI_NOR_MISC for spi nor
...
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: Ib0c3ee9974f4403bf077091c00227c5a6fa673cf
2022-11-29 15:38:31 +08:00
Li Huang
fa5530debc
ARM: dts: rockchip: rk3036: update GPU node
...
Change-Id: I43e646bf73f1d8252a6cad332d89126f535e34cf
Signed-off-by: Li Huang <putin.li@rock-chips.com >
2022-11-29 15:19:01 +08:00
ZiHan Huang
8362e44f2f
ARM: dts: rockchip: rk3036: add pd_gpu
...
Change-Id: I2850c18283f125b79429ca6799d9a53a86462ff3
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com >
2022-11-29 15:18:52 +08:00
David Wu
4a26cfea46
net: phy: rk630phy: Add Tx mos drive strength
...
Signed-off-by: David Wu <david.wu@rock-chips.com >
Change-Id: I8d4deef87d6e9be91100edfcbea40c0b8bd8c808
2022-11-29 15:11:29 +08:00
Wyon Bi
c6ec87e1a4
arm64: dts: rockchip: rk3326-evb-lp3-v11-avb: Add a delay after exiting panel sleep mode
...
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Change-Id: I20fbfd917bb4effdba05482690a513a43e613785
2022-11-29 15:09:04 +08:00
Wyon Bi
6452e5b514
arm64: dts: rockchip: px30-mini-evb-ddr3-v11-avb: Add a delay after exiting panel sleep mode
...
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Change-Id: Id1d092635b6fe08f547784caa3b570f622bb9d6b
2022-11-29 15:09:04 +08:00
Liang Chen
e1b13f917c
cpufreq: rockchip: do not select CONFIG_CPUFREQ_DT_PLATDEV for cpufreq-dt
...
cpufreq-dt-platdev.c is useless on rockchip platform, remove it and save
memory.
$ ./scripts/bloat-o-meter vmlinux_before vmlinux
add/remove: 0/4 grow/shrink: 0/0 up/down: 0/-18284 (-18284)
Function old new delta
__initcall_cpufreq_dt_platdev_init6 4 - -4
cpufreq_dt_platdev_init 248 - -248
blacklist 8232 - -8232
whitelist 9800 - -9800
Total: Before=10211366, After=10193082, chg -0.18%
Change-Id: Ibcc15aa3a8b13afa208c77979b75c617aeaef5fb
Signed-off-by: Liang Chen <cl@rock-chips.com >
2022-11-29 15:08:13 +08:00
ZiHan Huang
e8870aba92
ARM: dts: rockchip: rk3036-echo/kylin use new mpp_srv node
...
Change-Id: I4328f42bda41ff34dda1fef4bc205cc1be0d4b14
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com >
2022-11-29 11:09:50 +08:00
ZiHan Huang
d48e1e297a
ARM: dts: rockchip: rk3036.dtsi vdec adapts to the 5.10 kernel
...
Change-Id: I1a10dfd9af01d83bb78cf889ffc1cd27e7d0dda5
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com >
2022-11-29 11:08:39 +08:00
ZiHan Huang
2645ecd2d7
ARM: dts: rockchip: rk3036-echo/kylin delete old vpu node
...
5.10 kernel use vdec node
Change-Id: I0dd1ac897a82e84e1770287bb2edd2a1efb30b87
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com >
2022-11-29 11:08:20 +08:00
Jon Lin
5e2e107ee6
arm64: dts: rockchip: px30: add SFC node
...
Change-Id: Ia7ef02ee734f148deb2b626526c3cb615e9daaf2
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2022-11-29 10:29:35 +08:00
Jianwei Fan
d7fe3090a1
media: i2c: lt7911uxc: fix source change event report
...
Change-Id: Ib90bf34ed75270c9de71973bcb2315cd7ae11c5b
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
2022-11-29 09:37:30 +08:00
Jianwei Fan
4ebfe9018e
media: i2c: lt6911uxe: fix source change event report
...
Change-Id: I311f5f9fc8398e3db4fb43ee19de071fe6ddd0ca
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
2022-11-29 09:37:14 +08:00
Weiwen Chen
aaf9337e46
ARM: configs: rockchip: rv1106-battery-ipc.config support ext4
...
insmod ext4 filesystem support:
insmod jbd2.ko
insmod crc16.ko
insmod mbcache.ko
insmod ext4.ko
Updated by:
make ARCH=arm rv1106_defconfig rv1106-tb.config
cp .config rv1106.config
make ARCH=arm rv1106_defconfig rv1106-tb.config rv1106-battery-ipc.config
make ARCH=arm menuconfig
./scripts/diffconfig -m rv1106.config .config > arch/arm/configs/rv1106-battery-ipc.config
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: Ibc2295e5376949c8e65863b594cce8d0cb848167
2022-11-28 17:09:28 +08:00
Weiwen Chen
eabcc7ba36
ARM: dts: rockchip: add rv1106g-evb2-v11-emmc.dts
...
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: I113a63a7be946c40a314269eda36f3f36b652a39
2022-11-28 17:09:28 +08:00
Sandy Huang
e8af16cf5a
arm64: configs: rockchip_defconfig: enable CPU_RK3528
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
Change-Id: I9b03f85c9637e5377608dd02ed4e5244e6f33071
2022-11-28 16:08:15 +08:00
Sandy Huang
c229745739
soc: rockchip: Adds CPU_RK3528 config
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
Change-Id: I13cdad34e43b9e75944a267d4c6c83c1a55eacdc
2022-11-28 16:07:54 +08:00
Wu Liangqing
0c27529b17
arm64: dts: rockchip: add rk3588-h0-v10.dts
...
Change-Id: I3bd61b436eb4c6fde6069f327b6467591d2e4fc3
Signed-off-by: Wu Liangqing <wlq@rock-chips.com >
2022-11-28 15:08:32 +08:00
Jianwei Zheng
5df41387b9
phy: rockchip: inno-usb2: fix phy power off causes usb controller abnormal
...
Usb controller require the clk from phy to work normally. In the
current code, if the dr_mode is set to peripheral and limit to
high speed, there are two cases that usb controller will work
abnormally due to phy power off.
1. The USB cable is not plug in when system start up, at this
time, the otg_sm_work will call rockchip_usb2phy_power_off to
suspend phy. However, if the upper layer uses configfs to operate
the controller after phy power off, controller will work abnormally.
2. Plug in the usb cable and start up the system, the controller
works in peripheral mode and PC recongnize it. IF we unplug the
usb cable, the vbus will not detected, otg_sm_work will also call
rockchip_usb2phy_power_off to suspend phy, when the upper layer
use configfs to operate the controller, phy has been suspended,
controller will work abnormally.
To fix these cases, this patch add a new property "rockchip,dis-u2-
susphy" to avoid phy power off.
Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com >
Change-Id: I6c9921c8060747667d7bedb2cf76a38a896c05f5
2022-11-28 15:07:09 +08:00
Yu Qiaowei
0960de8b28
ARM: dts: rockchip: Remove dma-coherent on RK312x RGA2.
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: Ie46c49fe6d672ae1f32da300a1f072b0d478ebb0
2022-11-28 14:21:27 +08:00
Yu Qiaowei
f60012eb97
video/rockchip: rga: rename drvdata to rga_drvdata
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I28e7255f1e08a2c85476053395172bcd0a6615bf
2022-11-28 14:21:27 +08:00
Yu Qiaowei
f0e546653b
video/rockchip: rga: fix bug with time debug nodes
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: Ie58a83af91c79e79cd6b85eeea78cf7ff820393c
2022-11-28 14:21:27 +08:00
Yu Qiaowei
475afae810
video/rockchip: rga: adapt to kernel 4.4
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: Ic1f8e21e5d1841d3533d0d74d46caf668c48645e
2022-11-28 14:21:27 +08:00
Yu Qiaowei
2dd6530d31
video/rockchip: rga: remove ^m
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I2d3945442ef45b6baa9be9d286c1d7b4c70918c8
2022-11-28 14:21:27 +08:00
ZiHan Huang
97ca52bdc0
ARM: dts: rockchip: rk3036: fix compatible of pwm nodes
...
PWM in rk3036 is the same as rk3288
Change-Id: I078e068c8e6fe64fd2f53b0fde1b1fb9984c76bc
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com >
2022-11-28 14:14:51 +08:00