Including:
kbase_device_kinstr_prfcnt_init(),
kbase_device_kinstr_prfcnt_term(),
kbase_device_io_history_init(),
kbase_device_io_history_term.
To resolve compilation errors when CONFIG_DEBUG_FS is not enabled.
Change-Id: Ibeaf97bd9fdbbb45308160e11c4dbb386a0dea71
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
1. get the value of pvtpll@0.9v from otp.
1. adjust opp-table by pvtpll value.
2. adjust opp-table by mbist-vmin.
3. adjust opp-table when low temperature.
Change-Id: Idc0c0e811c80d1b9b51d4a4f5c7176c546558386
Signed-off-by: Liang Chen <cl@rock-chips.com>
An interrupt may be triggered first,
but hdmi->i2c is not registered yet.
Change-Id: I45b0adc71ccdd6bf7543601b587976fa47ffd7d4
Signed-off-by: Chen Shunqing <csq@rock-chips.com>
This is a PCIe function driver for rockchip RKEP demo which works on RC
side, it includes following features:
1. Support rc dma
2. Support mmap reserved memory
3. Add dma msi obj irq signal
4. Add user msi obj irq signal
5. Support RKEP-boot
Change-Id: Id71ebd31f86b688d3e6e07ce5055aad81ce7e206
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
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