This patch add EXTCON_USB, EXTCON_USB_HOST and EXTCON_USB_VBUS_EN
to rockchip_usb_phy_extcon_cable. Without these extcons, the probe
of battery charger(such as rk818_charger) will fail when registering
extcon notifier.
Signed-off-by: Ren Jianing <jianing.ren@rock-chips.com>
Change-Id: I17774f63bc84fc1f5afa11d2ecc9d0eb2469acbc
This driver is used by rk3326_linux_defconfig or px30_linux_defconfig
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I58137f3dbe58b2442674331f3ec554c825ff625a
Enable building rockchip-cpuinfo driver as a module.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I1484794a0a844e45a4c20cf4ea0f0ed6f16873a1
The UBIFS file system does not need misc partition,
So modify the mtd of rootfs to 2.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: Ic44411fd5251871f768d7192e792190769a92633
use rockchip_drm_add_modes_noedid to get recommend modes when get
edid failed.
Change-Id: Iee9f0dc82c284654c363eaa2bb155654e51e0ba7
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
use rockchip_drm_add_modes_noedid to get recommend modes when get
edid failed.
Change-Id: Iec6ae9a56ce4b663a009667cd2e32c421c962ed3
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
rockchip_drm_add_modes_noedid() used to get the following
recommend modes at rockchip platform when get edid failed:
the recommend modes is: 480p60, 576p50, 720p50, 720p60,
1080p50, 1080p60 and 720p60 is the preferred mode.
Change-Id: I9c82b3949506a616e8c98bfa2d77532bdb870390
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Optimize the stripe problem under strong light
Signed-off-by: Frank Liu <frank.liu@rock-chips.com>
Change-Id: Ia74dd4644518aaa7e12537771234f97de73bad80
For compatibility with GKI, drm_display_mode_from_vic_index() can't
be export function. So we use use default mode list when edid can't
be got.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ic7d046e4ccf36981449d36067efd8bb2388e27e4
add the support of v13 for evb tb and robot product forms.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I45cc935579997210805b4c5d41415dd06b468b4f
Now the code has realized compatible with rv1109 and rv1126.
It is no longer need these duplicate dts of rv1109.
At the same time, the configuration of LP3 and DDR3 is the same.
Remove them together for reduces maintenance work.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: Ie732509aa821d37376a725fc12c358915c7d6869
uboot will parse and print model name, add version information
for debug.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I380548037a56321f78d1c24e1877f06a098330e0
This reverts commit 6b6e9cabe9.
We can get the current mode from cat /d/dri/0/summary for debug.
Change-Id: I13396986a8c996678fb831731063f4d02776b297
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
It is not need to separate storages with emmc, spi-nor and so on in
defconfig. Separate them in dts.
Update by:
make ARCH=arm rv1126_defconfig
cp .config rv1126.config
make ARCH=arm rv1126_defconfig rv1126-tb.config
make ARCH=arm menuconfig
scripts/diffconfig -m rv1126.config .config > arch/arm/configs/rv1126-tb.config
Usage:
make ARCH=arm rv1126_defconfig rv1126-tb.config
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I328091889c45ca1d09d2b2ce894b5a1d317d806d
Solve the problem that LRCK level amplitude is not enough
Change-Id: I5fbcd2a10b4c725ea24b73c9c4469027809da003
Signed-off-by: Binyuan Lan <lby@rock-chips.com>
v13 board solve the problem of insufficient amplitude
of usb in low-speed handshake phase by usb_dm pull up
and it control by gpio0_c1.
gpio0_c1 and pwm3 are one pin, so pwm3 used for
backlight is now provided by pwm0.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: Ia4169f12217c382e5389060746be763b6e7ff4c3
This driver aimed at starting decompression as soon as
possible.
Change-Id: Iadf07e54047430153bc66fb1f92f85beaecf2c0d
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
1. register 0x3260 should be set 0x00 in hdr mode, set 0x01 in normal mode
2. rhs1 should be 4n+1 when set hdr ae
Signed-off-by: Yiqing Zeng <zack.zeng@rock-chips.com>
Change-Id: I8e662f35e544dc75bf9506f1254bc1a4da358b58
sensor driver use reset instead of rst, so sync this.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I4d5a1bbf7db9da53a5ca6c5740ef1e1dbb8f796d
rv1126 bat ipc v10 is a demo board with battery.
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I99cadefb1c649c98c3f9b3abfd816c3c28d59686