Commit Graph

1065276 Commits

Author SHA1 Message Date
Wang Jie
fb2fd67ed8 usb: typec: tcpm: add et7303 driver
Change-Id: I2339e9ece6c00d5a18eac01224cb623468d1771c
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
2022-03-11 15:09:10 +08:00
Andy Yan
6a13a81062 drm/rockchip: vop2: Support skip reference fb
It support skip reference fb at vop driver by
adding add skip-ref-fb at vop dt node.

Change-Id: I7a0a91d905ba4907f8f0720e1997e9ee9c5c65c7
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2022-03-11 14:28:38 +08:00
Cai YiWei
f6cafa7cbd media: rockchip: isp: isp32 add vsm
Change-Id: I456f06ef23c54196ddb4904675696a82dc74864c
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-11 14:18:01 +08:00
Cai YiWei
2fa9233522 media: rockchip: isp: scale up and down for some stream
Change-Id: Ie6f48cf197e5be0c4fbb63e641dde4299920d97a
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-11 14:17:38 +08:00
Cai YiWei
8b0728ec75 media: rockchip: isp: add luma stream for isp32
Change-Id: If20dfa24389b3df7f2ef0ad918cc649d9c560807
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-11 14:17:17 +08:00
Cai YiWei
8dd3e56958 media: rockchip: isp: isp32 mi switch according to output buf
Change-Id: I2d4ce521e00dc9907c60472538d2b9b7300e4539
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-11 14:16:48 +08:00
William Wu
3e84aecb52 usb: host: xhci-plat: build depends on ARCH_ROCKCHIP
When build with rv1106_defconfig, and enable at least the
following configs manually:

CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_PLATFORM=y

size drivers/usb/host/xhci-plat.o

before:
   text    data     bss     dec     hex filename
   5570     376       4    5950    173e drivers/usb/host/xhci-plat.o

after:
   text    data     bss     dec     hex filename
   2898     376       4    3278     cce drivers/usb/host/xhci-plat.o

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Ica505b973d1f4ebdc18d814a3992ab51999be980
2022-03-11 11:45:36 +08:00
Zhang Yubing
f283539a10 drm/rockchip: vop2: support use video port default parent
When video port output image under 4K@60Hz(dclk less than 600MHz),
The dclk parent use hdmi0 phy pll or hdmi1 phy pll. In some cases
the hdmi0 phy pll or hdmi1 phy pll is not enough for all output
interface. For example, hdmi0 and hdmi0 connect to video port0 and
dp connect to video port1. In this case, It need the video port1
need use default dclk parent.

Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: Icdf050bb1e7a9f36022f5dd196358136c1d9242c
2022-03-11 11:34:59 +08:00
Algea Cao
817db0024a drm/rockchip: dw_hdmi: Enable split mode only when two HDMI are enabled
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ib62c7f3b9ccfb03f61311fb704d9d897afaa50f2
2022-03-11 11:34:12 +08:00
Cai YiWei
40e63cc682 media: rockchip: isp: build depends on CPU config
Change-Id: I20ed687a3b52b04bb826ef8c8405217c3f1f19d0
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-11 11:18:47 +08:00
Finley Xiao
0f3739e0b7 MALI: bifrost: Kconfig: Don't select PM_DEVFREQ and DEVFREQ_THERMAL
If use savedefconfig to update defconfig, PM_DEVFREQ and DEVFREQ_THERMAL
will be removed, and dmc and opp_select also depend on PM_DEVFREQ,
enable them default.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ied5ac8e70fe195294df2752160ce6e56360f2db8
2022-03-11 11:00:00 +08:00
Finley Xiao
115afc3bb5 arm64: configs: rockchip_linux_defconfig: enable PM_DEVFREQ and DEVFREQ_THERMAL
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I62a248c07662339676c43c30535b745ee846a332
2022-03-11 11:00:00 +08:00
Finley Xiao
9303bebb7e arm64: configs: rockchip_defconfig: enable PM_DEVFREQ and DEVFREQ_THERMAL
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I44fb16f6f0053249e497406c46cd9e89fc5c1315
2022-03-11 11:00:00 +08:00
William Wu
1e5e39bebf phy: rockchip: inno-usb2: build depends on CPU config
When build with rv1106_defconfig, and enable the following
configs manually:

CONFIG_EXTCON=y
CONFIG_USB_SUPPORT=y
CONFIG_PHY_ROCKCHIP_INNO_USB2=y

size drivers/phy/rockchip/phy-rockchip-inno-usb2.o

before:
   text    data     bss     dec     hex filename
   65118     204       4   65326    ff2e drivers/phy/rockchip/phy-rockchip-inno-usb2.o

after:
   text    data     bss     dec     hex filename
   13780     204       4   13988    36a4 drivers/phy/rockchip/phy-rockchip-inno-usb2.o

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Ia8900c17800a4ae9ae04e91f46d71986eda242c0
2022-03-11 10:57:05 +08:00
Cai YiWei
ead9f87f94 ARM: dts: rockchip: add isp nodes for rv1106
Change-Id: I93e20fccdd7269efac7e22eb7a83bbfea3ea22c3
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-11 10:32:47 +08:00
Sugar Zhang
4cfa4a1773 ARM: dts: rockchip: Add basic support rv1106/3 evb board
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I3f53c934dcd0cfb814bcd217c788a0c60319faaf
2022-03-11 10:16:37 +08:00
Yu Qiaowei
549c087dbd video: rockchip: rga3: Update RGA2 register
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I587db82cbf8148c274024a203f7646f7f218111c
2022-03-11 10:08:18 +08:00
Yu Qiaowei
afbf0cd0e4 video: rockchip: rga3: Code style of rga2_reg_info.c
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I17819439fe0d65c475b56b063be300e86e5ae048
2022-03-11 10:08:18 +08:00
Wang Jie
b1302e6a83 usb: typec: tcpm: add pd handler lock
Quickly plug and unplug the Type-C device with DP function test, there
is a low probability of unplugging the Type-C dongle, DP work cannot
acquire the mutex(port->lock), and it will always be stuck in the
tcpm_unregister_altmodes() function during the rest port process, causing
the Type-C device to be inserted again to fail to be detected or the reboot
system to be stuck. The exception process is as follows:
(1) Thread#1: unplug the Type-C device to trigger cc status changes interrupt, in the
    tcpm_pd_event_handler() function, first acquire the mutex(port->lock),
    then start state_machine work, and finally release the mutex(port->lock);
tcpm_cc_change()
  -->tcpm_pd_event_handler()
    -->mutex_lock(&port->lock)  /* step 1 */
    -->_tcpm_cc_change(port, cc1, cc2) /* step 2 */
      -->tcpm_set_state(port, SRC_UNATTACHED, 0)
        -->kthread_queue_work(port->wq, &port->state_machine) /* step 3 */
    --> mutex_unlock(&port->lock)  /* step 4 */

(2) Thread#2: before the execution of "step 2" is completed, DP work calls
    the callback function registered by the tcpm framework to initiate a VDM
    Message, such as Enter Mode Message, in the tcpm_queue_vdm_unlocked()
    acquires the mutex(port->lock) fails and goes to sleep;
dp_altmode_work()
  --> typec_altmode_enter(dp->alt)
    --> tcpm_altmode_enter()
      --> tcpm_queue_vdm_unlocked()
        --> mutex_lock(&port->lock) /* dp work enter sleep */

(3) After step 4, tcpm_queue_vdm_unlocked() did not acquire for the mutex
    (port->lock), but was preempted by the state_machine work to enter the reset
    port process. In the reset port process, call the tcpm_unregister_altmodes()
    function to release altmode and cancel dp work. Because tcpm_queue_vdm_unlocked()
    did not acquire the mutex(port->lock), causing it to be stuck in cancel dp work.
tcpm_state_machine_work()
  -->mutex_lock(&port->lock)
  -->tcpm_reset_port(port)
    -->tcpm_unregister_altmodes(port)
      ......
      --> dp_altmode_remove()
        --> cancel_work_sync(&dp->work) /* always stuck in cancel dp work */
  ......

Therefore, after adding a new mutex to wait for the tcpm_pd_event_handler() function
to complete the processing, if the port is in the disconnect state, there is no need
to acquire the mutex(port->lock) in the tcpm_queue_vdm_unlocked() function.

Change-Id: I364a035568ddc35ef7242b42f6d6d0ee3f5586fd
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
2022-03-10 20:55:51 +08:00
Andy Yan
aacefe9c74 drm/rockchip: vop2: A workaround for PD_CLUSTER0 off
The internal PD of VOP2 on rk3588 take effect immediately
for power up and take effect by vsync for power down.

And the PD_CLUSTER0 is a parent PD of PD_CLUSTER1/2/3,
we may have this use case:
Cluster0 is attached to VP0 for HDMI output,
Cluster1 is attached to VP1 for MIPI DSI,

When we enable Cluster1 on VP1, we should enable PD_CLUSTER0 as
it is the parent PD, event though HDMI is plugout, VP1 is disabled,
the PD of Cluster0 should keep power on.

When system go to suspend:
(1) Power down PD of Cluster1 before VP1 standby(the power down is take
    effect by vsync)
(2) Power down PD of Cluster0

But we have problem at step (2), Cluster0 is attached to VP0. bus VP0
is in standby mode, as it is never used or hdmi plugout. So there is
no vsync, the power down will never take effect.

According to IC designer: We must power down all internal PD of VOP
before we power down the global PD_VOP.

So we get this workaround:
We we found a VP is in standby mode when we want power down a PD is
attached to it, we release the VP from standby mode, than it will
run a default timing and generate vsync. Than we can power down the
PD by this vsync. After all this is done, we standby the VP at last.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: Ib9be8628f07d783c6bc3b7678c5eebfc63aabe1c
2022-03-10 20:20:16 +08:00
Andy Yan
c9c9555075 drm/rockchip: vop2: Fix PD_ESMART usage on rk3588
PD_ESMART is shared between Esmart1/2/3, Esmart0 has
no PD

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I5d11ec065f6226e130c93469b1757e4c4fe82067
2022-03-10 20:17:11 +08:00
Andy Yan
e5cb1f01cd drm/rockchip: vop2: Disable aclk of video port when it unused
To reduce some power consumption.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: Iebe8d071380ed998579942aeab7662a6ffda3cb0
2022-03-10 20:04:48 +08:00
Guochun Huang
073fa994fa drm/rockchip: dsi2: add user-split-mode property
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: I507034edb7a91b776cb66aa7e3aedcc22521467c
2022-03-10 20:00:48 +08:00
Cai YiWei
3549b11f93 media: rockchip: isp: add get isp information api
Change-Id: I774cc2d215e1b57a427fbf9f3f7bdcf0ea7a0391
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-10 19:54:46 +08:00
Cai YiWei
6b70848540 media: rockchip: isp: add cgc config
Change-Id: I235207147a7c4bd14c195d5bb53dec5992a1c3c3
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-10 19:54:46 +08:00
Cai YiWei
8a1aeac9b2 media: rockchip: isp: isp32 support raw data compression
Change-Id: I62b7a39982ba661034856cce79fb873104f2c4ba
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-10 19:54:46 +08:00
Cai YiWei
c76be98cdc media: rockchip: isp: isp32 support mirror and flip
Change-Id: I8e067cddee9bb314d97e2fd09b62886e8f9b222d
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-10 19:54:46 +08:00
Cai YiWei
5409c91052 media: rockchip: isp: isp32 bls2 remove to awb
Change-Id: Ieea6a4fd4ee796c5a02a46dbf9e7650d2a345170
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-10 19:54:46 +08:00
Cai YiWei
8bffb2d344 media: rockchip: isp: add isp32 for rv1106
Change-Id: I3f02927df17cb04868d868f8c3a72079a99fea77
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-10 19:54:46 +08:00
Cai YiWei
68dc2bca0c media: rockchip: isp: fix mp uyvy format error for isp30
mainpath is bytes per line for Y_LLENGTH but
selfpath is pixels per line.

Change-Id: I3321f01ee3466bae99e65a6ac10ffbe0acdeed71
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-10 19:54:46 +08:00
Cai YiWei
0dc12b0118 media: rockchip: isp: add version to querycap
Change-Id: Idb3fc5e57d5ecf0ea8dfe82bc7072998f2472940
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-10 19:54:46 +08:00
Wang Panzhenzhuan
02275b5be1 arm64: dts: rockchip: rk3566-evb2: enable csi2_dphy0 for gc8034
For ov5695 has been stop production, so replace
 ov5695 module config with gc8034

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I06aa7d18a82f11a98e6c8bee40a1dd9d5ae60e66
2022-03-10 19:41:16 +08:00
Sugar Zhang
d49247b9e3 ARM: configs: rv1106: Disable NET_VENDOR
- CONFIG_NET_VENDOR_GOOGLE
- CONFIG_NET_VENDOR_PENSANDO
- CONFIG_NET_VENDOR_XILINX

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ia6c75f1759ba6507049d14f78cd72ab9238dc4fb
2022-03-10 18:21:12 +08:00
Li Huang
dbb3dbcdd2 video: rockchip: rga3: rga3_reg: fixup yuv/rgb convert to rgba missing alpha channel
Signed-off-by: Li Huang <putin.li@rock-chips.com>
Change-Id: I1ca62b1481b1b2968567c3a9714d757a690bfb8d
2022-03-10 14:36:07 +08:00
Sugar Zhang
890ca19516 ARM: dts: rockchip: rv1106: fix compatible string for gmac, wdt
Fixes: 51d12f9d67 ("ARM: dts: rockchip: Add gmac support for rv1106")
Fixes: 7a58edc59d ("ARM: dts: rockchip: rv1106: add saradc/wdt_ns/hw_decompress")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I7abd4528a1cb7a603d8e66d09c59cadf44f3c99c
2022-03-10 14:28:45 +08:00
Zefa Chen
f31433ff94 phy: rockchip: csi2-dphy: support rv1106
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I8381b75f2d404470510606e307524b097796a140
2022-03-10 14:17:28 +08:00
Zhijun Xie
af9c3f34cd arm64: dts: rockchip: rk3588-linux: add TEE support for linux
Change-Id: I4b1977454c8488872ae8c5881b4bf2947203d2b5
Signed-off-by: Zhijun Xie <xzj@rock-chips.com>
2022-03-10 14:17:12 +08:00
Sugar Zhang
a0019992e1 fiq_debugger_arm: Replace %pF with %pS to print Symbols or Function
%pS and %ps are now the preferred conversion specifiers to print function
names. The functionality is equivalent; remove the old, deprecated %pF
and %pf support.

[1] 9af7706492 ("lib/vsprintf: Remove support for %pF and %pf in favour of %pS and %ps")

Before:

debug> bt
pid: 0  comm: swapper/0
 r0 00000000  r1 00014590  r2 eef00418  r3 b01191c0
 r4 ffffe000  r5 b0e04f14  r6 b0e04f50  r7 00000001
 r8 b0e04ec8  r9 00000000 r10 b0d54af0 r11 00000000  mode SVC
 ip b0e05018  sp b0e01f58  lr b010777c  pc b0107780 cpsr 600d0013
  pc: b0107780 (ad65a2fd), lr b010777c (f187b55b), sp b0e01f58, fp 00000000
  pc: b0918f30 (0c9cfd0c), lr b0918f30 (0c9cfd0c), sp b0e01f60, fp 00000000
  pc: b01518b0 (71d36883), lr b01518b0 (71d36883), sp b0e01f68, fp 00000000
  pc: b0151c30 (cd1f0787), lr b0151c30 (cd1f0787), sp b0e01fa8, fp b0d36254
  pc: b0d00e40 (c723bc9c), lr b0d00e40 (c723bc9c), sp b0e01fb0, fp b0d36254

After this patch:

debug> bt
pid: 0  comm: swapper/0
 r0 00000000  r1 0000f7d4  r2 eef00418  r3 b01191c0
 r4 ffffe000  r5 b0e04f14  r6 b0e04f50  r7 00000001
 r8 b0e04ec8  r9 00000000 r10 b0d54af0 r11 00000000  mode SVC
 ip 3e1aa000  sp b0e01f58  lr b010777c  pc b0107780 cpsr 600d0013
  pc: b0107780 (arch_cpu_idle+0x38/0x3c), lr b010777c (arch_cpu_idle+0x34/0x3c), sp b0e01f58, fp 00000000
  pc: b0918f30 (default_idle_call+0x2c/0x3c), lr b0918f30 (default_idle_call+0x2c/0x3c), sp b0e01f60, fp 00000000
  pc: b01518b0 (do_idle+0x1f8/0x284), lr b01518b0 (do_idle+0x1f8/0x284), sp b0e01f68, fp 00000000
  pc: b0151c30 (cpu_startup_entry+0x18/0x20), lr b0151c30 (cpu_startup_entry+0x18/0x20), sp b0e01fa8, fp b0d36254
  pc: b0d00e40 (start_kernel+0x4f4/0x520), lr b0d00e40 (start_kernel+0x4f4/0x520), sp b0e01fb0, fp b0d36254

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I5e6e66cba5f094bad98a275b5fabd196997406e8
2022-03-10 14:16:52 +08:00
Finley Xiao
3e0f904b83 PM / devfreq: rockchip-dfi: build depends on CPU config
This optimizes the size of rockchip-otp.o, details as follows.

./scripts/bloat-o-meter rockchip-dfi-old.o rockchip-dfi.o
add/remove: 0/20 grow/shrink: 0/1 up/down: 0/-3564 (-3564)
Function                                     old     new   delta
rk3368_dfi_set_event                           8       -      -8
rk3288_dfi_set_event                           8       -      -8
rk3128_dfi_set_event                           8       -      -8
rk3368_dfi_ops                                20       -     -20
rk3288_dfi_ops                                20       -     -20
rk3128_dfi_ops                                20       -     -20
rk3368_dfi_disable                            36       -     -36
rk3288_dfi_disable                            36       -     -36
rk3128_dfi_disable                            36       -     -36
rk3368_dfi_enable                             40       -     -40
rk3288_dfi_enable                             40       -     -40
rk3128_dfi_enable                             40       -     -40
rk3368_dfi_init                               76       -     -76
rk3128_dfi_init                               76       -     -76
rk3328_dfi_init                              212       -    -212
rk3128_dfi_get_event                         212       -    -212
rk3288_dfi_init                              240       -    -240
rockchip_dfi_init                            256       -    -256
rk3368_dfi_get_event                         260       -    -260
rk3288_dfi_get_event                         352       -    -352
rockchip_dfi_id_match                       1960     392   -1568
Total: Before=5144, After=1580, chg -69.28%

Change-Id: Ibb2b001fb9afdcb6fec5db9d075c71b3abb6fbf3
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2022-03-10 11:42:20 +08:00
Finley Xiao
9867d6e0e6 nvmem: rockchip-otp: build depends on CPU config
This optimizes the size of rockchip-otp.o, details as follows.

./scripts/bloat-o-meter rockchip-otp-old.o rockchip-otp.o
add/remove: 0/9 grow/shrink: 0/1 up/down: 0/-2224 (-2224)
Function                                     old     new   delta
px30_otp_clocks                               12       -     -12
rk3568_otp_clocks                             16       -     -16
rk3568_data                                   24       -     -24
px30_data                                     24       -     -24
rockchip_otp_reset                           128       -    -128
px30_otp_ecc_enable                          164       -    -164
px30_otp_wait_status                         176       -    -176
px30_otp_read                                416       -    -416
rockchip_otp_match                           980     392    -588
rk3568_otp_read                              676       -    -676
Total: Before=4721, After=2497, chg -47.11%

Change-Id: I960a51e826a17112d822daa2b77470e482e729d7
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2022-03-10 11:39:22 +08:00
Finley Xiao
11829be4d3 cpufreq: rockchip: Fix compile error when disable rockchip cpufreq
Fixes: 85556b1e7f ("cpufreq: rockchip: Implement rockchip_cpufreq_opp_set_rate()")
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I4d142a4a2319c87657e742616d8b27f1691df3a8
2022-03-10 10:43:11 +08:00
Sugar Zhang
52ea05a769 ARM: dts: rockchip: rv1106: Fix typo
Fixes: b61d06ed70 ("ARM: dts: rockchip: Add RGA2 node for RV1106")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Icff13e47935bad9a1e8422d71d9e89f58668849e
2022-03-10 10:40:26 +08:00
Shawn Lin
cf6bed3a03 PCI: rockchip: dw: Simplify clock handling
Use new API to manage them.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: Id8536ddda7fe14ede9d6df2435c34243913e39a1
2022-03-09 17:57:54 +08:00
Shawn Lin
c7215f118f PCI: rockchip: dw: Add inband msi support
Rockchip platforms supported outband msi routine via GIC ITS.
If msi irq is set, that means we start to support inband msi on
some specific platforms.

For inband msi support, we need SoC to provide msi specified interrupt
and MSI message can be interpreted by PCIe controller to manage MSI
routine.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I5ea019dd2889cd9cfc630d8a618ebd739c984f7d
2022-03-09 17:55:29 +08:00
Simon Xue
a67c19583f dma-buf: heaps: rk-dma-heap: refactor dma_buf_vmap
I don't know why rk_vmap_contig_pfn is not work on ARM32 platform.
May need more debug on this issue. Refactor dma_buf_vmap to use vmap
directly just let things go on.

Change-Id: I9aded08ddb75a6fb8745111a897ab5566d82a71d
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2022-03-09 17:27:53 +08:00
Algea Cao
1035e72482 drm/rockchip: vop2: Keep dclk:v_pixclk = 1:2 for HDMI split mode
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ib55cee1b45ea8f92ad72fb34844d10b6a25214b8
2022-03-09 16:45:03 +08:00
Algea Cao
5efa70a0f1 drm/rockchip: dw_hdmi: Support hdmi split mode
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I71c5785ecfb9480f9569d3c55dd634579a5176fb
2022-03-09 16:45:03 +08:00
XiaoDong Huang
02a8204f6b arm64: dts: rockchip: rk3588-rk806: close vdd_log in suspend
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: Id483d4ac5d448f25247bccac8fc9308284eda6d7
2022-03-09 16:34:16 +08:00
XiaoDong Huang
3c26e3d113 arm64: dts: rockchip: rk3588s: modify rockchip_suspend node
1. Enable ARMOFF_LOGOFF suspend mode.
2. Disable pmu debug function.

Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: I77e758b34136d1603af999990b3e968fc8d482f1
2022-03-09 16:31:15 +08:00
Max Kellermann
837450ac42 UPSTREAM: lib/iov_iter: initialize "flags" in new pipe_buffer
commit 9d2231c5d7 upstream.

The functions copy_page_to_iter_pipe() and push_pipe() can both
allocate a new pipe_buffer, but the "flags" member initializer is
missing.

Fixes: 241699cd72 ("new iov_iter flavour: pipe-backed")
To: Alexander Viro <viro@zeniv.linux.org.uk>
To: linux-fsdevel@vger.kernel.org
To: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit b19ec7afa9)
Bug: 220741611
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I91076a0b6327ee8dd87e75fc875062b6adf2de4c
2022-03-09 16:28:11 +08:00