Cai YiWei
e4ca020f82
media: rockchip: isp: fix mi no disable for multi sensor unite mode
...
Change-Id: I71291abf995bd1f1bf3dd053fa9232a6375d5c5c
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-09-01 10:55:45 +08:00
Cai YiWei
a1cdd590aa
media: rockchip: isp: fix isp32 stream force to update enable
...
only force to update address at stream on.
force update enable during mid-frame will be error.
Change-Id: Ia521a5f70cdd0366d667ea915abbf463df022a22
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-09-01 10:55:45 +08:00
Cai YiWei
d1c880c697
media: rockchip: isp: fix limit of dcrop
...
Change-Id: Id378a98d65bc3d3d39b1f21387e6c94822aedbcd
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-09-01 10:55:45 +08:00
Herman Chen
f22af13984
video: rockchip: mpp: rkvenc2: Fix timeout issue
...
When rk3588 rkvenc2 encoder encoded H.264 with width exceeding 4096
and slice flush bit is enabled hardware will occasionally timeout
without interrupt.
So we need to disable slice flush bit on this case.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Change-Id: Ia9ccb959bd11fbdaf845c3608c15a7491b78eeee
2022-09-01 10:39:56 +08:00
Wyon Bi
9213964e3c
drm/bridge: rohm-bu18rl82: Drop unused bridge detect callback
...
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Change-Id: I0fa3233ef16074b7d5feeff7bc5f930f90c17b5e
2022-08-31 16:39:05 +08:00
Wyon Bi
4f1fbc7327
drm/bridge: rohm-bu18tl82: Drop unused bridge detect callback
...
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Change-Id: I6bbff1eb69695b99aeedf8f87c51a00f2a27a61b
2022-08-31 16:39:05 +08:00
Lin Jianhua
f23f54d446
arm64: dts: rockchip: px30-evb-ddr3-v10-linux: remove audio widgets and routings
...
Note that there is not any widget implemented on rk809 yet,
adding audio widget and routing properties will result in
failure on audio card initialization.
Signed-off-by: Lin Jianhua <linjh@rock-chips.com >
Change-Id: I2ebf322fc6530bed968697086305793db466ea6e
2022-08-31 16:21:59 +08:00
Lin Jianhua
0f640bf3b5
arm64: configs: update some configs for px30_linux_defconfig
...
1: enable CONFIG_EXTCON for usb
2: enable CONFIG_PHY_ROCKCHIP_CSI2_DPHY/CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY for display
3: enable CONFIG_VIDEO_ROCKCHIP_CIF/CONFIG_VIDEO_ROCKCHIP_RKISP1 for camera
4: enable CONFIG_ROCKCHIP_MPP_RKVDEC/CONFIG_ROCKCHIP_MPP_VDPU2/CONFIG_ROCKCHIP_MPP_VEPU2 for mpp
5: other sync from linux-4.4
Signed-off-by: Lin Jianhua <linjh@rock-chips.com >
Change-Id: Iee7a5d7445e3c70178bfab1c81a7b94878a9070a
2022-08-31 16:21:22 +08:00
Liang Chen
a16f19fa44
arm64: dts: rockchip: px30: add i2s0 node
...
Change-Id: If95dd83975301c62b14bd7be6dbaa6bdd20db826
Signed-off-by: Liang Chen <cl@rock-chips.com >
2022-08-31 16:19:31 +08:00
Sach Lin
d0dc5a0c04
media: i2c: ov50c40: update cphy reg setting.
...
increase cphy post time to fix crc error.
Signed-off-by: Sach Lin <sach.lin@rock-chips.com >
Change-Id: Ic6e0c69ae82eac273f2f25268b214fbe5443c63a
2022-08-31 11:41:17 +08:00
Zefa Chen
e41d8af773
ARM: dts: rockchip: rv1103g-battery-ipc-v10: reserved 4 buffer for vicap with 1920x1080 raw10
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I9ce3b91840fdd3b85fe6c1402d180572118c16f1
2022-08-31 11:37:35 +08:00
Zefa Chen
50a172856e
media: rockchip: vicap allocation buffer determined by Thunderboot's reserved memory
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I2d91085c4f4984d3c64d2d8f77120fa88b83248f
2022-08-31 11:37:35 +08:00
Algea Cao
4c455b1887
arm64: dts: rockchip: rk3588-rk806: Raise avdd_0v75_s0 voltage to 0.8375V
...
HDMI has compatibility problems when the HDMI PHY VDD is set to
the nominal 0.75V. On some televisions, signal may be no recognized
when switch resolution. After actual testing, raising voltage up
to 0.8375V can solve the compatibility problems such as no signal.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
Change-Id: I217ad22e844c2526ebbc2fcb38f11c04ae4dcd51
2022-08-31 11:27:33 +08:00
Herman Chen
68ddb8c21b
video: rockchip: mpp: Add rk3588 decoder timing
...
NOTE: rk3588 use link table to config hardware and can not get accurate
timing on task finished.
The task timing of irq and isr is combined together.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Change-Id: I3469fb56145de1929c41b6a3e9fb43d88003daa3
2022-08-31 11:26:05 +08:00
Algea Cao
3690970c81
arm64: dts: rockchip: rk3588: Adjust the HDMI DDC IO driver strength
...
There is a bug in the HDMI controller DDC. The falling edge of
SDA and SCL almost coincide and cannot be adjusted, resulting
in poor compatibility of DDC. The compatibility of DDC can be
improved by increasing the driver strength of SCL and decreasing
the driver strength of SDA to increase the slope of the falling edge.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
Change-Id: Ia7e70c3a8f7f3ee5e36f401919e36d045448250c
2022-08-31 10:09:36 +08:00
Finley Xiao
419f401148
arm64: dts: rockchip: rk3588: Add SYS_STATUS_VIDEO_SVEP system status
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I2b23656b641f9b35fce0eb8ef519cceed1a8ceef
2022-08-31 10:08:59 +08:00
Finley Xiao
91f69ef8c1
soc: rockchip: rockchip_system_monitor: Add support set video svep status
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I539b0779afc8535f7015cc5f7965b459778a1b5c
2022-08-31 10:08:59 +08:00
Finley Xiao
fd5a3be7ea
PM / devfreq: rockchip_dmc: Add SYS_STATUS_VIDEO_SVEP
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: Ic6f3b7b2b87df8ac727748a7ca24cd511c3570f4
2022-08-31 10:08:59 +08:00
XiaoTan Luo
57bf97c5f2
ASoC: rockchip: mdais: add startup && shutdown ops
...
Signed-off-by: XiaoTan Luo <lxt@rock-chips.com >
Change-Id: I55ac91252bfb3f1ec8ed0f028541fa7ea0f428ca
2022-08-31 09:27:12 +08:00
Lin Jianhua
ed8c30d446
ARM: dts: rockchip: rk3308-voice-module-v1x-aarch32.dtsi: move vccio regulator ahead
...
Now a fixed regulator is supplied by another fixed regulator, the parent
should probe first to avoid a defer-probe error.
Signed-off-by: Lin Jianhua <linjh@rock-chips.com >
Change-Id: I46b616e677bd0daf66a83004923a8d73f1c7b5fb
2022-08-31 09:26:13 +08:00
Jianqun Xu
08f0ad89d0
arm64: dts: rockchip: rk3308-evb-v10: move vccio regulator ahead
...
Now a fixed regulator is supplied by another fixed regulator, the parent
should probe first to avoid a defer-probe error.
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
Change-Id: I0d4d5c74b242cce9ec55268f050579be3778bee7
2022-08-31 08:53:12 +08:00
Guochun Huang
ccf03b5e2d
mfd: max96755f: Enable regcache
...
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
Change-Id: I1554f964da231b2b0557010fee31dcfbeda3997a
2022-08-30 16:02:18 +08:00
Huibin Hong
3bc2463118
soc: rockchip: debug: rockchip_panic_notify_dump_irqs
...
Dump irqs in one second when hard lock or rcu stall, panic and so on.
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com >
Change-Id: Ia35d02eef17055bf4f793b72a11c4b7711d81972
2022-08-30 15:49:44 +08:00
Wu li
bed34ecaaa
ARM: configs: rockchip: add rv1103-scaner.config
...
Enable sc031gs sensor driver as build-in.
Generated by:
make ARCH=arm rv1106_defconfig
cp .config tmp.config
make ARCH=arm menuconfig
bala...
./scripts/diffconfig -m tmp.config .config > arch/arm/configs/rv1103-scaner.config
Update by:
make ARCH=arm rv1106_defconfig
cp .config tmp.config
make ARCH=arm rv1106_defconfig rv1103-scaner.config
make ARCH=arm menuconfig
bala...
./scripts/diffconfig -m tmp.config .config > arch/arm/configs/rv1103-scaner.config
Signed-off-by: Wu li <leok.wu@rock-chips.com >
Change-Id: I2320c0502efe86e855d0c26ba37108229f65bfd5
2022-08-30 15:15:35 +08:00
Wu li
abcb392bfb
ARM: dts: rockchip: Add basic support for rv1103 scaner board
...
Signed-off-by: Wu li <leok.wu@rock-chips.com >
Change-Id: Ied1331437af36743d96870143ac3f265dcb0f996
2022-08-30 15:13:54 +08:00
Jon Lin
fb96e9dac7
spi: rockchip: Add quirks for px30
...
Change-Id: Ia6a67a7b3ebdc5ffd1f79551d99ddc0725afa028
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2022-08-30 14:57:15 +08:00
Jon Lin
0382eb4a14
spi: rockchip: Add quirks for controller workaround
...
Change-Id: I330e6df912c76349cee1452965bffe7e4eeadc4d
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2022-08-30 14:57:15 +08:00
Zefa Chen
7d1860ccdd
media: rockchip: vicap add sensor streaming protection for thunderboot
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Iabfaf61c8ffac8d97712701ff96a84d091ab1117
2022-08-30 14:22:58 +08:00
Zefa Chen
25d663932d
media: rockchip: vicap support thunderboot
...
1.support alloc buffer from reserved mem of thunderboot
size of one frame = ceil(w*bit/8/256)*256*h
2.support read back mode change to online mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I6b4ba18401edcb220ae6e9174afd5a92bfdd31c5
2022-08-30 14:22:12 +08:00
Huibin Hong
cdf38bf0f7
arm64: add dump_stack in local_cpu_stop
...
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com >
Change-Id: I7aec6471876aa4df3a4cc012a9d6b4c6997c3952
2022-08-30 11:41:13 +08:00
Damon Ding
c8e328506b
ARM: dts: rockchip: rv1106-evb: add sii902x bt1120/bt656 to hdmi board
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: Ifa360e599c4d96d23bc74eab5da662371e83f447
2022-08-30 10:54:14 +08:00
Damon Ding
04511aef85
ARM: dts: rockchip: rv1106-evb: add sii902x rgb to hdmi board
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: Icaeced88a17a6b46c5118781f9e565039733263b
2022-08-30 10:53:49 +08:00
Damon Ding
8702afd8ff
ARM: dts: rockchip: rv1106-evb: add rv1106g-evb1-mcu-display-v11 board
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: I3955ca9b388c22eb55f05892e0b5e7261bed332c
2022-08-30 10:53:09 +08:00
Damon Ding
cb2f8bc76f
ARM: dts: rockchip: rv1106-evb: add rv1106g-evb1-rgb-display-v11 board
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: I467ab31e511bffb0e107acb5dbdf9a04948d42ee
2022-08-30 10:52:22 +08:00
Damon Ding
988cb9daf6
ARM: dts: rockchip: rv1106-evb: add route node in mcu ext board dtsi
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: I13815a2801f8b2913c7ab90eb684e525a9905fe5
2022-08-30 10:50:36 +08:00
Damon Ding
b00f1b2199
ARM: dts: rockchip: rv1106-evb: add route node in rgb ext board dtsi
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: I4f6c883e9dab9e7804bc4a4fdabbd4478c6e780a
2022-08-30 10:49:55 +08:00
Wangqiang Guo
d64e12ecb4
media: rockchip: hdmirx: add private ioctls
...
Signed-off-by: Wangqiang Guo <kay.guo@rock-chips.com >
Change-Id: I29ab409097d875c8ea253cc92fe16f4787301e1d
2022-08-30 10:16:35 +08:00
Wyon Bi
8828f265e7
drm/bridge: maxim-max96745: Drop the irq_enabled flag
...
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Change-Id: If5dbf78e69b25979dfb9dc90466433a5a03e952f
2022-08-30 10:01:38 +08:00
Liang Chen
3d6aa2a6fe
arm64: configs: add necessary configs for rk3326_linux_defconfig
...
Enable CONFIG_CPU_PX30 and CONFIG_ROCKCHIP_CPUINFO.
Change-Id: I9dfd815a8b678b13c6c78c87aaa956221d71583a
Signed-off-by: Liang Chen <cl@rock-chips.com >
2022-08-30 09:01:41 +08:00
Liang Chen
02adcf5b14
arm64: configs: add necessary configs for px30_linux_defconfig
...
Enable CONFIG_CPU_PX30 and CONFIG_ROCKCHIP_CPUINFO.
Change-Id: Ib5f990c7a7e3d5ee842c8871b9c694c200169344
Signed-off-by: Liang Chen <cl@rock-chips.com >
2022-08-30 09:01:41 +08:00
Hu Kejun
370237829a
media: i2c: cn3927v: support change max logical position
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Id750cb2900dd193cd673889fc3576f4f4e9498aa
2022-08-29 21:04:14 +08:00
Hu Kejun
7e6380517a
media: i2c: aw8601: support change max logical position
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I18b59642aac0878cb273d2a018ff2718c06eeb0d
2022-08-29 21:04:04 +08:00
Hu Kejun
09ef55eeee
media: i2c: dw9714: support change max logical position
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Ib7f88249769959755c0502cf03536127838d09e8
2022-08-29 21:03:52 +08:00
Hu Kejun
9a283e9984
include: rk_vcm_head: add set max logical position ioctl
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Id29dbd8052b6ddb6bab122d56a64281d31da9d29
2022-08-29 21:03:37 +08:00
Yao Xiao
16a10f04c6
ARM: dts: rockchip: rv1103g-battery-ipc-v10: Update some sdio optimizations
...
1. Reduce sdio_clk to 30M to reduce interference with rf performance.
2. Setting no-prescan-powerup/post-power-on-delay-ms property saves
about 50ms of sdio_card initialization time
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com >
Change-Id: I3ea179c9ceada54ad129863f83aeca9f45166d97
2022-08-29 21:00:18 +08:00
Yao Xiao
140d78dad3
ARM: configs: rv1106: update rv1106-tb-sdiowifi.config
...
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com >
Change-Id: I9aaea57a93501fc2226323169ad8437698bb8f93
2022-08-29 20:58:47 +08:00
Yao Xiao
92ea6f328e
net: wireless: Reduce non-essential code for thunderboot
...
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com >
Change-Id: I068ada0ef5cdf9c433c8dced61389f9e5f27fa62
2022-08-29 20:58:28 +08:00
Caesar Wang
e43f803b97
arm64: dts: rockchip: enable dmc and dfi for rk3588-linux.dtsi
...
Signed-off-by: Caesar Wang <wxt@rock-chips.com >
Change-Id: Ifd9f291d6c49be9bf349eeb152059cb5870864cf
2022-08-29 20:38:31 +08:00
Xing Zheng
c05d6282eb
Revert "ASoC: rockchip: rk817-codec: add support recover playback/capture path after resume"
...
This reverts commit 20d8a7925f .
Generally, we cannot guarantee that the paths of capture and
playback need to be turned on by default after resume, which
can be manually controlled by the user layer. In this way, the
problem of asymmetrical clock operation can also be corrected
after resume.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com >
Change-Id: I1cb7b364313a7573032851fe0c2970cf1a078b0a
2022-08-29 20:37:54 +08:00
Herman Chen
63679ddecd
video: rockchip: mpp: Fix procfs error log
...
Fix error log:
11645.713174][ T2197] mpp_vepu2 fdb50000.vepu: probing finish
[11645.713382][ T2197] mpp_vepu2 fdba0000.jpege-core: probing start
[11645.713698][ T2197] mpp_vepu2 fdba0000.jpege-core: attach ccu success
[11645.714080][ T2197] ------------[ cut here ]------------
[11645.714088][ T2197] proc_dir_entry 'jpege-core0/disable_work' already registered
[11645.714115][ T2197] WARNING: CPU: 5 PID: 2197 at fs/proc/generic.c:382 proc_register+0x12c/0x1b0
[11645.714119][ T2197] Modules linked in: rk_vcodec(+) bcmdhd dhd_static_buf r8168 [last unloaded: rk_vcodec]
[11645.714136][ T2197] CPU: 5 PID: 2197 Comm: insmod Tainted: G W 5.10.110 #16
[11645.714139][ T2197] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
[11645.714144][ T2197] pstate: 60400009 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[11645.714148][ T2197] pc : proc_register+0x12c/0x1b0
[11645.714152][ T2197] lr : proc_register+0x124/0x1b0
[11645.714156][ T2197] sp : ffffffc01a9c35d0
[11645.714159][ T2197] x29: ffffffc01a9c35d0 x28: ffffffc009520d87
[11645.714164][ T2197] x27: ffffffc01007bf40 x26: ffffff818004f080
[11645.714169][ T2197] x25: ffffff816cada508 x24: ffffff816cada440
[11645.714173][ T2197] x23: 000000000000000c x22: ffffff816cada8ec
[11645.714178][ T2197] x21: ffffff816cada440 x20: ffffff816cada3c0
[11645.714182][ T2197] x19: ffffff816cada840 x18: ffffffc0171cd118
[11645.714187][ T2197] x17: 0000000000000000 x16: 00000000000000d8
[11645.714192][ T2197] x15: 0000000000000004 x14: 0000000000003fff
[11645.714197][ T2197] x13: ffffffc011fec6c8 x12: 0000000000000003
[11645.714201][ T2197] x11: 00000000ffffbfff x10: 00000000ffffffff
[11645.714206][ T2197] x9 : 561644a8ffb72f00 x8 : 561644a8ffb72f00
[11645.714211][ T2197] x7 : 205d373931325420 x6 : ffffffc0121cc740
[11645.714217][ T2197] x5 : ffffffffffffffff x4 : 0000000000000000
[11645.714222][ T2197] x3 : ffffffc011c7fff0 x2 : 0000000000000000
[11645.714226][ T2197] x1 : 0000000000000001 x0 : ffffffc0123d47c8
[11645.714232][ T2197] Call trace:
[11645.714236][ T2197] proc_register+0x12c/0x1b0
Fixes: 1f0130be9b ("video: rockchip: mpp: Add more common procfs")
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Change-Id: Ifb0031508fb5a0318497597414fb3e4a70bd0972
2022-08-29 20:36:45 +08:00