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>
1.Add hash check
2.Add anti-shake mechanism to avoid damaging the bad block tables
3.Add anti-shake mechanism to optimize the reliability of bad block table
Change-Id: I468b1463677b8538c79b4ef1523ef96125f4d711
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
1.Add hash check
2.Add anti-shake mechanism to avoid damaging the bad block tables
3.Add anti-shake mechanism to optimize the reliability of bad block table
Change-Id: I888ceba54e5bbc55283850316e27560c484a9cf5
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
bytes_requested should use the full buffer size which
include ICG(inter-chuck-gap) size.
Fixes: 0eba9f8ec0 ("dmaengine: pl330: Add support for interleaved transfer")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ib0bb5a55abaea306071d96e76d219de942b151b4