* commit '34c17d0724d5e26a4efda23502cfbbb612bcb994':
drm/rockchip: vop2: Support invalid phy id for vop2_plane_id_to_string
media: rockchip: vpss: online support 8k
arm64: dts: rockchip: rk3576: enable VOP aclk auto cs
drm/rockchip: vop2: add support dynamic adjust vop aclk auto cs div
drm/rockchip: analogix_dp: add support for color format yuv444/yuv422
video: rockchip: rga3: modify workaround for RK3576 issue
pinctrl: rockchip: Fix iterator 'j' not incremented in rk_iomux_set()
input: touchscreen: ft5726: Fix abnormal sleep power
drm/rockchip: vop: Fix mixing irqsave and irq in vop_crtc_atomic_flush()
media: i2c: rk628: fix YUV format color range detect
Change-Id: I70a19db1e092a5397c73710bd5fb8ccaa47ef02e
ROCKCHIP_VOP2_PHY_ID_INVALID has a value of -1 that is out of range
for vop2_layer_name_list. Convert it to "INVALID".
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Change-Id: I0aaa36c5a51ef0227847567ca1b495d16470ee1b
The detailed changes as follows:
1.Add flag max_bpc and format_yuv to check whether the
platform support 10 bit per component and YUV444/YUV422.
2.Add exact bpp related to output format in bandwidth
calculation, which is fixed to 24 before the patch.
3.Add .atomic_get_input_bus_fmts() and .atomic_get_output_bus_fmts()
to get the supported input and output bus formats.
Change-Id: I78ef43d19b3a2970a961b0f668a75ef857951dfe
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
1. Disable auto_rst to avoid false interrupt generation.
2. Reset core_clk before startup to avoid hardware runaway due to
continuous scaling.
3. Configure auto_clean command count to avoid iommu access exception
after command count from 4095->0.
Update driver version to 1.3.4
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I12f312280429996c182952fbe8c8c4a20155dc4f
VERSION >= SAI_VER_2311
Support Frame Sync xN (FSXN)
Support Frame Sync Error Detect (FSE)
Support Frame Sync Lost Detect (FSLOST)
Support Force Clear (FCR)
Support SAIn-Chained (e.g. SAI0-CLK-DATA + SAI3-DATA +...)
Support Transmit Auto Gate Mode
Support Timing Shift Left for TX
Optimize SCLK/FSYNC Timing Alignment
VERSION >= SAI_VER_2403
Support Loopback LR Select (e.g. L:MIC R:LP)
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I9c957b5115686df2573a06b9276f26a15e709d4e
This patch converts the original unreadable machine log output into
human readable data.
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Change-Id: Ibec0a11d8f65c58b0ba0c5c5bc3daa5bc5c9ca81
* commit '6ca20ef7dc562dad3208a542aa172bc21d6950b1': (23 commits)
drm/rockchip: dw-dp: add intelace mode support
usb: dwc2: notify the usb role to usb2 phy
phy: rockchip: usbdp: support use 1 lane for DP
mfd: rockchip-flexbus: Fix MSB definition
mailbox: rockchip: add txpoll period in microseconds support
mailbox: support tx done polling in microseconds
arm64: configs: update rk3562_robot.config
arm64: dts: rockchip: rk3576: set limit rate and offline cpus for early suspend
printk: auto adapt arch_timer_rate for CONFIG_PRINTK_TIME_FROM_ARM_ARCH_TIMER
soc: rockchip: system_monitor: Add support limit rate and offline cpus when early suspend
PM / devfreq: rockchip_bus: Add devfreq policy
arm64: dts: rockchip: rk3576-test1 add flexbus-fspi nor flash node
arm64: dts: rockchip: rk3576: Add flexbus-fspi
spi: rockchip-flexbus-fspi: Add code
dt-bindings: spi: Bindings for Rockchip Flexbus controller under SPI transmission protocol
mfd: rockchip-flexbus: Add more bit fields definition
PCI: dw: rockchip: Assign MSI_CTRL msi_vector_num to 32
PCI: rockchip: dw-ep: Optimize initialization process
phy/rockchip: samsung-hdptx: add more pe/vs configs to pass optional SI test items
drm/rockchip: fbdev: reintroduction rockchip drm fbdev
...
Change-Id: I10aa6d0e906b2a34066650dc920f6707f2dde707
Notify the usb role to usb2 phy when we received role_switch set from
the TCPM (Type-C Port Manager) to escape BC1.2 charge detection at host
mode in usb2 phy driver.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: Id41df3d25b29771d4461cfd1106ca3f3c2572a18
TX_CTL and RX_CTL MSB bit is in different bit filed.
Change-Id: I79ada641acd2034998400e2b2f7310cbe1d5de3c
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Since the speed requirement, this adds another txpoll-period time
in microseconds support.
The feature depends on CONFIG_MAILBOX_POLL_PERIOD_US is selected.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: Iffc098e80c378f1b16d54135e9b930f57d841a6d
Select CONFIG_MAILBOX_POLL_PERIOD_US to use microseconds resolution
for txdone_hrtimer polling to increase TX speed.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: Icd76dc79fc8d9cb02b7c12837b8b344e31941050
only color panel need regal fix
Type: Function
Redmine ID: #N/A
Associated modifications: N/A
Test: N/A
Change-Id: Iab22389c7731f05787f33d89402ab872932f488c
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
This commit updates the rk3562_robot.config to ensure compatibility with
kernel version 6.1
Steps performed:
1. Generate the default configuration:
make ARCH=arm64 rockchip_linux_defconfig
2. Backup the old configuration:
cp .config .config-old
3. Apply the rk3562_robot.config:
make ARCH=arm64 rockchip_linux_defconfig rk3562_robot.config
4. Backup the new configuration:
cp .config .config-new
5. Generate the diff and update the rk3562_robot.config:
./scripts/diffconfig -m .config-old .config-new > arch/arm64/configs/rk3562_robot.config
Change-Id: Ib02eb95158b02547147c43c533dcb5f22753b149
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Bus devfreq policy support a group of bus clks drive DVFS together with
a single regulator.
Signed-off-by: Liang Chen <cl@rock-chips.com>
Change-Id: I920a7df009638041b6b6cf2b77f914b6efc7862d
Add bindings for the Rockchip Flexbus QPI serial flash controller.
Change-Id: I9a4126e14cd732cb5daa4b6b685678758584389a
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
According to the SI report, SI test items in TP3, which
are not applicable for eDP v1.3 but necessary for eDP
v1.4, can not meet signal requirements.
Add tx_drv_pre_lvl_ctrl, ana_tx_jeq_en, tx_jeq_even_ctrl
and tx_jeq_odd_ctrl to pass above SI test items.
Change-Id: Ie99f009bee7f2a5d459002b22bccca591f298fea
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
drm_fbdev_generic_setup(drm_dev, 0) register fbdev will register drm
client and lead to display black screen after kernel logo, so we
reintroduction rockchip drm fbdev.
fbdev register drm client will show black screen:
drm_kms_helper_hotplug_event
->drm_client_dev_hotplug
->client->funcs->hotplug
->drm_fbdev_client_hotplug
->drm_fb_helper_hotplug_event
->drm_fb_helper_set_par
...
-> drm_atomic_commit
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Id2725e26c633c9ef5f4bd01f9f4fa45c072e8ef9
If less this commit, VOP will dead at the system bandwidth
very terrible scene.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ie49ea5c3955d98cefbaa360cc8d6ae1a64ca656e
power up plane should be before pd up, otherwise all the
power down module register is zero.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I0959d442292e1f3753c965a1a15280cc5de28950
* commit 'c50cc550bfa0dd274edbe30cbe69acf6e4ea3de9':
usb: typec: tcpm: handle nak for discover modes command
drm/rockchip: vop2: no need to double attach cluster win share_id_prop
drm/rockchip: vop2: fix some plane may be lost
drm/rockchip: analogix_dp: init audio in .late_register() of drm_encoder_func
arm64: dts: rockchip: add rk3576 nvr demo device tree
arm64: dts: rockchip: rk3576: Use tab indent on system-status-level
arm64: configs: Add rk3576_nvr.config
fs: inline_crypt: add parameter check
media: rockchip: isp: fix cac for multi sensor
Change-Id: I9123e345a5beffa890ddc7b0aacd6e2300207455