* commit '2ee64657c086046c4d6eb78376e163a158a8a5b7':
media: i2c: rk628: implement RK_HDMIRX_V4L2_EVENT_AUDIOINFO event
arm64: dts: rockchip: rk3576-evb1-v10-rk628-hdmi2csi: use rockchip hdmi as rk628 hdmiin sound
media: i2c: rk628: register a codec for hdmirx audio
media: i2c: rk628: only disable i2s data out only when disabling i2s out
arm64: dts: rockchip: rk3576-evb: add edp sound support
arm64: dts: rockchip: rk3576: add property #sound-dai-cells for edp
drm/rockchip: analogix_dp: fix the max_i2s_channels to 8
input: touchscreen: fix build error with CONFIG_FB
media: i2c: rk628: fix background not be disabled
media: i2c: rk628: fix problem of loop pulling down and up cec hpd
soc: rockchip: csu: Implement rockchip_csu_get_bus()
media: i2c: rk628: add workaround for HDMI ARC
media: i2c: rk628: add attributes for enabling HDMI ARC
video: rockchip: mpp: add vdpu383 int_err_mask
drm/rockchip: dw_hdmi: Fix some TVS all resolutions are filtered
arm64: dts: rockchip: rk3576: reduce DS of pwm0/pwm2 pins to level2
drm/rockchip: dsi2: enable hs clk once the init cmds be sent by default
Change-Id: If20e80d5b0b9d91304454747beafbaffb81b0e8b
When the hdmi out device which connect to the rk628 hdmiin stopping audio
stream, The i2s clk out by rk628 will be interrupted. Here register a codec
to inform alsa the i2s clk is interrupted.
Change-Id: I52a43843f64de964bb6415d46d7cefd17a464157
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
According to IC design, the max_i2s_channels is 8 in
RK3568/RK3576/RK3588.
Change-Id: Ic1bda08c4b8bab72c5cf32ee5ce9aad8c1075ffe
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
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>
* commit 'a6950c52636737132b15e13ee172a2c42f594a4d':
phy: rockchip: usbdp: update phy parameters for SI test
ASoC: rockchip-spi-codec: Silence no spi_device_id warning
drm/panel: panel-simple: add panel_simple_spi_ids id_table
spi: rockchip-test: Add spi_rockchip_test_spi_ids id_table
arm64: dts: rockchip: rk3568: remove rockchip,max-volt for cpu0_opp_table
media: i2c: dw9763: support set max logical pos ioctl
media: i2c: ov13855: support get otp info
drm/bridge: dw-hdmi-qp-hdcp: Fix timeout for ksv list ready
arm64: dts: rockchip: rk3576: add rkvdec_sram support
Change-Id: I4de1113b4c20febc037c04b116c6f07c7a4b7451
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>
For the time being, the usb dwc3 runtime autosuspend
is not yet supported in rk3588 GKI, if we enable the
u2phy0_otg suspend mode, it may cause dwc3 device
enumeration failure.
Change-Id: I9d69dfaa10c73e6d7df1d64f8138ef45122f2d0e
Signed-off-by: William Wu <william.wu@rock-chips.com>
* commit 'b661b75c97690229bcbf827664b7262f951d90ba':
arm64: dts: rockchip: rk3576-ebook: remove no use defined
drm/rockchip: rgb: deinit output_if and output_if_left_panel for rgb output
media: rockchip: ispp: Disable dump_file on GKI
input: sensors: mc3230: Call filp_open() only when CONFIG_NO_GKI
ASoC: rockchip: pdm_v2: make the volume TLV to match the units 0.01dB
ASoC: rockchip: pdm_v2: set the pdm default gain to 24dB
arm64: dts: rockchip: Add OP-TEE firmware node for rk3576-linux.dtsi
Change-Id: I5cc63fe0bb549fed26e472f37fe1e32731ac421b
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>