Commit Graph

865323 Commits

Author SHA1 Message Date
Liang Chen
289a92b87e 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>
2021-08-18 16:44:33 +08:00
Liang Chen
745d67d98a cpufreq: rockchip: optimize static memory consume
$ ./scripts/bloat-o-meter drivers/cpufreq/rockchip-cpufreq.o.before drivers/cpufreq/rockchip-cpufreq.o
add/remove: 0/3 grow/shrink: 0/1 up/down: 0/-2196 (-2196)
Function                                     old     new   delta
px30_get_soc_info                            208       -    -208
rk3399_get_soc_info                          360       -    -360
rk3288_get_soc_info                          648       -    -648
rockchip_cpufreq_of_match                   1568     588    -980
Total: Before=5053, After=2857, chg -43.46%

Change-Id: I7db697bf92ee552b6e3b28211ee64e509e99b0d3
Signed-off-by: Liang Chen <cl@rock-chips.com>
2021-08-18 16:38:56 +08:00
Herman Chen
1cbabbe2f1 arm64: dts: rockchip: rk3568: rkvdec enable link mode
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Iecec544986ef0a5bccddef58a2d1e1cedfff69fd
2021-08-18 15:07:43 +08:00
Herman Chen
de603806f0 video: rockchip: mpp: rkvdec2: Add link mode flow
rkvdec2 link mode use a new serialized work flow.

This process is for link mode decoder in RK356x.
The new flow run async with hardware and use multiple trigger event to
run the work thread. All task operation, power operation and reset
operation are serialzed in one thread with certain order.
This is mainly for runtime debug and it will simplify the system design.

rkvdec2 link mode use two sets of counters to control the hardware io:
1. write / read task for preparing link mode task to ddr.
2. send / recv task for sending / receiving task from hardware.

All the operations are serialized in single work thread. So only a few
of lock and atomic is required.

The decoded counter and total counter are the synchronization method
between driver and hardware.

NOTE:
1. link mode reset should use sip_reset.
2. link mode should not change hardware frequency or power off when
there is still task running.
3. link mode should not access hardware when there is an error happen.
4. link mode should reserve a stuff task for H.264 decode task.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I7736d54a64225089cd6d1b6522f660ce4481d437
2021-08-18 11:20:58 +08:00
Elaine Zhang
eb2460ac41 soc: rockchip: pm-domain: optimize static memory consume
$ ./scripts/bloat-o-meter pm_domains_old.o pm_domains.o
dd/remove: 0/22 grow/shrink: 0/1 up/down: 0/-9328 (-9328)
Function                                     old     new   delta
rk3568_pmu                                    44       -     -44
rk3399_pmu                                    44       -     -44
rk3368_pmu                                    44       -     -44
rk3366_pmu                                    44       -     -44
rk3328_pmu                                    44       -     -44
rk3288_pmu                                    44       -     -44
rk3228_pmu                                    44       -     -44
rk3128_pmu                                    44       -     -44
rk3036_pmu                                    44       -     -44
rk1808_pmu                                    44       -     -44
px30_pmu                                      44       -     -44
rk3128_pm_domains                            220       -    -220
rk3036_pm_domains                            308       -    -308
rk1808_pm_domains                            396       -    -396
rk3328_pm_domains                            440       -    -440
rk3228_pm_domains                            484       -    -484
rk3366_pm_domains                            528       -    -528
rk3288_pm_domains                            616       -    -616
px30_pm_domains                              660       -    -660
rk3568_pm_domains                            704       -    -704
rk3368_pm_domains                            748       -    -748
rk3399_pm_domains                           1584       -   -1584
rockchip_pm_domain_dt_match                 2548     392   -2156
Total: Before=17357, After=8029, chg -53.74%

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I1b8b307736edc9c02720c11460041e54fc6b98dd
2021-08-18 09:51:12 +08:00
Algea Cao
7dd8c3a4ce drm/rockchip: dw_hdmi: Support skip check yuv420 mode valid
Do this check in userspace.

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I1a3b8510a58cdc0f1459c71ad6983a9ebf7240ce
2021-08-17 16:57:24 +08:00
Algea Cao
33955b1ed6 arm64: dts: rockchip: rk3568-nvr: Add hdmi property skip-check-420-mode
NVR product isn't need to check yuv420 mode valid in hdmi driver.

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I56264bd3e4a9a3e9d5ddbec48e36fb816dd1de65
2021-08-17 16:57:24 +08:00
Andy Yan
35e377f262 drm/rockchip: Use a standalone mutex_lock protect planes configuration
Fix a deadlock on commit_lock when flush commit_work on async
commit mode:
mutex_lock(&private->commit_lock);
	flush_work(&private->commit_work);
		rockchip_atomic_commit_complete
			mutex_lock(&prv->commit_lock);
        			drm_atomic_helper_commit_planes(dev, state, true);

[root@RK356X:/]# echo w  > /proc/sysrq-trigger
[73134.630331] sysrq: Show Blocked State
[73134.630406]   task                        PC stack   pid father
[73134.630544] weston          D    0   585      1 0x00000000
[73134.630584] Call trace:
[73134.630648]  __switch_to+0xc0/0x124
[73134.630698]  __schedule+0x6f0/0x778
[73134.630739]  schedule+0x70/0x84
[73134.630779] [root@RK356X:/]#  schedule_timeout+0x4c/0x3d0
[73134.630817]  wait_for_common+0xe0/0x17c
[73134.630844]  wait_for_completion+0x28/0x34
[73134.630878]  __flush_work+0x118/0x1ac
[73134.630918]  flush_work+0x24/0x30
[73134.630961]  rockchip_drm_atomic_commit+0x154/0x220
[73134.631005]  drm_atomic_nonblocking_commit+0x54/0x60
[73134.631047]  drm_atomic_helper_page_flip+0x6c/0xa8
[73134.631089]  drm_mode_page_flip_ioctl+0x368/0x420
[73134.631119]  drm_ioctl_kernel+0x8c/0xfc
[73134.631166]  drm_ioctl+0x328/0x3bc
[73134.631207]  vfs_ioctl+0x58/0x68
[73134.631245]  do_vfs_ioctl+0xb4/0x9d4
[73134.631280]  ksys_ioctl+0x50/0x80
[73134.631317]  __arm64_sys_ioctl+0x28/0x38
[73134.631360]  el0_svc_common.constprop.0+0xe8/0x168
[73134.631389]  el0_svc_handler+0x70/0x8c
[73134.631435]  el0_svc+0x8/0xc
[73134.631497] kworker/3:1     D    0   823      2 0x00000028
[73134.631557] Workqueue: events rockchip_drm_atomic_work
[73134.631597] Call trace:
[73134.631643]  __switch_to+0xc0/0x124
[73134.631670]  __schedule+0x6f0/0x778
[73134.631711]  schedule+0x70/0x84
[73134.631749]  schedule_preempt_disabled+0x14/0x1c
[73134.631786]  __mutex_lock.isra.1+0x2c4/0x430
[73134.631824]  __mutex_lock_slowpath+0x24/0x30
[73134.631862]  mutex_lock+0x40/0x4c
[73134.631902]  rockchip_atomic_commit_complete+0xa0/0x124
[73134.631930]  rockchip_drm_atomic_work+0x20/0x30
[73134.631958]  process_one_work+0x200/0x330
[73134.631997]  process_scheduled_works+0x44/0x48
[73134.632037]  worker_thread+0x26c/0x2fc
[73134.632075]  kthread+0x120/0x130
[73134.632113]  ret_from_fork+0x10/0x18

Change-Id: Ia571c077f2d88854f9f568bb1693365e154d1e6c
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2021-08-16 20:11:19 +08:00
Jon Lin
1da3365c11 soc: rockchip: mtd_vendor_storage: Register vendor_storage later
Since storage drivers register in module_init, So the vendor_storage
should be initiated after it.

Change-Id: Icefce56c54713dd56ef992ec527e65fce4f0c977
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2021-08-16 17:52:49 +08:00
Shunqing Chen
e0123a61bd media: i2c: rk628csi: fix division by zero
[<c010f0c4>] (unwind_backtrace) from [<c010b3dc>] (show_stack+0x10/0x14)
[<c010b3dc>] (show_stack) from [<c03fcff8>] (dump_stack+0x7c/0x98)
[<c03fcff8>] (dump_stack) from [<c03fb0c4>] (Ldiv0_64+0x8/0x18)
[<c03fb0c4>] (Ldiv0_64) from [<c06bb3e8>] (enable_stream+0x290/0x940)
[<c06bb3e8>] (enable_stream) from [<c06bc784>]
(rk628_csi_s_stream+0x10/0x18)
[<c06bc784>] (rk628_csi_s_stream) from [<c06f7538>]
(rkisp1_pipeline_set_stream+0x7c/0x224)
[<c06f7538>] (rkisp1_pipeline_set_stream) from [<c06ff754>]
(rkisp1_start_streaming+0x364/0x69c)
[<c06ff754>] (rkisp1_start_streaming) from [<c06dc918>]
(vb2_start_streaming+0x64/0x128)
[<c06dc918>] (vb2_start_streaming) from [<c06dd4a8>]
(vb2_core_streamon+0xd0/0x12c)
[<c06dd4a8>] (vb2_core_streamon) from [<c06ccc4c>]
(__video_do_ioctl+0x224/0x2bc)
[<c06ccc4c>] (__video_do_ioctl) from [<c06cc668>]
(video_usercopy+0x294/0x648)
[<c06cc668>] (video_usercopy) from [<c06c65c8>] (v4l2_ioctl+0x5c/0x98)
[<c06c65c8>] (v4l2_ioctl) from [<c024f21c>] (do_vfs_ioctl+0x94/0x6a0)
[<c024f21c>] (do_vfs_ioctl) from [<c024f874>] (SyS_ioctl+0x4c/0x70)
[<c024f874>] (SyS_ioctl) from [<c0107240>] (ret_fast_syscall+0x0/0x54)
Division by zero in kernel.

Signed-off-by: Shunqing Chen <csq@rock-chips.com>
Change-Id: Icb94f2ef1dc5575a162faae38e32352c5133ca27
2021-08-16 16:39:14 +08:00
Shunhua Lan
b9c8169b6a media: i2c: rk628csi: fix audio issues
1. reset hdmirx in cru when hotplug or res change to avoid audio L/R channel swap
2. disable hdmirx and audio unit when PHY setup
3. enable audio unit and audio fifo interrupts after N CTS updating
4. double initial audio fifo when fifo overflow after underflow
5. initial audio fifo when fifo overflow after underflow
6. fix i2c access timeout when hdmirx resetting
7. add 60ms delay after phy locked

Change-Id: I0bc2afe33a52a65c8a028695785fa273339b317b
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
2021-08-16 16:14:01 +08:00
Shunqing Chen
298933a151 media: i2c: rk628csi: fix den error when hdcp enable
When HDCP is enabled, there is a probability of data error for
a period of time, so we use the above method to workround it:
1. If read the same value six times, we think the data is stable.
2. If thd data is no stable after 1s, force hdcp avmute.
3. If avi packet is no ready, reset hdmi ctrl.

Signed-off-by: Shunqing Chen <csq@rock-chips.com>
Change-Id: Ia4d2fe5fc74188e593ea149404ad2504a0d8a482
2021-08-16 16:14:01 +08:00
Dingxian Wen
4b32bc65cf media: i2c: rk628csi: detect resolution changes as quickly as possible
Change-Id: I432c4178961641e541c75b62a21598d87ae142d8
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
2021-08-16 16:14:01 +08:00
Shunqing Chen
5d98311786 media: i2c: rk628csi: add hdcp support
Signed-off-by: Shunqing Chen <csq@rock-chips.com>
Change-Id: Id33a54d16fec2ddee6ae467b24dff69b637f529b
2021-08-16 16:14:01 +08:00
Chris Zhong
a95f1858e8 ARM: configs: enable rk817 battery and charge for rv1126-dictionary-pen
How to use this configuration:
make ARCH=arm rv1126_defconfig rv1126-dictionary-pen.config

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Change-Id: I85bc9744b61cd17f0b8f20aabf3184a4a931fd99
2021-08-16 15:39:05 +08:00
Chris Zhong
9417c333ab ARM: dts: rv1126: support dictionary pen
Change-Id: I4762988cb3c6ab350391fd3a0d8b9f4670b33eac
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
2021-08-16 15:39:05 +08:00
Algea Cao
5f6d039e73 drm/bridge: synopsys: dw-hdmi: Support force logo display
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ib885ab7064a874a898b1ae005f2a4d8e4e9a1b01
2021-08-16 14:51:50 +08:00
Sandy Huang
62e744244f drm/rockchip: drv: add rockchip default mode when enable force output
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Iebc75e54f4bef12baac694fc54a45af33540c783
2021-08-16 14:50:31 +08:00
Tao Huang
2d3d1c7157 pinctrl: rockchip: build depends on CPU config
When build with rv1126_defconfig:

before:
   text	   data	    bss	    dec	    hex	filename
  18918	  34120	      8	  53046	   cf36	drivers/pinctrl/pinctrl-rockchip.o

after:
   text	   data	    bss	    dec	    hex	filename
  11726	   3028	      8	  14762	   39aa	drivers/pinctrl/pinctrl-rockchip.o

Change-Id: I09e85d6a05f9bdee1033584bd1573d41d69633bc
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-08-13 16:08:56 +08:00
Zorro Liu
e90ec53494 drm/rockchip: ebc_dev: release version v2.09
1.support suspend logo refresh
2.support multi panel pmics define as:
&ebc_dev {
    pmic = <&tps65185 &sy7673a &xxxx>;
}
3.do err when bufmode not support

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I9686a7d2eae8051c04c53970acdc7793870dd553
2021-08-13 14:14:00 +08:00
Jon Lin
8133d7dca6 drivers: rkflash: Add some delay after DMA finish
When internal DMA ready, the last spare data may still in fifo.

Change-Id: I1cf670d2008ea62b67b517641e31386fd0877417
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2021-08-13 14:07:35 +08:00
XiaoTan Luo
75e3349fd2 media: i2c: techpoint: add support audio feature
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: XiaoTan Luo <lxt@rock-chips.com>
Change-Id: Ie5fdd39284575e89f8242c12bc6c14033ee5e80e
2021-08-13 11:37:05 +08:00
Shawn Lin
af2d7e096b PCI: rockchip: dw: Request perst IO as output-low state
Requesting perst# as high and then drive it low makes some
buggy devices fail to work properly, for instance Biwin SSD.
It's not mandatory to have a high-low transition for perst#
before powering up. So we request it as output-low state directly
and remove redundant code.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: Ib62954f8dccc8a21dd06e7a582263bcf62995f29
2021-08-13 11:36:03 +08:00
Jianqun Xu
ce93adb4e4 rknpu: gem: fix error sg_dma_addr for iommu case
Fixes: 9a93c881e9 ("driver: rknpu: Add rknpu driver for rk356x, version: 0.4.2")

Change-Id: I33a85f5eea54912113575d307977961424e28c0e
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2021-08-13 11:34:51 +08:00
Jianqun Xu
b6707ded53 drm/rockchip: fix error sg_dma_addr for iommu case
Fixes: e68e6d1a35 ("drm/rockchip: add dmabuf sync partial to dma_buf_ops")

Change-Id: I7499f049243b1c5bfe88793cd141730a90aef180
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2021-08-12 16:29:00 +08:00
Herman Chen
b5fcca90bf video: rockchip: mpp: rkvdec2: code cleanup
1. Remove unused state
The link mode process will be moved to new function.
2. Remove reduce frequency function
The future link mode process should not reduce hardware frequency.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I173912e149e68aca97d5367ce92facf1af05eda7
2021-08-11 18:08:54 +08:00
Herman Chen
6a3ea1ba7a video: rockchip: mpp: Add process/wait/worker
Add new function pointer for process task, wait task result and task
worker thread.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ib0b23c90083b9acab6a8eec8db0871304dbb72ca
2021-08-11 18:08:54 +08:00
Tao Huang
167b70d89d dt-bindings: sound: rockchip: Remove unused rockchip-audio.txt
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I66906fd849b5bcb58cab24640ad7c59f22551b0b
2021-08-11 17:56:32 +08:00
Tao Huang
d5ab87cf4f input: touchscreen: vtl_ts: remove unused fw dat files
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I8f8ea8d4797dede8f3eb61f4a16bacffb23c3257
2021-08-11 17:44:27 +08:00
Zefa Chen
08097421e4 media: rockchip: cif: fixed vc err in linear mode, if sensor driver not had vc config
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I5f0e383d8493958abfee7b62cdbd4ceb74f84b28
2021-08-11 15:59:34 +08:00
Cai YiWei
7b7373e368 media: rockchip: isp/ispp to version v1.6.2
Change-Id: I3959939530392f71313a3e30132d9746533f2d36
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2021-08-11 12:47:17 +08:00
Cai YiWei
337af37f84 media: rockchip: ispp: first frame handle for multi dev
Change-Id: Ie4bc4c8b8a7486fca6bd6b55ca395eb774997120
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2021-08-11 12:47:05 +08:00
Tao Huang
dd2f32a8b3 Revert "NFC: Add to support ap6441 & ap6493 nfc function."
This reverts commit 384134cb60.

bcm2079x is unused.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ibbc1b18fbadc1de9fa66915348b3382533ad1621
2021-08-11 11:13:22 +08:00
Tao Huang
c07549b1cb Revert "new add bmp logo for factorytool"
This reverts commit 170a300423.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I2a9701d3d175ee3e74e57df2395c792227e33c4b
2021-08-11 11:08:26 +08:00
Tao Huang
c7a202965d Revert "edp transmitter dp501 support"
This reverts commit c8cdb6107e.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I16260895178df1471baf98ff4a5ccce37d99a299
2021-08-11 11:01:41 +08:00
Yandong Lin
53f5d872b5 video: rockchip: mpp: fix failed to enable jpegd issue
Failed to enable jpeg dec hw when the soft-reset of
the previous frame has not been completed.
So we have to manually trigger to do soft-reset when checking
that the soft-reset of this frame is not completed

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ib4cbb3c8a42af9d7235bcf41194f5b9ea7c9e207
2021-08-11 10:27:11 +08:00
Jon Lin
1a36b157ba drivers: rkflash: Add retry after flash buffer bitflip
We found that this abnormality exists not only in power lost,
but also in extreme environments during normal use, so the
retry mechanism is added.

Change-Id: Iaaa84a099c575dde833f6806036ea216ab98fe54
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2021-08-11 09:54:46 +08:00
Cai YiWei
698423bf9f media: rockchip: ispp: fix driver mode sync with ispserver
Change-Id: Id3dad2f5c4e8a326f6c8541bdf75d8b8630b603d
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2021-08-11 09:53:33 +08:00
Tao Huang
b93fb90355 Revert "misc: SRAM: Add option to map SRAM to allow code execution"
This reverts commit 6e701bfc17.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I22c9babebd361c5858251a08c97c79c02df42397
2021-08-10 10:46:20 +08:00
Tao Huang
9cc9fda6e7 dt-bindings: pinctrl: Remove unused rockchip files
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I97ee25706ee8b4307b6c6fc788f75988845fb6e4
2021-08-10 10:34:48 +08:00
Tao Huang
c91d029109 dt-bindings: clock: Remove unused rockchip files
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I9a528f75413a7376407afff4e0737747d6f66a87
2021-08-10 10:12:54 +08:00
Zefa Chen
afef406d9f media: rockchip: cif: fixed vc err in HDR mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Id4f8403d9449179f2572994d2cea6fb9c8f95ca1
2021-08-09 19:08:21 +08:00
Steven Liu
027d66dc25 pinctrl: rockchip: fix error mux route for rk3568 uart1
Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
Change-Id: I0ca4459ae95e3f81c86cb386e679a36502e0eca9
2021-08-09 11:40:09 +08:00
Tao Huang
28475410de staging: android: remove unused uapi/android_alarm.h
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Idcf4a68d0ebb25e3105bf60b06efbc51da0b6aa5
2021-08-06 22:00:32 +08:00
Tao Huang
5b59d62295 Revert "add some auto test code, maybe useful for someone"
This reverts commit 1b9ac44296.

testcode is unused.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I8b770eb8069289e59352e04081de4963cccc6a89
2021-08-06 21:51:55 +08:00
Tao Huang
dea0d2c151 media: remove unused camera head file
After commit cdc6f7d0b0 ("media: remove unused video drivers"),
these files are unused, so just remove them.

include/media/camsys_head.h
include/media/v4l2-chip-ident.h

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ib561e90ec55f8f2b51c6d5fe3e03fe25836e511e
2021-08-06 19:30:26 +08:00
Huang zhibao
dcf6e4c135 arm64: dts: rockchip: rk3566-box: enabled rknpu_mmu
Signed-off-by: Huang zhibao <hzb@rock-chips.com>
Change-Id: I05cbb2136ece639443d427839be4cef3b7cd14a7
2021-08-06 16:44:36 +08:00
David Wu
0b1548f202 net: stmmac: dwmac-rk: Set XPCS port1 speed for GMAC1 SGMII mode
When gmac1 is working in SGMII mode, need to additionally
configure the speed of XPCS port1 according to the current
link information, otherwise it will not work.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: Ie9407e1566e5ef2804ed50ee203d277f652aca23
2021-08-06 16:44:23 +08:00
Cai YiWei
a3e78a55c8 media: rockchip: ispp: fix page fault due to scl exit early
Change-Id: I8a7499a5d6e10707269525f7a0aa7a01b5aae7d6
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2021-08-06 16:36:52 +08:00
Cai YiWei
a2bcfddd6e media: rockchip: isp: add v-blank to procfs
Change-Id: Ic62bf4b3fe26712ce4382025b1a234a55453c631
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2021-08-06 16:36:07 +08:00