Currently only supports single channel, and the network card
name needs to be eth0 and eth1.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I19975b10e2ed12931edc2e8bd50c003416a1109c
hard-ccu mode:
1. ccu hardware assign the tasks to each core.
2. if one core error, wait dule core idle, and reset dual core
and ccu.
3. re-run tasks which have not finish.
Change-Id: I3476c0de21de89019ce924122a85ab4352faafd0
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
if not control it together, may cause vicap do cru reset fail
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ie8cc81688ab3c0d1d91b8aa27992b028f8aee80c
some sensor driver not support get vblank, may cause error state
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I04b869026d262283e055c82b1e9d53233bab3b67
In addition, add some more modifications, according to
commit ccf3f0670c ("MALI: bifrost: from ARM: Remove references to PageMovable()").
Note, the corresponding mali_csffw.bin for DDK g15 MUST be used.
Change-Id: Ie233cd29d8d169202d5b80b00a97ccb90e6bd3f2
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
We haven't used the rk3036 codec driver on upstream for
a long time, it seems like it needs some changes to work
well with our EVB.
- Clean up the process of DAC working/closing
- Since there is no mixer on the path, remove the mixer
widgets to make simple the driver path
- Only keep one control node "Headphone Switch" to simplify
user operation
- Add the control gpio of power amplifier
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: Ia4b41b0148fe9680f58abe4113d1276f260ef1b5
Move up getting pd_revision in case it would be skipped while
power-role is configured as source.
Fixes: 765b15bf79 ("usb: typec: tcpm: amend pd negotiated revision")
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I63d06d622cc00db6bacb301f6e61aba0a36cd854
This patch do reparent CLK_TX/RX to the same parent on TRCM mode
in driver instead of assign parent from DT.
Now, the assigned-parent from DT can be removed.
-assigned-clocks = <&cru SCLK_I2S0_8CH_RX>;
-assigned-clock-parents = <&cru SCLK_I2S0_8CH_TX_MUX>;
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I0abda09a1348d05306e4026f61f7daa2850ae323
This patch use rockchip-hdmi machine driver instead of
simple-card to support jack detection.
And also replace card name ',' to '-' to support pluseaudio.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I0e085225e89847671e958d0985d678240fdd6295
Workaround for HDMIIN and HDMIOUT plug-{in,out} when streaming.
Actually, we should do stop stream both for HDMI_{OUT,IN} on
plug-{out,in} event. but for better experience and depop stream,
we optimize as follows:
a) Do stop stream for HDMIIN on plug-out when streaming.
because HDMIIN work as SLAVE mode, CLK lost after HDMI cable
plugged out which will make stream stuck until ALSA timeout(10s).
so, for better experience, we should stop stream at the moment.
b) Do stop stream for HDMIOUT on plug-in when streaming.
because HDMIOUT work as MASTER mode, there is no clk-issue like
HDMIIN, but, on HDR situation, HDMI will be reconfigured which
make HDMI audio configure lost, especially for NLPCM/HBR bitstream
which require IEC937 packet alignment, so, for this situation,
we stop stream to notify user to re-open and configure sound card
and then go on streaming.
Userspace should notice Error-Code(such as -EBADFD) from snd_pcm_write
to do reopen.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I85455e56f843afcdc9a5f1d5c9e85733b6732cdf