Since compute stick always use as device, and do not need detect
vbus, so fix usb3 dr_mode to peripheral, and set vbus as always on
Change-Id: I886563fd611439110544104ecef42cfb0c386b4c
Signed-off-by: Lin Huang <hl@rock-chips.com>
The current output code only supports connection to drm panels.
Add code to support drm bridge, to support connections to
external connectors.
Change-Id: I6ea64b652d1f513fa9ccf25a66568c8932a60464
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Since devfreq_add_device() and update_devfreq() already takes care of this.
Change-Id: Ie90c1d28f681cfbc946362e303a61bdf3578ccd6
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
fix rk3368 xikp machine camera PIC_SIZE_ERR in first start state
Change-Id: I1466ca8d8ba7543e2c1c84d4180a3a165e95e8a9
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
rk1608 can run at max spi speed with rk3326. This patch
set spi to 50MHz with external clock 100MHz and rsd = 1.
Change-Id: Iff92f045668069272d7d56d4439783ee72db1cf2
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
rk1608 spi can not run at high speed (>40M) at boot time. It needs
initialization before switching to spi max speed.
Change-Id: I27e17d32271012fd48c7feeb8e4939082439b978
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Current rockchip-drm does not go to unlock and free
logo memory when fbdev is initialized.
That will cause the display application with linuxfb
platform unable to get the display buffer when boot.
So fix this.
Change-Id: I6b4652d642656c640e5b536b199e623f4f1bc3ef
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Since touch screen and panel both use LCD_PWR_EN to enable
power, create lcd_pwr regulator so touch screen and panel
both can quote it.
Change-Id: I5400637c3ae9e684c58effcd5eae1fdc1672780a
Signed-off-by: Lin Huang <hl@rock-chips.com>
On rk3288, vpu clock should be raised when 4k h.264 decoding,
but on previous judgement branch code, judgement do
not distinguish vpu or hevc would make incorrect clock
raise when hevc running.
Change-Id: Idb8e5a9dde1e8eb063658c9610ac839c8c69b6ce
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
fix rk3288 camera PIC_SIZE_ERR in first start state
Change-Id: I52f9d348dd521b1d34b78adca740205ce52704bf
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Dfs, flash, reboot test will be failed if peri ms
and sram auto CS are enabled. So disable them first
and we will continue to analyze the reasons.
Change-Id: Ife20f25fb28acf0042a23b1edfc73705edc668db
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
The userspace would use the client type ioctl to make
a session work in secure mode, reuse the undefine
bits of the argument.
This patch would remove the secure mode setting from
the client type argument which was a mistake in a
previous commit, but without the secure mode applied,
nobody would know.
Change-Id: Ifaa976a0c9ab0c981b1f94f4978cd13a61adb0a7
Signed-off-by: Randy Li <randy.li@rock-chips.com>
the driver has a bug in calc of page num when virtual
address may not 4k align
Change-Id: I65e8d3017a0365409a69e2edce12f2d302bca298
Signed-off-by: Shixiang Zheng <shixiang.zheng@rock-chips.com>
The spi5 request number is at DMAC0, others are at DMAC1.
Change-Id: I16ce63617d841f867eb7c831a05145b808f2a1d3
Signed-off-by: David Wu <david.wu@rock-chips.com>