Commit Graph

1080453 Commits

Author SHA1 Message Date
Mingwei Yan
b5d46d598f media: rockchip: isp: add iqtool video for isp21
Signed-off-by: Mingwei Yan <mingwei.yan@rock-chips.com>
Change-Id: I2760d90f421a789d3f3e20e376cdfa5bef109efb
2023-08-25 14:17:14 +08:00
William Wu
4857aeccce arm64: dts: rockchip: rk3399pro-npu: dis u1 and u2 state for dwc3
This patch adds the properties "snps,dis-u1-entry-quirk"
and "snps,dis-u2-entry-quirk" to disable u1 and u2 state
for dwc3 peripheral. And remove the legacy of property
"snps,dis-u1u2-quirk" which is not used.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I52d51797a06ff23aa145ecd589878ae264c318ad
2023-08-25 10:37:05 +08:00
William Wu
781f512532 arm64: dts: rockchip: rk1808: dis u1 and u2 state for dwc3
This patch adds the properties "snps,dis-u1-entry-quirk"
and "snps,dis-u2-entry-quirk" to disable u1 and u2 state
for dwc3 peripheral. And remove the legacy of property
"snps,dis-u1u2-quirk" which is not used.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I96fd8c2658471383a11aa8228fadaf04422333a3
2023-08-25 10:29:39 +08:00
Jianwei Zheng
065a9b8ad8 arm64: dts: rockchip: dis u1 and u2 state for rk3528 dwc3
We use "snps,dis-u1-entry-quirk" and "snps,dis-u2-entry-quirk"
instead of "snps,dis-u1u2-quirk" after kernel4.19.

Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
Change-Id: Ib96b4044edbbd197fa8da1ef40575f7c61089738
2023-08-24 15:28:57 +08:00
Caesar Wang
71edaa9a9b ARM: dts: rockchip: update rk808 for rk3288-evb-rk808-linux.dts
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I497af8de1c21563497a222edc064c9ea51314abd
2023-08-24 10:56:02 +08:00
Caesar Wang
c9c3bf778a ARM: dts: rockchip: Add mmc aliases for rk3288-linux.dtsi
This series in order to have the default MMC alias.

The mmc default alias:
	mmc0 = &sdhci;
	mmc1 = &sdmmc;
	mmc2 = &sdio0;

The Linux OS have the post-build.sh to handle the rootfs,
and export RK_EXTRA_PARTITIONS for setting the PARTITIONS.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: Ic309cbfc606433b9e9b9098230e7b90ba59cca2d
2023-08-24 10:56:02 +08:00
Algea Cao
b1d8b2c24d drm/bridge: synopsys: dw-hdmi-qp: Fix frl switch error when switching resolution and color at the same time
When switching resolution and color at same commit, current
judgment conditions will cause the hdmi switching process will
not run properly if switching from tmds resolution to frl resolution.
So we need to add the judgment of the resolution before and after
the switch.

Change-Id: I96e304acf224bcfd01edba9df64a3d6b96a2c90d
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2023-08-24 10:15:56 +08:00
Caesar Wang
9ef5ed9bab ARM: configs: enable HDMI and MULTICODECS for rockchip_linux_defconfig
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: Ibc8b103357cfe3c6462bef135b28bae0efd88892
2023-08-23 18:40:22 +08:00
Oder Chiou
3d3da63929 UPSTREAM: ASoC: rt5640: Remove the sysclk and sysclk_src checking
Remove the sysclk and sysclk_src checking in the function set_sysclk() to
prevent the PLL power off. It is not getting re-programmed during
subsequent runs after the first run (in BIAS_OFF stage).

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Link: https://lore.kernel.org/r/20220210071900.17287-1-oder_chiou@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Jiajian Wu <jair.wu@rock-chips.com>
(cherry-pick from commit d9c5996ab3)
Change-Id: I080a31484812a61b7cb3c4a53cc1eb3489038aa8
2023-08-23 18:40:00 +08:00
Yandong Lin
8323e849b7 video: rockchip: mpp: fix some iommu hdl register issue
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ic73bc4e330668b30e4519362b313bfb29ccecb24
2023-08-23 18:36:41 +08:00
Cai YiWei
2b3c021adf media: rockchip: isp: fix get tb info
Fixes: 4ce5cb8b0f ("media: rockchip: isp: add lock to save tb info")
Change-Id: I0085c3697500e3667d8f39dddf6a3a342b7d6ee6
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-08-23 15:32:30 +08:00
Finley Xiao
b670135a69 soc: rockchip: rockchip_system_monitor: Don't init wide temp when tz is NULL
Change-Id: I9e5213f130582fcb7ee1beae7a5200e9d7ff4bf4
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2023-08-23 15:06:29 +08:00
Yandong Lin
900dde95ad video: rockchip: mpp: fix task re-add running_list issue
In rkvdec2_link hard ccu worker, the tasks may resend to hw when
decoder reset.There is a bug: the task that resend to hw may be re-add
to running_list.

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I6aa77213d3f5cc805c24d39b5c5d13269297d749
2023-08-23 15:03:14 +08:00
Wu Liangqing
e76a8d7657 arm64: dts: rockchip: rk3588-evb3-lp5: update for v11 board
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
Change-Id: I6df2ef60133a150e658a03cfa3f7203bd871ba8a
2023-08-23 14:48:43 +08:00
Cai YiWei
fc49b7fcd0 media: rockchip: isp: fix list buf delete err
list_del error for curr_buf to buf_queue list and buf_done_list
pc : list_del+0x4/0x24
lr : destroy_buf_queue+0x170/0x188

Change-Id: Iede1ab20e30d25f4059b39e7896e1a89b3f03f67
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-08-23 10:09:15 +08:00
Tao Huang
dcfa3a17f6 soc: rockchip: amp: include rockchip_amp.h for function prototypes
drivers/soc/rockchip/rockchip_amp.c:257:5: warning: no previous prototype for 'rockchip_amp_check_amp_irq' [-Wmissing-prototypes]
drivers/soc/rockchip/rockchip_amp.c:262:5: warning: no previous prototype for 'rockchip_amp_get_irq_prio' [-Wmissing-prototypes]
drivers/soc/rockchip/rockchip_amp.c:267:5: warning: no previous prototype for 'rockchip_amp_get_irq_cpumask' [-Wmissing-prototypes]
drivers/soc/rockchip/rockchip_amp.c:489:6: warning: no previous prototype for 'rockchip_amp_get_gic_info' [-Wmissing-prototypes]

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I42ef41e8dc9fabcba90493ca56df435278614208
2023-08-23 09:32:45 +08:00
Wang Panzhenzhuan
6a1844dc34 arm64: dts: rockchip: rk3562-rk817-tablet: adjust vcm configs to reduce noise
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I9a6f2679bef116f9037938002f282c435aa3ec3f
2023-08-22 19:57:49 +08:00
Wang Panzhenzhuan
df3536ceae media: i2c: dw9763: optimize open/close procedure to reduce noise
1. add regulotor control to fix open i2c error issue.
2. fix move time unit to ms not us.
3. optimize open/close procedure, reduce vcm collision noise.
4. use v4l2_dbg replace dev_dbg for dynamic print debug info.

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I20c65ef2d4623b6338699874c4c05b42d9d2d863
2023-08-22 19:57:33 +08:00
Stanley Chang
fb0c004d7e UPSTREAM: dt-bindings: usb: snps,dwc3: Add 'snps,parkmode-disable-hs-quirk' quirk
Add a new 'snps,parkmode-disable-hs-quirk' DT quirk to dwc3 core for
disable the high-speed parkmode.

For some USB wifi devices, if enable this feature it will reduce the
performance. Therefore, add an option for disabling HS park mode by
device-tree.

In Synopsys's dwc3 data book:
In a few high speed devices when an IN request is sent within 900ns of the
ACK of the previous packet, these devices send a NAK. When connected to
these devices, if required, the software can disable the park mode if you
see performance drop in your system. When park mode is disabled,
pipelining of multiple packet is disabled and instead one packet at a time
is requested by the scheduler. This allows up to 12 NAKs in a micro-frame
and improves performance of these slow devices.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stanley Chang <stanley_chang@realtek.com>
Link: https://lore.kernel.org/r/20230419020044.15475-2-stanley_chang@realtek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: William Wu <william.wu@rock-chips.com>
(cherry-pick from commit 4a2f152af1)
Change-Id: I8bffdfe134e644b705da78eaf16946aff80e5e80
2023-08-22 19:57:02 +08:00
Cai Wenzhong
739cc63893 media: i2c: add Maxim Quad GMSL2/GMSL1 to CSI-2 Deserializer driver.
1. maxim deserializer support: max96712/max96722
1.1 local maxim deserlializer depend on CONFIG_VIDEO_DES_MAXIM4C

2. maxim serializer support: max9295/max96715/max96717
2.1 remote max9295 serializer depend on CONFIG_MAXIM4C_SER_MAX9295
2.2 remote max96715 serializer depend on CONFIG_MAXIM4C_SER_MAX96715
2.3 remote max96717 serializer depend on CONFIG_MAXIM4C_SER_MAX96717

Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I0deab6dd47a419bed9ebf643e451d71dc8f151a4
2023-08-22 19:52:22 +08:00
Cai Wenzhong
383b245ce2 arm64: dts: rockchip: rk3588-vehicle-evb-maxim-max96722: adjust some node name
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I28052218fad9fa0db840d032b630b9270b599b19
2023-08-22 19:51:40 +08:00
Cai Wenzhong
85504aa4a3 arm64: dts: rockchip: rk3588-vehicle-evb-maxim-max96712: adjust some node name
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I9e0896ee4cf1e07f8a8b7a415d9c0fdde3e13435
2023-08-22 19:51:23 +08:00
Wu Liangqing
5bd2065957 arm64: dts: rockchip: rk3562-rk817: set vcc_3v3 regulator on in suspend
Change-Id: Ica0866c34353a0e6c624aca3becfc49c8e304b59
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2023-08-22 15:43:02 +08:00
Yifeng Zhao
53d54c4a71 mmc: dw_mmc-rockchip: fix tuning return incorrect value in certain situations
When V2 tuning returns an error, it is necessary to reset
the ret to 0, otherwise the incorrect value will be returned.

log:
[    4.935664] mmc0: tuning execution failed: -5

Fixes: 795e052cc8 ("mmc: dw_mmc-rockchip: add v2 tuning support")
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I54a77e02255d88114191e8abc434856b34768715
2023-08-21 14:26:55 +08:00
Steven Liu
0b2afcfc6d arm64: dts: rockchip: rk3562-evb1-lp4x-v10-linux-amp: Add memory node for ap amp
use 0x00400000~0x01000000 for ap amp core

Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
Change-Id: If4dd9e18537a9904de55125d0871b533fb340701
2023-08-18 20:17:23 +08:00
Jianwei Fan
e58d97c2cf video: rockchip: vehicle: fix support RK356X
Change-Id: Ifbd619c5cab7e9506b09e7fa4efb90990d301584
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2023-08-18 20:11:23 +08:00
Jianqun Xu
e6b8805e0e arm64: dts: rockchip: rk3588-vehicle-adsp-audio-s66: set i2s3 master
This patch set the i2s3 to be master mode, while the bt must to be
slave mode.

The mclk rate is 24.576MHz from mclkin pin.

The setting for bt:
 NBS:
  Slave
  LRCK 8k
  BCLK 512kHz
  I2S
  clk inverted

 WBS:
  Slave
  LRCK 16k
  BCLK 1024kHz
  I2S
  clk inverted

Change-Id: I866ea471a2db5e39623cebeb4110ea2a639fbeba
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2023-08-18 20:08:17 +08:00
Jianwei Fan
6f12652f07 arm64: dts: rockchip: rk3568: default enable mipi_csi2_hw
Fixes: 841fa2175d ("arm64: dts: rockchip: rk3568 separate the node of csi2 and hw")
Change-Id: I16a05ac90044e9aad1338827ac33146bb4f2bc71
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2023-08-18 20:05:38 +08:00
Steven Liu
0013ee06a1 rpmsg: rockchip: fix mailbox txdone method to polling
Since there is no txdone irq in the Rockchip mailbox IP, invoking
    mbox_chan_txdone()/mbox_client_txdone() after mbox_send_message()
    to tick the TX would be free the active request which have not been
    sent out if the controller returned the EBUSY state before. So amend
    the txdone method to polling to fix it.

The TX polling interval can specify in mailbox DT with
    set "rockchip,txpoll-period-ms" property to 1 milliseconds.

Fixes: b5795e81ec ("rpmsg: rockchip: add Rockchip RPMsg Platform Support")
Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
Change-Id: I9d15ed4a61cda049c7804e2688e79f157de1c5a2
2023-08-17 19:36:01 +08:00
Binyuan Lan
e79df5fa17 arm64: dts: rockchip: rk3562-android: assign a fixed index to mmc devices
Change-Id: I707e84a2e7cbbf7004522674ac2fd05564f8e930
Signed-off-by: Binyuan Lan <lby@rock-chips.com>
2023-08-17 16:04:58 +08:00
Caesar Wang
c7973edb63 arm64: dts: rockchip: Add mmc aliases for rk3562-linux.dtsi
This series in order to have the default MMC alias.

The mmc default alias:
            mmc0 = &sdhci;
            mmc1 = &sdmmc0;
            mmc2 = &sdmmc1;

The Linux OS have the post-build.sh to handle the rootfs,
and export RK_EXTRA_PARTITIONS for setting the PARTITIONS.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I28ae38a7aaf35c6f584879c19a339ff6079d059d
2023-08-17 16:03:57 +08:00
Wu Liangqing
d21f77d0fd arm64: dts: rockchip: Makefile add rk3399-sapphire-excavator-edp-avb.dtb
arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dtsi:210.20-216.4: ERROR (i2c_bus_reg): /i2c@ff110000/vm149c@0c: I2C bus unit address format error, expected "c"
arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp.dtsi:243.20-249.4: ERROR (duplicate_label): /i2c@ff110000/vm149c@0c: Duplicate label 'vm149c' on /i2c@ff110000/vm149c@0c and /i2c@ff110000/vm149c@c
arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-edp-avb.dts:29.24-54.4: ERROR (i2c_bus_reg): /i2c@ff110000/tc35874x@0f: I2C bus unit address format error, expected "f"

Change-Id: Ie89eb8038b8791e89b63dab2c990f929596984a8
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2023-08-17 15:26:38 +08:00
Steven Liu
0621d78318 arm64: dts: rockchip: add rk3568 evb1 linux amp dts
Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
Change-Id: Ic38603697a7a909e1c406bc56be10e0ab7c5608b
2023-08-17 14:45:32 +08:00
Steven Liu
5aeacb348d arm64: dts: rockchip: rk3568: Add arm_pmu label
Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
Change-Id: Ia2c342e70042e98c3800c5748e8d1f4ad39fbfc3
2023-08-17 14:45:32 +08:00
Joseph Chen
f2576488ab soc: rockchip: amp: Update coding style and message
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I05b802b7caec5361c5b659926ebd46f31f0b1d44
2023-08-17 14:45:32 +08:00
Joseph Chen
a555b785b3 soc: rockchip: amp: Add 'boot-on' property assignment support
boot-on is absent or boot-on = <1>: bring up this cpu when driver probe.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I0157e72b53f5c35e5478408804a72bab5fd02837
2023-08-17 14:45:32 +08:00
Shunhua Lan
4b354ca1b7 arm64: dts: rockchip: rk3399-evb: fix dts build error
Fixes: d449b25d6b ("arm64: dts: rockchip: rk3399-evb: use multicodecs instead simple card")
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Change-Id: I2c13a7834090e8433301125b79e86219db7b805d
2023-08-17 14:31:40 +08:00
Jon Lin
490787f8b7 drivers: rkflash: Add sleep for spinand
Program/Erase/Read Speed
– Page Program time : 450us typical
– BLOCK ERASE time : 4ms typical
– PAGE READ time : 120us maximum (without ECC)

Change-Id: I0c5bc9827788938df028e525e331c0db8d041676
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2023-08-17 14:17:14 +08:00
Jon Lin
939dcaa594 dt-bindings: spi: spi-rockchip: Support rockchip,autosuspend-delay-ms
Change-Id: Ib5a7344b4732ce525a3ac54c90868e89e82ca819
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2023-08-16 18:22:33 +08:00
Jon Lin
8a5c76ee45 spi: rockchip: Support pm_runtime_use_autosuspend
Change-Id: I12103f0d1fbe3c168c5fa304d4bfb181d2a4ab5f
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2023-08-16 18:22:33 +08:00
Algea Cao
75476ee430 drm/bridge: synopsys: dw-hdmi-qp: Disable access to registers when hdmi is disabled
When hdmi is disabled, relevant clocks have been turned off.
Accessing hdmi registers may cause crash.

Change-Id: Id5370641aac15d317d2e820aeac053a1bcf016a5
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2023-08-16 18:14:47 +08:00
Finley Xiao
f109af5ac1 arm64: dts: rockchip: rk3588s: Change leakage-voltage-sel for venc
In order to improve stability for some chips.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ia09d9e6d455e7dd932c84f4d7815c95dda83a6d6
2023-08-16 17:35:26 +08:00
Guochun Huang
613e5c0710 drm/rockchip: dsi2: havle dsc pps pic_width in dual channel dsi
two dsc encoder slices which is equal to pic_width / slice_width
will also halve whith pic_width

 <-HxV->  <------------- H/2 x V -------------->  <-H x V->
          ┌───────┐    ┌───────┐   ┌───────────┐
          │  DSC0 ├───►│dsi0 tx├──►│lcd dsi0 rx│\ ┌───────┐
 ┌─────┐ /└───────┘    └───────┘   └───────────┘ \│       │
 │     │/                                        /│lcd DSC│
 │  VP │\ ┌───────┐    ┌───────┐   ┌───────────┐/ │       │
 └─────┘ \│  DSC1 ├───►│dsi1 tx├──►│lcd dsi1 rx│  └───────┘
          └───────┘    └───────┘   └───────────┘

Change-Id: I65e65f969f9b1e81bee1a7343b386f577255a2f5
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2023-08-16 17:35:02 +08:00
William Wu
e45322a926 ARM: dts: rockchip: disable hs park mode for usb dwc3 controller
Some high speed devices performance drop drastically on
Rockchip platforms when connected with DWC3-xHCI controller.
It's because that the DWC3 controller enable high speed
park mode by default, it aims to improve performance with
pipelining of multiple packet. However, for some devices
(such as UVC with bulk transfer VID:04b4, PID:02f9),
when an IN request is sent within 900ns of the ACK of the
previous packet, these devices NAKs more than 3 times, it
could decrease the performance.

These slow devices include:
1. idVendor=04b4, idProduct=02f9, Product: IRay UVC
2. idVendor=1921, idProduct=21863, Product: Sandisk
3. idVendor=3744, idProduct=8552, Manufacturer: Flex Drive

In order to improve compatibility with high speed devices,
this patch disable HS park mode for USB DWC3 controller on
all arm64 SoCs.

With this patch, we test RK3588 with one slow device
(IRay UVC VID:04b4, PID:02f9) and three fast devices
(U2 disk VID:058f, PID:6387; U2 disk VID:0781, PID:557c;
 U3 disk VID:174c, PID:55aa), all of these device have
no performance loss.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I0ac37e7af429392f65f339cf1448cf2958e03b57
2023-08-16 15:29:15 +08:00
William Wu
d04353d002 arm64: dts: rockchip: disable hs park mode for usb dwc3 controller
Some high speed devices performance drop drastically on
Rockchip platforms when connected with DWC3-xHCI controller.
It's because that the DWC3 controller enable high speed
park mode by default, it aims to improve performance with
pipelining of multiple packet. However, for some devices
(such as UVC with bulk transfer VID:04b4, PID:02f9),
when an IN request is sent within 900ns of the ACK of the
previous packet, these devices NAKs more than 3 times, it
could decrease the performance.

These slow devices include:
1. idVendor=04b4, idProduct=02f9, Product: IRay UVC
2. idVendor=1921, idProduct=21863, Product: Sandisk
3. idVendor=3744, idProduct=8552, Manufacturer: Flex Drive

In order to improve compatibility with high speed devices,
this patch disable HS park mode for USB DWC3 controller on
all arm64 SoCs.

With this patch, we test RK3588 with one slow device
(IRay UVC VID:04b4, PID:02f9) and three fast devices
(U2 disk VID:058f, PID:6387; U2 disk VID:0781, PID:557c;
 U3 disk VID:174c, PID:55aa), all of these device have
no performance loss.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I9037143fa2553317ad7ae55abeafad3b106cafcb
2023-08-16 15:29:04 +08:00
Stanley Chang
35db5a9e94 UPSTREAM: usb: dwc3: core: add support for disabling High-speed park mode
Setting the PARKMODE_DISABLE_HS bit in the DWC3_USB3_GUCTL1.
When this bit is set to '1' all HS bus instances in park mode are disabled

For some USB wifi devices, if enable this feature it will reduce the
performance. Therefore, add an option for disabling HS park mode by
device-tree.

In Synopsys's dwc3 data book:
In a few high speed devices when an IN request is sent within 900ns of the
ACK of the previous packet, these devices send a NAK. When connected to
these devices, if required, the software can disable the park mode if you
see performance drop in your system. When park mode is disabled,
pipelining of multiple packet is disabled and instead one packet at a time
is requested by the scheduler. This allows up to 12 NAKs in a micro-frame
and improves performance of these slow devices.

Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Stanley Chang <stanley_chang@realtek.com>
Link: https://lore.kernel.org/r/20230419020044.15475-1-stanley_chang@realtek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: William Wu <william.wu@rock-chips.com>
(cherry-pick from commit d21a797a3e)
Change-Id: I43ee416e54779a073a0ba4057edf4be8bd7886de
2023-08-16 15:27:25 +08:00
Weixin Zhou
c75ca4c583 spi: rockchip: Add spi thread priority configuration
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: Ie66572bb129b7221f4c908869a402db3d229e464
2023-08-16 15:23:39 +08:00
Jun Zeng
0bc5a00c65 arm64: dts: rockchip: rk3588-vehicle change the format of car_rk3308_sound to tdm8
Change-Id: I8ac6e5ffdfe8f00b204265acb0b82d40017621e0
Signed-off-by: Jun Zeng <jun.zeng@rock-chips.com>
2023-08-16 14:18:34 +08:00
LiuDiMing Lin
26bfb0dec0 ARM: dts: rockchip: add rv1106g-evb2-v12-wakeup.dts
Change-Id: Iba82df1d5696ba0c232e5d966c1d43ea129e5f19
Signed-off-by: LiuDiMing Lin <fenrir.lin@rock-chips.com>
2023-08-16 14:17:49 +08:00
Cai YiWei
4ce5cb8b0f media: rockchip: isp: add lock to save tb info
multi sensor share same tb info buf, and this buf will
overwrittern when first sensor stream on but second fast_work
schedule slowly. So to save tb info for all dev at first read.

Change-Id: I335b9e3bd317202a348be17965be112a1259bb3e
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-08-15 20:38:54 +08:00