Commit Graph

1066606 Commits

Author SHA1 Message Date
Jason Zhang
2c5b0fb9db iio: Add FIFO event for LSM6DSR sensor HUB
Add FIFO event type:
* IIO_EV_TYPE_FIFO_FLUSH

This change also adds FIFO event directions:
* IIO_EV_DIR_FIFO_EMPTY (indicates the FIFO is empty)
* IIO_EV_DIR_FIFO_DATA (indicates the FIFO is not empty)

A FIFO flush event is triggered after the HW FIFO is flushed,
and indicates that whether the HW FIFO is empty or not.

Signed-off-by: Jason Zhang <jason.zhang@rock-chips.com>
Change-Id: Idb21bc271c7fd8def63f2cb29440ebf0677688d5
2022-07-08 17:31:28 +08:00
Jason Zhang
7783835a83 iio: light: vl6180: add custom initialization
Set up the registers related to range according to the datasheet.

Note that some registers is unavailable on the datasheet, but they are
unbelievably useful.

Signed-off-by: Jason Zhang <jason.zhang@rock-chips.com>
Change-Id: I599ad6fb2a76f79dfd600d626871574221f1aca6
2022-07-08 17:31:28 +08:00
Jason Zhang
31654742f5 iio: light: vl6180: add support for irq and buffer setup
Add support for interrupt request and buffer setup. Use device
interrupt for reading measurements of ALS, range and proximity.

Signed-off-by: Jason Zhang <jason.zhang@rock-chips.com>
Change-Id: Idb605241df51519e49e3e4df471c5efe70948dcb
2022-07-08 17:31:28 +08:00
Jason Zhang
61ce1f9f69 dt-bindings: iio: light: vl6180: support power control using gpio
Support power supply and enable using gpio (if provided).

Signed-off-by: Jason Zhang <jason.zhang@rock-chips.com>
Change-Id: I2ed5acf9b38652d1e999a072dda17fa069cde23c
2022-07-08 17:31:28 +08:00
Jason Zhang
9a87d22369 iio: light: vl6180: support power control using gpio
There are AVDD and GPIO0/CE in the pinout of STMicro VL6180:
  - AVDD (Digital/analog power supply 2.6 to 3.0 V),
  - GPIO0/CE (Power-up default is chip enable (CE)).

These two pins are gpio connected in some reference design boards and
control the power in the Power-up timing constraints. This patch
emulates this situation.

Signed-off-by: Jason Zhang <jason.zhang@rock-chips.com>
Change-Id: I610455ea7ca738303ec6dd6ff496576ff2e716ce
2022-07-08 17:31:28 +08:00
Yifeng Zhao
487de35b82 emmc: sdhci-of-dwcmshc: improve compatibility with HS400ES mode
This patch modify the strobe tap number for better compatibility
with HS400ES mode.

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I7ceb37c448250170f2bf394381a43bd0e925ddfa
2022-07-08 17:31:28 +08:00
Jason Zhang
cfdc967433 arm64: rockchip_defconfig: enable CONFIG_VL6180
This patch enables ST VL6180 support for the rk3588s tablet platform
with defconfig entry for VL6180.

Signed-off-by: Jason Zhang <jason.zhang@rock-chips.com>
Change-Id: Ic42b8f98309d527b8e73843df9d45ad1c82e4328
2022-07-06 18:41:45 +08:00
ZhiZhan Chen
ef54cd46a4 arm64: rockchip_linux_defconfig: enable CONFIG_VIDEO_ROCKCHIP_HDMIRX
Signed-off-by: ZhiZhan Chen <zhizhan.chen@rock-chips.com>
Change-Id: I967cd245e28fe5b6b158bf3095012a091c4a757c
2022-07-06 18:23:40 +08:00
Zefa Chen
3e29852076 media: rockchip: vicap add mutex lock for group sync mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Iacb2fb3c1dbeac9668a0fda27f9197878fea5b4e
2022-07-06 18:01:24 +08:00
Sugar Zhang
15e40b3515 soc: rockchip: cpuinfo: Add support for rv1106/3
This patch adds support for rv1106/3 soc and get
chip version from OS_REG1[2:0] which was written by SPL.

Details ref to Rockchip_Introduction_OS_REG.md

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ib833a55acb70490945a37b5fdab7a29dcb5c3e6e
2022-07-06 18:00:14 +08:00
zefa.chen
4f046e4d9e media: rockchip: vicap fixed segfault about buffer operations
Change-Id: Id2024d9fd3e0b951668dd58a9067e62d617292d3
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
2022-07-06 17:24:48 +08:00
Robin Murphy
18bbc5a5e6 UPSTREAM: iommu/iova: Improve 32-bit free space estimate
For various reasons based on the allocator behaviour and typical
use-cases at the time, when the max32_alloc_size optimisation was
introduced it seemed reasonable to couple the reset of the tracked
size to the update of cached32_node upon freeing a relevant IOVA.
However, since subsequent optimisations focused on helping genuine
32-bit devices make best use of even more limited address spaces, it
is now a lot more likely for cached32_node to be anywhere in a "full"
32-bit address space, and as such more likely for space to become
available from IOVAs below that node being freed.

At this point, the short-cut in __cached_rbnode_delete_update() really
doesn't hold up any more, and we need to fix the logic to reliably
provide the expected behaviour. We still want cached32_node to only move
upwards, but we should reset the allocation size if *any* 32-bit space
has become available.

Reported-by: Yunfei Wang <yf.wang@mediatek.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Miles Chen <miles.chen@mediatek.com>
Link: https://lore.kernel.org/r/033815732d83ca73b13c11485ac39336f15c3b40.1646318408.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
(cherry picked from commit 5b61343b50)
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: If5b30d12f8d0cef77cfd2f3fe19e99be4897dc0e
2022-07-06 16:15:49 +08:00
Jianqun Xu
3c9526f479 iommu/iova: remove a iova procfs if existed
Since the dma iommu iova maybe deinit, the iova procfs lack of a deinit
operation, driver will complain such as:

[    3.143475] ------------[ cut here ]------------
[    3.143501] proc_dir_entry 'iova/ff920000.rkisp1' already registered
[    3.143545] WARNING: CPU: 1 PID: 154 at fs/proc/generic.c:381 proc_register+0x104/0x128
[    3.143552] Modules linked in:
[    3.143567] CPU: 1 PID: 154 Comm: kworker/u12:2 Not tainted 5.10.66 #19
[    3.143573] Hardware name: Rockchip RK3399 EVB IND LPDDR4 Board edp (Linux) (DT)
[    3.143586] Workqueue: events_unbound deferred_probe_work_func
[    3.143598] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--)
[    3.143606] pc : proc_register+0x104/0x128
[    3.143614] lr : proc_register+0x104/0x128
[    3.143620] sp : ffffffc0128bb9c0
[    3.143625] x29: ffffffc0128bb9c0 x28: 0000000000000000
[    3.143637] x27: ffffffc011cd40e0 x26: 0000000000000000
[    3.143648] x25: 0000000000000000 x24: ffffff8002aaf690
[    3.143658] x23: ffffff8002fd14bc x22: ffffffc011b65820
[    3.143669] x21: ffffff8004050298 x20: ffffff8002aaf600
[    3.143680] x19: ffffff8002fd1400 x18: 0000000000000000
[    3.143690] x17: 0000000000000000 x16: 0000000000000000
[    3.143701] x15: 000000000000000a x14: 6465726574736967
[    3.143711] x13: 6572207964616572 x12: 6c61202731707369
[    3.143722] x11: 6b722e3030303032 x10: 3966662f61766f69
[    3.143733] x9 : ffffffc01009fe50 x8 : 7269645f636f7270

Fixes: 4fe55239b3 ("iommu/iova: add iova procfs for each dma iommu")
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: If8aa00bacd13f72efda266632d06ef6899776f5f
2022-07-06 16:13:12 +08:00
Algea Cao
9f8c23685e drm/bridge: synopsys: dw-hdmi-qp: Configure YCC quant range correctly
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I72b4cb4f9c16e0379e3ea2c948d4c20952b840c1
2022-07-06 15:13:23 +08:00
Guochun Huang
2cb3ef11d2 arm64: dts: rockchip: rk3588-vehicle: remove redundant dsi info
Change-Id: Ifd0ee61f98cc3f1b725e86f36582d69de5261cff
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2022-07-05 16:59:04 +08:00
Guochun Huang
3f14255c0a arm64: dts: rockchip: rk3588-vehicle-serdes-display: enable dsi logo display
Change-Id: Id158518dbbf4a76467dcfd632621f770e468fb55
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2022-07-05 16:58:35 +08:00
Yiqing Zeng
5244d0ec1b media: i2c: ov7251 support 640x480@120fps
Signed-off-by: Yiqing Zeng <zack.zeng@rock-chips.com>
Change-Id: I7d70f6d7f88079fd5242586b084724312adfb0aa
2022-07-05 16:36:02 +08:00
shengfei Xu
6be5bff60f power: supply: charger: add sc89890 charger driver
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: Ie231a1cabdfefce43fc8f21993d981df2395cf31
2022-07-05 16:35:34 +08:00
Yu Qiaowei
004ba6e22a video: rockchip: rga3: Fix some formats cannot match core
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ia6f6e43342f7a77d1bcf5e4cd4ed64b4d567d5f8
2022-07-05 14:27:22 +08:00
Ziyuan Xu
0a58d4293e ARM: dts: rockchip: rv1106: fixes reg rangs for saradc
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I6add738ac91acdef41edd3beb825c6cab5316425
2022-07-05 14:25:16 +08:00
Cai YiWei
349cd33d87 media: rockchip: isp: add tb api for rockit
Change-Id: I8d08816cda58c2605e7b8dd0558e7207644e33c1
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-07-05 11:43:39 +08:00
Yiqing Zeng
d1e3960225 media: i2c: gc4023 fix gain err bug
Signed-off-by: Yiqing Zeng <zack.zeng@rock-chips.com>
Change-Id: I0043db47c133ac8171f570f195a853b2cba0a426
2022-07-05 11:36:58 +08:00
Wu Liangqing
1a457360e5 arm64: dts: rockchip: rk3588s-tablet: enabled dp0_sound and sdmmc
Change-Id: Ib3488ac2121a3978593c166a83d9b4f13fce2c68
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2022-07-05 09:36:00 +08:00
Jianqun Xu
973dd55ebe rknpu: gem: add error message print for dma map failure
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: Ia44dd2ee0a55523aeb3a1d2692ee457b0c11049e
2022-07-05 09:04:55 +08:00
David Wu
6f6e125edd net: phy: rk630phy: Swap the bgs position of 100M and 10M
According to the latest otp table, do the corresponding change
for 100M and 10M bgs.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I3c56562e1839fd104c7467a5a28469edd8f49db7
2022-07-04 18:11:33 +08:00
Jianqun Xu
54d5477652 drm/rockchip: drm gem support flags ROCKCHIP_BO_DMA32
Userland can use the flag ROCKCHIP_BO_DMA32 to tell drm gem to get pages
limit to 4GiB memory.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: Icdc77efae71ed6272f425ad93a07c8d3e98a9ca4
2022-07-04 18:09:22 +08:00
Sugar Zhang
e5ce8d29d8 ALSA: pcm_dmaengine: always get stream position from DMA driver
This patch fixup that the wrong position when dma desc status
is DONE. even if the desc status is DONE, it is still able to
get the position from the dma driver. so, just remove the judgement.

BACKGROUND
In the Multi-Stream audio situation, Some Stream XRUNs unexpected,
These stream drived by the synchronous clk, So, it should not be.

After enable trace, we find the route cause:

CONFIG_FUNCTION_TRACER
CONFIG_FUNCTION_GRAPH_TRACER
CONFIG_STACK_TRACER
CONFIG_DYNAMIC_FTRACE

/# cd /sys/kernel/debug/tracing
/# echo "snd_pcm:applptr" >> set_event
/# echo "snd_pcm:hwptr" >> set_event
/# echo "snd_pcm:xrun" >> set_event
/# cat trace | head -20
/# echo 1 > tracing_on
/# cat trace_pipe > trace.txt

110.291854: applptr: pcmC1D0p/sub0: prev=0, curr=960, avail=2880, period=960, buf=3840
110.292258: applptr: pcmC2D0p/sub0: prev=0, curr=960, avail=2880, period=960, buf=3840
110.292464: applptr: pcmC3D0p/sub0: prev=0, curr=960, avail=2880, period=960, buf=3840
110.292704: applptr: pcmC0D0p/sub0: prev=0, curr=960, avail=2880, period=960, buf=3840
110.293631: applptr: pcmC1D0p/sub0: prev=960, curr=1920, avail=1920, period=960, buf=3840
110.293708: applptr: pcmC2D0p/sub0: prev=960, curr=1920, avail=1920, period=960, buf=3840
110.293750: applptr: pcmC3D0p/sub0: prev=960, curr=1920, avail=1920, period=960, buf=3840
110.293787: applptr: pcmC0D0p/sub0: prev=960, curr=1920, avail=1920, period=960, buf=3840
...
110.773563: applptr: pcmC2D0p/sub0: prev=25920, curr=26880, avail=8, period=960, buf=3840
110.773564: hwptr: pcmC0D0p/sub0: IRQ: pos=8, old=22088, base=19200, period=960, buf=3840
110.773573: hwptr: pcmC3D0p/sub0: POS: pos=8, old=23048, base=23040, period=960, buf=3840
110.773594: applptr: pcmC3D0p/sub0: prev=25920, curr=26880, avail=8, period=960, buf=3840
110.773624: hwptr: pcmC0D0p/sub0: POS: pos=8, old=23048, base=23040, period=960, buf=3840
110.773648: applptr: pcmC0D0p/sub0: prev=25920, curr=26880, avail=8, period=960, buf=3840
110.773930: hwptr: pcmC1D0p/sub0: POS: pos=32, old=23048, base=23040, period=960, buf=3840
110.775376: hwptr: pcmC1D0p/sub0: POS: pos=104, old=23072, base=23040, period=960, buf=3840
110.775460: applptr: pcmC1D0p/sub0: prev=26880, curr=26984, avail=0, period=960, buf=3840
110.793215: hwptr: pcmC1D0p/sub0: IRQ: pos=960, old=23144, base=23040, period=960, buf=3840
110.793322: applptr: pcmC1D0p/sub0: prev=26984, curr=27840, avail=0, period=960, buf=3840
110.793347: hwptr: pcmC2D0p/sub0: POS: pos=0, old=23048, base=23040, period=960, buf=3840
110.793667: hwptr: pcmC2D0p/sub0: IRQ: pos=976, old=23048, base=23040, period=960, buf=3840
110.794523: applptr: pcmC2D0p/sub0: prev=26880, curr=26888, avail=0, period=960, buf=3840
// applptr was block over one period
110.794703: hwptr: pcmC3D0p/sub0: IRQ: pos=1024, old=23048, base=23040, period=960, buf=3840
110.794804: hwptr: pcmC0D0p/sub0: IRQ: pos=1028, old=23048, base=23040, period=960, buf=3840
110.813277: hwptr: pcmC1D0p/sub0: IRQ: pos=1920, old=24000, base=23040, period=960, buf=3840
110.813330: hwptr: pcmC2D0p/sub0: IRQ: pos=1920, old=23048, base=23040, period=960, buf=3840
110.813714: hwptr: pcmC3D0p/sub0: IRQ: pos=1936, old=24064, base=23040, period=960, buf=3840
110.813759: hwptr: pcmC0D0p/sub0: IRQ: pos=1936, old=24068, base=23040, period=960, buf=3840
110.833221: hwptr: pcmC1D0p/sub0: IRQ: pos=2880, old=24960, base=23040, period=960, buf=3840
110.833336: hwptr: pcmC2D0p/sub0: IRQ: pos=2880, old=23048, base=23040, period=960, buf=3840
110.834086: hwptr: pcmC3D0p/sub0: IRQ: pos=2912, old=24976, base=23040, period=960, buf=3840
110.834216: hwptr: pcmC0D0p/sub0: IRQ: pos=2920, old=24976, base=23040, period=960, buf=3840
110.853208: hwptr: pcmC1D0p/sub0: IRQ: pos=0, old=25920, base=23040, period=960, buf=3840
110.853293: hwptr: pcmC2D0p/sub0: IRQ: pos=0, old=23048, base=23040, period=960, buf=3840
110.853991: hwptr: pcmC3D0p/sub0: IRQ: pos=28, old=25952, base=23040, period=960, buf=3840
110.854001: xrun: pcmC3D0p/sub0: XRUN: old=26908, base=26880, period=960, buf=3840
110.854719: hwptr: pcmC0D0p/sub0: IRQ: pos=64, old=25960, base=23040, period=960, buf=3840
110.854727: xrun: pcmC0D0p/sub0: XRUN: old=26944, base=26880, period=960, buf=3840
110.873221: hwptr: pcmC1D0p/sub0: IRQ: pos=960, old=26880, base=26880, period=960, buf=3840
110.873239: xrun: pcmC1D0p/sub0: XRUN: old=27840, base=26880, period=960, buf=3840
110.874682: applptr: pcmC2D0p/sub0: prev=26888, curr=27840, avail=56, period=960, buf=3840

grep "applptr: pcmC2D0p" trace.txt:

applptr was block over 4 periods (80ms)

110.773563: applptr: pcmC2D0p/sub0: prev=25920, curr=26880, avail=8, period=960, buf=3840
110.794523: applptr: pcmC2D0p/sub0: prev=26880, curr=26888, avail=0, period=960, buf=3840
110.874682: applptr: pcmC2D0p/sub0: prev=26888, curr=27840, avail=56, period=960, buf=3840

grep "hwptr: pcmC2D0p/sub0: POS" trace.txt:

110.613370: hwptr: pcmC2D0p/sub0: POS: pos=0, old=15360, base=15360, period=960, buf=3840
110.633389: hwptr: pcmC2D0p/sub0: POS: pos=960, old=16320, base=15360, period=960, buf=3840
110.653371: hwptr: pcmC2D0p/sub0: POS: pos=1920, old=17280, base=15360, period=960, buf=3840
110.673403: hwptr: pcmC2D0p/sub0: POS: pos=2880, old=18240, base=15360, period=960, buf=3840
110.693523: hwptr: pcmC2D0p/sub0: POS: pos=8, old=19200, base=19200, period=960, buf=3840
110.713477: hwptr: pcmC2D0p/sub0: POS: pos=968, old=20168, base=19200, period=960, buf=3840
110.733362: hwptr: pcmC2D0p/sub0: POS: pos=1920, old=21120, base=19200, period=960, buf=3840
110.753459: hwptr: pcmC2D0p/sub0: POS: pos=2888, old=22088, base=19200, period=960, buf=3840

invalid POS rollback (8 -> 0):

110.773536: hwptr: pcmC2D0p/sub0: POS: pos=8, old=23048, base=23040, period=960, buf=3840
110.793347: hwptr: pcmC2D0p/sub0: POS: pos=0, old=23048, base=23040, period=960, buf=3840

Change-Id: I40e92bae09a002f4f5f0b2fab8b0e99fd3ee269d
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2022-07-04 18:08:27 +08:00
Wyon Bi
304dbb104d drm/bridge: analogix_dp: Add DP Test Automation
Test on RK3588 with Unigraf DPR-100 DP reference sink.

Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I01c099e1ad25ab92d9e8efef13c0c2304115a957
2022-07-04 09:10:28 +00:00
Dingxian Wen
79f32b338b media: rockchip: hdmirx: add hdmirx scene DDR frequency conversion
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I154f57f4013f07673d826151224c71638436b0c7
2022-07-04 14:56:21 +08:00
Dingxian Wen
62becd888a arm64: dts: rockchip: rk3588: dmc add SYS_STATUS_HDMIRX
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I931349c58354eae8b25b5a637e9bcf4fd6ab925e
2022-07-04 14:55:51 +08:00
Finley Xiao
a6098a99a7 PM / devfreq: rockchip_dmc: Add SYS_STATUS_HDMIRX
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I133589dd2a1f8b88f08a20e7caaf10a3e84c04e3
2022-07-04 14:55:08 +08:00
Sandy Huang
22dbcb386f drm/rockchip: vop2: update cds div and dsc_htotal for 1 slice panel
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Iaf7af6b697add09b08a0984052af4d357add0747
2022-07-04 14:36:15 +08:00
Yu Qiaowei
344479a3b4 video: rockchip: rga3: Fix physical continuous dma_fd not working
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I7ccfbd9bf1af4fc300f9367fc247f300ef82be4b
2022-07-04 11:27:58 +08:00
Cai YiWei
d46850b0ab media: rockchip: isp: support mesh buf count from user for isp30 and isp32
Change-Id: If2473f0a040f97786833fdfdadb2928e5092a575
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-07-04 11:24:41 +08:00
William Wu
970efca023 phy: rockchip: inno_usb2: update phy tuning for rv1106 and rv1103
1. Set different pre_emphasize strength for rv1106 and rv1103.
   - Set pre_emphasize strength to 0x03 for cpu verison_0;
   - Set pre_emphasize strength to 0x01 for cpu verison_1;

2. Bypass Squelch detector calibration to improve receiving
   sensitivity.
   - Before: E-17 248.7mv, E-16 112.6mv
   - After:  E-17 150mv,   E-16 98.8mv

Note:
E-17 and E-16 is on page 3 of the "USB 2.0 Electrical Compliance Test Specification"
https://usb.org/document-library/usb-20-electrical-compliance-test-specification-version-107

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I0d668b3d126583ada03d9675e0175f02537d915f
2022-07-01 21:01:47 +08:00
Zefa Chen
ee66b0c6b8 media: rockchip: vicap fixed error when sditf is NULL
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Iadecf86f27f35090c3daba4c5e28def4ab7ad62c
2022-07-01 18:43:20 +08:00
Yandong Lin
aa1f2eb72b video: rockchip: mpp: fix vepu access ccu crash issue
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I73d0703b2b58d8d23be1c38bf23ce470ffc13be3
2022-07-01 18:38:50 +08:00
Tao Huang
de0913f45a media: rockchip: isp: Add missing sentinel to rkisp_hw_of_match
Fixes: 40e63cc682 ("media: rockchip: isp: build depends on CPU config")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ic8340cc86bc5d58e5e33de34cebfd49df57d7f27
2022-07-01 18:20:24 +08:00
Cai YiWei
6f826853cb media: rockchip: isp: remove associated of cproc and ie for isp3x
Change-Id: If2165bdc9afcd2b5c946be3e013f569f292604a5
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-07-01 16:02:49 +08:00
Cai YiWei
a63cec68e5 media: rockchip: isp: fix isp30 cgc limit config
cgc limit bug in hw, cproc limit replace it.

Change-Id: Id95035e43c471ac11b7e865b55fb4882916ee639
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-07-01 16:02:41 +08:00
Yandong Lin
94a5dd9f32 arm64: dts: rockchip: add vepu support and separate jpege for rk3588
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I530c8213039d52329a05ddc3092ec18f63c4063a
2022-07-01 14:21:53 +08:00
Yandong Lin
c01a3a8ab3 video: rockchip: mpp: Separation vepu2 and vepu2-jpege dev
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: If8d06652729325d7b986f53b50f265d341bcb4e8
2022-07-01 14:21:38 +08:00
Yandong Lin
500137ac8c video: rockchip: mpp: fix jpege core distribution issue
The four jpeg enc core are not the same queue, and there is only one
core in a single queue.
So, can not use queue->cores to get different core.

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: If9f56e351af23871e68b83de1917f26e88382dfc
2022-07-01 14:21:29 +08:00
Jon Lin
a6c71606de PCI: aspm_ext: Re-enable LRT for L1SS after power loss
Change-Id: Iedb72ee74660a8f11f38895e06766c3b77728ba3
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2022-07-01 14:14:11 +08:00
Su Yuefu
9c75f9ae0a media: i2c: sc230ai support 1080p@25fps config
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: I26989d0a74f2572e683e45c76c57b885bd724d37
2022-07-01 14:10:51 +08:00
Mark Huang
46130c99b6 usb: gadget: f_uvc: add device name for mult uvc
Change-Id: Ib19bb07a70019e474f5268475cadbb194fc4288d
Signed-off-by: Mark Huang <huangjc@rock-chips.com>
2022-07-01 11:10:48 +08:00
Damon Ding
e4660fb3bb drm/rockchip: vop2: set reg splice_en to 0 when disabling vp0 in splice mode
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I600ba962d00b7f87b1d8200852c71da8a30ec70d
2022-07-01 11:10:07 +08:00
Damon Ding
91d0c47595 drm/rockchip: vop2: set all display modes of vp1 invalid in splice mode
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I9ea4f1c218cefa1fef0d0625afa3795692a71497
2022-07-01 11:10:07 +08:00
Yu Qiaowei
7f53ead8ab video: rockchip: rga3: Avoid operating on invalid rga_dma_buffer
Update driver version to 1.2.15

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I0b2bdcdc9750ca8051fb000048f3e8df3113c6ca
2022-07-01 10:59:39 +08:00
shengfei Xu
9b12899635 power: supply: charger: add sc8551 charger pump driver
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I9580e0af62cb652c0e90832455d025049edb374a
2022-07-01 09:54:02 +08:00