Yu YongZhen
c6f3c8d969
ARM: configs: rv1126-spi-nor.config: add cif driver
...
Signed-off-by: Yu YongZhen <yuyz@rock-chips.com >
Change-Id: Ia12ed82f75be27ef4662d1e6679538be3ba684cd
2020-08-25 14:46:02 +08:00
Cai YiWei
0c27e7e4a5
media: rockchip: isp and ispp version to v0.1.3
...
Change-Id: Ib1afcd69a66d786fc5bb884510ea7d94cb6dd56b
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2020-08-25 12:07:38 +08:00
Hu Kejun
fb8191d684
media: platform: rockchip: cif: update version to v0.1.7
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I5c9809ee241b6b09bab573ca2bfe023187b7cd65
2020-08-25 11:24:30 +08:00
Hu Kejun
e396a4da89
ARM: dts: rv1126: 38x38 board: use vicap to get data from sensor
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I9a68c4f3a3e9a6e19685f99d988ed00286b72482
2020-08-25 11:24:18 +08:00
Hu Kejun
624f752e2f
ARM: dts: rv1126: add isp_reserved to rkcif_mipi_lvds/rkcif_dvp
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I6e652c0c6963dadba7bd275270bebaafd8875766
2020-08-25 11:24:04 +08:00
Hu Kejun
672c39e381
media: platform: cif: handle reserved memory for dvp/mipi_lvds device
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Ied588e717d879dff9c0a2baa9c45bcebfcf2800b
2020-08-25 11:23:01 +08:00
Allon Huang
790eee2211
media: rockchip: cif: support hdr_x3 mode
...
Signed-off-by: Allon Huang <allon.huang@rock-chips.com >
Change-Id: I51bca04810f3084e9ba9f446a639e27150bf10d8
2020-08-25 11:22:25 +08:00
Hu Kejun
b57822c42e
media: platform: cif: add check isr function pointer is valid or not
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I56acf134f8241ae7308f232b98a96f7a556a4840
2020-08-25 10:58:43 +08:00
Zefa Chen
73a31cda08
media: i2c: imx415 support enum format by aiq
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ib4163057e718ca832a156a44f448c110c99e7d17
2020-08-25 10:53:43 +08:00
Ren Jianing
05c86e9eef
usb: dwc3: gadget: fix bug of clac_trbs_left at isoc in transfer
...
This patch clear the HWO bit in trb_ctrl by software when requests
are moved to queued list.
There are some cases which can lead to missed isoc event in dwc3
endpoint interrupt. For example, in uac+uvc mode, if PC start to
playpack audio or open uvc preview while captureing audio, a lot of
control transfer will bring missed isoc event and we will unmap all
request in started list and move them to queued list. Without this
patch, the number of trbs left will be incorrectle calculated as 0
and no trbs will be prepared at next transfer.
Signed-off-by: Ren Jianing <jianing.ren@rock-chips.com >
Change-Id: Idca5cd10f291962a480fc7e01e2186beaae2efb9
2020-08-25 09:52:08 +08:00
Cai YiWei
6d3bead414
media: rockchip: isp: add cru reset for rv1126
...
Change-Id: Ib94a0b082e4e060eb861bfcc608c47689bb4f301
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2020-08-24 18:32:32 +08:00
Cai YiWei
212d27f52d
ARM: dts: rv1126: isp add cru reset
...
Change-Id: Iab117b7c42a3c324b91f4c572b8ed8f3bf3ede99
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2020-08-24 18:32:31 +08:00
Cai YiWei
762ff9a1b2
media: rockchip: ispp: fix reg write err for fec
...
Change-Id: Ie2e68abaef2d3ab22ee70eee7548f4fdadcf38f9
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2020-08-24 15:20:36 +08:00
Cai YiWei
c97d8e5484
media: rockchip: isp: mi lum burst to 16 for dmatx
...
Change-Id: I005d2d30a2ec0a6b1bec6f8c81866739da40818f
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2020-08-24 15:20:31 +08:00
Xing Zheng
ba129dcdbd
HACK-TO-REVERT: ASoC: simple-card: using clk_id to judge stream
...
The clk_id is not used on rockchip platform, and there are
mclk_tx and mclk_rx on rockchip i2s driver, so we need to
use clk_id to stream to judge whether is playback or capture
now.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com >
Change-Id: I4f5b9229c599344477990ab80bce7edfc6d25b45
2020-08-24 14:31:32 +08:00
Cai YiWei
f8373b4e3e
media: rockchip: isp: adjust hurry priority to middle
...
Change-Id: I3ec12623b3a9529479c181b0cdf4b84e33c9cf2c
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2020-08-24 11:15:44 +08:00
Wang Panzhenzhuan
e6f03e192b
media: i2c: gc8034 optimize drivers for cts issues
...
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com >
Change-Id: I942e5690acd729aacf9b3d39925a3166ec1c9695
2020-08-24 10:55:36 +08:00
Wang Panzhenzhuan
8b82f490da
media: i2c: gc5035 optimize drivers for cts issues
...
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com >
Change-Id: I84f2cd30efe770ccedf3f43ee97e5062981ce603
2020-08-24 10:55:36 +08:00
Wang Panzhenzhuan
00ffc1d2b4
media: i2c: gc5025 optimize drivers for cts issues
...
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com >
Change-Id: I0ab557b5844ff593cea2df9666efe2e2a7d515a9
2020-08-24 10:55:36 +08:00
Hu Kejun
478c67e24b
media: rockchip: isp: fix picture of hdr is abnormal in muti-visual isp when run second time
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I73b0c38bbf889005a67157da2c85c29c9a489cd8
2020-08-24 10:26:55 +08:00
Hu Kejun
4cdd2bc3a1
phy: rockchip: mipi-dphy-rx: change dphy selection when stream start for rk1126
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Ied1b01617e6ac07ef665a5ad08d31812f98e997b
2020-08-24 10:26:33 +08:00
Hu Kejun
300943521d
media: rockchip: cif: fix link to mipi and lvds is enabled at the same time
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I1d1006e05ffb444175c1f59fb2fdd872da748699
2020-08-24 10:26:33 +08:00
Hu Kejun
87cf1277ad
ARM: dts: rv1109-evb-ddr3-v12-facial-gate: add interface node for cif and isp
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Ie840233820d738c7efa8b7ede88e9877ce6f366c
2020-08-24 10:26:33 +08:00
Hu Kejun
e17b1344e8
ARM: dts: rv1126: add interface node for isp
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Icdcdd40860ae6a124ca0c13e0ea5f2aadfaa5acf
2020-08-24 10:26:33 +08:00
Hu Kejun
1f22d94a8b
media: rockchip: isp: support link with interface of cif
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: If41b2b1e8e789f1045c55ed30ce5573c28052257
2020-08-24 10:26:33 +08:00
Hu Kejun
a45d41dcd5
media: rockchip: cif: add subdev as interface for isp
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Iebf7545485a84a7817c76f9b3c81884aeac5a974
2020-08-24 10:26:33 +08:00
Hu Kejun
38f83bebce
ARM: dts: rv1126-evb-v10.dtsi: add rkcif_dvp/rkcif_mipi_lvds node
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Ib79da479fcef0d882b7b47ca4e4906c5e9f76635
2020-08-24 10:26:33 +08:00
Hu Kejun
fc971da1ca
ARM: dts: rv1126: add rkcif_dvp/rkcif_mipi_lvds/rkcif_lite_mipi_lvds node
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I31bcd3442256af0aa7e1cc7ab859d3abca05899c
2020-08-24 10:26:33 +08:00
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