Cai YiWei
f6f8dba33e
media: rockchip: isp/ispp to version v1.8.0
...
Change-Id: Ibabaa8c0f7dfb9f6ad6e75a0f556d8d28a1a13aa
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-01-06 14:28:57 +08:00
Cai YiWei
e2353386e7
media: rockchip: isp: fix CSI2RX_DATA_IDS_1 config err
...
Change-Id: I2c552fd3cc291cbaa62804294752b2054efeaa63
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-01-06 14:27:22 +08:00
Algea Cao
3378249bc2
phy: rockchip-samsung-hdptx-hdmi: Deassert hdmi phy rst when probe
...
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
Change-Id: I4f9e0134e5d7eee48492b397622840f1548fe919
2022-01-06 10:00:21 +08:00
Li Huang
2b456d3acd
video: rockchip: rga3: Add support for rga load by hrtimer
...
Add debugger node to show rga load
Signed-off-by: Li Huang <putin.li@rock-chips.com >
Change-Id: Ie7f5facc94db7ccaef2f61490b6951d0c614cb30
2022-01-05 19:16:37 +08:00
Yu Qiaowei
2777810757
video: rockchip: rga3: When current->mm is not needed, don’t get it.
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I27b09ff0d0470880897783ef2c4d488e1459df37
2022-01-05 15:49:06 +08:00
Yu Qiaowei
5bfd3a9293
video: rockchip: rga3: Use spin_lock_irq to protect read registers
...
When the ‘reg’ of the debugger is turned on, since the RGA has been
executed, after turning off the pd in the interrupt, the register
may continue to be read.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: Ic23e5e5bfe879ea6879a9322972500988415966d
2022-01-05 15:48:50 +08:00
XiaoDong Huang
85180d359d
arm64: dts: rockchip: rk3588-rk806-single: adjust power state in suspend
...
1. on vdd_log_s0, vcc_3v3_s3.
2. off vdd_ddr_s0, vcc_1v8_s0, vdd_ddr_pll_s0.
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com >
Change-Id: Ife796d82626e2f2c319588b98d1f39d4ba7ad225
2022-01-05 15:35:27 +08:00
Jianqun Xu
8bda65645d
dma-buf: dma-buf-cache: fix error condition for cache fail
...
Fixes: 43d1db61b0 ("dma-buf: dma-buf-cache: fix error case for attach / detach")
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
Change-Id: Idc5a052bb3c2ee1c3ae45dbeac8d57178595a22f
2022-01-05 15:34:25 +08:00
Guochun Huang
a6a2d02704
phy: rockchip: mipi-dcphy: correct lanes number configuration errors
...
Change-Id: I05f5fe5605ae3642c386c416557bebafd6e8b8c4
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2022-01-05 15:33:01 +08:00
Guochun Huang
69afc70624
drm/rockchip: dsi2: standby vop2 before dsi2 change from ds to cmd mode
...
standby vop2 to ensure dsi2 core not busy when DSI2_MODE_CTRL
change from data stream to command mode.
Change-Id: Id46d1a199ae1b9421b61622dd9fca6dda08c2781
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2022-01-05 15:33:01 +08:00
shengfei Xu
287dac0f05
arm64: dts: rockchip: rk3588-rk806: fix the spi2_cs1 iomux
...
relative log:
[ 2.257040] rockchip-pinctrl pinctrl: pin gpio0-8 already requested by feb20000.spi; cannot claim for 8-0051
[ 2.257046] rockchip-pinctrl pinctrl: pin-8 (8-0051) status -22
[ 2.257051] rockchip-pinctrl pinctrl: could not request pin 8 (gpio0-8) from group hym8563-int on device rockchip-pinctrl
[ 2.257056] rtc-hym8563 8-0051: Error applying setting, reverse things back
[ 2.257064] rtc-hym8563: probe of 8-0051 failed with error -22
[ 2.258247] usbcore: registered new interface driver uvcvideo
Signed-off-by: shengfei Xu <xsf@rock-chips.com >
Change-Id: I132203508f595063a5231a1f69fddbbe1287e0b4
2022-01-05 15:19:11 +08:00
Wu Liangqing
a3fbc69a1e
arm64: dts: rockchip: rk3588s-evb1: enabled pwm ir
...
Signed-off-by: Wu Liangqing <wlq@rock-chips.com >
Change-Id: I80bf9dae575a5dba6c4e67bcef927f78f751b840
2022-01-05 15:18:25 +08:00
Weixin Zhou
499a568090
arm64: dts: rockchip: rk3588s-tablet-rk806-single: adjust some configs
...
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
Change-Id: I48b73e8fa5e231c49afee4465040c3c12faee860
2022-01-05 15:07:08 +08:00
Huang zhibao
15cd5ed71c
arm64: dts: rockchip: Disable CPU_SLEEP idle state on rk3588-nvr
...
Signed-off-by: Huang zhibao <hzb@rock-chips.com >
Change-Id: I54dd5e717941192980b0ae8ae03d26432eb17d45
2022-01-05 14:41:52 +08:00
Jianqun Xu
9cff33671f
drm/rockchip: free loader memory in rockchip_drm_fb_destroy()
...
Fix a remap issue caused by memory space leak:
iova: 0x00000000edf00000 already mapped to 0x00000000edf00000 cannot remap to phys: 0x00000000098c1000 prot: 0x3
[drm:rockchip_gem_iommu_map] ERROR failed to map buffer: size=0 request_size=68685824
[drm:rockchip_gem_prime_import_sg_table] ERROR failed to import sg table: 12
Change-Id: I42f1ebb60391f81a83e34a779cf12e0f0e4386a7
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
2022-01-05 14:32:30 +08:00
William Wu
677567ee71
phy: rockchip: inno-usb2: reduce suspend power consumption for rk3588
...
This patch aims to reduce the power consumptiom of usb2 phys
for rk3588. For lowest power consumption, we set the phy1/2/3
enter IDDQ mode by default in uboot spl stage.
IDDQ mode power consumption:
AVCC_1V8_S0 : 0.2mA (0.05mA per phy)
AVDD_0V75_S0: 0.2mA (0.05mA per phy)
VCC_3V3_S0 : 0.2mA (0.05mA per phy)
In kernel, we needs to set the phy exit from IDDQ mode and
reset the phy to enter normal mode firstly. We use suspend
mode instead of IDDQ mode for dynamic power management,
because IDDQ mode will power down all analog blocks and that
cause the usb controllers working abnormally.
Suspend mode power consumption:
AVCC_1V8_S0 : 12.5mA (3.125mA per phy)
AVDD_0V75_S0: 10.3mA (2.575mA per phy)
VCC_3V3_S0 : 0.2mA (0.050mA per phy)
For Type-C0 USB OTG mode, set phy suspend control from GRF,
it can help to reduce the suspend power consumption:
AVCC_1V8_S0 : reduce 5.1mA
AVDD_0V75_S0 : reduce 4.6mA
Signed-off-by: William Wu <william.wu@rock-chips.com >
Change-Id: I610b95f9bb6da38d25ed2e78b0a87dcb4db8cc38
2022-01-05 14:23:20 +08:00
William Wu
ee2c3f8035
arm64: dts: rockchip: rk3588: add reset for usb2 phys
...
Signed-off-by: William Wu <william.wu@rock-chips.com >
Change-Id: I674f27e5a01f6fa214b015c3e23d02ddf9557a99
2022-01-05 14:23:20 +08:00
Yu Qiaowei
93c256335b
video: rockchip: rga3: Fix wrong scaling check
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I3159ef8c8a7a425e0106666477b0b5eaa6131d7d
2022-01-05 11:44:03 +08:00
Kever Yang
3a3bde59ba
arm64: defconfig: Enable CONFIG_PCIEASPM_POWERSAVE
...
Enable Low power mode for PCIE by default, the PCIe subsystem will enter
L0s/L1 under hardware control.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com >
Change-Id: I9558587f23cf6b4f852ca6b5d1ab5a9f9eb014ca
2022-01-04 20:14:00 +08:00
Kever Yang
824c99261a
PCI: rockchip: dw: Update link up check state
...
PCIe Link up state is not only L0(0x11), but also other state like L0s,
L1 and etc.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com >
Change-Id: I9b04d01ea38be6423c214f6cb474d045dff235d5
2022-01-04 20:14:00 +08:00
Steven Liu
79b9c780ba
serial: 8250: fix programmable transmit interrupt mode
...
fix __do_stop_tx IER clear UART_IER_PTIME bit.
Fixes: e480347688 ("serial: 8250: enable Programmable THRE Interrupt for tx")
Signed-off-by: Steven Liu <steven.liu@rock-chips.com >
Change-Id: Ie82bdb4dc7cb35ada9cd422e575412eb63d5bf45
2022-01-04 19:19:37 +08:00
Jianqun Xu
a6a0e30750
drm/rockchip: gem: put object unlock for get phys ioctl
...
fix warning as following
[ 24.485312] ------------[ cut here ]------------
[ 24.485348] WARNING: CPU: 0 PID: 468 at drivers/gpu/drm/drm_gem.c:1009 drm_gem_object_put_locked+0x30/0x50
[ 24.485355] Modules linked in:
[ 24.485367] CPU: 0 PID: 468 Comm: rk_mpi_mmz_test Not tainted 5.10.66 #40
[ 24.485372] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
[ 24.485380] pstate: 40400009 (nZcv daif +PAN -UAO -TCO BTYPE=--)
[ 24.485388] pc : drm_gem_object_put_locked+0x30/0x50
[ 24.485395] lr : drm_gem_object_put_locked+0x28/0x50
[ 24.485400] sp : ffffffc0151abc10
[ 24.485405] pmr_save: 000000e0
[ 24.485410] x29: ffffffc0151abc10 x28: 0000000000000008
[ 24.485419] x27: 0000000000000008 x26: 0000007fc80811b8
[ 24.485428] x25: 00000000c0086444 x24: ffffffc0151abd28
[ 24.485437] x23: ffffffc01064dab0 x22: ffffff8005bf0400
[ 24.485446] x21: 0000000000000031 x20: 0000000000000000
[ 24.485455] x19: ffffff8005bf0000 x18: 0000000000000000
[ 24.485464] x17: 0000000000000000 x16: 0000000000000000
[ 24.485472] x15: 0000000000000000 x14: 0000000000000000
[ 24.485481] x13: 0000000000000000 x12: 0000000000000000
[ 24.485489] x11: 0000000000000000 x10: ffffff8005bf0458
[ 24.485498] x9 : 0000000000000000 x8 : ffffff8005bf0438
[ 24.485507] x7 : 0000000000000000 x6 : 0000000000000000
[ 24.485515] x5 : ffffffc011a0a808 x4 : 0000000000000000
[ 24.485523] x3 : 0000000000000004 x2 : ffffff800b57a000
[ 24.485532] x1 : fffffffeffe00000 x0 : 0000000000000000
[ 24.485541] Call trace:
[ 24.485549] drm_gem_object_put_locked+0x30/0x50
[ 24.485556] rockchip_gem_get_phys_ioctl+0x70/0xac
[ 24.485563] drm_ioctl_kernel+0x94/0x100
[ 24.485569] drm_ioctl+0x30c/0x34c
[ 24.485577] vfs_ioctl+0x58/0x68
[ 24.485583] __arm64_sys_ioctl+0x68/0x98
[ 24.485591] el0_svc_common.constprop.5+0x138/0x1ec
[ 24.485597] do_el0_svc+0x80/0x9c
[ 24.485605] el0_svc+0x1c/0x28
[ 24.485611] el0_sync_handler+0x64/0x12c
[ 24.485618] el0_sync+0x158/0x180
Fixes: a430ff906a ("drm/rockchip: gem: Add GEM create ioctl support")
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
Change-Id: I39be4c5dd952c49d86f51b5abce790090d80294f
2022-01-04 19:07:18 +08:00
ZhiZhan Chen
4ef7101b3a
arm64: dts: rockchip: Add drm-logo memory-region for rk3588-linux
...
Signed-off-by: ZhiZhan Chen <zhizhan.chen@rock-chips.com >
Change-Id: Ibe7c63314e06c225f96dc991c902ee8bce079485
2022-01-04 16:40:20 +08:00
Shawn Lin
1bf109c3d0
PCI: rockchip: dw: Set #PERST to low after suspend
...
As we don't do it in resume routine, so in order to be better
compatibale with devices, set it to low.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
Change-Id: I0613e05f6d35ba7def7eedd902cfaff73d716952
2022-01-04 15:00:03 +08:00
Cai YiWei
9f5cb077de
media: rockchip: isp: add csm params config for isp3
...
Change-Id: I87732e4f6ce0bcc936e919ed82b2dad62ec25639
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-01-04 14:45:47 +08:00
Wang Panzhenzhuan
2861e20508
arm64: dts: rockchip: rk3588s-tablet: adapt to camera hw power modification
...
tablet's camera hardware power has been modified,
modify configs to adapt it.
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com >
Change-Id: Ibc1804c9a1730a8b9d32dafe4cdcb722f603d7a2
2022-01-04 14:29:48 +08:00
Lian Xu
fdee9ffb97
media: rockchip: ispp: add the iqtool module
...
Change-Id: I12bebaf79c5ed7de61d1869819b96b22c5b7ff3b
Signed-off-by: Lian Xu <xu.lian@rock-chips.com >
2022-01-04 14:28:28 +08:00
Lian Xu
2550f7a43d
media: rockchip: isp: add the iqtool module
...
Change-Id: Icf3a383e8dba6ea79ce112ddb32c194d70c3fb3a
Signed-off-by: Lian Xu <xu.lian@rock-chips.com >
2022-01-04 14:27:19 +08:00
Shawn Lin
239dd93442
PCI: rockchip: dw: Enable async system PM for multiports SoC
...
Individual port can be suspended or resumed separately.
This can save some time for resuming from deep sleep if
multiports are used.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
Change-Id: I44ed4a4a5cbda46425bce13a15809f68856d2174
2022-01-04 10:52:02 +08:00
Herman Chen
4fecb7a4a5
video: rockchip: mpp: Fix mpp_dev_release crash
...
This patch fix crash in mpp_dev_release.
In multi-instance case the session on deinit is attached to session_detach
and trigger the taskqueue to release session. But the session is
released just after unlock and before trigger then the session and
invalid and the session->mpp is also invalid.
The crash log is shown below:
[71267.807643] Call trace:
[71267.810099] do_raw_spin_lock+0x20/0xd8
[71267.813937] _raw_spin_lock_irqsave+0x28/0x38
[71267.818292] kthread_queue_work+0x2c/0x80
[71267.822298] mpp_dev_release+0x118/0x154
[71267.826219] __fput+0xf4/0x1a8
[71267.829272] ____fput+0x20/0x2c
[71267.832409] task_work_run+0x88/0xb0
[71267.835982] do_notify_resume+0xe8/0x10c
[71267.839902] work_pending+0x8/0x10
[71267.843306] Code: aa1e03e0 d503201f 5289d5a0 72bbd5a0 (b9400661)
[71267.849396] ---[ end trace d8082e9114a3a9da ]---
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
Change-Id: Ib9825de2f1bc9f7999bdfe193aa440fd85d41448
2022-01-04 09:55:19 +08:00
Hu Kejun
4c32ec6b15
media: rockchip: isp: add missing highlight in af stats
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Ib382077f1eee386f3531d4e406970c64953c11b0
2021-12-31 15:28:51 +08:00
Shunhua Lan
7b0beb7092
arm64: dts: rockchip: rk3588-evb: add hdmiin soundcard
...
Signed-off-by: Shunhua Lan <lsh@rock-chips.com >
Change-Id: I0e1856d3a4d6231da9560c8c913d6760f4a10f2e
2021-12-31 10:53:59 +08:00
Huibin Hong
53d576b324
arm64: process: move show_extra_register_data after dump_backtrace
...
In show_regs, move show_extra_register_data after dump_backtrace
[ 6.071359][ T7] pc : _regulator_put+0x10c/0x11c
[ 6.071370][ T7] lr : regulator_put+0x30/0x4c
[ 6.071379][ T7] sp : ffffffc01223bb20
[ 6.071389][ T7] pmr_save: 000000e0
[ 6.071398][ T7] x29: ffffffc01223bb20 x28: ffffffc01094adb8
[ 6.071414][ T7] x27: ffffffc01094adac x26: ffffff8402bd7f20
[ 6.071429][ T7] x25: ffffff8403a05900 x24: ffffff8402bd7f20
[ 6.071444][ T7] x23: ffffff8403a05900 x22: ffffffc01223bb78
[ 6.071458][ T7] x21: ffffff8403a05800 x20: ffffffc011e250a8
[ 6.071472][ T7] x19: ffffff8403a05600 x18: ffffffc0120f1070
[ 6.071487][ T7] x17: 0000000000000000 x16: 00000000000000d8
[ 6.071502][ T7] x15: 0000000000000004 x14: 0000000000003fff
[ 6.071517][ T7] x13: ffffffc011c0cf28 x12: 0000000000000003
[ 6.071531][ T7] x11: 00000000ffffbfff x10: dead000000000100
[ 6.071546][ T7] x9 : 0000000000000000 x8 : 0000000000000001
[ 6.071560][ T7] x7 : 5b5d313831313730 x6 : ffffffc011e13f50
[ 6.071575][ T7] x5 : ffffffffffffffff x4 : 0000000000000000
[ 6.071589][ T7] x3 : 00000000000000e0 x2 : ffffff8400348000
[ 6.071604][ T7] x1 : 0000000000000000 x0 : ffffff8403a05600
[ 6.071620][ T7] Call trace:
[ 6.071632][ T7] _regulator_put+0x10c/0x11c
[ 6.071644][ T7] regulator_put+0x30/0x4c
[ 6.071659][ T7] devm_regulator_release+0x18/0x28
[ 6.071674][ T7] release_nodes+0x228/0x288
[ 6.071686][ T7] devres_release_all+0x40/0x60
[ 6.071702][ T7] really_probe+0x310/0x510
[ 6.071716][ T7] driver_probe_device+0x80/0xc0
[ 6.071728][ T7] __device_attach_driver+0x118/0x140
[ 6.071741][ T7] bus_for_each_drv+0x84/0xd4
[ 6.071753][ T7] __device_attach_async_helper+0x80/0xdc
[ 6.071765][ T7] async_run_entry_fn+0x48/0x130
[ 6.071778][ T7] process_one_work+0x1f4/0x490
[ 6.071789][ T7] worker_thread+0x278/0x4dc
[ 6.071803][ T7] kthread+0x13c/0x344
[ 6.071816][ T7] ret_from_fork+0x10/0x30
[ 6.071826][ T7]
[ 6.071826][ T7] PC: 0xffffffc01073a8a4:
[ 6.071835][ T7] a8a4 a9014ff4 910003fd b4000720 aa0003f3 b140041f 540006c8 b9402268 35000728
Fixes: 80018840e0 ("ANDROID: arm64: process: dump memory around registers when displaying regs")
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com >
Change-Id: I79e7964a9278de6013fe2213d79b95dcd4f28a86
2021-12-31 10:20:26 +08:00
Yu Qiaowei
131c8920f2
video: rockchip: rga3: Support the kernel to call RGA
...
Add interface: rga_kernel_commit
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: If9a8704a1131ac5e685943e2256781ded204e210
2021-12-31 09:51:21 +08:00
Wang Panzhenzhuan
b1136bfb97
media: i2c: ov50c40: fix the warning when sensor init failed
...
resolve the warning log below:
[ 3.789764][ T1] ------------[ cut here ]------------
[ 3.790250][ T1] WARNING: CPU: 2 PID: 1 at
drivers/regulator/core.c:2157 _regulator_put.part.22+0x168/0x170
[ 3.791131][ T1] Modules linked in:
[ 3.791474][ T1] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.10.66
[ 3.792077][ T1] Hardware name: Rockchip RK3588S TABLET V10 Board
(DT)
[ 3.792683][ T1] pstate: 80c00009 (Nzcv daif +PAN +UAO -TCO
BTYPE=--)
[ 3.793277][ T1] pc : _regulator_put.part.22+0x168/0x170
[ 3.793771][ T1] lr : regulator_put+0x34/0x50
[ 3.794184][ T1] sp : ffffffc01249baa0
[ 3.794540][ T1] pmr_save: 000000e0
[ 3.794874][ T1] x29: ffffffc01249baa0 x28: ffffff8402cc2720
[ 3.795417][ T1] x27: ffffff8402cc2720 x26: ffffffc01083be18
[ 3.795958][ T1] x25: ffffffc01083be10 x24: 0000000000000008
[ 3.796500][ T1] x23: ffffff8402cc2420 x22: ffffffc01249bba8
[ 3.797042][ T1] x21: 0000000000000000 x20: ffffff84037a3c00
[ 3.797583][ T1] x19: ffffff84037a3c00 x18: ffffffc0110eb8c4
[ 3.798125][ T1] x17: 00000000000010f4 x16: ffffffc0110eb898
[ 3.798667][ T1] x15: 000000000000034d x14: 0000000000000000
[ 3.799208][ T1] x13: 0000000000000000 x12: 0000000000000ac1
[ 3.799749][ T1] x11: 0000000000000001 x10: 0000000000000e20
[ 3.800291][ T1] x9 : ffffffc01249ba20 x8 : ffffff8400320e80
[ 3.800832][ T1] x7 : 0000000000000001 x6 : 00000000022385a4
[ 3.801373][ T1] x5 : 0000000000000001 x4 : 0000000000000000
[ 3.801914][ T1] x3 : ffffffc01221cb58 x2 : ffffff8400320000
[ 3.802455][ T1] x1 : 0000000000000000 x0 : 0000000000000001
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com >
Change-Id: I161b5a57b7e73ed7a57c800ae5a87e9acb7b86c6
2021-12-31 09:48:36 +08:00
Andy Yan
82e307e6d2
drm/rockchip: vop2: Check writeback fifo depth
...
The fifo depth of RK356X/RK3588 writeback is 1920x4/16.
A fifo_throd larger than this value will cause a empty(zero)
writeback.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com >
Change-Id: Id67209f7b162608dcba191ab23cf6eec11e3fc08
2021-12-31 09:28:38 +08:00
Finley Xiao
5bf8973ca1
driver: rknpu: use volt_rm to restore read margin
...
The voltage may be changed by system monitor.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I0e3f981fe01e495b9a6b11e9ee333819a1a3ac71
2021-12-31 09:25:28 +08:00
Finley Xiao
5b7d19ca43
MALI: bifrost: Avoid crash when set rate and read margin
...
1. change clock rate and read margin only when pd is on.
2. change clock source to normal pll before power down pd.
3. change clock source back to pvtpll and restore clock rate
and read margin after power on pd.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I2028866fdd70909814aaba7ef6d3af3bf764eb87
2021-12-31 09:25:28 +08:00
Finley Xiao
f8e4af5776
soc: rockchip_system_monitor: Avoid crash when set rate and read margin
...
1. only update voltage when low temperature.
2. set memory read margin only when pd is on.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I7a0ae4af45b86c7a08c6ffadccb71a0db3fb44e5
2021-12-31 09:25:28 +08:00
XiaoTan Luo
58f5d3c440
drm/bridge: synopsys: dw-hdmi-qp: fixed hdmi no sound
...
we must wait the video setup ok, and report the plug
event and then startup the audio, if not the vidqpclk
and ipi_clk are off, we can not startup the audio.
Signed-off-by: XiaoTan Luo <lxt@rock-chips.com >
Change-Id: Ie347d02aef7cd696c054ec2cc1eacc77b6f9ff7f
2021-12-31 08:46:11 +08:00
Guochun Huang
6b0aa0c577
arm64: dts: rockchip: rk3588-evb: fix power on/off sequence time according to panel spec
...
Change-Id: Ifae15bb912f0e23e888dcd5c85e85ca84b115077
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2021-12-30 21:20:33 +08:00
Guochun Huang
e7804248fd
drm/rockchip: dsi2: reduce time when sending cmd
...
Change-Id: I8cfc16cff34a2917cc1138e2f3a91f9836ba7caf
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2021-12-30 21:16:37 +08:00
Guochun Huang
82d02d02c5
phy: rockchip: mipi-dcphy: reduce time when phy power up
...
Change-Id: I64e6b11c7f68d76ab1bdecb35f618d4033cadbec
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2021-12-30 20:34:50 +08:00
Guochun Huang
7a5551c6b4
phy: rockchip: mipi-dcphy: reset apb before access registers
...
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
Change-Id: I3d6539549b9d24e1c0d94b86e1c57bf8346b49cc
2021-12-30 20:31:56 +08:00
Frank Wang
f414167ae0
usb: typec: husb311: pm process support
...
For power consumption saving, disable 12M oscillator in HUSB311 and it
will be enabled automatically when INT occur after system resume. In
addition, if the power of HUSB311 was off in PM suspend, we must reset
the HUSB311 and tcpm port first in PM resume process to ensure the devices
can attach again.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com >
Change-Id: Ib845318c5ee2014bd436f21c78e87e17b9433195
2021-12-30 19:48:20 +08:00
Hu Kejun
d974fb7b8e
media: rockchip: isp: config aebig by af when aemode is on
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Ibd110edee7a15fa20840de466e5d9e70f142c440
2021-12-30 19:29:52 +08:00
Zhen Chen
3f8c57e4f0
MALI: bifrost: rk: add rk_context::lock and adjust orders of turning on/off vd, clk, pd
...
Turning on order: vd, clk, pd.
Off order: pd, clk, vd.
Change-Id: Ia932a3b572662a6b30e58cbb45fd1f1800283097
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com >
2021-12-30 15:44:14 +08:00
Yu Qiaowei
6df752520b
video: rockchip: rga3: Add mm_session show in the debugger.
...
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I8766a5c7ab7dd6656c96eeee3d3a65d91c60010d
2021-12-30 15:07:03 +08:00
Yu Qiaowei
a959b73e08
video: rockchip: rga3: The import cmd supports virtual/physical addresses.
...
It will only cache the corresponding address.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I81e110ce382ffe69a42462dd3586931b62eb4190
2021-12-30 15:06:34 +08:00
Yu Qiaowei
4f273fe53c
video: rockchip: rga3: Support to verify whether the memory is greater than 4G.
...
When the memory is greater than 4G, dma_buf does not map the RGA2 device.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
Change-Id: I7bf62c7d231fbc2c2e928d1387406281701a6269
2021-12-30 14:54:47 +08:00