1. fix disconnection during suspend/resume
2. fix unable to wake during suspend
Change-Id: I3e1d535e7cee536a253446dc482d85f54a612323
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
Fix node unit name coding style, such as unit name vs reg, or
unit name vs format.
Change-Id: I8a3e28cc1949acc23622a4a1a20e4ab1479bf512
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Add the vpu_combo and two sub devices, vpu and hevc,
both of which with iommu attached.
Change-Id: I32b931dc3d967e6569a53e8119434bca2c16f381
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
This patches fixes the vop bandwidth control on rk3399 excavator
sapphire board.
Fixes: 739d1ab1c9
("arm64: dts: rockchip: enable the dmc for rk3399 sapphire excavator")
Change-Id: Icad42cfc4e883668dc3987f1a5561a781d0591b8
Reported-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Modify the rk3399pro-evb power supply according to the latest
rk3399pro evb hardware designe.
Change-Id: I198a03460038639ed753202aad41377835cc30e4
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Move rkisp1 and gc0312/gc2145, cif and cif_sensor
node config to dts level not in dtsi.
For rkisp1 and gc0312/gc2145 don't need by rk3326-863-lp3-v10.dts,
otherwise it causes 8.0 863 machine camera register failed;
And cif with cif_sensor don't need by rk3326-863-lp3-v10-avb.dts,
otherwise it causes 9.0 863 machine camera register failed;
So need to modify rk3326-863-lp3-v10-avb.dts and
rk3326-863-lp3-v10.dts separately for camera node configs
Change-Id: Ieac54c39cec1f2eae70e0d41829cc0ea1b6a3eb2
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
when vop enter suspend state all the register will be restore to init
value, so when resume we need to config the BCSH register, and the
vop->mode_update parameter can indicate this condition.
Change-Id: Ifd5e7eb406e0ac56c11f74391290348600211e89
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This patch will fix the warning:
Warning (unit_address_vs_reg): Node /usb@fd000000 has a unit name,
but no reg property
Change-Id: I64d306172e76b8b03772e1e40d173ba991080400
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
If a function sets bind_deactivated flag, upon removal we will be left
with an unbalanced deactivation. Let's make sure that we conditionally
call usb_function_activate() from usb_remove_function() and make sure
usb_remove_function() is called from remove_config().
Change-Id: I4d7a70560961da90561a7999ac4e58a294c1a0cf
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: William Wu <william.wu@rock-chips.com>
(cherry picked from commit 0e3e97526a)
[ 0.543299] rockchip-vop ff460000.vop: invalid resource
[ 0.543346] rockchip-vop ff460000.vop: failed to get vop cabc lut registers
[ 0.543686] rockchip-vop ff460000.vop: unable to request PWM
[ 0.543717] [drm] no mcu-timing node found in /vop@ff460000
[ 0.543762] rockchip-drm display-subsystem: bound ff460000.vop (ops vop_component_ops)
This makes all of these messages dev_dbg. They are still useful to debug,
but we do not need them filling up the kernel logs in normal operation.
Change-Id: I134585323b477c23a8085042602f5df592e619cb
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This patch enables usb dwc3 gadget, configfs,
functionfs and usb 2.0 phy.
Change-Id: I194c7464286083426740aa82a907cc4aa0cb57b3
Signed-off-by: William Wu <william.wu@rock-chips.com>
This patch fix the following build error if CONFIG_USB
is disabled and only support dwc3 gadget mode:
dwc3-rockchip.c:894: undefined reference to `usb_add_hcd'
dwc3-rockchip.c:622: undefined reference to `usb_remove_hcd'
......
dwc3-rockchip-inno.c:268: undefined reference to `usb_remove_hcd'
dwc3-rockchip-inno.c:286: undefined reference to `usb_add_hcd'
Change-Id: Iaa51ccc642abf5741fcd0d918967954c840240d5
Signed-off-by: William Wu <william.wu@rock-chips.com>
vts-testcase/kernel/api/proc/KernelProcFileApiTest
had added tests for the core_pattern.
https://android.googlesource.com/kernel/configs
5ed73dc4d482 ("add missing configs")
CONFIG_COREDUMP and CONFIG_ELF_CORE are recommended for diagnostic
purposes.
came from android-recommended.config
Change-Id: I8400ffff1b5e025b4967a39536082fbcc4ec0859
Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
vts-testcase/kernel/api/proc/KernelProcFileApiTest
had added tests for the core_pattern.
https://android.googlesource.com/kernel/configs
5ed73dc4d482 ("add missing configs")
CONFIG_COREDUMP and CONFIG_ELF_CORE are recommended for diagnostic
purposes.
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
came from android-recommended.config
Change-Id: Ib16fcc6c126e8415976fea2d7e193565866bcf2d
Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Add dts file for rk1808-fpga, enable fiq-debugger and
set the baudrate to be 1500000Hz.
Support emmc and sdmmc for now.
Add clk_ignore_unused.
Change-Id: Ie2c3debd6f6f162a261061e5bcf6db5ab59b4c31
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This patch fixes that ethernet is abnormal without connecting the camera,
since the gpio3_a4 is reused by the gmac.
Change-Id: I39cd40f62d706491dac57eda2c43408c4a88e7a0
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
For support some application only can support framebuffer display
framework and need to read display buffer from /dev/graphics/fb0.
besides, you need to add the following patch to get kvddr:
rockchip_gem_create_with_handle()@file:
drivers/gpu/drm/rockchip/rockchip_drm_gem.c
-rk_obj = rockchip_gem_create_object(drm, size, false, flags);
+rk_obj = rockchip_gem_create_object(drm, size, true, flags);
Change-Id: Iec83dba8295268ba418e802a1cf5eeccd3880ab5
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
memory base addresses are burst aligned with respect
to the configured burst length. configure different
burst length with different resolution.
Change-Id: I611768ab699a7204a26899bb10c0cdcd6beeb820
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
if enumerate all the sensor fmt, don't find matching format
then should be forced to using the last one.
Change-Id: I15949ed66f583019a522ee56844e57813c6f6e49
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
Solve the problem of small recording amplitude in the first recording.
Change-Id: I268f56b1a2c5a16da958952fe06ce11ada1cf932
Signed-off-by: Binyuan Lan <lby@rock-chips.com>