According to commit 17395ce299 ("iio: make use of devm_iio_kfifo_buffer_setup() helper")
and commit f67c6c73cb ("iio: core: Simplify the registration of kfifo buffers").
Change-Id: I841701d8518ed1b07838a57614477afc9dd5ab04
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
According to commit 17395ce299 ("iio: make use of devm_iio_kfifo_buffer_setup() helper")
and commit f67c6c73cb ("iio: core: Simplify the registration of kfifo buffers").
Also fixes the following warning:
drivers/iio/imu/st_lsm6dsr/st_lsm6dsr_buffer.c:992:19: error: implicit declaration of function 'of_property_read_bool' [-Werror=implicit-function-declaration]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ia8229b4fe1d22c6455ea8b1eeb410a925f71e785
move cubic lut support from drm croe to rockchip drm driver and remove
depend on NO_GKI.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I8fb6ba4fc927bf9f7e1b38c180986b1e25393347
Use the RGA_MEM_FORCE_FLUSH_CACHE flag to force the flush cache for
the current buffer, not by judging the memory type.
Update driver version to 1.2.27
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ife6d26faf59c1e33a2cddc389ded7c93b63a22a5
In android 9,10,11,12,13, we have already support 16k wbs in
hardware level code. So, enable 16k support in kernel dts default.
Info:
In future, to support BTSCO 16k, it only need to change the
default setting of bluedroid's "DISABLE_WBS" setting.
Signed-off-by: Zou Dengming <marsow.zou@rock-chips.com>
Change-Id: Ide2435eb0fb9e8e0ffb705d8ba4b43af95dd37ff
In android 9,10,11,12,13, we have already support 16k wbs in
hardware level code. So, enable 16k support in kernel dts default.
Info:
In future, to support BTSCO 16k, it only need to change the
default setting of bluedroid's "DISABLE_WBS" setting.
Change-Id: I382bfdb47a6e13c54c53e8e666aecbad6e135f41
Signed-off-by: Zou Dengming <marsow.zou@rock-chips.com>
In android 9,10,11,12,13, we have already support 16k wbs in
hardware level code. So, enable 16k support in kernel dts default.
Info:
In future, to support BTSCO 16k, it only need to change the
default setting of bluedroid's "DISABLE_WBS" setting.
Change-Id: I31db010004b09723840c9674a093eaaa78822658
Signed-off-by: Zou Dengming <marsow.zou@rock-chips.com>
fix the following case:
[ 2.143145] pci 0000:00:00.0: BAR 0: no space for [mem size 0x40000000]
[ 2.143155] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x40000000]
[ 2.143161] pci 0000:00:00.0: BAR 1: no space for [mem size 0x40000000]
[ 2.143168] pci 0000:00:00.0: BAR 1: failed to assign [mem size 0x40000000]
Change-Id: I5eca2adb49d83c775036df7e961dab5c9fbfffbb
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
ERROR: modpost: module rknpu uses symbol dma_buf_attach from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rknpu uses symbol dma_buf_map_attachment from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rknpu uses symbol dma_buf_unmap_attachment from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rknpu uses symbol dma_buf_get from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rknpu uses symbol dma_buf_put from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rknpu uses symbol dma_buf_fd from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rknpu uses symbol dma_buf_detach from namespace DMA_BUF, but does not import it.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I959a6f67e8c623e81df32d0d7c7f51a5f7d6907e
Phison E15 NVMe controller is known to be broken when doing a high loading
test. Limit io queue depth to 32 is suggested by vendor.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: Ie2a89197311a6a7b59281ff12caf545ae0ab37bf
Some projects config 4KB erase sizes for SPI NOR, which are
incompatible with 64KB in u-boot, and may cause functional
abnormalities or data loss.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I90a026a4cd8cc2550f1cdb84db4602c2e239e51c
Delaying the link training after hot reset, so that it's possible
to read/write some register status through the DBI.
The controller support delaying the Link Training by setting
app_dly2_en/done register.
Change-Id: Ic6d1b28ca42e3d355610db33f4e5086cf26d705c
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
1.check format when get timing.
2.if read wrong format, try multiple times.
3.disable interrupts once triggered, avoid multiple triggers.
Change-Id: I2ac21723071dd89e74b0a854a3501ab8ea978aa1
Signed-off-by: Wangqiang Guo <kay.guo@rock-chips.com>
Console thread may run all the time after console_thread_stop is 1,
and tty_fifo is not empty.
Fixes: 33f4a54037 ("fiq_debugger: tty write to tty fifo")
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Change-Id: Ie5c94d61e4553b7ea78af440db6363f07fa827c3
fix the following case:
[ 2.143145] pci 0000:00:00.0: BAR 0: no space for [mem size 0x40000000]
[ 2.143155] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x40000000]
[ 2.143161] pci 0000:00:00.0: BAR 1: no space for [mem size 0x40000000]
[ 2.143168] pci 0000:00:00.0: BAR 1: failed to assign [mem size 0x40000000]
Change-Id: I5eca2adb49d83c775036df7e961dab5c9fbfffbb
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Delaying the link training after hot reset, so that it's possible
to read/write some register status through the DBI.
The controller support delaying the Link Training by setting
app_dly2_en/done register.
Change-Id: Ieb34676ecd13d8b4c47b5adc34350294ddc60ace
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
In file included from drivers/soc/rockchip/rockchip_performance.c:9:
./include/uapi/../../kernel/sched/sched.h:3226:2: error: implicit declaration of function 'account_group_exec_runtime' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
account_group_exec_runtime(curr, delta_exec);
^
drivers/soc/rockchip/rockchip_performance.c:19:2: error: use of undeclared identifier 'sysctl_sched_uclamp_util_min_rt_default'
sysctl_sched_uclamp_util_min_rt_default = util;
^
2 errors generated.
Change-Id: Ia8a25a77429e60935c2a832f741f6ca2512bb51d
Signed-off-by: Liang Chen <cl@rock-chips.com>