When the hdmi is plugged in and out after uboot but
before kernel initialization, the TV will enter hdmi 1.4 mode,
hdmi 2.0 resolution can't be display.
In this case, we need to disable/enable hdmi again to make TV
into hdmi 2.0 mode again.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I39fbe519d54329ae7db57904013bfdef6f5a068e
HWC will set hdmi out of hdr mode then disable hdmi
when hdmi plug out in hdr mode.
If hdmi is disconnect edid is null, mode valid check
is always failed, HWC set hdr disable will failed.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I12ebf23539be17b338617131e879296ed20d6a95
1.Add phy configuration retry when signal can not be locked.
2.Add the judgment that signal locking has stabilized.
3.Add the judgment of signal loss when starting stream.
4.Modify the calculation method of pixclk and fps in YUV420 format.
5.When DMA is enabled, if the 5V_Det level changes, an interrupt will be
forcibly triggered to reset the controller in BL31 as soon as possible.
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I27846bca7059d834b5bd069b5959a2279295568d
Uboot reads vendor storage data and stores it in memory.
This patch provides a read api for other drivers to use.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Ie830195b447afa2d466786a0d177391130efba16
The following symbolic dependencies were removed:
1. md5_zero_message_hash
2. sha1_zero_message_hash
3. sha256_zero_message_hash
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I0536e729dd282b2d71476ae4b81c4b2ab14223e7
If hold_mode of mcu is active, the output_mode configuration
cannot take effect. The process should be:
disable vp standby -> set output_mode -> enable hold mode
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Id18090eac7adea8002f4170e227d93d5f801f96a
When EHCI has halted, the ISR is without processing interrupt by
returning IRQ_NONE. After some time, this IRQ will be treated to be
spurious one, and the exception dump happens like the following.
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system reboot
irq 20: nobody cared (try booting with the "irqpoll" option)
CPU: 0 PID: 0 Comm: swapper/0 Tainted: G O 5.10.160 #6
Hardware name: Rockchip RK3562 EVB1 LP4X V10 Board (DT)
Call trace:
dump_backtrace+0x0/0x1d0
show_stack+0x1c/0x24
dump_stack_lvl+0xcc/0xf0
dump_stack+0x14/0x30
__report_bad_irq+0x50/0x150
note_interrupt+0x2b0/0x30c
handle_irq_event+0xec/0x120
handle_fasteoi_irq+0xc8/0x204
__handle_domain_irq+0x78/0xe0
efi_header_end+0x7c/0xb0
el1_irq+0xc8/0x180
cpuidle_enter_state+0xdc/0x40c
cpuidle_enter+0x3c/0x50
do_idle+0x230/0x2e0
cpu_startup_entry+0x2c/0x60
rest_init+0xc0/0xcc
arch_call_rest_init+0x14/0x1c
start_kernel+0x514/0x548
handlers:
[<000000003a1063b0>] usb_hcd_irq
Disabling IRQ #20
This is a low probability fault while process the reboot command with
a udisk plugged in USB port.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I85a1cc3667570ab324c2a5cab25bd9e9295dd8d9
If the controller is powered down and lost its settings of
MSI, host driver should take response of recovering all the
settings.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I9f1fd9078e500388f8d9753cc5ab7882b404d142
According to commit 666fa6cca7 ("arm64: dts: rockchip: rk3588s: change cpu dynamic-power-coefficient").
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Id21c8ffc187092c8cef7f76dd9c5bce355e1743d
drivers/staging/android/ is removed on upstream.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ifef3f52f9212cb79a028fc8f56052b156cc428ae