Fixes: 13639746fa ("phy: rockchip: naneng-combphy: Fix swing to 650mv under 100M refclk for rk3562")
Change-Id: If9bf594ec4183d4be62dd1f9edb24ecd30915f78
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
register PDM_SYSCONFIG is marked as volatile, and for regcache
sync policy, it will skip the registers which marked as volatile.
so, we should do it after regcache sync.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ic65bc28d14fefc6e6c70e1b2c26468aa0fcd142e
from commit: 5b7261b mtd: spinand: winbond: Add support for Winbond W35N01JW SPI NAND flash
Change-Id: Iabca09af99d7b94150c847653faf0275228b7144
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
On the QUIRKS_ALWAYS_ON path, we bring up the clk path on probe
to achieve the clk always on function.
for this situation, the refcount always true, so, we should save
the stream dma state on pause and then do restore on resume.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I8e45b78a475a468880ef2fb0b358dbdd1169ff08
CLK_ALWAYS_ON should be placed after all registers write done,
because this situation will enable XFER bit which will make
some registers(depend on XFER) write failed.
Fixes: 3644caf8de ("ASoC: rockchip: i2s-tdm: Add support for clk always-on")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Iffcfed18d3805ee575df4e8cf267d4ef6a3fa866
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>