When different processes import buffers, the same virtual address may
exist, so current needs to be used for judgment.
Change-Id: If522075de57d4e4fb02dbf5dfcaca4f23fb22de9
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
when dsi controller work in cmd mode, it will tell vop work in
hold mode and must config te signal for vop.
when rk3588 dsi interface connect to rkx111 and work in cmd mode,
rkx111 will not provided a te signal, so it need disable hold
mode and transfer this config to vop.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I2044ee882bee4be896dc65b9fcf6d502d56661df
The serdes version 1 have a bug when enable video suspend function,
which is target to enhance the i2c frequency when transfer video
stream. In order to enhance i2c frequency as far as possible, a
workaround ways is provided to do this thing, which is to reduce
the video packet length. the formula as follow:
length = ((hactive x 24 / 32 / 16) + 15) / 16 * 16
It should be noted that reducing video packet length will consume more
link bandwidth.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I23b679ec12ff3e2801bfb13cc1836094b6fd4ff9
This patch add support for keeping PDM-CLK always on.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ibe5f660b52de6dba493a0046f89e4b2af1b379bb
This patch add support for HPF control that allow user
to change HPF cut off freq or on/off HPF.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I33c4ebe8499eabd0770f5454129391d3aea2e28d
The I2S part of RK817 work as slave mode require BCLK on
first, otherwise, there will make the L/R invert.
On the stage hw_params, the BCLK maybe off. so, let's move
it into mute stage to fix this.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I3b9a7030342281a596e16c025f42c49a79c3a5df
Audio Products with AEC require loopback for echo cancellation.
the hardware LP is not always available on some products, maybe
the HW limitation(such as internal acodec) or HW Cost-down.
This patch add support software DLP for such products.
Ref: commit 9975bc50f3 ("ASoC: rockchip: Add support for Digital Loopback")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ief55346feb52e264fbc22434c6a3c046b455dfe3
Audio Products with AEC require loopback for echo cancellation.
the hardware LP is not always available on some products, maybe
the HW limitation(such as internal acodec) or HW Cost-down.
This patch add support software DLP for such products.
Ref: commit 9975bc50f3 ("ASoC: rockchip: Add support for Digital Loopback")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Iab070c94c33c3fd47646d07ab38cd9c997a302cf
Should compare to mclk_req rate, and also increase delta
from 1 Hz to 5 Hz.
Fixes: bca24656b6 ("ASoC: rockchip: sai: Allow mclk shift around 1 Hz")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I7906c21e670c1dd7f105c025e110af61cbd56299
This patch add support DMA-based digital loopback for SAI.
Ref: commit 9975bc50f3 ("ASoC: rockchip: Add support for Digital Loopback")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I2af1b849b65453f015ed5cc943b2f26622a5efa4
This patch add support DMA-based digital loopback for I2S.
Ref: commit 9975bc50f3 ("ASoC: rockchip: Add support for Digital Loopback")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I8a0ea59b216e18ed8c9758f529ef600a333913d7
This patch add support DMA-based digital loopback for
Multi-DAIs.
Ref: commit 9975bc50f3 ("ASoC: rockchip: Add support for Digital Loopback")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I2861632eb28b4c5f596cfa5af855676c6140d1e1
This patch splits driver into core and pcm part to
simplify the DLP development and debugging for varies
cases. such as SINGLE-DAI, MULTI-DAIS.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ibbf39b5ae67661a8d9663399d760cbee3220dbc2
winusb mode is used to capture minidump in uboot through usb
when kernel panic.
Change-Id: I493d32746fd4030f8e7a1466d8a9b2f8bf3a3ccc
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
The rk3588 has two ohci controllers, and the ohci_resume()
takes a long time when system resume. Considering that the
delay time in the ohci_resume() is related to controller
hardware, we should not modify the delay time.
This patch enable async suspend for rk3588 ohci controllers,
then they can do asynchronous resume. Note that it generally
is unsafe to permit the asynchronous suspend/resume for ohci
because we can't certain that the PM dependencies of the ohci.
However, for rk3588, we have add device_link between the ohci
and ehci with the commit 68850661b5 ("usb: host: ehci-platform:
Add device_link between the ehci and companion"), so we can
safely enable async suspend/resume for rk3588 ohci.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Ia74fc59c2c75a4bdc34d0de0a7bd047c178e9971
In order to add a rk3568-evb1-ddr4-v10-dual-lvds-linux.dts to support
linux dts, slightly more relevant file for better readability.
Change-Id: I5b5396aa6bf084b8eacfcff088c3478a00b83aaf
Signed-off-by: Caesar Wang <wxt@rock-chips.com>