Resolve the crash issue caused by closing serdes pinctrl configuration
in dts.
Change-Id: I0473785d128bf655df9117dc819c502267ffec1e
Signed-off-by: Zitong Cai <zitong.cai@rock-chips.com>
If an extcon event is reported when hdmi is enabled/disabled
while playing hdr videos, Some player app will self-destruct
and restart after receiving the event. This leads to an endless
loop of switching hdmi enable and disable.
The extcon event is normally sent when hdmi plug. Previously,
the extcon event reporting was placed in hdmi enable/disable
to resolve issues related to audio transparent transmission.
The current code has hdmi_codec_plugged_cb has solved the audio
transmission problem, so extcon event is changed back to be
called only when hdmi plug/unplug
Change-Id: I613a0c99a0d33e133280cc6ba3d74760532c7f2f
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
The buffer write address ADR_BSBS of VEPU580 differs from
other IPs and requires separate definition.
Change-Id: I8a97f26ffd64ac74cedeed84de408e3ec952fd52
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
Some USB Readers base on the keyboard boot protocol, but
they don't properly set the data toggle in the status stage
when set the LED request.
The known abnormal usb hid devices include:
[1] idVendor=413d, idProduct=2107
[2] idVendor=ffff, idProduct=0035
This cause xHCI died on Rockchip platforms with the following
typical log.
[ 38.564579] usb 5-1: new full-speed USB device number 3 using xhci-hcd
[ 38.707763] usb 5-1: New USB device found, idVendor=413d, idProduct=2107, bcdDevice= 0.00
[ 38.707829] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 38.707855] usb 5-1: Product: USB Reader
[ 38.707880] usb 5-1: Manufacturer: DXTeco
[ 38.707903] usb 5-1: SerialNumber: 2008-07-15
......
[ 43.325848] usb 5-1: USB disconnect, device number 3
[ 48.481188] xhci-hcd xhci-hcd.1.auto: xHCI host not responding to stop endpoint command.
[ 48.491454] xhci-hcd xhci-hcd.1.auto: xHCI host controller not responding, assume dead
[ 48.491617] xhci-hcd xhci-hcd.1.auto: HC died; cleaning up
In fact, the USB Readers don't support LED control, so it
can ignore set Led for USB Readers to avoid xHCI died issue.
Change-Id: Ie2cb6f8204055035d434f32dea548461c58c5ab1
Signed-off-by: William Wu <william.wu@rock-chips.com>
DOVI will set mode changed at the following case:
(1) Enter or Exit dovi output mode;
(2) Keep dovi output mode, and change from non dovi video to dovi video;
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I24b2dca58031c6930e207350856f215af8863b4b
After this commit, dovi core will be disabled when unused.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: If3585155599374d0ed8f36cfb4adfac6996eee2e
The burr of the vsync signal maybe lead to core1 work
abnormally, so add aclk reset when exit from dovi mode.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I6266a874a54d5b0df97a2824e135c4249e5abf1f
RK3588 force DOVI mode[only have UI->coer2 and none base layer to
core1], the UI layer must from layer2 and connect to core2, so insert
unused win to layer0.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I84b37120a0de10960fb41a7989130d48bdad153d
Supports charging via docking station, but connected devices will
undergo a power cycle (temporary power loss followed by reconnection)
when the charger is unplugged from the docking station.
Change-Id: Ia24f1dc976f73cebb1758e069a4c49131d7a85f3
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
This ensures all device settings are properly preserved across
suspend/resume cycles and improves error handling robustness.
Change-Id: I7624236c67b8cfb8ef7f7dcb15b3fa49dd9b16a2
Signed-off-by: LiuDiMing Lin <fenrir.lin@rock-chips.com>
The VDD_LOGIC of rk3308-voice-module-v11-aarch32 is fixed,
so do not enable dmc.
Change-Id: I6a8ccedc13f60106a25ee0c38eb40a984a2e3a53
Signed-off-by: Lin Jianhua <linjh@rock-chips.com>
The VDD_LOGIC of rk3308b-evb-v10 is fixed, so do not enable dmc.
Change-Id: I8a7478b828fe83c5ec8f06de0a0c4e57ba0d4030
Signed-off-by: Lin Jianhua <linjh@rock-chips.com>
1. add reset gpio for control power
2. add delayed register function
3. add suspend & resume support
Change-Id: I70a94d1bbdeee1143380c3d1cc2793fe0fa8114a
Signed-off-by: Eddy Zhang <eddy.zhang@rock-chips.com>
drivers/video/rockchip/rga/rga_drv.c:1691:6: error: no previous prototype for 'rga_ioctl_kernel_imp' [-Werror=missing-prototypes]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Icb45c96075a5f8cf14d36806aa86a3ee8e52749b
FTS, fast training sequences, is used for exiting from L0s, which
is issued to peers while in TS1 phase. If number of FTS issued is
not enough for PHY itself, FTS timeout would occur and the LTSMM
will fall into recovery leading to longer exit latency.
In theory this value is PHY relevant, especially combophy needs a
bigger FTS that another one. The default value is 210, just increase
it to 255 the max for compatibility.
Another thing should be noted is if EP can't work stable under L0s
or failing to do FTS in requested, just add them to quirk.c and there
were numbers of buggy devices already there who claims to support L0s but
actually not.
Change-Id: I071c27ef6a3ac504b9ed82b748b41ec55bfd5fc5
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
When enable vrr by switch dclk, the dclk source may be vp1 dclk.
In this case, if we want turn off esmart pd, the vp1 dclk should
be enable.
Change-Id: I2ad5a716763607693723fc8af6275444edae3dee
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
drivers/clk/rockchip/clk-rk3128.c:566:6: error: no previous prototype for rkclk_cpuclk_div_setting [-Werror=missing-prototypes]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I4f6407d9a09085d44de7a40e409b580256f99733