this patch add HDR_X2 mode support and
update gain settings from vendor
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: Ibddb6ac2cf0d2529bae2242e9076f6a6dd6ebe33
Keep 0dB for adc/dac volume, and using hardware loopback
which is dac_l+adc_r.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: Ie226791c5bd62324552237d98cc10b6bf31ac5b5
This patch add adc-volume/dac-volume/aec-mode and be easy to
configure some simple functions without alsa-utils.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: Ic58188a0ef72fe5236b523445dc530e649a0e248
This patch fix this error:
[ 0.755533] es8311 4-0018: ASoC: no dapm match for DMIC MUX --> FROM ADC OUT --> SDP OUT MUX
[ 0.755613] es8311 4-0018: ASoC: Failed to add route DMIC MUX -> FROM ADC OUT -> SDP OUT MUX
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I6032e9f81a79ac04ceaba590658cdfd9e539b84a
This patch adds support for rockchip codec digital interface,
which is used to communicate with external codec analog part
with pdm link.
Change-Id: I9ea7020d904b63f7a34696b0f538accd8c700076
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
It's mainly composed of digital ADC and digital DAC. The digital ADC
converts PDM data into PCM data and then sends them out through I2S.
The digital DAC receives PCM data from I2S and then converts them into
PDM data.
Change-Id: I46533228b67c127e6fa70d45d4152763fa7290e0
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
The UBIFS file system does not need misc partition,
So modify the mtd of rootfs to 2.
Change-Id: I7f74cace5963dc0b5aafc6da6ab16a1a520b0257
Signed-off-by: Mark Huang <huangjc@rock-chips.com>
Make the hclk_mmc is available before accessing the registers.
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I2ab1556eb2376c77d8e05a66eb64cb367c7919d3
For linear calculation, code needs to be converted to Int,
otherwise the calculated value may overflow at ultra-low temperature.
Change-Id: I64c45b1f5ebc86da853180ca7bb3cb83234f2a64
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Split the hpd gpio handling from the host irq handler.
Change-Id: I0d62201095ab82f5ed0ddcfd53abaef6089a2e9d
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
1.config first buf early otherwise maybe dma error.
2.vb2_is_streaming instead of vb2_is_busy to change
format if stream fd no close but no streaming.
Change-Id: I1cb67dbc975af5ef6974c1b099524d9e2ca7a494
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
Add support to change cpu, npu and vepu frequencies according to
temperature.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ib879164cf719858be7a2f7e1a67bd17d0a6657cc
Add more test case for Vmin test, such as mobilenet_v1, ssd mobilenet v2,
style transfer.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ibe5cdf6c27a28b1153e9d42e16f848b3699fc121
There is no need to set clk for slave mode.
Change-Id: I3004cea42cd1ce2a093502c13ca77e984964efc8
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Clear the HWO of TRB belongs to the current req which will
be moved to the pending list, rather than clear the HWO
of previous TRB in the ring.
Fixes: 05c86e9eef ("usb: dwc3: gadget: fix bug of clac_trbs_left at isoc in transfer")
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: If11c296db902631587cf36731242d12ddb5c4c28
This reverts commit fae0c499d0.
VCCIO1 is controlled by pin GPIO0B3/FLASH_VOL_SEL:
* pullup for 1.8v
* float for 3.3v
so, we should not reconfigure it by software.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I0bc119cbb0355e9d8fd7ba3457bf436eba3d6e7a