Yu Qiaowei
19805cc2b8
video: rockchip: rga3: move rga*_ops to rga*_reg_info.h
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I8f81e5b11873af76e32dc112dd89a1bc0ef4bcf5
2022-10-31 17:15:55 +08:00
Yu Qiaowei
1514f2ab39
video: rockchip: rga3: add backend-ops read_back_reg()
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I2b24271214f8beeda06f7da0e97f009967a7d83e
2022-10-31 17:15:55 +08:00
Yu Qiaowei
21624c6edb
video: rockchip: rga3: add definitions for sys_ctrl and intr registers
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: Ib25837d9807de75b62e9c8258ff440c86fdab609
2022-10-31 17:15:55 +08:00
Yu Qiaowei
7c55f51007
video: rockchip: rga3: modify the debug log of irq
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I18f4d02e22c0a2afb0754d3ed92ec2539037d10e
2022-10-31 17:15:55 +08:00
Cai YiWei
fd961d3e69
media: rockchip: ispp: fec remove useless function
...
Change-Id: I0450622a44804e2170af8fd195c3fa051596477c
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-10-31 17:12:41 +08:00
Cai YiWei
2b6d89cc5d
media: rockchip: ispp: fec optimize dmabuf
...
Change-Id: Iac2b94f416567802ce982b0155d9b0f982f04791
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-10-31 17:12:41 +08:00
Wang Panzhenzhuan
55a16bbbf5
media: i2c: s5kjn1: fix full size analog gain range
...
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com >
Change-Id: Ib9d3d454c42dc7c89b3f128b7330ec840eed3f3a
2022-10-31 15:28:23 +08:00
Wang Panzhenzhuan
b2ba30ab22
media: i2c: aw36518: fix power off torch not off issue
...
Currently, if camera flash in torch mode,
press power key long to power off don't close flash, so fix it.
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com >
Change-Id: I774a9fec00cfee1fef3c933ca6aeaa010aecce81
2022-10-31 06:48:52 +00:00
YouMin Chen
65cdd3aa7a
PM / devfreq: rockchip_dmc: rk3588: opp_table automatch supported frequencies
...
Signed-off-by: YouMin Chen <cym@rock-chips.com >
Change-Id: Ie0643ec5ff864136b44e357348cce5c595a15052
2022-10-28 16:25:51 +08:00
Lin Jinhan
8afea1b181
ARM: configs: rv1106-smart-door: use SC3338 instead of SC3336
...
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com >
Change-Id: Ie22095d0ff5dbfbdc81d76c0dbb989b34eaefd92
2022-10-28 16:25:50 +08:00
Lin Jinhan
28c5674a9c
ARM: configs: rv1106-smart-door: Update by diffconfig
...
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com >
Change-Id: I5f9e266a0527a027ad861a2de3e3790023e5c081
2022-10-28 16:25:50 +08:00
Weiwen Chen
c356117a08
ARM: dts: rockchip: rv1106g-evb1-v11: support spi_nand
...
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: Ia549713bd3a816fd857e1f77c48d45cbf4947906
2022-10-28 16:25:50 +08:00
Elaine Zhang
1377256d12
net: can: rockchip: canfd: Add delay work to check tx errors
...
Fixes: aed0776380 ("canfd: Support extended frames transmit for rk3568")
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
Change-Id: I7d3ea5ca8ac501d81ec9f0ca15f6e3816080a4b5
2022-10-28 16:25:50 +08:00
Jianwei Fan
4bf4829448
arm64: dts: rockchip: rk3588-vehicle-evb: add fast reverse camera configuration
...
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
Change-Id: If2fbad61a74f15c7f56147cf137f0c49da444e7d
2022-10-28 16:25:50 +08:00
Jianwei Fan
433717c426
drm: modify driver probe time if CONFIG_VIDEO_REVERSE_IMAGE=y
...
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
Change-Id: I15eefd044dd8b848bdf0162639b3fedfa0d18722
2022-10-28 16:25:50 +08:00
Jianwei Fan
ec365fd626
video: rockchip: rga3: modify driver probe time if CONFIG_VIDEO_REVERSE_IMAGE=y
...
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
Change-Id: I187c87767cc6a6c3b06f7bee977e13e35f15fdcc
2022-10-28 16:25:50 +08:00
Jianwei Fan
e02a34a7fc
video: rockchip: vehicle: add fast reverse camera driver
...
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
Change-Id: I3c53046462000eaac645b2e5f0ef30b666b3f543
2022-10-28 16:25:50 +08:00
Jianwei Fan
31b330961a
media: cif: modify adapt to fast reverse camera if CONFIG_VIDEO_REVERSE_IMAGE=y
...
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
Change-Id: I9554f931d0421148cd9218187f5eec31fd4004e7
2022-10-28 16:25:50 +08:00
Jianwei Fan
6abb75642a
media: i2c: modify sensors probe time if CONFIG_VIDEO_REVERSE_IMAGE=y
...
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
Change-Id: I28a86e4f88425c90270b5d85ac68104bed93433a
2022-10-28 16:25:50 +08:00
Jianwei Fan
edfb48bcad
phy: rockchip: csi2-dphy: modify to adapt fast reverse camera if CONFIG_VIDEO_REVERSE_IMAGE=y
...
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
Change-Id: I9ce4c20ea056f1b39b2f29e57a55d79331919759
2022-10-28 16:25:50 +08:00
Wyon Bi
ce5b84ec53
drm/bridge: analogix_dp: Don't poll hpd status in analogix_dp_detect_hpd()
...
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Change-Id: I6008193c58b878ca01abf775c6f61258a1818d8c
2022-10-28 16:25:50 +08:00
Yandong Lin
3c86c6018e
video: rockchip: mpp: Optimize ktime_get for each task issue
...
Get the time only when DEBUG_TIMING flag is enabled
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: I7ac49815f24d155cab3967af61dc75e4d92b9d60
2022-10-28 16:25:50 +08:00
Yandong Lin
033bd78a44
video: rockchip: mpp: add calc hw real times per task
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: Ibf21463caae403f7c71884647c546fc46a614f06
2022-10-28 16:25:50 +08:00
Yiqing Zeng
952472b9e7
ARM: dts: rockchip: rv1103-evb-cam: delete ircut for rv1103 evb
...
Signed-off-by: Yiqing Zeng <zack.zeng@rock-chips.com >
Change-Id: I71230c982489056d626e9f0eb20d1fbe6ce8bc38
2022-10-28 16:25:50 +08:00
Weiwen Chen
fbb4e1f674
ARM: configs: rv1106-battery-ipc.config: enable CONFIG_MSDOS_PARTITION
...
size vmlinux
after:
text data bss dec hex filename
3027212 1332668 180768 4540648 4548e8 vmlinux
before:
text data bss dec hex filename
3025900 1332444 180768 4539112 4542e8 vmlinux
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: I86bebed3dcd017a8ba3e8111fedd9334b8132173
2022-10-28 16:25:50 +08:00
Sugar Zhang
dcf7535a30
ASoC: rockchip: Add driver support for SAI controller
...
This patch add support for rockchip sai controller:
* support flexible timing creation, e.g. I2S, PCM, TDM...
* support up to 128 slots per lane
* support up to 4 lanes per direction
* support slot mask
* support mono transfer and receive
* support digital loopback
* support data counter for flow control
* support clk sync among controllers which varies on chips
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: I3cd5eb1c1178cc3ca3b6069863787d1fa040b60c
2022-10-28 16:25:50 +08:00
Tao Huang
240a5660d7
phy: rockchip: inno-usb3: Use fallthrough pseudo-keyword
...
Replace /* fall through */ comment with pseudo-keyword macro fallthrough[1]
[1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I862e6acd6d9d202131d3cbc7e7fb461a8997a1f2
2022-10-28 16:25:49 +08:00
Yu Qiaowei
b7cda70045
video: rockchip: rga3: modify the process of session exit
...
When the session exits, there is no need to operate the rga_job directly.
Update driver version to 1.2.21
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I0369dce427dc749795803eae064dc80e33747a7e
2022-10-28 16:25:49 +08:00
Yu Qiaowei
dc81be56db
video: rockchip: rga3: add reference counting in rga_job
...
fixup 'BUG: KASAN: use-after-free in rga_job_next'
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I93bbe7723f923482dd8598f8a7155efdf6cb46d6
2022-10-28 16:25:49 +08:00
Lin Jianhua
dc81a14034
ARM: configs: rockchip_linux_defconfig: enable CONFIG_RFKILL_RK for wifi
...
Signed-off-by: Lin Jianhua <linjh@rock-chips.com >
Change-Id: I87a2cbd6f7a79033b389d4d2b2da9b2bd9443087
2022-10-28 16:25:49 +08:00
Cai YiWei
25ee175508
media: rockchip: isp: remove unsupported formats
...
Change-Id: Idb5e1b4350230f156fa5e8cea43893b0526998d9
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-10-28 16:25:49 +08:00
Weiwen Chen
13b4acb9e4
ARM: configs: rv1106-battery-ipc.config: enable mount vfat
...
insmod dw_mmc.ko
insmod dw_mmc-pltfm.ko
insmod dw_mmc-rockchip.ko
insmod mmc_block.ko
insmod nls_cp936.ko
insmod fat.ko
insmod vfat.ko
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: I7d2e7b5eab74e77dece58036d2a7bcf085fd35dd
2022-10-28 16:25:49 +08:00
Weiwen Chen
55fb389095
ARM: dts: rockchip: rv1106g-evb2-v10: sdmmc support sdcard
...
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: Ie803dc6a5f44f89a80250150b2cafc1741516039
2022-10-28 16:25:49 +08:00
Jieyao Hu
a377232464
ARM: dts: rockchip: rv1106g-evb2-v10: extend ramdisk to run rkipc
...
Signed-off-by: Jieyao Hu <toxicant.bane@rock-chips.com >
Change-Id: I462edeb8d0e03f1d55b485df95461a494c5e376c
2022-10-28 16:25:49 +08:00
Zefa Chen
2b919461fe
media: rockchip: vicap: thunderboot support multi camera
...
if all cameras need deal by isp, only support readback mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Id943e8150fec09e1e7d4eddc0fd92a23ce94c669
2022-10-28 16:25:49 +08:00
Yifeng Zhao
394f669714
mmc: sdhci-of-dwcmshc: improve HS400ES compatibility for some eMMC devices
...
There is a compatibility problem between the RK3588 and some eMMC devices
with HS400ES mode.
log:
mmc2: mmc_ select_ hs400es failed, error -84
mmc2: error -84 whilst initialising MMC card
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com >
Change-Id: Ib617b25ed404000ff2c890a423d74c15cd1a60db
2022-10-28 16:25:49 +08:00
Herman Chen
07284976d5
video: rockchip: mpp: Fix mmu sharing on multi device
...
When the mmu is shared between multi devices the iommu pagefault handler
and its arg should switch to corresponding device for each task.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Change-Id: Id639c7010fb4632a8f03dea6102ac635bc99c4bd
2022-10-21 19:38:17 +08:00
Sugar Zhang
5a2779fa42
ASoC: codecs: Add driver support for rk730
...
This patch add support for RK730 audio codec.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: Ia3d883d10cb8a0418f5f4313154f593cc90a1700
2022-10-21 18:11:24 +08:00
Finley Xiao
15e0f834bd
soc: rockchip: power-domain: Add new keepon_startup module parameter
...
Add a new keepon_startup module parameter to allow restoring pd flag.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I1736dc7ecad5c705270e11a167a9cf896a614b2c
2022-10-21 18:10:19 +08:00
Yu Qiaowei
0664d56706
video: rockchip: rga3: remove useless functions in rga_job.c
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I25b4af91709baaff89bed290aadcb419e5c2f6f7
2022-10-21 17:55:54 +08:00
Jon Lin
eb119e2aa5
PCI: rockchip: dw: Support applications that do not perform phy operations
...
Change-Id: I3762f684b47d634cb7302e2865b9f7f42f53955c
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2022-10-21 17:42:50 +08:00
Li Huang
bd4aec9190
dma-buf: heaps: sram_heap: init sram-heap depend on sram driver
...
Signed-off-by: Li Huang <putin.li@rock-chips.com >
Change-Id: Ide523ee2691407afb6bdc18423afaa095dafbb9f
2022-10-21 17:35:13 +08:00
Simon Ser
77d8457938
UPSTREAM: drm: log errors in drm_gem_fb_init_with_funcs
...
Let the user know what went wrong in drm_gem_fb_init_with_funcs
failure paths.
v2: use proper format specifier for size_t (kernel test robot)
Signed-off-by: Simon Ser <contact@emersion.fr >
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Cc: Daniel Vetter <daniel.vetter@ffwll.ch >
Cc: Sam Ravnborg <sam@ravnborg.org >
Cc: Noralf Trønnes <noralf@tronnes.org >
Cc: Andrzej Pietrasiewicz <andrzej.p@collabora.com >
Link: https://patchwork.freedesktop.org/patch/msgid/ZS4eX0PtTuNvHezILcTWeWINOkRyMS4krXND3cIE@cp4-web-032.plabs.ch
(cherry picked from commit f7f5250308 )
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
Change-Id: I94cbf9ccf6e11a48c73dd7e25258b028b5665d01
2022-10-21 17:15:59 +08:00
Huang zhibao
a5f9550317
arm64: dts: rockchip: rk3588-nvr: add dp sound support
...
Signed-off-by: Huang zhibao <hzb@rock-chips.com >
Change-Id: I9b293d3a156c9b62dd8920344f175501386cbc91
2022-10-21 17:08:37 +08:00
Cai YiWei
390394c77d
media: rockchip: ispp: fec add compat_ioctl32
...
Change-Id: I502f46478ffa4f79065fbdbb59f5b26753301adb
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-10-21 17:08:22 +08:00
Cai YiWei
2a2d61d9be
media: rockchip: isp: fix stream switch when readback mode
...
Change-Id: I087f7d6fd266f857c05120226f2505ae51fb1144
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-10-21 16:58:50 +08:00
Cai YiWei
7cbb5846dc
media: rockchip: isp: frame start to update buf for isp30
...
Change-Id: Ied04130500b7e1d33907b1be2e1baab97118dd45
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-10-21 11:59:35 +08:00
Cai YiWei
02ffc39dd9
media: rockchip: isp: fix fbc output for isp30 multi sensor
...
Change-Id: I3509d9ba0d57693976380e37092c227ee2242945
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-10-21 11:59:35 +08:00
Wyon Bi
6b734afe88
Revert "drm/bridge: analogix_dp: Fix sync polarity configuration in msa packet"
...
This reverts commit 3cf189f222 .
VOP only supports the negative polarity of vsync/hsync on rk3588.
Change-Id: I67ea19f04213739149e245fa1aa5a556e92b5698
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
2022-10-21 09:06:55 +08:00
Sugar Zhang
f7d4e932d8
ASoC: rockchip: i2s-tdm: Add support for platform shutdown
...
This patch allow driver to stop controller in shutdown flow.
A clean stage is safety to reboot. otherwise, there maybe
a risk to hang on DMAC-AXI-I2S state.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: I7d04d7a128004ef371cf94bec04aedc895370cd6
2022-10-20 18:50:29 +08:00