The HPD should not be triggered if the HDMI ARC is enabled.
Signed-off-by: Jason Zhang <jason.zhang@rock-chips.com>
Change-Id: If4d74ea9d72a4295a054ab0be45454a0914ab35b
This patch adds attributes for enabling HDMI ARC.
Signed-off-by: Jason Zhang <jason.zhang@rock-chips.com>
Change-Id: Iec7e1169efc65f298e5b5449e3803151d91c7258
Some TVS edid max_tmds_clock are 0, we think it only
support hdmi1.4 resolutions.
Fixes: c1dcc6ec1e ("drm/rockchip: dw_hdmi: Fix hdmi cts hf1-31 failed")
Change-Id: Iea8b182d869fb2722701abd77ff65d7f4cf76518
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
According to the SI test, reduce the drive strength of
pwm0/pwm2 pins to level2 in order to meet the signal
metrics.
Change-Id: I18b6855efd7f97096f9ee85113ef470627436615
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
the host processor to keep the HS serial clock running for the
peripheral which may not generate its own clock to complete
processing or pipeline movement of received data.
Change-Id: If8f08662c4a520f3ae7c37ae57037f1760912b97
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
SPI devices use the spi_device_id for module autoloading even on
systems using device tree, after commit 5fa6863ba6 ("spi: Check
we have a spi_device_id for each DT compatible"), kernel warns as
follows since the spi_device_id is missing:
SPI driver spi_codec has no spi_device_id for rockchip,spi-codec
Add spi_device_id entries to silence the warning, and ensure driver
module autoloading works.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ie33ffd25261376f55a16ae5a34ee0fafdb6e6cd6
Add panel_simple_spi_ids to fix the unexpected warning
because of the check of SPI devices autoloading. The
warning may be like:
[ 1.607343] SPI driver panel-simple-spi has no spi_device_id for simple-panel-spi
See the following commit for details:
commit 5fa6863ba6 ("spi: Check we have a spi_device_id for each DT compatible")
In addition, add compatible "panel-simple-spi" for
naming consistency.
Change-Id: I89a72abc75e0537e98166265376afa1c94eab600
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
The property rockchip,max-volt is not used for cpu0_opp_table, so remove it.
Signed-off-by: Liang Chen <cl@rock-chips.com>
Change-Id: If0493c7029a8c67a790771cadff93e26e0f2df08
Hdmi cts hf1-31 required filtering yuv420 mode that frequency
exceeds the max tmds clock of edid.
Change-Id: I746a9f910444845ab84b7804ebc63bb934363ebe
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
If less this commit, RGB output will be enabled by mistake when rgb
output is switched between different vp.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I673488ee63aeb18fb511f2d1d46672e83455a940
GKI do not export filp_open() and kernel_write().
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I14f0fe1d297632d19ab76c7ed63893b1670da545
The volume have a step of 0.375dB, but TLV uses the units 0.01dB. It should
be changed to a step of 0.75dB to match the units of TLV.
Change-Id: Ia7a8b8449b0236f01ade5ba89064f117f5671964
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Set the default gain 24dB, this parameter can get better
performance if the voice energy is lower. In other words this
can improve PDM IP SNR.
So the applicable range of this is for sound intensity below 100dB.
If you want to record stronger sound intensity, you must set
PDM gain register but not soft gain-controller.
Change-Id: Ie8883064d124745c8ac2eec2034ccf94dcd362cb
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Add a new firmware node for OP-TEE to the rk3576-linux.dtsi file. OP-TEE is a
trusted execution environment that provides secure execution of trusted
applications.
The firmware node includes the following properties:
- compatible: Set to "linaro,optee-tz" to identify the node as an OP-TEE
firmware node.
- method: Set to "smc" to specify that the OP-TEE firmware is accessed using
the ARM Secure Monitor Call (SMC) instruction.
This change allows the kernel to properly initialize and use the OP-TEE
firmware on the RK3576 platform, enabling secure execution of trusted
applications and providing additional security features.
Change-Id: Id8c2fcfcb9176c90afe82d12ee9392e20c8446d1
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
When vp0 and other VPs are enabled at the same time, it is necessary
to restrict only vp0 to operate sharp registers, otherwise sharp will be
turned off by mistake.
Change-Id: I81778262a1b669a2f4b15963cb544849a96e89cf
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This patch set bcdUSB to 0x0200 for non-SuperSpeed gadget
which disable LPM. It can avoid usb bus enter LPM.
Test on RK356X platform, connect USB2.0 ADB to the PC USB
host port, without this patch, the usb bus will enter LPM
dynamically and trigger the USB DWC3 controller suspend
interrupt event frequently (more than 1000 interrupts per
second).
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Id0b9d54800e471512a417933868f76181c89e99d
The mode contains two copies of timings, first are the plain and
origin timings, this should keep unchanged, the second are copy
from the first timing by add some computed and special fixup, this
is associate with hardware.
Change-Id: Ibb9564318ea9b14575cc5cb8695495088a4f0c4d
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
The mode contains two copies of timings, first are the plain and
origin timings, this should keep unchanged, the second are copy
from the first timing by add some computed and special fixup, this
is associate with hardware.
Change-Id: I14dd9596445d5cac0297fcf6306a82b40b31cdaa
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
The mode contains two copies of timings, first are the plain and
origin timings, this should keep unchanged, the second are copy
from the first timing by add some computed and special fixup, this
is associate with hardware.
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Change-Id: I219f440c922847f0b0affaaaa268161213fa5f78
The mode contains two copies of timings, first are the plain and
origin timings, this should keep unchanged, the second are copy
from the first timing by add some computed and special fixup, this
is associate with hardware.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I2b20b6345149cc96f6d12ccc9d6b41b85d6b9c10
The mode contains two copies of timings, first are the plain and
origin timings, this should keep unchanged, the second are copy
from the first timing by add some computed and special fixup, this
is associate with hardware.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ie8a3855677606720214e41d99b90b9ff490e1db2
The mode contains two copies of timings, first are the plain and
origin timings, this should keep unchanged, the second are copy
from the first timing by add some computed and special fixup, this
is associate with hardware.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I6dd48ba725673ec0ad33e8f59435a8b90913e149
The mode contains two copies of timings, first are the plain and
origin timings, this should keep unchanged, the second are copy
from the first timing by add some computed and special fixup, this
is associate with hardware.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ib841af1bbdc970d205d8aec3f83c6238a13bdede