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
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
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
* 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
* 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
* 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
* 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
* 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
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
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
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
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
* 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
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
* 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
* 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
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
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
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
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
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>
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
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