Android healthd try to listen power_supply subsystem uevent,
but which will block system from suspend on big.LITTLE system
because thermal_cooling_device_unregister will called when
cpufreq_exit. So ignore this uevent when suspend.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I2ce98efce1bcaa06cfc87f305b6730f67eb1eb3c
For nvr product,the USB OTG controller works device mode by default.
for box,the USB OTG controller works otg mode by default.
Signed-off-by: Mark Huang <huangjc@rock-chips.com>
Change-Id: I23942704a0617739b37fe93a319322b03d653bac
When dp show uboot logo, It need skip the init process of dp
controller and set the phy status as power on.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I7dc3a00c1e71f92648cbb49ca527eb2a9f9026ac
When DP show the uboot logo, the usbdp phy will work in uboot.
In this case, the display on DP will be broken if we initialize
the usbdp phy again when system enter kernel.
Reading the lane mux and enable register when probe the usbdp
phy driver. If DP used the usbdp phy in uboot, It should skip
the initialization.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I55dcf8bd9c0b8be94326dd17c53ad47237cd1975
rv1126 does not support display interface which need to
read and parse edid, such as hdmi and dp, so add config
option to reduce memory usage.
./ksize.sh drivers/gpu/drm/
before ksize: 380303 Bytes
after kszie: 325509 Bytes
save about: 54794 Bytes
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I0c3813711cfdb4a38ec66136569ca826c94c6c58
Modify the VOD of sensor output MIPI signal to 450mV and
Rise/Fall time to 60ps.
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: Ib80904770ff0561fd10a40d1ba7a467d7aa7a31d
The DWC3 controller may have different RAM configurations.
For 2-RAM configuration and 3-RAM configuration, the RAM1
depth is used for the TxFIFOs. And for 1-RAM configuration
(e.g. RV1109/RV1106), RAM0 depth contains the descriptor
cache depth, RxFIFOs depth, and TxFIFOs depth.
This patch checks the number of RAM configuration from
the hwparams1 and get the TxFIFOs depth correctly.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Iff0c4d0540d920ca9277496e27d2b9f90e956341
One mpp_session session can be target of multi-thread ioctl process.
So we need to make struct mpp_task_msgs be independently operated.
Fixes: baccd98fb9 ("video: rockchip: mpp: Add message batch process")
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ic7b8b6ac75f1508772707399cb7711cfb05a9e6d
RV1103G - QFN88
RV1106G - QFN128
RV1106 - BGA
Currently, the HW PCB is renamed with suffix 'G'
for QFN package. So, we do the same change.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Id71e271f04f34f7cfb66ee338154f37236835763
Add this config option to reduce memory usage about 4388 bytes,
if it was not necessary.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: Ia0cac913d226f97ea75b67d9c071ad1323a54535
Add this config option to reduce memory usage, if it was not necessary.
./ksize.sh drivers/net/ethernet/stmicro/
before size: 70125 Bytes
after size: 65984 Bytes
save size: 4141 Bytes
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I82c404a41a7abde6adf38557d8b2096b17b4b6e5
Because of the difference in pointer size between 32/64 bit systems.
Update driver version to 1.2.4
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: If557cdeb69f1f811eed6cf44419cbb73679dada0
Add this config option to reduce memory usage, if it was not necessary.
./ksize.sh drivers/net/ethernet/stmicro/
before size: 109539 Bytes
after size: 70125 Bytes
save size: 39414 Bytes
Change-Id: I5f6b4573d7358c3b6f046e960c7ddf7d53541b14
Signed-off-by: David Wu <david.wu@rock-chips.com>
Add this config option to reduce memory usage, if it was not necessary.
./ksize.sh drivers/net/ethernet/stmicro/
before size: 121861 Bytes
after size: 109539 Bytes
save size: 12322 Bytes
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I828130d961846a955b998d63afffbabcc9dd5925
This patch adds phy configuration for rv1106 usb2 phy
which has only one otg port.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Ida93914f3eae3d692265bcf9751d9150619098af
xz_wrap.sh use $SRCARCH to detect the BCJ filter. However, assigning
arm BCJ filter to Thumb-2 kernel is not optimal. In my case, about 5%
decrease of image size is observed with armthumb BCJ filter:
Test results:
hardware: QEMU emulator version 3.1.0
config: vexpress_defconfig with THUMB2_KERNEL & KERNEL_XZ on
arm BCJ: 4029808
armthumb BCJ: 3827280
Choose armthumb BCJ filter for Thumb-2 kernel to make smaller images.
Signed-off-by: Jubin Zhong <zhongjubin@huawei.com>
Link: https://lore.kernel.org/lkml/1637323647-19988-1-git-send-email-zhongjubin@huawei.com/
Change-Id: I23c6e0fd2e54fdc84e78f122d6f4f06e54026696
Signed-off-by: Tao Huang <huangtao@rock-chips.com>