Take av1d-iommu as example:
make av1d-iommu as rockchip-iommu sub-driver, all av1d-iommu ops
transform from rockchip-iommu ops.
av1d-iommu should implement struct third_iommu_ops_wrap for transform
Change-Id: I98f059aa890adaecbc5c35763db2efba88b09055
Signed-off-by: Simon Xue <xxm@rock-chips.com>
* commit '5dfd3c6a1be9482099ea2a70479e3e50ae92b698':
rfkill: bt: fix unbalanced wake_host_io
drm/rockchip: rgb: add support for rgb666_3x6 and rgb565_2x8 modes
drm/rockchip: vop: add support for rgb666_3x6 and rgb565_2x8 modes
media: uapi: add MEDIA_BUS_FMT_RGB666_3X6 media bus format
driver: rknpu: Compatible with kernel 6.1 compilation, version: 0.8.9
misc: Add rk628 misc drivers
drm/rockchip: vop3: update acm info when it change
Change-Id: I8ab22d964e62f265715d33a73d76d1144faeddd5
The ASoC core has now been changed to default to the non-legacy DAI
naming, as such drivers using the new scheme no longer need to specify
the non_legacy_dai_naming flag.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I4395bb04b0a959d1372c0a10359b83c75d96efb2
sound/soc/rockchip/rockchip_dlp.c:434:16: error: 'struct snd_soc_pcm_runtime' has no member named 'num_cpus'
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Iaa54add4e0779ba4ddd4f3225799250cde089f1c
Customers may use rk628 drivers on different platforms.
Hence we need drivers that do not rely on the FB/DRM
display framework.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Iaab679e4a72d0fb0e5a76bee89b8e1bdac60f4a7
When update acm info, it need disable acm function in the first frame,
then update the acm info and enable acm function in the second frame.
If the acm info is not changed between 2 frames, it don't need update.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: Iaedead2fad5951844ca07b037c3588071499e50a
drivers/input/sensors/accel/mc3230.c:126:8: error: unknown type name 'mm_segment_t'
drivers/input/sensors/accel/mc3230.c:222:17: error: implicit declaration of function 'get_fs'; did you mean 'sget_fc'? [-Werror=implicit-function-declaration]
drivers/input/sensors/accel/mc3230.c:223:9: error: implicit declaration of function 'set_fs'; did you mean 'sget_fc'? [-Werror=implicit-function-declaration]
drivers/input/sensors/accel/mc3230.c:223:16: error: 'KERNEL_DS' undeclared (first use in this function); did you mean 'KERNFS_NS'?
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Iea2ba6178309fd4654030325ef0d8810e9fa4972
drivers/input/sensors/accel/da223_cust.c:286:142: error: 'printk' undeclared here (not in a function); did you mean '_printk'?
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I180c5fa59c92eaf956c3819aefe70ae115e4ee4c
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").
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I3b979d16941d5fc326b319c66b56911ca3de4422
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>