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
On embedded systems with little memory and no relevant
security concerns, it is beneficial to reduce the size
of the table.
Reducing the size from 2^16 to 2^8 saves 255 KiB
of kernel RAM.
Fixes: 7e8eaa939e ("tcp: configurable source port perturb table size")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I5da1509bbc7b539c367b696bccc67722863cafbe
Fixes: 4603a37f6e ("random: credit cpu and bootloader seeds by default")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I911f729cb469cba0438524ea49ccf11f96a5b941
Use es7243e to record sound. This support in evb1 and evb4.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Iecb118a1b4030c3e2973047455914c81d209625b
KONKA TV have the problem that hdmi hpd pin leakage leads to hpd
interrupt and trigger incorrectly. When the hdmi cable is not securely
connected, the hdmitx ddc pin will leak electricity back to hdmitx
through the TV's hpd pin and pull up hpd pin voltage to 1.8v.
Because rk3528 hdmi hpd interrupt trigger voltage is 1.5v,
hpd irq will be triggered by mistake, resulting in
edid reading error. Therefore, hdmi ddc io needs to be pull down
before the hpd pin is actually contacted and stabilized.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Id5f859e1de0dde751cf1d522a8d7647558f0b7f8