Commit Graph

1255739 Commits

Author SHA1 Message Date
Tao Huang
8364eb317f Revert "dt-bindings: regulator: Document Rockchip RK860X regulators"
This reverts commit ba3959aef3.
After commit 58461615ac ("regulator: rk860x: fix the chip id error"),
rk8603/rk8604 support is moved to rk860x-regulator.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I1229b2f859ae7123f3b1897f999c13ba5e5cf7d8
2023-09-04 10:48:13 +08:00
Guochun Huang
5e9d241d18 drm/rockchip: dsi: remove unused hs transition times table
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: I265dd0e8fdc0ca1e7b051e7364d7d3f833ddb596
2023-09-01 20:46:41 +08:00
Sugar Zhang
8ccc3ece88 ASoC: rockchip: sai: Add legacy_dai_naming flag
This patch add legacy_dai_naming flag to solve the
probe failure.

Ref: commit d48a771735 ("ASoC: rockchip: Migrate to new style legacy DAI naming flag")

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I9fc949d7f5dbf16a9b4dbad35e9bf23613181fdf
2023-09-01 17:54:42 +08:00
Sugar Zhang
f28e3c1bc6 ASoC: rockchip: sai: Use the new style daifmt
This patch use the new style DAIFMT

- SND_SOC_DAIFMT_{CBS_CFS CBM_CFM}
+ SND_SOC_DAIFMT_{BP_FP BC_FC}

Ref: commit 27646d265d ("ASoC: rockchip: Update to use set_fmt_new callback")

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I96d21cf964aadbe1d29c246958bfd79ca31fbe54
2023-09-01 17:39:23 +08:00
Finley Xiao
05c62decf9 soc: rockchip: opp_select: Fix set scmi clk rate error
Fixes: c64369f0e4 ("soc: rockchip: opp_select: Implements new opp APIs for kernel 6.1")
Change-Id: I1c2e71016bacd846f4146e8036c85f9271a15e93
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2023-08-29 14:52:52 +08:00
Tao Huang
781005db57 Merge commit '9894920d7cc633869f4aa6ed043c2e63d0d1da42'
* commit '9894920d7cc633869f4aa6ed043c2e63d0d1da42':
  driver: rknpu: Update rknpu driver, version: 0.9.2
  drm/rockchip: vop: fix the zpos setting in vop_atomic_plane_reset()

Change-Id: I2f2f7411ab6472029738f3aae923a369fd6fcf7c
2023-08-29 11:29:35 +08:00
Felix Zeng
9894920d7c driver: rknpu: Update rknpu driver, version: 0.9.2
* Add task number tilling support
* Change kmalloc to vmalloc to avoid page allocation failure in RV1106
* Fix the issue of excessive time consumption in memory cache flushing
* Fix map pages into vma failed in kernel 6.10

Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com>
Change-Id: I93c49a4766e4d3ff13a8d372be348757579c34e3
2023-08-29 11:28:05 +08:00
Tao Huang
323ee9f2e8 Merge commit '24ea6649adbb2c8e66b481cab90a2e9e9fcffa21'
* commit '24ea6649adbb2c8e66b481cab90a2e9e9fcffa21':
  arm64: dts: rockchip: rk3562-evb1-lp4x-v10: Change clkin div to 5 for aclk vo
  arm64: dts: rockchip: rk3562-rk817-tablet-v10: Change clkin div to 5 for aclk vo
  arm64: dts: rockchip: rk3562: Change clkin div to 4 for aclk vo
  media: i2c: imx415 remove vendor limit of get dcphy param
  arm64: dts: rockchip: rk3528-demo4-ddr4-v10-linux: enable sdmmc
  ARM: dts: rockchip: rv1106g-evb2-v10-dual-camera: sc301iot modified compatible name uppercase to lowercase

Change-Id: I471ed81705dcb4ff3ba468c46af2ff6ea5eb4f42
2023-08-28 19:36:42 +08:00
Tao Huang
18f6d2c566 Merge commit 'f188000384a438aae34baf559e6de93410450b38'
* commit 'f188000384a438aae34baf559e6de93410450b38':
  media: i2c: sc301iot modified inferface name uppercase to lowercase
  usb: dwc3: core: parkmode_disable_hs_quirk depends on CONFIG_NO_GKI

Ignore:
commit 7e9467d1d2 ("usb: dwc3: core: parkmode_disable_hs_quirk depends on CONFIG_NO_GKI")
commit f188000384 ("media: i2c: sc301iot modified inferface name uppercase to lowercase")

Change-Id: I32ee422883a9f20980a8a01fef4e1322b0f7e447
2023-08-28 19:31:31 +08:00
LongChang Ma
ddf3652f5d media: i2c: sc301iot modified inferface name uppercase to lowercase
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com>
Change-Id: I7689d695191419fd66504deebe400a01d01f74ba
2023-08-28 19:31:11 +08:00
Tao Huang
3b17abb9da Merge commit '0c4fa77794ce128089a9f9523d4615d4f2835ec5'
* commit '0c4fa77794ce128089a9f9523d4615d4f2835ec5':
  rpmsg: rockchip_test: add delay compensation
  media: rockchip: isp: add iqtool video for isp21
  arm64: dts: rockchip: rk3399pro-npu: dis u1 and u2 state for dwc3
  arm64: dts: rockchip: rk1808: dis u1 and u2 state for dwc3
  arm64: dts: rockchip: dis u1 and u2 state for rk3528 dwc3
  ARM: dts: rockchip: update rk808 for rk3288-evb-rk808-linux.dts
  ARM: dts: rockchip: Add mmc aliases for rk3288-linux.dtsi
  drm/bridge: synopsys: dw-hdmi-qp: Fix frl switch error when switching resolution and color at the same time
  ARM: configs: enable HDMI and MULTICODECS for rockchip_linux_defconfig
  UPSTREAM: ASoC: rt5640: Remove the sysclk and sysclk_src checking
  video: rockchip: mpp: fix some iommu hdl register issue
  media: rockchip: isp: fix get tb info
  soc: rockchip: rockchip_system_monitor: Don't init wide temp when tz is NULL
  video: rockchip: mpp: fix task re-add running_list issue
  arm64: dts: rockchip: rk3588-evb3-lp5: update for v11 board
  media: rockchip: isp: fix list buf delete err
  soc: rockchip: amp: include rockchip_amp.h for function prototypes
  arm64: dts: rockchip: rk3562-rk817-tablet: adjust vcm configs to reduce noise
  media: i2c: dw9763: optimize open/close procedure to reduce noise
  UPSTREAM: dt-bindings: usb: snps,dwc3: Add 'snps,parkmode-disable-hs-quirk' quirk

Change-Id: Iaab1b5d91a4a16c24fb30938d520087b77861a73
2023-08-28 19:19:58 +08:00
Tao Huang
4bba450fd7 Merge commit '739cc6389306511daac336fd28ceeaad07e23aa6'
* commit '739cc6389306511daac336fd28ceeaad07e23aa6':
  media: i2c: add Maxim Quad GMSL2/GMSL1 to CSI-2 Deserializer driver.

Ignore:
commit 739cc63893 ("media: i2c: add Maxim Quad GMSL2/GMSL1 to CSI-2 Deserializer driver.")

Change-Id: I58df9e0e20225b76d87b153e5d93631972f0b675
2023-08-28 19:18:48 +08:00
Cai Wenzhong
5e6925e907 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-28 19:17:30 +08:00
Tao Huang
0fee6a48e4 Merge commit '383b245ce2449c78580a067ed3a9872314f3a780'
* commit '383b245ce2449c78580a067ed3a9872314f3a780':
  arm64: dts: rockchip: rk3588-vehicle-evb-maxim-max96722: adjust some node name
  arm64: dts: rockchip: rk3588-vehicle-evb-maxim-max96712: adjust some node name
  arm64: dts: rockchip: rk3562-rk817: set vcc_3v3 regulator on in suspend
  mmc: dw_mmc-rockchip: fix tuning return incorrect value in certain situations
  arm64: dts: rockchip: rk3562-evb1-lp4x-v10-linux-amp: Add memory node for ap amp
  video: rockchip: vehicle: fix support RK356X
  arm64: dts: rockchip: rk3588-vehicle-adsp-audio-s66: set i2s3 master

Change-Id: I399421907007ac460928435c727d8890948e5466
2023-08-28 19:06:28 +08:00
Tao Huang
90ed5e5ef1 Merge commit '6f12652f07df16aa03525d96aab83ef4a38eec74'
* commit '6f12652f07df16aa03525d96aab83ef4a38eec74':
  arm64: dts: rockchip: rk3568: default enable mipi_csi2_hw

Ignore:
commit 6f12652f07 ("arm64: dts: rockchip: rk3568: default enable mipi_csi2_hw")

Change-Id: I8849b23c4e5389c77bf15f713d5d7f2fc8c6d1e8
2023-08-28 19:04:31 +08:00
Tao Huang
d68b0c3ff4 Merge commit '0013ee06a1814b1a19f69cc3f49f741e8e651f8a'
* commit '0013ee06a1814b1a19f69cc3f49f741e8e651f8a':
  rpmsg: rockchip: fix mailbox txdone method to polling
  arm64: dts: rockchip: rk3562-android: assign a fixed index to mmc devices
  arm64: dts: rockchip: Add mmc aliases for rk3562-linux.dtsi
  arm64: dts: rockchip: Makefile add rk3399-sapphire-excavator-edp-avb.dtb
  arm64: dts: rockchip: add rk3568 evb1 linux amp dts

Change-Id: If9444ad07eb45264150b8ee24e45302b7ceeaf99
2023-08-28 19:03:21 +08:00
Tao Huang
e6daeb20e3 Merge commit '5aeacb348d9d26942252650e90165ba4dd2fc205'
* commit '5aeacb348d9d26942252650e90165ba4dd2fc205':
  arm64: dts: rockchip: rk3568: Add arm_pmu label

Ignore:
commit 5aeacb348d ("arm64: dts: rockchip: rk3568: Add arm_pmu label")

Change-Id: I43449a0cc7d24e01a325b17364056db8c0f2318c
2023-08-28 19:02:36 +08:00
Tao Huang
475b16ba9c Merge commit 'f2576488ab0bcb5544f9e9415c116b26a65e4b68'
* commit 'f2576488ab0bcb5544f9e9415c116b26a65e4b68':
  soc: rockchip: amp: Update coding style and message
  soc: rockchip: amp: Add 'boot-on' property assignment support
  arm64: dts: rockchip: rk3399-evb: fix dts build error
  drivers: rkflash: Add sleep for spinand
  dt-bindings: spi: spi-rockchip: Support rockchip,autosuspend-delay-ms
  spi: rockchip: Support pm_runtime_use_autosuspend
  drm/bridge: synopsys: dw-hdmi-qp: Disable access to registers when hdmi is disabled
  arm64: dts: rockchip: rk3588s: Change leakage-voltage-sel for venc
  drm/rockchip: dsi2: havle dsc pps pic_width in dual channel dsi
  ARM: dts: rockchip: disable hs park mode for usb dwc3 controller

Change-Id: Ic8e82d00e5094a1a8c9197efebfb6f40257e943f
2023-08-28 18:56:19 +08:00
Tao Huang
01e5082bb2 Merge commit 'd04353d0020cd29c4b54f9db165f37312f8c4a2d'
* commit 'd04353d0020cd29c4b54f9db165f37312f8c4a2d':
  arm64: dts: rockchip: disable hs park mode for usb dwc3 controller
  UPSTREAM: usb: dwc3: core: add support for disabling High-speed park mode

Ignore:
commit 35db5a9e94 ("UPSTREAM: usb: dwc3: core: add support for disabling High-speed park mode")
commit d04353d002 ("arm64: dts: rockchip: disable hs park mode for usb dwc3 controller")

Change-Id: I37c2a042504b5a53b8863791e14a806ac6628978
2023-08-28 18:53:57 +08:00
William Wu
48ada284da 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-28 18:49:58 +08:00
Stanley Chang
659382f7b2 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-28 15:23:30 +08:00
Tao Huang
2ac88d9452 Merge commit 'c75ca4c58355785b2f447af5d2268e2828a04936'
* commit 'c75ca4c58355785b2f447af5d2268e2828a04936':
  spi: rockchip: Add spi thread priority configuration
  arm64: dts: rockchip: rk3588-vehicle change the format of car_rk3308_sound to tdm8
  ARM: dts: rockchip: add rv1106g-evb2-v12-wakeup.dts
  media: rockchip: isp: add lock to save tb info
  media: rockchip: isp: remove __isp_config_hdrshd

Change-Id: Ibe92af7ebb1ebbe422935c651ab739a7949a7208
2023-08-28 15:15:50 +08:00
Tao Huang
163a323d97 Merge commit 'c2a9ac0f236c4a28eca11325a6c8653194a5c0fa'
* commit 'c2a9ac0f236c4a28eca11325a6c8653194a5c0fa':
  media: i2c: add sc1346 support

Ignore:
commit c2a9ac0f23 ("media: i2c: add sc1346 support")

Change-Id: I5d3a5e11f2ec11d76980a4617cdc566f33c3120b
2023-08-28 15:06:57 +08:00
Lin Jinhan
6346396f72 media: i2c: add sc1346 support
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I21f6e1ac11850666fb56960af6ef9d13c5907ba4
2023-08-28 15:05:03 +08:00
Tao Huang
89b7aba8b7 Merge commit '9f27599976115c76a15c488938bde23527d49d5b'
* commit '9f27599976115c76a15c488938bde23527d49d5b': (22 commits)
  ARM: dts: rockchip: disable rv1103g battery ipc dvfs
  arm64: dts: rockchip: rk3588s-evb2-lp5: fix usb2.0-only
  video: rockchip: mpp: fix access null task issue
  ASoC: rockchip: pdm: Fix register access in probe
  ASoC: rockchip: i2s: Fix register access in probe
  PCI: rockchip: dw: fix compliance mode set
  mtd: spinand: Enable HWP_EN for skyhigh devices
  mtd: spinand: esmt: Support new device F50L2G41KA
  arm64: dts: rockchip: rk3528: Set default value with level2 for spi
  ARM: configs: add rk3308bs_aarch32_mipi_display.config for rk3308bs support mipi display
  ARM: rockchip: rv1106: sleep: support hpmcu fast wakeup
  ARM: rockchip: Locate kernel at 0x00208000 for RV1106 when CONFIG_RV1106_HPMCU_FAST_WAKEUP=y
  ARM: configs: rockchip: add rv1106-wakeup.config
  ARM: rockchip: support RV1106_HPMCU_FAST_WAKEUP config
  arm64: dts: rockchip: rk3308-evb: add rgb display board
  media: rockchip: vicap fixes crop sync error
  mtd: spinand: xtx: Support new device XT26Q04DWSIGA
  mtd: spinand: gigadevcie: Add 3rd flash id for GD5F1GQ5RExxG
  mtd: spinand: xtx: Support new device XT26Q02DWSIGA and XT26Q01DWSIGA
  mtd: spinand: dosilicon: Support new device DS35Q1GD-IB
  ...

Change-Id: I955f35e70228e9e91ca10d562293e6b6125f3584
2023-08-28 14:59:14 +08:00
Tao Huang
90f459cbf0 Merge commit 'd0e6f8a073819af4aae92ac6c323ade172587b6f' into develop-6.1
* commit 'd0e6f8a073819af4aae92ac6c323ade172587b6f':
  phy: rockchip: naneng-combphy: fix U3 RX long cable test failed for RK3528

Ignore:
commit d0e6f8a073 ("phy: rockchip: naneng-combphy: fix U3 RX long cable test failed for RK3528")

Change-Id: Iaef9ed93902fd7a02b792db9f5fcc1d319518c00
2023-08-28 14:58:00 +08:00
ZhiZhan Chen
2b3939a76d drm/rockchip: vop: fix the zpos setting in vop_atomic_plane_reset()
Change-Id: I27a85fc52dded9674f32f93c1a80c69a108d1118
Signed-off-by: ZhiZhan Chen <zhizhan.chen@rock-chips.com>
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2023-08-28 14:50:26 +08:00
Jianwei Zheng
863c95ebe8 phy: rockchip: naneng-combphy: fix U3 RX long cable test failed for RK3528
1.Set slow slew rate control for PI
2.Set CDR phase path with 2x gain

Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
Change-Id: I2d0811b0be7b1d4764ecd738d069b06e4da5eaa2
2023-08-25 19:42:00 +08:00
Tao Huang
fe72550de7 Merge commit 'b59d476403227ad73526d5886b9cd208b80cc33a'
* commit 'b59d476403227ad73526d5886b9cd208b80cc33a':
  ASoC: rockchip: i2s-tdm: Fix register access in probe

Ignore:
commit b59d476403 (ASoC: rockchip: i2s-tdm: Fix register access in probe)

Change-Id: I2fc616ffd1c7bf51a4298a6f3d247412b8f12146
2023-08-25 19:35:52 +08:00
Sugar Zhang
6752fef5c3 ASoC: rockchip: i2s-tdm: Fix register access in probe
MUST: after pm_runtime_enable step, any register R/W
should be wrapped with pm_runtime_get_sync/put.

Another approach is to enable the regcache true to
avoid access HW registers.

Alternatively, performing the registers R/W before
pm_runtime_enable is also a good option.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I69dd66230cba636d2ccb31ec01a21be1a482a0e3
2023-08-25 19:35:17 +08:00
Tao Huang
d7b9c64e08 Merge commit 'f8a6ea73884dd5aadd827127b35ab56015e1e704'
* commit 'f8a6ea73884dd5aadd827127b35ab56015e1e704':
  ASoC: rockchip: sai: Fix register access in probe
  arm64: dts: rockchip: rk3308: update property logo,kernel
  pwm: rockchip: add a little delay to make sure conlock works
  drm/bridge: synopsys: dw-hdmi-qp: filter hdmi 2.1 resolution when enable-gpio is not configured
  drm/bridge/synopsys: dw-hdmi-qp: fix color error in DVI mode
  ARM: dts: rockchip: support dual sc301iot for rv1106-evb-dual-cam.dtsi
  arm64: dts: rockchip: rk3588-vehicle-adsp-audio-s66: correct i2s3 iomux
  arm64/configs: add rk3308bs_mipi_display.config for support mipi display
  arm64: dts: rockchip: rk3399-evb: use multicodecs instead simple card
  media: rockchip: vicap: fixes create dummuy buffer fail with size 0
  drm/bridge/synopsys: dw-hdmi-qp: Add support for external bridge
  video: rockchip: vehicle: remove vehicle dev when exit

Change-Id: I8094e3496eb3c966e53f0db1f1cdb8d13f95f73b
2023-08-25 19:32:41 +08:00
Tao Huang
be1cf9cf12 Merge commit '02ee7a133ecb4c371d9fbcf3461840cb42bcc43a'
* commit '02ee7a133ecb4c371d9fbcf3461840cb42bcc43a':
  PCIe: dw: rockchip: rework compliance test settings

Ignore:
commit 02ee7a133e ("PCIe: dw: rockchip: rework compliance test settings")

Change-Id: I97a9b17b71bc2cbf5d2772b64e46841b5553f4a7
2023-08-25 19:31:59 +08:00
Shawn Lin
8c31e54896 PCIe: dw: rockchip: rework compliance test settings
There are three types of compliance mode test requirement right
now, consolidate them together:
[1] SMA tool: rockchip,compliance-mode = <0 ANY_VALUE_FROM_0_TO_10>;
[2] Soldered board: rockchip,compliance-mode = <mode preset>;
    mode: 1->Gen1  2->Gen2  3->Gen3
    preset: 0->p0 1->p1 2->p2 .... etc.
[3] lookback: same as SMA tool case

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I180b4881d827e3c2f0fc22f0bab4ca165be44c19
2023-08-25 19:25:39 +08:00
Tao Huang
754d0cafb2 Merge commit '7d42e408908c426339f6a9371bf21920a8190d02'
* commit '7d42e408908c426339f6a9371bf21920a8190d02':
  drm/rockchip: direct_show: add cached buf cpu access begin & end
  media: rockchip: isp: add api get isp work mode for rockit
  media: i2c: rk628: fix 5V detect event report
  media: rockchip: isp: fix refer to sram info for multi sensor
  media: rockchip: isp: fix stream init pause state
  mtd: spinand: xtx: Fix XT26G11C ecc status ops
  net: can: rockchip: support rk3568 can v2

Change-Id: Id0eeeb7b3068ea34475576aefac03c5127aeb0bd
2023-08-25 19:23:45 +08:00
Tao Huang
1f9c423358 Merge commit '46449e5334ffd1b21f1f509e8f4d55240d076581'
* commit '46449e5334ffd1b21f1f509e8f4d55240d076581':
  drm/rockchip: dsi: set vop2 standby before command mode in rk3566/rk3568

Ignore:
commit 46449e5334 ("drm/rockchip: dsi: set vop2 standby before command mode in rk3566/rk3568")

Change-Id: I6af690cd979d61b1fe26fa5614fc4d3521b62cd1
2023-08-25 19:13:35 +08:00
Tao Huang
4ead044ae5 Merge commit 'ec69911288bd488078ce1256e1a580123c9cf1e7'
* commit 'ec69911288bd488078ce1256e1a580123c9cf1e7':
  phy: rockchip: csi2-dphy: fixes hw_dev num error for rk3562
  video: rockchip: mpp: fix share reset_group do not take effect
  arm64: dts: rockchip: update rk3399-sapphire-excavator-lp4-linux.dts
  ARM: dts: rockchip: fix timing configs of panel k350c4516t for rv1103/rv1106 evb
  drm/rockchip: rgb: add mcu_max_dclk_rate for mode_valid check

Change-Id: Ia7b948597178623c8727cfc57c807ce32393ef8b
2023-08-25 19:12:55 +08:00
Tao Huang
37c18c4af3 Merge commit 'ea3b81ee34fda60da9dc5632ae4310aff8b7a9aa'
* commit 'ea3b81ee34fda60da9dc5632ae4310aff8b7a9aa':
  drm/rockchip: drv: fix the dclk calculation of mcu interface

Ignore:
commit ea3b81ee34 ("drm/rockchip: drv: fix the dclk calculation of mcu interface")

Change-Id: Ibfd403e33675bb205c622a7ad7571bcfae665564
2023-08-25 19:09:46 +08:00
Damon Ding
3cb261be89 drm/rockchip: drv: fix the dclk calculation of mcu interface
dclk = htotal * vtotal * frame-rate * cycles-per-pixel * pix-total

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I6b78463dc8290f562cfe44040d6b6030d652213d
2023-08-25 19:05:35 +08:00
Finley Xiao
24ea6649ad arm64: dts: rockchip: rk3562-evb1-lp4x-v10: Change clkin div to 5 for aclk vo
The dclk vop is 132MHz, the aclk vop can be reduced appropriately.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I80d060fd90e013aaa1eea4d94868731e3cf02ffb
2023-08-25 17:56:04 +08:00
Finley Xiao
26d58236a5 arm64: dts: rockchip: rk3562-rk817-tablet-v10: Change clkin div to 5 for aclk vo
The dclk vop is 70MHz, the aclk vop can be reduced appropriately.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I05f79bb4bade6c8ff6c8014edce448f403bb9ca4
2023-08-25 17:56:04 +08:00
Finley Xiao
0e7bc1d765 arm64: dts: rockchip: rk3562: Change clkin div to 4 for aclk vo
The aclk vop should be equal or greater than the half of dlck vop,
the highest frequency of dclk may be 148.5MHz, the aclk vop is 396MHz,
so change the clkin div to 4.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ibc47f31b7d03530929fd537020c60a39708ccdcb
2023-08-25 17:56:04 +08:00
Zefa Chen
812a80b857 media: i2c: imx415 remove vendor limit of get dcphy param
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I578a1e306985596d656a19615bdcf67edc08ffd8
2023-08-25 17:52:29 +08:00
Lin Qihao
f085d26126 arm64: dts: rockchip: rk3528-demo4-ddr4-v10-linux: enable sdmmc
Change-Id: Iade84f4f1ac94b2a0a1587ffe6454e074f527863
Signed-off-by: Lin Qihao <kevin.lin@rock-chips.com>
2023-08-25 16:55:41 +08:00
Su Yuefu
6c9d9857dd ARM: dts: rockchip: rv1106g-evb2-v10-dual-camera: sc301iot modified compatible name uppercase to lowercase
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: I7c3c39e0aff4e85cc541903dcd767d80f419a810
2023-08-25 16:51:47 +08:00
LongChang Ma
f188000384 media: i2c: sc301iot modified inferface name uppercase to lowercase
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com>
Change-Id: I7689d695191419fd66504deebe400a01d01f74ba
2023-08-25 16:50:49 +08:00
Tao Huang
7e9467d1d2 usb: dwc3: core: parkmode_disable_hs_quirk depends on CONFIG_NO_GKI
Fixes: 35db5a9e94 ("UPSTREAM: usb: dwc3: core: add support for disabling High-speed park mode")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ife342a9339c731828d9677d110494fdd7862fe49
2023-08-25 16:50:03 +08:00
Hongming Zou
0c4fa77794 rpmsg: rockchip_test: add delay compensation
1. add delay compensation to the test demo
2. update the names of some structures

Change-Id: I12026f13395ad691628fd6a2c3cb1b15185b156e
Signed-off-by: Hongming Zou <hongming.zou@rock-chips.com>
2023-08-25 15:20:46 +08:00
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