Yandong Lin
1765ef7906
video: rockchip: mpp: fix get hw time error issue
...
Use aclk to calculate hw time.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: Ic2d218531ae03583e51f6b8016832ca9d2ff3c2d
2023-03-16 15:04:58 +08:00
Xing Zheng
27e305c611
ARM: dts: rockchip: rk3036-evb1: fix the 'pa-ctl-gpios' name
...
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com >
Change-Id: I01e667086ac41d055ff1c2967f32d871f8e08cea
2023-03-16 15:02:10 +08:00
Xing Zheng
775633a1ed
ASoC: inno_rk3036: fixes and clean up some handles
...
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
2023-03-16 14:58:31 +08:00
Frank Wang
adb1f241f3
usb: typec: tcpm: fix getting pd_revision
...
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
2023-03-16 14:54:59 +08:00
Sugar Zhang
b87d415824
ASoC: rockchip: i2s-tdm: Simplify clk reparent on TRCM mode
...
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
2023-03-16 14:40:10 +08:00
Sugar Zhang
fcd99057b0
arm64: dts: rockchip: rk3588-*: Enable HDMI Jack
...
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
2023-03-16 14:38:42 +08:00
Sugar Zhang
53222b0849
ASoC: hdmi-codec: Stop stream when plug state changed
...
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
2023-03-16 14:37:26 +08:00
Algea Cao
3f1bcfe6ec
drm: bridge: dw-hdmi: Fixed ddc error caused by plug out hdmi when reading edid
...
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
Change-Id: Ie220584b5ae17822170bf761f699d8897caf9975
2023-03-16 14:35:15 +08:00
Jon Lin
25a47e3925
PCI: rockchip: dw: Support deferred probe for ep
...
Change-Id: I0f032618d97f88a0cd70ae164c3f6f6ef6494515
Signed-off-by: Xiao Ya peng <yp.xiao@rock-chips.com >
Signed-off-by: Simon Xue <xxm@rock-chips.com >
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2023-03-16 11:46:31 +08:00
Zefa Chen
b864542b3f
media: rockchip: vicap: fix warning of vb2 cancel or done
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I51079641446159444fd6dc2223e5a3f9062001fa
2023-03-16 11:10:08 +08:00
Sandy Huang
c05a83fed4
drm/rockchip: vop3: fix esmart area[3] register offset error
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
Change-Id: Ic87252cecfeb161d6bea0572ffc570003350dc86
2023-03-15 14:42:36 +08:00
Tao Huang
a60b314732
ARM: rv1106_defconfig: Set CONFIG_INET_TABLE_PERTURB_ORDER=8
...
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
2023-03-14 16:21:44 +08:00
Tao Huang
ee1d33de8b
ARM: rv1106_defconfig: Disable CONFIG_RANDOM_TRUST_BOOTLOADER
...
Fixes: 4603a37f6e ("random: credit cpu and bootloader seeds by default")
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I911f729cb469cba0438524ea49ccf11f96a5b941
2023-03-14 16:19:59 +08:00
Tao Huang
9f9f111a7f
arm64: rockchip_linux_defconfig: Disable A510 ERRATUM 2051678
...
-CONFIG_ARM64_ERRATUM_2051678
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Icffee7d1855f0feb142905dfec39b1413a1f8e8d
2023-03-14 09:46:40 +08:00
Tao Huang
4843d38fe8
arm64: rockchip_defconfig: Disable A510 ERRATUM 2051678
...
-CONFIG_ARM64_ERRATUM_2051678
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I95fd2c9007c1e14cd90f5df16eb655b72fced901
2023-03-14 09:46:36 +08:00
Tao Huang
cc17504307
Merge tag 'android12-5.10-2023-02_r1' of https://android.googlesource.com/kernel/common
...
android12-5.10 February 2023 release 1
Artifacts:
https://ci.android.com/builds/submitted/9611440/kernel_aarch64/latest
* tag 'android12-5.10-2023-02_r1': (5560 commits)
ANDROID: GKI: Enable ARM64_ERRATUM_2454944
ANDROID: dma-ops: Add restricted vendor hook
ANDROID: arm64: Work around Cortex-A510 erratum 2454944
ANDROID: mm/vmalloc: Add override for lazy vunmap
ANDROID: cpuidle-psci: Fix suspicious RCU usage
ANDROID: ABI: update allowed list for galaxy
FROMGIT: f2fs: add sysfs nodes to set last_age_weight
FROMGIT: f2fs: fix wrong calculation of block age
ANDROID: struct io_uring ABI preservation hack for 5.10.162 changes
ANDROID: fix up struct task_struct ABI change in 5.10.162
ANDROID: add flags variable back to struct proto_ops
UPSTREAM: io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups
UPSTREAM: eventfd: provide a eventfd_signal_mask() helper
UPSTREAM: eventpoll: add EPOLL_URING_WAKE poll wakeup flag
UPSTREAM: Revert "proc: don't allow async path resolution of /proc/self components"
UPSTREAM: Revert "proc: don't allow async path resolution of /proc/thread-self components"
UPSTREAM: net: remove cmsg restriction from io_uring based send/recvmsg calls
UPSTREAM: task_work: unconditionally run task_work from get_signal()
UPSTREAM: signal: kill JOBCTL_TASK_WORK
UPSTREAM: io_uring: import 5.15-stable io_uring
...
Change-Id: I2b16474d6e3a91f1d702486ec6d1565a7bc310e3
Conflicts:
Documentation/ABI/testing/configfs-usb-gadget-uac2
Documentation/usb/gadget-testing.rst
Makefile
arch/arm/boot/dts/rk3288-evb-act8846.dts
arch/arm64/mm/Makefile
drivers/dma-buf/dma-buf.c
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
drivers/mmc/core/mmc.c
drivers/pci/controller/dwc/pcie-designware-host.c
drivers/pinctrl/pinctrl-rockchip.c
drivers/regulator/core.c
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.c
drivers/usb/gadget/function/f_hid.c
drivers/usb/gadget/function/f_uac1.c
drivers/usb/gadget/function/f_uac2.c
drivers/usb/gadget/function/u_audio.c
drivers/usb/gadget/function/u_audio.h
drivers/usb/gadget/function/u_uac2.h
drivers/usb/host/xhci.h
drivers/usb/storage/unusual_uas.h
drivers/usb/typec/altmodes/displayport.c
include/linux/page_ext.h
mm/cma.c
mm/page_ext.c
sound/core/pcm_dmaengine.c
sound/soc/codecs/hdmi-codec.c
include/linux/stmmac.h
sound/drivers/aloop.c
drivers/pci/controller/dwc/pcie-designware.h
2023-03-14 09:44:51 +08:00
Jason Zhu
8fcc8f437c
arm64: dts: rockchip: rk3528-evb: support es7243 sound
...
Use es7243e to record sound. This support in evb1 and evb4.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com >
Change-Id: Iecb118a1b4030c3e2973047455914c81d209625b
2023-03-13 19:53:48 +08:00
Algea Cao
221a84e78a
drm: bridge: dw-hdmi: Support ddc io pull down when hdmi disconnected
...
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
2023-03-13 17:18:39 +08:00
Algea Cao
fda0a52443
arm64: dts: rockchip: rk3528: Add hdmi ddc io idle state
...
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
Change-Id: I91a4a4f882dd34da939929ebe3c4170c33cdcac7
2023-03-13 17:00:22 +08:00
Zhang Yubing
2cd758d07c
drm/rockchip: vop3: acquire vop private blob property reference
...
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com >
Change-Id: Ibdc05a43dd9670741b6583f090d95d7cbfb2ec32
2023-03-13 16:39:48 +08:00
Sandy Huang
4b781ee022
drm/rockchip: dsi2: let te_irq_handle be called as soon as possible
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
Change-Id: I747e2cbc6f945a292cd63399cd4ef87578234efa
2023-03-13 16:13:40 +08:00
Sandy Huang
6fad88d436
drm/rockchip: vop2: Don't crash for invalid duplicate_state()
...
upstream commit for vop: https://patchwork.freedesktop.org/patch/490114/
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
Change-Id: Iefb0180bc0010379b9c5c86d1e4d4bbe22e5053e
2023-03-13 16:13:24 +08:00
Brian Norris
0e161311b2
UPSTREAM: drm/rockchip: vop: Don't crash for invalid duplicate_state()
...
It's possible for users to try to duplicate the CRTC state even when the
state doesn't exist. drm_atomic_helper_crtc_duplicate_state() (and other
users of __drm_atomic_helper_crtc_duplicate_state()) already guard this
with a WARN_ON() instead of crashing, so let's do that here too.
Fixes: 4e257d9eee ("drm/rockchip: get rid of rockchip_drm_crtc_mode_config")
Signed-off-by: Brian Norris <briannorris@chromium.org >
Reviewed-by: Sean Paul <seanpaul@chromium.org >
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Heiko Stuebner <heiko@sntech.de >
Link: https://patchwork.freedesktop.org/patch/msgid/20220617172623.1.I62db228170b1559ada60b8d3e1637e1688424926@changeid
Change-Id: I21349e20d235fc0ffd41eed54b1668d29b034a49
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2023-03-13 16:13:24 +08:00
Damon Ding
03cd98a921
arm64: dts: rockchip: rk3562: modify driver strength for pwm pins
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: Ic7dc93a36964f39c3e159993f5195e4488b40f5e
2023-03-13 16:05:33 +08:00
Finley Xiao
38dabca338
arm64: dts: rockchip: rk3588 boards: Add supply for rkvenc
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I33a45881ef143803bb0482cc86b5f838e38f1e98
2023-03-13 14:52:06 +08:00
Finley Xiao
712abc0a65
arm64: dts: rockchip: rk3588: Add opp table for rkvenc
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I4e2ab02ae3747e26bf93f0b9c029c7e59efae9f7
2023-03-13 14:51:12 +08:00
Finley Xiao
c62aea0596
video: rockchip: mpp: rkvenc2: Add devfreq support
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: Id2bee52f4c92afb7e14fb44c5f2b7687c3a6de9f
2023-03-13 14:51:12 +08:00
ZiHan Huang
5d45a6a045
arm64: dts: rockchip: rk3528-linux.dtsi enable route-hdmi and route-tve
...
Change-Id: I424b2669b0256caae0368b06e7e97b0967c59eda
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com >
2023-03-13 14:34:20 +08:00
ZiHan Huang
55fdcfe8b1
arm64/config: rockchip_linux_defconfig add CONFIG_CPU_RK3528
...
Change-Id: Iebce03f5ee397617b434beaa743dcafa4d6a4f5d
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com >
2023-03-13 14:33:10 +08:00
ZiHan Huang
c8f437af4f
arm64: dts: rockchip: rk3528-linux.dtsi add cmdline root and optee
...
Change-Id: I7253057f70f834ffb2d9e60741e5e5473de1696e
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com >
2023-03-13 14:21:36 +08:00
ZiHan Huang
b0fdaaa676
arm64: dts: rockchip: rk3528-evb1-ddr4-v10-linux.dts: add sdmmc status
...
Change-Id: I6641280bbda0f48a9fb48cbc6f3b6dbfc7ab2e7c
Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com >
2023-03-13 14:21:25 +08:00
Tao Huang
71573dc8b5
media: rockchip: vicap: make rkcif_vb_done_oneframe() static
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I98511206f1aae711512240a89c97c48fa26e2e5f
2023-03-13 09:14:38 +08:00
Sugar Zhang
71612ae495
drm/bridge: synopsys: dw_hdmi: Add support for HBR / NLPCM Bitstream
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: Id8ae61602a28182a0288b7c1a6b13ab58f5283f6
2023-03-13 09:10:15 +08:00
Cai YiWei
7ca7e7ce1f
media: rockchip: fix isp no work due to irq_ends_mask error
...
Change-Id: I62dc2383720adb03b8ade6affbea7ee50ffa4427
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2023-03-10 20:05:25 +08:00
Cai YiWei
acd9ec5a6d
media: rockchip: isp: fix warning of vb2 cancel or done
...
Change-Id: Icf3cc6392b7741de80487341771c8f40319a6a01
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2023-03-10 18:55:45 +08:00
Algea Cao
f71aa96570
drm: bridge: dw-hdmi: DDC retry delay use usleep_range()
...
Fixes: da6e7ed538 ("drm: bridge: dw-hdmi: Optimized hdmi ddc retry process")
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
Change-Id: I4c27531ea8399f5353eef10b59a60e7331b113e2
2023-03-10 17:39:55 +08:00
Alex Zhao
44b6eb0138
net: wireless: rockchip_wlan: bcmdhd: fix pno scan deadlock
...
03-02 21:18:49.795982 62 62 E : INFO: task wificond:542 blocked for more than 723 seconds.
03-02 21:18:49.795991 62 62 E : Not tainted 5.10.66 #1
03-02 21:18:49.796002 62 62 E : "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
03-02 21:18:49.796013 62 62 I task : wificond state:D stack: 0 pid: 542 ppid: 1 flags:0x04000001
03-02 21:18:49.796031 62 62 I Call trace:
03-02 21:18:49.796043 62 62 I : __switch_to+0x180/0x230
03-02 21:18:49.796057 62 62 I : __schedule+0x4a0/0x708
03-02 21:18:49.796080 62 62 I : schedule+0xa0/0xe8
03-02 21:18:49.796093 62 62 I : schedule_preempt_disabled+0x28/0x48
03-02 21:18:49.796105 62 62 I : __mutex_lock+0x504/0x7cc
03-02 21:18:49.796117 62 62 I : __mutex_lock_slowpath+0x18/0x28
03-02 21:18:49.796127 62 62 I : mutex_lock+0x40/0x64
03-02 21:18:49.796138 62 62 I : rtnl_lock+0x44/0x68
03-02 21:18:49.796153 62 62 I : cfg80211_sched_scan_stopped+0x20/0x44
03-02 21:18:49.796353 62 62 I : wl_notify_escan_complete+0x2c4/0x45c [bcmdhd]
03-02 21:18:49.796546 62 62 I : _wl_cfgscan_cancel_scan+0x108/0x190 [bcmdhd]
03-02 21:18:49.796736 62 62 I : wl_cfg80211_sched_scan_stop+0xbc/0x14c [bcmdhd]
03-02 21:18:49.796769 62 62 I : rdev_sched_scan_stop+0x30/0x17c
03-02 21:18:49.796782 62 62 I : cfg80211_stop_sched_scan_req+0x4c/0x114
03-02 21:18:49.796796 62 62 I : nl80211_stop_sched_scan+0xf0/0xf8
03-02 21:18:49.796813 62 62 I : genl_rcv_msg+0x38c/0x3b8
03-02 21:18:49.796828 62 62 I : netlink_rcv_skb+0x108/0x124
03-02 21:18:49.796839 62 62 I : genl_rcv+0x38/0x54
03-02 21:18:49.796854 62 62 I : netlink_unicast_kernel+0xa0/0x140
03-02 21:18:49.796865 62 62 I : netlink_unicast+0xfc/0x1a4
03-02 21:18:49.796875 62 62 I : netlink_sendmsg+0x284/0x318
03-02 21:18:49.796891 62 62 I : __sys_sendto+0x168/0x1f4
03-02 21:18:49.796902 62 62 I : __arm64_sys_sendto+0x2c/0x40
03-02 21:18:49.796918 62 62 I : el0_svc_common+0xc0/0x23c
03-02 21:18:49.796929 62 62 I : do_el0_svc+0x28/0x88
03-02 21:18:49.796946 62 62 I : el0_svc+0x14/0x24
03-02 21:18:49.796956 62 62 I : el0_sync_handler+0x88/0xec
03-02 21:18:49.796969 62 62 I : el0_sync+0x1a8/0x1c0
03-02 21:18:49.797150 62 62 E : INFO: task kworker/u17:3:1345 blocked for more than 723 seconds.
03-02 21:18:49.797163 62 62 E : Not tainted 5.10.66 #1
03-02 21:18:49.797173 62 62 E : "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Signed-off-by: Alex Zhao <zzc@rock-chips.com >
Change-Id: I669e1e0f2cb42ec68fec3404ea2308c953b3317c
2023-03-10 17:27:05 +08:00
Sugar Zhang
5c3a32865c
ASoC: rockchip: sai: Add support for IEC958 fmt
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: Ieb0bdbe2631efa7a440dc2ed835f0fd952263f85
2023-03-10 17:21:26 +08:00
Binyuan Lan
a41135965c
arm64: dts: rockchip: rk3562-rk817: don't set vcc1v8_dvp add vcc2v8_dvp always-on
...
Change-Id: I7e20b3769faf07e49e457380ad643ec17f7fa786
Signed-off-by: Binyuan Lan <lby@rock-chips.com >
2023-03-10 16:49:07 +08:00
Huang zhibao
781a1c7480
arm64: dts: rockchip: add RK3528 Demo board devicetree
...
Signed-off-by: Huang zhibao <hzb@rock-chips.com >
Change-Id: I1a9c410311d860052656e05d9a6a16e37284e0f5
2023-03-10 16:48:46 +08:00
Algea Cao
b28b6cd7f9
drm: bridge: dw-hdmi: Fix konka tv yuv420 10bit probabilistic no signal
...
konka tv should switch pattern after set to yuv420 10bit or
the TV might not recognize the signal.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
Change-Id: Ie8fba7e1ec3a4a2f2bff9943723c5862c55273d4
2023-03-10 16:45:45 +08:00
Algea Cao
abb70c1b99
phy: rockchip: inno-hdmi: Fix rk3528 sink probabilistically fails to recognize signal
...
When switching modes, the synchronization reset time
of the four lanes cannot be too long, ldo cannot be
turned off either.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
Change-Id: I3b8308bf03e9f5796f93189a009d22100c642894
2023-03-10 16:45:45 +08:00
Algea Cao
da6e7ed538
drm: bridge: dw-hdmi: Optimized hdmi ddc retry process
...
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
Change-Id: I1a5a50a22040a6a7226498d5dc8275bc160a7689
2023-03-10 16:45:45 +08:00
Algea Cao
9670838afc
drm: bridge: dw-hdmi: Enable hdmi output after ctrl regs config done
...
Fix green screen after color format switch in MI/HUAWEI TV.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
Change-Id: Ic73ca68029fc8ce948e9e731291d4bbd1d9c1ce2
2023-03-10 16:45:45 +08:00
Sandy Huang
8c52cd4de3
arm64: dts: rockchip: rk3562: remove vop vp1 supported
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
Change-Id: I21cec7ea48db09b3ae64b9d1a9559d50dea8aa91
2023-03-10 16:45:21 +08:00
Shawn Lin
0b6e89f8ed
PCI: rockchip: dw: Remove affinity support for legacy INTX
...
This commit revert commit 504bc07b5b ("PCI: rockchip: dw: Add
affinity for legacy INTX") and partial remove related stuff from
commit 0905a4c0bc ("PCI: rockchip: dw: Fix module building")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
Change-Id: I7ec67714a481f9f7ab38b329da985d13c1f174f5
2023-03-10 16:08:42 +08:00
Zefa Chen
6309778b1f
media: rockchip: vicap fixes tools buffer state error
...
list_add double add: new=ffffff8074334fa8, prev=ffffff8074334fa8, next=ffffff8004630f30.
Change-Id: Ie2222c73b4af106107a5a4ae0f7c4ef6fde6cce8
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:31!
Internal error: Oops - BUG: 0 [#1 ] PREEMPT SMP
Modules linked in:
CPU: 2 PID: 1904 Comm: xc:isp_rx_poll Not tainted 5.10.110 #43
Hardware name: Rockchip RK3562 EVB1 LP4X V10 Board (DT)
pstate: 60400085 (nZCv daIf +PAN -UAO -TCO BTYPE=--)
pc : __list_add_valid+0x60/0x90
lr : __list_add_valid+0x60/0x90
sp : ffffffc01bd239c0
x29: ffffffc01bd239c0 x28: 0000000000000001
x27: ffffff8004614080 x26: ffffffc012069000
x25: ffffff8074334fa8 x24: ffffff8074334fa8
x23: ffffff8004630f30 x22: 0000000000000000
x21: ffffff8004630f80 x20: ffffff80046305e0
x19: ffffff8074334c00 x18: ffffffc017d95088
x17: 0000000000000000 x16: 00000000000000ee
x15: 0000000000000004 x14: ffffffc011c2c608
x13: 0000000000003fff x12: 0000000000000000
x11: 0000000000000000 x10: 0000000000000000
x9 : 48479b2270d3d900 x8 : 48479b2270d3d900
x7 : 3030386666666666 x6 : ffffffc011e39170
x5 : ffffffffffffffff x4 : 0000000000000001
x3 : ffffffc0118e7649 x2 : ffffff80fb7408c8
x1 : 0000000000000000 x0 : 0000000000000058
Call trace:
__list_add_valid+0x60/0x90
rkcif_buf_queue+0x1ec/0x6f4
__enqueue_in_driver+0x48/0xe8
vb2_core_qbuf+0x150/0x4d4
vb2_ioctl_qbuf+0xd0/0x108
v4l_qbuf+0x48/0x5c
__video_do_ioctl+0x2c4/0x3c4
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I8e0843780bae55296209d06a4dd223ad21603f99
2023-03-10 15:34:25 +08:00
Jianqun Xu
a56b9041a8
pinctrl/rockchip: re-fix rk3308 pinmux error for gpio3b3_sel_plus
...
Fixes: 8d29486a15 ("pinctrl/rockchip: fix rk3308 pinmux error")
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
Change-Id: I6d99e43a01b433e5027740e5115652166ed2e6b5
2023-03-10 15:16:39 +08:00
Zefa Chen
8919ab5395
media: rockchip: vicap fixes bug of wake up mode
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ie51db5cb7944ce0f979344f4e00f0d75816642e9
2023-03-10 14:36:41 +08:00
Zefa Chen
20cca8578a
media: rockchip: vicap fixes the processing order errors of fs and line intr
...
change for earlier chip than rk3588
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ide6815ec488b71e2b7eff9b4b2345eeedbc53b3a
2023-03-10 14:36:16 +08:00