Hu Kejun
cc5404b8c7
media: rockchip: cif: support dvp and mipi/lvds run simultaneously
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Iebccf4645232253b9b76dc597a8c038c16bc6221
2020-08-24 10:26:33 +08:00
Finley Xiao
448df7903c
cpufreq: rockchip: Add support to adjust bin according to customer demand
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: Ic180fa265cfc4c6cde1bef5ef56b1a0bc103bb7d
2020-08-24 10:24:46 +08:00
Finley Xiao
8aeccf838d
arm64: dts: rockchip: rk3399: Add definition of customer demand for cpu
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I77363fc3532d076e5026ad9e95d46426c0b2f77c
2020-08-24 10:24:46 +08:00
Zefa Chen
8449988470
media: i2c: imx415 support 12bit 3840x2160@20fps HDR DOL3
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ifa8086a4c3cec6a762bce54eaaee394ccdfbc385
2020-08-24 10:22:12 +08:00
Yu YongZhen
18d7b6df0b
ARM: configs: rv1126-spi-nor.config: add led RGB13H driver
...
Signed-off-by: Yu YongZhen <yuyz@rock-chips.com >
Change-Id: I5a6e41b174762c8f75b1796a43e7437e9dbf8819
2020-08-24 09:56:07 +08:00
Yu YongZhen
5a7a3668be
ARM: dts: rv1126: 38x38 board: add ir flash for camera
...
Signed-off-by: Yu YongZhen <yuyz@rock-chips.com >
Change-Id: Ic10524fd1e1308c626e63cad2472d19eeafce12d
2020-08-24 09:55:46 +08:00
William Wu
d4037f52e2
usb: dwc3: gadget: fix fifo number for txfifo resize
...
If the dep resoure is assigned to an EP-IN, and the EP-IN
has not yet be enabled, we need to increase the fifo number
rather than skip out directly.
Fixes: 49b5c0d29f ("usb: dwc3: gadget: fix ep init for unequal num of in/out eps")
Change-Id: I6d45f859edda52542d421e1711138f69050dd90f
Signed-off-by: William Wu <william.wu@rock-chips.com >
2020-08-22 16:40:45 +08:00
Nickey Yang
82a3ccbb1c
ARM: dts: rockchip: add peripherals support for rv1126 bat board
...
add rtc and battery support
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com >
Change-Id: I735b99dd27001a7352217bbb554f97640065f083
2020-08-21 18:14:23 +08:00
Nickey Yang
e80932a284
ARM: configs: add rv1126-battery.config
...
add this config for demo products with battery.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com >
Change-Id: Ie1ef5540fa277e4bda1410b2ac2c98be9ed1139e
2020-08-21 18:09:53 +08:00
Ding Wei
86871bddb2
video: rockchip: mpp: modify the means of default_max_load value equal 0
...
tips: when default_max_load is 0, means not have advanced clk_mode,
use normal clk_mode instead.
Change-Id: I1933a6af29789fbb54b5163a750fc4d5f058b7ee
Signed-off-by: Ding Wei <leo.ding@rock-chips.com >
2020-08-21 09:10:29 +08:00
Zhichao Yu
5ff57575c9
ARM: dts: rockchip: decrease isp reserved memory size for rv1126-evb-thunder-boot
...
We don't need so much isp reserved memory for thunder boot.
The default value is 256MB.
Signed-off-by: Zhichao Yu <zhichao.yu@rock-chips.com >
Change-Id: Ife84c37b24ae5bd882b6cbdeb612b51e7aff3db7
2020-08-20 16:49:00 +08:00
Yu Qiaowei
7ff0530f7b
video/rockchip: rga2: Compatible with kernel module
...
rga2 will be compiled into a kernel object, because cmd_buf
is a global variable and the address is stored in the modules
section, which makes it unable to obtain the physical address
through virt_to_phy(), so the local variable cmd_reg is used.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I3c088e727365fa8d515238ad88b2edaaee2b9a2b
2020-08-20 14:34:46 +08:00
Hu Kejun
29f6b4c722
media: rockchip: isp1: fix compile error when config with module
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Icd3c90ba5d270dfe99672c9b2e4baba4fcd8b21f
2020-08-20 10:04:27 +08:00
Shunqian Zheng
859860806e
media: i2c: add imx335 driver
...
imx335 can output 2592x1944 HDR/linear frames in 30fps.
Change-Id: I48233f21cdae26e9b575c5ec7c55345fdb55ddbb
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com >
2020-08-20 10:03:35 +08:00
Sandy Huang
699c8ff653
drm/rockchip: init unplug in connector status
...
As like TVE connector, it's unsupported hot plug, so the connector status is
always connected, this will lead to print waring log when show kernel logo.
Change-Id: Ie1b0ff1630e5f5f425844b550cd7c88cd26c29d8
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2020-08-19 16:08:01 +08:00
Zefa Chen
46cff32208
leds: leds-rgb13h add pwm control
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Id8800dc98543d4e082182a027f3fb25dbd30295c
2020-08-19 15:08:57 +08:00
David Wu
6118bbac7b
ARM: dts: rv1126: Rename the name of clock "mac_ref"
...
Signed-off-by: David Wu <david.wu@rock-chips.com >
Change-Id: I2c0812b50432e30fb120664495022f5858dc6ea7
2020-08-19 14:21:13 +08:00
Sandy Huang
6c617d0d97
arm64: rk1808 config: disable rockchip drm debug by default
...
Change-Id: I952990931b3ce102f6c680a8a4f6b7006983df56
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2020-08-19 14:11:13 +08:00
Sandy Huang
8f3b2b1421
arm64: rockchip_defconfig: disable rockchip drm debug by default
...
Change-Id: I872ccca955004ba0c9a84cbd86fc1aa926a721d5
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2020-08-19 14:11:13 +08:00
Sandy Huang
3c22df3839
arm64: rockchip_linux_defconfig: disable rockchip drm debug by default
...
Change-Id: I18aece07bb14c62c2e083993be2094d423e9ac80
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2020-08-19 14:11:13 +08:00
Lin Huang
0f45d926cb
ARM: configs: rv1126-facial-gate.config: enable USB HIDDEV
...
Change-Id: I2f47893d9fc39213fe5dfcdbf18197530588f490
Signed-off-by: Lin Huang <hl@rock-chips.com >
2020-08-18 20:08:03 +08:00
Nickey Yang
cf702e207b
ARM: dts: rockchip: add missing regulator settling time up property for rv1126 board
...
For PWM regulator, adjust voltage needs waiting time to be stable
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com >
Change-Id: I8586ece1e109f3c8ab6a3f5da8ee4e298371ef01
2020-08-18 16:39:17 +08:00
Lin Jianhua
4821deb3a5
ARM: dts: rockchip: rv1109-evb-ddr3-v12-facial-gate: modify power supply for gc2053
...
The reference hardware circuit of RV1109 Facial Gate using separation of
the power supply for IR camera, so modify dts
Signed-off-by: Lin Jianhua <linjh@rock-chips.com >
Change-Id: I3165d5582788a674f814ef23db3e26c6654716d0
2020-08-18 14:05:50 +08:00
Zefa Chen
46e4dbc2fd
media: i2c: gc2053 add power-gpios
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ibdf6400e56b72378a41c2ef1cc6e4f2a56ea2a7e
2020-08-18 14:05:21 +08:00
Allon Huang
52cf176411
media: rockchip: cif: add device attr for debugging memory compact
...
Signed-off-by: Allon Huang <allon.huang@rock-chips.com >
Change-Id: Iba084e61d50d966a15607afcc625ed95c153aecb
2020-08-18 11:20:34 +08:00
Allon Huang
5452fec4f4
media: rockchip: cif: let memory compact mode can be set from user space
...
Signed-off-by: Allon Huang <allon.huang@rock-chips.com >
Change-Id: Id0e6bd0b9992215a8d1c4169b83e2c4765a697b1
2020-08-18 11:08:29 +08:00
Allon Huang
962eb1e143
media: rockchip: cif: add get/set selection for cropping
...
Signed-off-by: Allon Huang <allon.huang@rock-chips.com >
Change-Id: I6c05cd6ab63b479a8b72b172afc0413f0775e209
2020-08-18 11:06:51 +08:00
Weiwen Chen
78dcb6aee1
ARM: dts: rv1126: 38x38 board: fix cpu dvfs regulator settling time up
...
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: I79d743e212c72bee009a60b339a225b1a8368cf9
2020-08-17 20:40:11 +08:00
Sugar Zhang
5b3c68ea53
ARM: dts: rv1126-ipc: Enable otp
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: I3fa4dffb272617584b13b465cbc761bc5cda917f
2020-08-17 20:40:11 +08:00
Jianqun Xu
2142fd6e03
pinctrl: rockchip: fix crash issue if gpio bank invalid
...
Change-Id: Ia4609c3045b5df7879beab3c15d791ff54a1f49b
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
2020-08-17 15:17:37 +08:00
Zhenke Fan
10f39dbd4d
media: i2c: gc4c33 support mirror and flip
...
Signed-off-by: Zhenke Fan <fanzy.fan@rock-chips.com >
Change-Id: Id3af324970734d5f7214aaded117f033bc190d91
2020-08-17 15:17:22 +08:00
Weiwen Chen
7592de62d7
ARM: dts: rv1126: 38x38 board: fix sdmmc level strength
...
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: Ia00e1f61b283cbd2c1727c5439fe9f392ec28a82
2020-08-15 17:06:59 +08:00
Weiwen Chen
b2b9d1d8a9
ARM: dts: rv1126: 38x38 board: fix regulator level status
...
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: Ib2d72f2623bce342847465a843f3bae6bf609daf
2020-08-15 16:06:50 +08:00
Finley Xiao
e176b506e6
video: rockchip: mpp: rkvenc: Add system monitor support
...
Add support to change frequency by system monitor.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I8370c4dc168368cdcdf36fbca0555aae84eb3cbe
2020-08-14 17:37:10 +08:00
Lin Jinhan
ed6e17cd56
crypto: rockchip: fix bugs on multithreading support
...
Add mutex to prevent race conditions.
Change-Id: I5e0f10c308ee7ce58b2622ede955472e2f6dface
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com >
2020-08-14 15:17:56 +08:00
Lin Jinhan
c4a01182b3
crypto: rockchip: drop needless dma_sync_single_for_device
...
hw_info->desc is allocated by dma_alloc_coherent, there is needless
to call dma_sync_single_for_device.
Change-Id: Ibd6c834c6f772727a829381dd4b0c95ceb39e5cd
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com >
2020-08-14 14:59:19 +08:00
Hu Kejun
6968bab0cd
media: rockchip: isp/ispp/cif/camera: add api version in common header
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I59a68acb068131483c80da5865cdbe4800b59975
2020-08-14 14:58:13 +08:00
Lin Jianhua
847b71b4e0
ARM: dts: rockchip: rv1109-evb-ddr3-v12-facial-gate: modify isp cma buffer size from 256M to 92M
...
rv1109 facial gate use dual camera that resolution is 1080P,
so only need 92M buffer.
Signed-off-by: Lin Jianhua <linjh@rock-chips.com >
Change-Id: I9a53468b1bf544dbc253ca19907d4ebbdde67e98
2020-08-14 14:47:46 +08:00
shengfei Xu
a2c160f479
regulator: rk808: remove redundant code
...
Signed-off-by: shengfei Xu <xsf@rock-chips.com >
Change-Id: I51d524173b1f477660bb839de77533be98417077
2020-08-14 10:55:23 +08:00
Yu YongZhen
974d16c2fc
ARM: dts: rv1126: 38x38 board: add rtc pcf8563
...
Signed-off-by: Yu YongZhen <yuyz@rock-chips.com >
Change-Id: Id3487348d96d3348b7ae549b5a46db2b9b07a4ea
2020-08-13 20:18:25 +08:00
Yu YongZhen
132d66357d
ARM: configs: rv1126-spi-nor.config: add rtc pcf8563
...
Signed-off-by: Yu YongZhen <yuyz@rock-chips.com >
Change-Id: I35b7367acf83adbc52734c762f44900389f4ad10
2020-08-13 20:18:22 +08:00
Yiqing Zeng
57ea14e007
media: i2c: imx415: modify hdr ae function according to datasheet
...
Signed-off-by: Yiqing Zeng <zack.zeng@rock-chips.com >
Change-Id: Id51708f7e0ce45d96490669b9057f7435dfb9d2e
2020-08-13 19:24:17 +08:00
Sandy Huang
8d7e60f319
drm/rockchip: update iommu pagefault debug log style
...
Change-Id: Ifda2f19f2ce2d2051996de846ffac1bc1c851fa1
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2020-08-13 18:11:19 +08:00
Yiqing Zeng
3c79843de5
media: i2c: ov2718: group hold launch immediately when single_start set
...
cause flicker occurs when launch after SOF in first few frames
Signed-off-by: Yiqing Zeng <zack.zeng@rock-chips.com >
Change-Id: I01c503d6376c9787bdaf20aa6d861e742458c8f9
2020-08-13 18:09:25 +08:00
Frank Liu
bcfda1b165
media: i2c: gc2053 support power opts and get hdr cfg
...
Signed-off-by: Frank Liu <frank.liu@rock-chips.com >
Change-Id: I85c417c444df5555fb8abe9b40242450001475e3
2020-08-13 16:13:05 +08:00
Lin Jianhua
671a3008fa
ARM: dts: rockchip: rv1109-evb-ddr3-v12-facial-gate: support dual camera
...
Signed-off-by: Lin Jianhua <linjh@rock-chips.com >
Change-Id: I7836a91ac2faecdc1bd4adc272cc04178ab776b9
Signed-off-by: Zhihua Wang <hogan.wang@rock-chips.com >
2020-08-13 14:21:14 +08:00
Allon Huang
f42a988d45
ARM: dts: rv1126: rkcif memory requested from isp_reserved by cma
...
set isp_reserved as 256M
Signed-off-by: Allon Huang <allon.huang@rock-chips.com >
Change-Id: Ied52e4ce1b82f19b7220d8fc1e49db9d85357c22
2020-08-13 14:15:04 +08:00
Cai YiWei
56704fe181
ARM: dts: rv1126: modify isp and ispp node for support multi virtual device
...
Change-Id: Id4254a21e48409b47fb394086582766c13c6ed29
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2020-08-13 11:36:27 +08:00
Hu Kejun
e0c7b8e444
media: rockchip: isp: params/stats part for support multiple virtual device
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I6dae181b635a1fbce09559d69d4c22876db6a9d8
2020-08-13 11:36:26 +08:00
Cai YiWei
54770505b2
media: rockchip: ispp: support multiple virtual device
...
Change-Id: I6aab46395c6ac833318d181db1d0f988a075d305
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2020-08-13 11:36:26 +08:00