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
Felix Zeng
5f657024c2
driver: rknpu: Ignore devfreq init return value even if it failed
...
Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com >
Change-Id: I30e38acaf0af9e40a211bfcc2c71aecfffc533f5
2022-08-29 20:22:53 +08:00
Cai YiWei
39c3a52c25
media: rockchip: isp: stop without waiting if isp idle for readback mode
...
Change-Id: Iba8f4f16a270deb209c022f9cbbf192496388288
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-08-29 15:22:27 +08:00
Cai YiWei
dba70e6c6c
media: rockchip: isp: enum the max frame size to isp input size
...
Change-Id: I316ac980c54f7720b37c96d3698c259fb8ce7eca
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-08-29 15:22:27 +08:00
Cai YiWei
47a518251f
media: rockchip: isp: change the limit of height
...
isp hw limit max width and max size (max width * height)
sensor input resolution has the following limit:
1. width <= isp max width
2. height <= isp max size / sensor width
Change-Id: I8c74c074f2e07d46f7dd4a76a52812b34d67aa37
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-08-29 15:22:27 +08:00
Cai YiWei
d273f084e7
media: rockchip: isp: enum formats for different isp version
...
Change-Id: I05b11d39855ec87ed4d97b432a8bdbc39a95128a
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-08-29 15:22:27 +08:00
Cai YiWei
8cf805c42a
media: rockchip: isp: first params from rtt for thunderboot
...
Change-Id: I5b6ebecae7f41415ee9e842fdf23560a4a067668
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-08-29 15:22:27 +08:00
Herman Chen
1f0130be9b
video: rockchip: mpp: Add more common procfs
...
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Change-Id: I094de11f336a8f1b1b8e125f35ffae7431bf5eea
2022-08-29 14:53:36 +08:00
Yao Xiao
63a566e834
mmc: core: expose MMC_CAP2_NO_PRESCAN_POWERUP to DT bindings
...
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com >
Change-Id: I0209157426586d76cef9d4f173e2c76e6219c1ea
2022-08-29 14:35:38 +08:00
David Wu
2a527678f9
ethernet: stmmac: stmmac_ethtool: Don't support half duplex mode for multi queue
...
Half-Duplex can only work with single queue, return error for multi
queue half duplex mode setting.
Signed-off-by: David Wu <david.wu@rock-chips.com >
Change-Id: I1ea4d9f2b9745890e4e0cee6dc2ca8afe82b2d96
2022-08-29 14:32:21 +08:00
David Wu
64adcb65fd
i2c: rk3x: xfer timeout depends on data transferred length
...
Change the fixed i2c timeout transmission time dynamically to reduce
the time.
Signed-off-by: David Wu <david.wu@rock-chips.com >
Change-Id: Icd87b53f95da383c205caef9d110c9401ed7a6ac
2022-08-29 14:32:21 +08:00
Jason Zhang
68c04ca2db
arm64: dts: rockchip: px30-evb-ddr3-v10: 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: Jason Zhang <jason.zhang@rock-chips.com >
Change-Id: I313451c651edc2b1b6c47418a97eaad3418cefec
2022-08-29 14:29:56 +08:00
Jason Zhang
249c8debab
arm64: dts: rockchip: rk3326-evb-lp3-v10: remove audio widgets and routings
...
Note that there is not any widget implemented on rk817 yet,
adding audio widget and routing properties will result in
failure on audio card initialization.
Signed-off-by: Jason Zhang <jason.zhang@rock-chips.com >
Change-Id: I3619aeba3953ff91e814cd8b1d1f7bb725c6b362
2022-08-29 14:29:29 +08:00
Wang Panzhenzhuan
9e195140a1
media: i2c: otp_eeprom: add mutex & speedup otp read
...
1. add i2c buf read optimize otp read speed.
2. add mutex for otp read.
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com >
Change-Id: I2609328bab3cad3ec10f9b1c5768e7c5f7f6e2fc
2022-08-29 14:27:23 +08:00
Jon Lin
bd6cd97a2c
spi: rockchip: Avoid redundant clock disable in pm operation
...
Fix WARN_ON:
[ 22.869352][ T1885] clk_spi0 already unprepared
[ 22.869379][ T1885] WARNING: CPU: 3 PID: 1885 at drivers/clk/clk.c:813 clk_core_unprepare+0xbc4
[ 22.869380][ T1885] Modules linked in: bcmdhd dhd_static_buf
[ 22.869391][ T1885] CPU: 3 PID: 1885 Comm: Binder:355_2 Tainted: G W 5.10.66 #59
[ 22.869393][ T1885] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
[ 22.869397][ T1885] pstate: 60400009 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[ 22.869401][ T1885] pc : clk_core_unprepare+0xbc/0x214
[ 22.869404][ T1885] lr : clk_core_unprepare+0xbc/0x214
Fixes: decf7c21 ("spi: rockchip: Suspend and resume the bus during NOIRQ_SYSTEM_SLEEP_PM ops")
Change-Id: Ie1c2e2a27c85e205e27a997676183aab7a0354ee
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2022-08-28 20:36:36 +08:00
Huibin Hong
14f1148268
pstore/ram: don't rounddown_pow_of_two the size of zones
...
Also add record size dump.
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com >
Change-Id: I75af9e275c66a9971ebfaa105a99fad59353be85
2022-08-27 10:44:07 +08:00
Kever Yang
9aaf28d1c0
arm64: rockchip_gki.config: Disable mmc vendor storage
...
Android kernel does not support this module.
-CONFIG_ROCKCHIP_MMC_VENDOR_STORAGE=m
Signed-off-by: Kever Yang <kever.yang@rock-chips.com >
Change-Id: Ibe2bd24bc23f90ff8fb7fa2eca1d5c31bd2729f0
2022-08-26 19:00:55 +08:00
Chen Shunqing
02aa33de2f
media: rockchip: hdmirx: reconfig cec after hdmirx reset
...
Signed-off-by: Chen Shunqing <csq@rock-chips.com >
Change-Id: I1ea46ea2f5952dae6a996caee0387bf57184c2b1
2022-08-26 18:51:40 +08:00
Wyon Bi
b5f750b4e4
drm/bridge: maxim-max96745: Implement the drm_bridge_funcs .get_modes() operation
...
To accommodate the split-mode implementation of the Rockchip platform.
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Change-Id: I2817421c92243172830c875390301725b7d66412
2022-08-26 18:47:25 +08:00
Wyon Bi
a8dadec9d7
drm/bridge: analogix_dp: Support periodically polled for external bridge
...
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Change-Id: Ief3b5f3c1df77aa122aca056819bcf83b455a4a6
2022-08-26 18:47:25 +08:00
Wyon Bi
b9c2efe661
drm/rockchip: dw-dp: Support periodically polled for external bridge
...
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Change-Id: Icbcd9619b2bc5338cf5351c7a20811b8a65d9df3
2022-08-26 18:47:25 +08:00
Wyon Bi
a0871c7ecd
drm/bridge: maxim-max96745: Keep video transmit port always on
...
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Change-Id: I4db1b43fc335ecad158651f228069e2d2ac4ab0c
2022-08-26 18:47:25 +08:00
Damon Ding
9fa3c79ac7
drm/rockchip: vop2: support to enable xmirror in dts
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: I380aa4aa31754661d4661e5657d6d71d4d235bc3
2022-08-26 18:42:34 +08:00
Zefa Chen
c079a39698
media: rockchip: vicap: sditf add power_cnt/stream_cnt
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ibd243c0ad697b27f3bdd9f38ccbd9d83194f03b4
2022-08-26 18:10:09 +08:00
Zefa Chen
75dc121c3a
media: rockchip: vicap support wake up buffer with mode of rdbk by isp driver
...
in this mode,buffer wake up earlier, isp can process images earlier
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I75da9ac768f17f6ebc745f57a32e6cd753f9be3e
2022-08-26 18:10:09 +08:00
Zefa Chen
018b3c2dc5
media: rockchip: vicap support rdbk buffer by isp driver
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I4ca1c2dd172e06250ac5c85854bbab2c7a39576e
2022-08-26 18:10:09 +08:00
Cai YiWei
f53a9aa757
media: rockchip: isp: record isp read time for fast mode
...
Change-Id: I048a9020e36e08f2968b36cf08345196dd07fb8c
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-08-26 18:07:42 +08:00
Felix Zeng
628387f68d
driver: rknpu: Update rknpu driver, version: 0.8.2
...
* Add auto power on/off support for rknpu
* Add freq/volt node to unify queries and settings
Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com >
Change-Id: Ib55f7ccb7abff51bd36194449bd6c315fcec91b2
2022-08-26 16:30:32 +08:00
Yu Qiaowei
0e45c6e151
video: rockchip: rga3: used to mark provisional releases
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: Id68e61b9a659b47ab480a93042201b8d891a7e8e
2022-08-26 11:39:49 +08:00
Yu Qiaowei
cc04e2a51d
video: rockchip: rga3: Compatible without for_each_sgtable_sg
...
When updating the driver alone on 4.19, there may be a commit without this.
commit 3d9c15bc2e91f ("BACKPORT: scatterlist: add generic wrappers for iterating over sgtable objects")
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: Ib7f89d98f7aa876c6e0d86929c4ed6db1a23dd70
2022-08-25 21:25:44 +08:00
Tao Huang
1f551749d2
ARM: dts: rockchip: rv1106-thunder-boot: Fix typo
...
s/serivce/service/
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I1ca44ea098f60bfd47d1cb67fa647ea4f637e910
2022-08-25 16:42:09 +08:00