vbus-on will trigger pmic restart when system shutdown.
Signed-off-by: Jake Wu <jake.wu@rock-chips.com>
Change-Id: I49a610f6a24c6d0ffc33a5bef7dc909f738f1f12
Fixes the following error:
ERROR: modpost: missing MODULE_LICENSE() in drivers/mfd/rkx110_x120/rkx120_pwm.o
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I27def7b919a0efcffc62f30e159066a4c21cb905
For link mode, decoder may still running after
frame ready status was written in link table.
Do soft reset before powering off the decoder
to ensure decoder is fully idle.
fixes https://redmine.rock-chips.com/issues/477479
rockchip-pm-domain 27380000.power-management:power-controller:
failed to set idle on domain 'vdec', target_idle = 1, val=0
Change-Id: I30a337bb4cd9193627ae95fae137c12d73027c38
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
1.fix stop no to disable yuvme
2.limit dhaz thumb size, cam_n * col * row <= 80
Change-Id: Ib90ba6fb1664dd85860b639653ad424fc0f2e37d
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
set audio present and rate ctrls to volatile so that app can get
the audio status immediately
Change-Id: I91ba1795b0b33ee83d2e2f0195d813a1c7fcfedd
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
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>
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