Comes from mail "230423: 15:04: ARM support: Yao: ".
This patch and fw_230426 can resolve the occurrence
of "Unhandled Page fault" and CS_FAULTs exceptions
in the stress test "Dvfs+Gl_retrace+Rockx+emmc".
In another mail, Yao said "before any further suggestion or conclusion from RD,
you could temporally WA the issue by disable tiler heap reclaim".
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: If06aa8e207b05f1a277aae9a86d1ff76b9a9f93b
we don't directly add bt-sco cards because it may take some
i2s/pcm, which may use dma, but dmas may limit.
so we just prepare this settings, then if any one who want to
support bt-sco, he/she can just add dts in board-level dtsi.
For example diff in "rk3528-evb1-ddr4-v10.dtsi":
+&bt_sco {
+ status = "okay";
+};
+
+&bt_sound {
+ status = "okay";
+};
+
+&sai0{
+ status = "okay";
+};
The default pcm/i2s setting is:
Format: PCM, dsp_a, MSB first, short sync, rising edge and 1 bclk.
rockchip soc: master; Bt controller: slave
Change-Id: I64e76c2ae4b8449e2ee345587e080b3a70521ed9
Signed-off-by: Zou Dengming <marsow.zou@rock-chips.com>
Add lt7911d type-c/DP to MIPI CSI-2 bridge dts configuration as an example
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I3ccd33f0f8ecf991c3c0ea4e6d6574009dc0e04c
This patch adjust the RK3528 U3 Rx squelch input filler
bandwidth to 3'b110 which is used for rx_lfps, reduce the
bandwidth to avoid filtering valid superspeed data.
With this patch, it can fix the issue that Kingston U3 Disk
(idVendor=0951, idProduct=1666, bcdDevice= 1.10) read error
on RK3528 platforms.
Change-Id: Ifa4eac24bbdebe020db356ba45dae146f4df22f1
Signed-off-by: William Wu <william.wu@rock-chips.com>
This patch adjust the RK3562 U3 Rx squelch input filler
bandwidth to 3'b110 which is used for rx_lfps, reduce the
bandwidth to avoid filtering valid superspeed data.
With this patch, it can fix the issue that Kingston U3 Disk
(idVendor=0951, idProduct=1666, bcdDevice= 1.10) read error
on RK3562 platforms.
Change-Id: Idb667d159f9dba6b1de0a9ec04af9dae2d065927
Signed-off-by: William Wu <william.wu@rock-chips.com>
This patch adjust the RK3568 U3 Rx squelch input filler
bandwidth to 3'b110 which is used for rx_lfps, reduce the
bandwidth to avoid filtering valid superspeed data.
With this patch, it can fix the issue that Kingston U3 Disk
(idVendor=0951, idProduct=1666, bcdDevice= 1.10) read error
on RK3568 platforms.
Change-Id: I27410c5702862df2d8829a2ca3c2c1d9f57885be
Signed-off-by: William Wu <william.wu@rock-chips.com>
normal pinctrl is used for sd working mode. idle pinctrl is
used when the card is added or removed, so pull down the
IO to avoid power leak which makes the card unable to work.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I8780b9de735b86918b4d5ba857711e56de740ecf
This reverts commit ae488c03ab.
Use the following commit instead:
22fe2c3d386e ("drm/rockchip: vop2: No need for a full modested when the
only writeback connector changed")
Change-Id: If8669d28ebc6c06331beaca588e9842920894a4c
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
HDMI 2.1 section 10.3.6 defines an HDMI Forum EDID Extension Override
Data Block, which may contain a different extension count than the base
block claims. Add support for reading more EDID data if available.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Id2c7bd846330ae9ec9547db32e151bbf387e5734
It's used for compatible for old style mclk reference
which do not use the "mclkout_x".
The clk framework will disable all unused clk after
system boot done. in this situation, it is failed to
output mclk with old style DT, because "mclkout_x"
was disabled by framework.
We add CLK_IGNORE_UNUSED flag to clk-out to allow old
style usage still work well.
Suggest to drop this flag for totally new SDK or SoCs
in the future. at the moment, we still need this flag.
Fixes: b3cfac5e37 ("clk: rockchip: Add support for clk input / output switch")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I9d0a6b04637d055bc8beb0a03a630804108d4b28
1. poc_en gpio control remote camera 12V power supply: active high.
2. max96712_V11 board need to control poc_en for remote camera power supply.
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Ica5c446ce85877efd18ccca7180a8b18da609297
As mind by sugar, sometimes the master device will exit unexpectly, stop
the sclk before the slave device to do stop trigger, for example the bt
module, which not act as a codec driver, is replaced by a dummy codec.
This patch adds a normal clear for i2s tdm before force switch to
master.
Fixes: c003b7fd8a ("ASoC: rockchip: i2s-tdm: Fix FIFO Clear failed on SLAVE mode sometimes")
Change-Id: Ia3ae2d9b008b07addcfcec38d4e970c376dae1e7
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
aps and uaps can save power consumption when RJ45 plug out.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: Iec36feb6ba1d734408efa9430e7889015c9d3fd1
At the 10M mode, gmac can detect odd nibbles package sometimes,
this is valid at mii mode. Make 25M at init for rmii mode, can
solve the issue by tests.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I22dc619fbc9983d4b58efc42c5c92d0f8c8aaab5
pulseaudio ucm2 config can not handle the character "," or long name,
so change it.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: Idd25349d3b11e058b391bb5b0c205288ccdb3e74
Increase ad gain and vcm voltage to get better performance,
If it was 10M speed, also increase eq gain.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I7bad65f14a753c4d3de18c702394d1f91d47dc4a
Add the rkep device mode definition and sync with SPL.
Signed-off-by: Xiao Ya peng <yp.xiao@rock-chips.com>
Change-Id: I60e4809119cf60ddcafe45f6b5ccb11a19aa56e6
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
If the pclk of pwm is off, the interrupt will not be
generated.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I1c68a22e875712fd7260ba8f24bd8f53cb8aa679
There is very little data left in fifo, and the controller will
complete the transmission in a short period of time, so
use readl_poll_timeout() for busy wait 10us to accelerate response.
Change-Id: I63e7cfd35dc05d0af860cc9724d66d827aa47d51
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
For files with fscrypt enabled, to allow IO and the encryption
or decryption process to ping-pong, lookahead is forcibly enabled.
Change-Id: I137b8439dcd1fd99052bef1d1b0526af0d4a611e
Signed-off-by: Cliff Chen <cmc@rock-chips.com>
Fix set pll rate err when play hdr video first time after
system boot.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ic85b8f8b20a2a588627f650ff402076decd23b63