Commit Graph

1072263 Commits

Author SHA1 Message Date
Yunfei Wang
5146690a6c ANDROID: dma/debug: fix warning of check_sync
check_sync() checks for whether device driver DMA sync sg list entry count equals to map sg list entry count, but in struct dma_buf_ops, there has below interface:
 int (*begin_cpu_access_partial)
 int (*end_cpu_access_partial)

When vendor implement these interface in dma heap to support dma-buf partial cache sync for performance improvement, in dma_buf_ops of heap, we copy a sgtable from orginal sgtable but with necessary nents, it will less then nents used in map attachment, in the way, the following warning had occurred:
DMA-API: device_xxx: device driver syncs DMA sg list with different entry count [map count=5] [sync count=1]
Call trace:
 check_sync+0x6d8/0xb40
 debug_dma_sync_sg_for_cpu+0x114/0x16c
 dma_sync_sg_for_cpu+0xa0/0xe4

So need change check conditation in check_sync to support dma-buf partial cache sync.

Bug: 236343688
Signed-off-by: Mingyuan Ma <mingyuan.ma@mediatek.com>
Signed-off-by: Yunfei Wang <yf.wang@mediatek.com>
Change-Id: I2f4db3b156e752eeb022927957f77a3fa534a573
(cherry picked from commit d61fe3ad4bab3f4bc040e7ac0c7ec919b50e8a43)
2022-06-22 19:59:42 +00:00
Prashanth K
564ba93050 FROMGIT: usb: common: usb-conn-gpio: Allow wakeup from system suspend
Currently the VBUS/ID detection interrupts are disabled during system
suspend. So the USB cable connect/disconnect event can't wakeup the
system from low power mode. To allow this, we keep these interrupts
enabled and configure them as wakeup capable. This behavior can be
controlled through device wakeup source policy by the user space.
This was tested and verified on a target.

(cherry picked from commit 7afe69ad92 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ usb-next)

Bug: 234808630
Link: https://lore.kernel.org/r/1653634146-12215-1-git-send-email-quic_prashk@quicinc.com
Signed-off-by: Prashanth K <quic_prashk@quicinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Change-Id: I8767f91aa78805984856334821072e0c7986eea0
2022-06-22 15:28:39 +00:00
Jianqun Xu
c71d300e42 video: rockchip: mpp: reset buffer members when release buffer
Reset the buffer members by:
	buffer->dma = NULL;
	buffer->dmabuf = NULL;
	buffer->attach = NULL;
	buffer->sgt = NULL;
	buffer->copy_sgt = NULL;
	buffer->iova = 0;
	buffer->size = 0;
	buffer->vaddr = NULL;
	buffer->last_used = 0;

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I83cf68f51a9db7894a01bca01b5a53c6d6932a5f
2022-06-22 18:34:06 +08:00
Jianqun Xu
f4052bc00c video: rockchip: mpp_service add dump session
Add the dump session function to show iova stats.

Tested on RK3588 Debian:
[root@RK3588:/]# cat /proc/mpp_service/sessions-summary
session iova range dump:
   0: 0x00000000fff80000..0x00000000ffffffff (       512 KiB)
   1: 0x00000000f8000000..0x00000000fca09fff (     75816 KiB)
   2: 0x00000000f7c00000..0x00000000f7ffbfff (      4080 KiB)
   3: 0x00000000f7b00000..0x00000000f7bb2fff (       716 KiB)
   4: 0x00000000f7a80000..0x00000000f7ae0fff (       388 KiB)
   5: 0x00000000f7a00000..0x00000000f7a7ffff (       512 KiB)
   6: 0x00000000f0000000..0x00000000f4a09fff (     75816 KiB)
   7: 0x00000000efc00000..0x00000000efffbfff (      4080 KiB)
   8: 0x00000000e8000000..0x00000000eca09fff (     75816 KiB)
   9: 0x00000000e7c00000..0x00000000e7ffbfff (      4080 KiB)
  10: 0x00000000e0000000..0x00000000e4a09fff (     75816 KiB)
  11: 0x00000000dfc00000..0x00000000dfffbfff (      4080 KiB)
  12: 0x00000000d8000000..0x00000000dca09fff (     75816 KiB)
  13: 0x00000000d7c00000..0x00000000d7ffbfff (      4080 KiB)
  14: 0x00000000d0000000..0x00000000d4a09fff (     75816 KiB)
  15: 0x00000000c8000000..0x00000000cca09fff (     75816 KiB)
  16: 0x00000000c7f00000..0x00000000c7fb2fff (       716 KiB)
  17: 0x00000000c7e80000..0x00000000c7efffff (       512 KiB)
  18: 0x00000000c0000000..0x00000000c4a09fff (     75816 KiB)
  19: 0x00000000bfc00000..0x00000000bfffbfff (      4080 KiB)
  20: 0x00000000bfb00000..0x00000000bfbb2fff (       716 KiB)
  21: 0x00000000b8000000..0x00000000bca09fff (     75816 KiB)
  22: 0x00000000b0000000..0x00000000b4a09fff (     75816 KiB)
  23: 0x00000000a8000000..0x00000000aca09fff (     75816 KiB)
  24: 0x00000000a0000000..0x00000000a4a09fff (     75816 KiB)
session: pid=2296 index=1
 device: fdc38100.rkvdec-core
 memory: 916 MiB

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I545a26e37e50ee94e1eeae51eebf35d70cedc49f
2022-06-22 18:34:06 +08:00
Lin Jinhan
b8d9ef07ae media: i2c: sc132gs: 2 lane mode default use mirror
Change-Id: I02b30aa669ff6d08321eaef0f08def926c8af578
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
2022-06-22 18:02:02 +08:00
Zefa Chen
f682ab540d media: rockchip: vicap deal fe before fs
When fe and the next frame of fs arrive at the same time,
processing the fs of the next frame first will cause the
timestamp of the current frame to be wrong.
There is only one timestamp variable of fs, which is not
stored in a ping-pong manner.

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ic76bdb67bf0debc11006df1195ffafa7540ca2d7
2022-06-22 17:33:20 +08:00
Zefa Chen
de27857dbb media: rockchip: vicap add tools video for capture raw with reback mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I6802d41608857776d6d8e25035b61b2bdcae17e4
2022-06-22 17:32:21 +08:00
Lei Chen
aeafaef713 drm/bridge: update ite-it6161 driver
Added mipirx retry mechanism to prevent abnormal display of individual resolutions.
Make global symbols static.

Signed-off-by: Lei Chen <lei.chen@rock-chips.com>
Change-Id: I3a97ab6590fab6f2cada92231d2ce790325806d4
2022-06-22 16:43:04 +08:00
Zhang Yubing
a1389d274b drm/rockchp: dw-dp: set output type for mode valid
DP need precise clock rate, so the display mode should be filterled
when the precise clock rate can't be get.

When connector connect to DP monitor, it will get the display mode
and do mode valid work. However, the output type is not set in this
case. It need to set all the possible crtcs' output type as DisplayPort
to filter the display mode that clock rate can't be config precisely.

Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I18f4e63f311ff1f589249f63ac5639e620ef0f86
2022-06-22 15:57:38 +08:00
Zhang Yubing
13b4a7b8da drm/rockchip: vop2: filter unsupported display mode
For DP and HDMI, if the request clock rate for a display mode
can't be precise get, filter it.

Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I6f323cfbafd4822f3cc5aac6c27b0c409d063368
2022-06-22 15:57:26 +08:00
Jianqun Xu
c9d08fc99c arm64: dts: rockchip: rk3588s reserve rkvdec iova closed to 4GiB address
Rockchip RK3588 rkvdecs use sram as part of buffer, then reserve the
iommu iova for the rcb. This patch changes the iova range close to 4G
to make the iova space more contiguous for the future.

With this patch, the iova reserve as following:

[    1.619149] mpp_rkvdec2 fdc38100.rkvdec-core: rcb_iova 0x00000000fff00000
[    1.630537] mpp_rkvdec2 fdc48100.rkvdec-core: rcb_iova 0x00000000ffe00000

Fixes: 707f4713a1 ("arm64: dts: rockchip: rk3588s: Add soft-ccu mode for rkvdec2")

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I2ec03a6a68c7fe87a0e3966e773991d024e58d20
2022-06-22 15:56:08 +08:00
Tao Huang
69d9bccc16 arm64: dts: rockchip: Fix system sram address for rk3588
Change system sram address from 0xFD600000 to 0xFF000000.
0xFF000000 support cpu cache.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I990c53fcae67ab80795a77e8c6d1d1851d9f18e8
2022-06-22 15:06:02 +08:00
Jon Lin
9e093149af net: wireless: rockchip: rkwifi: bcmdhd: Add rk wifi pcie APIs
Fix the error from dhd pcie interface.

Change-Id: I0f89e7c1a36aa289733082410f6fe65c27481cf8
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2022-06-22 15:05:09 +08:00
Jon Lin
d591c3f6ef PCI: Add ROCKCHIP PCIe ASPM interface
Change-Id: I1156bd10e352145d745899067bf43afda92d5a30
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2022-06-22 15:03:47 +08:00
Zefa Chen
22a6df2388 media: rockchip: vicap support capture raw in hdr mode with online
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I3a41cb22e68f21808485d7ba1c4cc6b62dfbd017
2022-06-22 14:53:04 +08:00
Zefa Chen
7040478a95 media: rockchip: vicap fixed bug of capture raw online
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I515e1ae1893f9bee36a8a67e0e4eb4a68d393657
2022-06-22 14:50:33 +08:00
Zefa Chen
50d0e0a002 media: rockchip: isp: support free rx buffer
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I3d8aef3f27f8e419c6ed02426735e03be8787998
2022-06-22 14:49:53 +08:00
Caesar Wang
480c29a809 arm64: dts: rockchip: Add mmc aliases for rk3588-linux.dtsi
With this series, adjust MMC alias and see mmcblk id change.
This patch is still useful on ChromeOS.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I384e49606c5623a403c93e62e9e7165b61e4ca80
2022-06-22 10:42:16 +08:00
Zhang Yubing
befdf06c03 drm/rockchip: vop2: print the correct vp id
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: Ic3728c72715ab6ab5cab0fd8acf20d754feab51a
2022-06-22 09:27:40 +08:00
Wangqiang Guo
33df088602 media: i2c: it66353: add it66353 HDMI switch bridge driver
Signed-off-by: Wangqiang Guo <kay.guo@rock-chips.com>
Change-Id: I4365641c2d088a5bce4c0b69ed98b864831db9d5
2022-06-21 17:29:53 +08:00
Dingxian Wen
1ee5d90938 arm64: dts: rockchip: rk3588: modify hdmirx pinctrl
add hdmim1_rx pinctrl group, set hdmirx detect pin to pull up.

Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I637d5d432d5879ed69077f00907667102e83153d
2022-06-21 16:36:07 +08:00
Wang Panzhenzhuan
e1489b2e38 media: i2c: gc8034: fix power on & off sequence
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Ia2b28d49662290de2784f9340a405b5061c6d76f
2022-06-21 15:06:48 +08:00
Ziyuan Xu
e654f9bb99 media: i2c: fixes sc230ai i2c transfer error when thunderboot
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I6c033c7e2c25ffa74f8b62465b63ae42814ae206
2022-06-21 14:19:51 +08:00
Dingxian Wen
f7a599ce64 arm64: dts: rockchip: modify hdmirx cma memory to 128MB for rk3588 boards
cma memory reserved for hdmirx reduced to 128MB

Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I80d909c5bba1769cf34a649e8482a905375c2512
2022-06-21 14:18:01 +08:00
Dingxian Wen
3e4a122e08 media: rockchip: hdmirx: correct image format to V4L2_PIX_FMT_BGR24
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I45bcd0450d1a85ed51261f47c282cc3f03b4c5b5
2022-06-21 14:15:06 +08:00
Zhen Chen
ab86d8ad07 MALI: rockchip: upgrade bifrost DDK to g12p0-01eac0, from g11p0-01eac0o
Change-Id: Ifde51336daa7c735118a314fcfc2fde38d7132b3
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2022-06-21 11:27:08 +08:00
Wang Panzhenzhuan
624d3eb4f8 media: i2c: s5kjn1: fix power off reset & pwdn state
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I14b40260cf0ea9e2beeeafc2a0ef0a1ffcc362df
2022-06-20 08:27:07 +00:00
Bian Jin chen
9659d6d260 arm64: configs: rockchip_defconfig: enable HID_PLAYSTATION by default.
Add support for PS5 gamepad controllers.

According to gki commit 6b7cc871d2 ("ANDROID: GKI: enable hid-playstation driver")
and commit c3bf09a68b ("ANDROID: GKI: enable hid-playstation FF").

Test: CtsHardwareTestCases
android.hardware.input.cts.tests.SonyDualSenseBluetoothTest
android.hardware.input.cts.tests.SonyDualSenseUsbTest

Signed-off-by: Bian Jin chen <kenjc.bian@rock-chips.com>
Change-Id: I49a40d2375ccc9c58a09736bf729db6cb6f438af
2022-06-20 14:35:08 +08:00
Ziyuan Xu
7e65de47b2 ARM: dts: rockchip: delete unused nodes for rv1103g-battery-ipc board
It makes sense to reduce the number of device nodes.

Before:
[    0.150197] initcall of_platform_default_populate_init+0x1/0x6a returned 0 after 13020 usecs

After:
[    0.144482] initcall of_platform_default_populate_init+0x1/0x6a returned 0 after 9765 usecs

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I9896b9d673e92310cc3e0839bd02d55056b0bed3
2022-06-20 14:26:53 +08:00
Ziyuan Xu
259831a2de ARM: dts: rockchip: rv1103g-battery-ipc: reserved 6MB for 1080p@2f yuv
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: Iabe42fa186c095f6fa7ac00a9c9aa36e8f23cddd
2022-06-20 14:25:07 +08:00
Jianwei Fan
7bd7fdc8c3 media: i2c: imx577: fix gain and exp errors and add 30fps support
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I3f519c9a3efa57b10981cee60e5f5df9b1d46124
2022-06-20 14:18:50 +08:00
Chen Shunqing
da83a0167a arm64: rockchip_defconfig: enable CONFIG_REGULATOR_WL2868C
Add WL2868C Ldo for camera on rk3588s tablet.

Signed-off-by: Chen Shunqing <csq@rock-chips.com>
Change-Id: I7023dcd20b6716436ceffcdf389b4c566d0278bb
2022-06-20 11:17:24 +08:00
Dan Vacura
d41cf0b55b BACKPORT: FROMLIST: usb: gadget: uvc: fix list double add in uvcg_video_pump
A panic can occur if the endpoint becomes disabled and the
uvcg_video_pump adds the request back to the req_free list after it has
already been queued to the endpoint. The endpoint complete will add the
request back to the req_free list. Invalidate the local request handle
once it's been queued.

<6>[  246.796704][T13726] configfs-gadget gadget: uvc: uvc_function_set_alt(1, 0)
<3>[  246.797078][   T26] list_add double add: new=ffffff878bee5c40, prev=ffffff878bee5c40, next=ffffff878b0f0a90.
<6>[  246.797213][   T26] ------------[ cut here ]------------
<2>[  246.797224][   T26] kernel BUG at lib/list_debug.c:31!
<6>[  246.807073][   T26] Call trace:
<6>[  246.807180][   T26]  uvcg_video_pump+0x364/0x38c
<6>[  246.807366][   T26]  process_one_work+0x2a4/0x544
<6>[  246.807394][   T26]  worker_thread+0x350/0x784
<6>[  246.807442][   T26]  kthread+0x2ac/0x320

Fixes: f9897ec0f6 ("usb: gadget: uvc: only pump video data if necessary")
Cc: stable@vger.kernel.org
Signed-off-by: Dan Vacura <w36195@motorola.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Bug: 236299719
Link: https://lore.kernel.org/all/20220617163154.16621-1-w36195@motorola.com/
Change-Id: Ie36696d51e0199fc4befca58032842137dece886
Signed-off-by: Dan Vacura <w36195@motorola.com>
2022-06-17 16:30:29 -05:00
Finley Xiao
8729c661d5 soc: rockchip: power-domain: Fix panic when reset memory domain
rockchip-pm-domain fd8d8000.power-management:power-controller: failed to get mem status 'venc0', target_on=0, val=1
Kernel panic - not syncing: panic_on_set_domain set ...
CPU: 7 PID: 1 Comm: swapper/0 Not tainted 5.10.66 #1598
Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
Call trace:
 dump_backtrace+0x0/0x1c8
 show_stack+0x1c/0x2c
 dump_stack_lvl+0xdc/0x12c
 dump_stack+0x1c/0x64
 panic+0x150/0x3a4
 rockchip_do_pmu_set_power_domain+0x39c/0x3a0
 rockchip_pd_power+0xcc/0x1bc
 rockchip_pd_power_on+0x28/0x38
 genpd_power_on+0x104/0x294
 __genpd_dev_pm_attach+0x138/0x1f0
 genpd_dev_pm_attach+0x50/0x6c
 dev_pm_domain_attach+0x24/0x38
 platform_drv_probe+0x3c/0xc4
 really_probe+0x204/0x510
 driver_probe_device+0x80/0xc0
 device_driver_attach+0x70/0xb4
 __driver_attach+0xc8/0x150
 bus_for_each_dev+0x80/0xd0
 driver_attach+0x28/0x38
 bus_add_driver+0x108/0x1e8
 driver_register+0x7c/0x118
 __platform_driver_register+0x48/0x58
 rk_iommu_init+0x20/0x30
 do_one_initcall+0x98/0x2dc
 do_initcall_level+0xa8/0x160
 do_initcalls+0x58/0x9c
 do_basic_setup+0x28/0x38
 kernel_init_freeable+0xf4/0x16c
 kernel_init+0x18/0x190
 ret_from_fork+0x10/0x30

Fixes: 69b9adc8ad ("soc: rockchip: power-domain: fix panic when pd power on for rk3588")
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Idc22efbd87cbc0cd694720bfb48373c81c5d8c83
2022-06-17 18:59:40 +08:00
Liang Chen
c037294fbd arm64: configs: add rockchip_rt.config for kernel-rt
Signed-off-by: Liang Chen <cl@rock-chips.com>
Change-Id: I4abd6275cf12df0be8898d3bab2a3db6cefd73e6
2022-06-17 18:25:54 +08:00
Wyon Bi
bcde211e70 arm64: dts: rockchip: rk3588s-tablet: Limit DP PHY link rate to 5.4Gbps
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I7dfc211eaf69e0515581c9fd3ccd1b5062fbfcef
2022-06-17 18:20:06 +08:00
Wyon Bi
15fdfc37fa drm/rockchip: dw-dp: Add DP PHY max_link_rate limit
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I2f4522af3b997cb0c3a6209bbe142e550782e2fc
2022-06-17 18:20:06 +08:00
Guochun Huang
8cfe3a4ed8 drm/rockchip: dsi2: fix DSI_VID_TX_CFG configuration errors
Change-Id: Ibc7483323fc50985eb2542af3ab4193b7c7ad04e
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2022-06-17 18:18:18 +08:00
Guochun Huang
d416f690ee drm/panel: simple: delay init time after panel reset
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: Ifb9b57bb7ce84263dea96958f6a4da9c7a6af545
2022-06-17 18:15:50 +08:00
shengfei Xu
65debf2d91 regulator: rk806: fix the min_sel and max_sel from struct linear_range
the wrong value cause the BUCK output voltage to be systematically
higher by 1 steps (= 25mV).

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I5be5749a87908e6a03ade7603f939bdf59eaec8b
2022-06-17 18:14:00 +08:00
Kever Yang
648e467e07 pcie: rockchip: dw: Add debugfs support
Add dump fifo and RASDES Error event count;
Enable all event by default;

Usage:
1. enter /d/fxxx0000.pcie
2. cmd
  cat dumpfifo
  cat err_event
  echo disable > err_event // disable all err event
  echo enable > err_event // enable all err event
  echo clear > err_event // clear all counter

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Change-Id: I3705812bf2bf2c71fb55bf3281854e4619070922
2022-06-17 17:59:12 +08:00
Hyeongseok Kim
74769685e4 BACKPORT: exfat: improve write performance when dirsync enabled
Degradation of write speed caused by frequent disk access for cluster
bitmap update on every cluster allocation could be improved by
selective syncing bitmap buffer. Change to flush bitmap buffer only
for the directory related operations.

Signed-off-by: Hyeongseok Kim <hyeongseok@gmail.com>
Acked-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Change-Id: I660931d6da488880337a33dd03b48cb0be0bb26c
Signed-off-by: Howard Chen <howardsoc@google.com>
(cherry picked from commit 23befe490b)
Bug: 233712676
2022-06-17 09:44:44 +00:00
Chen Shunqing
d9cbb03ca5 phy: rockchip-samsung-hdptx-hdmi: Fix phy lane can't ready
Priority select the config of larger fvco.

Signed-off-by: Chen Shunqing <csq@rock-chips.com>
Change-Id: If56db2eef60472760de3b010712a340bbf8cb30d
2022-06-17 16:49:09 +08:00
William Wu
fb52286670 phy: rockchip: inno_usb2: add bvalid control regs for rk3588 OTG1
This patch adds bvalid control registers for RK3588 OTG1 USB2.0
PHY. Then RK3588 Type-C1 can support USB Charger detection if
the TYPEC1_USB20_VBUSDET is always pull up to 3.3V, note that
add property "rockchip,typec-vbus-det" in DTS u2phy1_otg node.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Icee95425fa2671a02bdc999339437009469100c3
2022-06-17 16:48:57 +08:00
Lin Jinhan
55a06b8113 ARM: dts: rockchip: rv1106-smd-cam: modify gc2093 lens name
rockchip,camera-module-lens-name = "60IRC_F20";

Change-Id: I4759a824cbadd335c1794c5649ab152a5c03a824
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
2022-06-17 16:46:26 +08:00
Zain Wang
c2cb19bf1e power: supply: sc8886: fixed otg_voltage formula
OTG voltage is Reg0x07/0x06 bit<2-13> by 8mV per step,
<bit0-1> are 0 for reserved.
OTG voltage = 1.28V + (Reg0x07/0x06 bit<2-13>) * 8mV.
And OTG voltage would be ignored if it's not in
4.28V-20.8V.

In order to keep same to bq25703, it can be expressed as
1280000uV + (Reg0x07/0x06 bit<6-13>) * 128mV

Signed-off-by: Zain Wang <wzz@rock-chips.com>
Change-Id: I0275eeded4cf86a208bf46d7a3f1dbd6d0e37b63
2022-06-17 16:46:18 +08:00
Yu Qiaowei
77de161fde video: rockchip: rga3: batch mode supports asynchronous calls
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I0d38d9a478a77a79d85cac0eb91906ebfae59544
2022-06-17 16:41:26 +08:00
Yu Qiaowei
17638eab67 video: rockchip: rga3: fix alpha channel loss in ABC mode
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I54adb160f0dcf934a4001169ad3a7545948e4209
2022-06-17 16:41:04 +08:00
Yu Qiaowei
45fe385055 video: rockchip: rga3: Fix RGA2 getting the wrong size of dma-buf
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ice6b7ca67d04af8187b1b3d4438b2097223f9e04
2022-06-17 16:40:53 +08:00
Ziyuan Xu
ec9af67c8e ARM: dts: rockchip: rv1103: remove gpio2
Change-Id: Id17a5c2098252a108e211cf7c19e669c83d0c173
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
2022-06-17 16:33:08 +08:00