Commit Graph

867899 Commits

Author SHA1 Message Date
Sandy Huang
a2d8c2aeb0 drm/rockchip: vop2: fix double config done at one frame time
Maybe appear the following case:
-> set gamma
-> config done
-> atomic commit
   --> update win format
   --> update win address
   ---> here maybe meet vop hardware frame start, and triggle some config take affect.
   ---> as only some config take affect, this maybe lead to iommu pagefault.
   --> update win size
   --> update win other parameters
-> config done

so we add readx_poll_timeout() to make sure the first config done take
effect and then to do next frame config.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I6ec67b374b3afd2bed4a57aa1e7b729964df1736
2022-01-17 10:02:39 +08:00
Damon Ding
0424da3594 drm/rockchip: vop2: fix the core_dclk_div_sel setting
When the display interface is BT656. the register of
core_dclk_div_sel should always be set 1. Not only 'i'
modes like 480i and 576i, but also 'p' modes like 720p,
both need this setting.

As for BT1120 and other interfaces, this bit should be
1 when display mode belongs to 'i', and 0 when display
mode belongs to 'p'.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: If67614bc5068024d602c6acbbe9676d6245fdf1a
2022-01-14 16:03:37 +08:00
Kuo-Hsin Yang
7ce852605f UPSTREAM: drm/gem: Mark pinned pages as unevictable
The gem drivers use shmemfs to allocate backing storage for gem objects.
On Samsung Chromebook Plus, the drm/rockchip driver may call
rockchip_gem_get_pages -> drm_gem_get_pages -> shmem_read_mapping_page
to pin a lot of pages, breaking the page reclaim mechanism and causing
oom-killer invocation.

E.g. when the size of a zone is 3.9 GiB, the inactive_ratio is 5. If
active_anon / inactive_anon < 5 and all pages in the inactive_anon lru
are pinned, page reclaim would keep scanning inactive_anon lru without
reclaiming memory. It breaks page reclaim when the rockchip driver only
pins about 1/6 of the anon lru pages.

Mark these pinned pages as unevictable to avoid the premature oom-killer
invocation. See also similar patch on i915 driver [1].

[1]: https://patchwork.freedesktop.org/patch/msgid/20181106132324.17390-1-chris@chris-wilson.co.uk

Change-Id: I67c513481285d3a40cea3bdadbf1f348f00509d6
Signed-off-by: Kuo-Hsin Yang <vovoy@chromium.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190108074517.209860-1-vovoy@chromium.org
(cherry picked from commit fb4b49278f)
2022-01-14 09:57:10 +08:00
Kuo-Hsin Yang
10cb221254 BACKPORT: mm, drm/i915: mark pinned shmemfs pages as unevictable
The i915 driver uses shmemfs to allocate backing storage for gem
objects. These shmemfs pages can be pinned (increased ref count) by
shmem_read_mapping_page_gfp(). When a lot of pages are pinned, vmscan
wastes a lot of time scanning these pinned pages. In some extreme case,
all pages in the inactive anon lru are pinned, and only the inactive
anon lru is scanned due to inactive_ratio, the system cannot swap and
invokes the oom-killer. Mark these pinned pages as unevictable to speed
up vmscan.

Export pagevec API check_move_unevictable_pages().

This patch was inspired by Chris Wilson's change [1].

[1]: https://patchwork.kernel.org/patch/9768741/

Change-Id: I85869a8d8fbcbfdfeb9fa69326a2495f977d9bee
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Kuo-Hsin Yang <vovoy@chromium.org>
Acked-by: Michal Hocko <mhocko@suse.com> # mm part
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Dave Hansen <dave.hansen@intel.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20181106132324.17390-1-chris@chris-wilson.co.uk
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit 64e3d12f76)
2022-01-14 09:55:51 +08:00
Jianqun Xu
1e69a89f4c dma-buf: dma-buf-cache: fix error case for attach / detach
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I84ff3ac7c1357416bb12ca61aa7134fc652538d6
2022-01-10 17:19:01 +08:00
Sandy Huang
82957dba39 drm/rockchip: vop2: add support DRM_FORMAT_YUYV for RK356x Cluster
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I69cb2989e113c799575fca3bb57602101d7b1341
2022-01-06 16:58:33 +08:00
Zorro Liu
6b8a1e9f8e drm/rockchip: dev_ebc: release version v2.26
improve overlay mode processtion, reduce power consume

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Ib03352779d4096fa9d366f396675827625fe50b9
2022-01-06 16:01:07 +08:00
Wangqiang Guo
3987669c73 media: i2c: add new camera sensor gc030a
Signed-off-by: Wangqiang Guo <kay.guo@rock-chips.com>
Change-Id: I45601cff5b3d9224575f34513882ad2e931cf0a9
2022-01-06 15:02:51 +08:00
Ziyuan Xu
61cf54704b media: rockchip: isp: improve snapshot feature(tb in RISC-V)
Once RISC-V snapshot wanna queue raw buffer to DDR until FastAE is
matched, the kernel space should not allow rpm_s/r. Make sure that isp
things won't be changed.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I16335e62ee702b93a1daf526325c3d312ebb0d4b
2022-01-06 14:43:28 +08:00
Ziyuan Xu
1f7b89badc media: i2c: os04c10: disallow s_power if RISC-V is in use
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I40d4dcd1a591c9ea76deecf15d418b6ccf170655
2022-01-06 14:43:28 +08:00
Cai YiWei
73e7f0b872 media: rockchip: isp: fix CSI2RX_DATA_IDS_1 config err
Change-Id: I2c552fd3cc291cbaa62804294752b2054efeaa63
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-01-06 14:27:17 +08:00
Jianqun Xu
ac880bc1ae drm/rockchip: return error code when mmap fail
Change-Id: Ie17d259646316cbc65f63fc9f8fb84eb4bfeee9e
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2022-01-05 15:54:26 +08:00
Jon Lin
b2285d434a mtd: nand: raw: Add TC58NVG5H2 id table
Change-Id: I868467609e1241282024f5ebbf97915ac744edc9
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2022-01-05 11:11:53 +08:00
Shawn Lin
430cf313cf PCI: rockchip: dw: Set #PERST to low after suspend
As we don't do it in resume routine, so in order to be better
compatibale with devices, set it to low.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I0613e05f6d35ba7def7eedd902cfaff73d716952
2022-01-04 09:17:03 +08:00
Wyon Bi
8a4e79051b usb: typec: altmodes: displayport: Fix pin assignment
Fix pin-assignment as per specification.

Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
Change-Id: Iad7e211e43ebc01607ae534b56666ec56da2f54b
(cherry picked from commit b3e060dc22)
2021-12-31 19:26:55 +08:00
Zorro Liu
c0878f6c38 drm/rockchip: dev_ebc: release version v2.25
improve bg update under overlay mode

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Icbc503bc75177d71e21c241032dfa2f8017eb967
2021-12-31 14:36:33 +08:00
Zorro Liu
67834ad688 drm/rockchip: ebc_dev: release version v2.24
make auto/overlay mode right process flow

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Id18ac580e22788e1897a895017f40f157e00f681
2021-12-30 15:53:21 +08:00
Zorro Liu
7e5049f87e drm/rockchip: ebc_dev: release version v2.23
fix epd_overlay_lut err when use .S files

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Id5d398916938a0323e331982ece571fcbd890f2d
2021-12-28 09:13:24 +08:00
Douglas Gilbert
e7b6652a08 UPSTREAM: USB-PD tcpm: bad warning+size, PPS adapters
Augmented Power Delivery Objects (A)PDO_s are used by USB-C
PD power adapters to advertize the voltages and currents
they support. There can be up to 7 PDO_s but before PPS
(programmable power supply) there were seldom more than 4
or 5. Recently Samsung released an optional PPS 45 Watt power
adapter (EP-TA485) that has 7 PDO_s. It is for the Galaxy 10+
tablet and charges it quicker than the adapter supplied at
purchase. The EP-TA485 causes an overzealous WARN_ON to soil
the log plus it miscalculates the number of bytes to read.

So this bug has been there for some time but goes
undetected for the majority of USB-C PD power adapters on
the market today that have 6 or less PDO_s. That may soon
change as more USB-C PD adapters with PPS come to market.

Tested on a EP-TA485 and an older Lenovo PN: SA10M13950
USB-C 65 Watt adapter (without PPS and has 4 PDO_s) plus
several other PD power adapters.

Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191230033544.1809-1-dgilbert@interlog.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
(cherry picked from commit c215e48e97)
Change-Id: I51f7e53e6540cdc0ad543f7cbc80416204a1c816
2021-12-27 15:01:26 +08:00
Guochun Huang
c9282596c9 drm/rockchip/rk628: combtxphy: lvds: power up all channel after phy lock
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: If28520a20e73258037c08cb4dd95888a45093d6a
2021-12-27 08:38:26 +08:00
Yu Qiaowei
e484525366 video: rockchip: rga2: Fix rotating mmu interruption error.
Since the ARGB format was added without processing the address offset
during rotation, the address offset of mmu was calculated incorrectly.

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I6bddd21b50bf60cadf493e73cff10c18210c375c
2021-12-23 20:24:29 +08:00
Ziyuan Xu
0ae8002613 ARM: configs: rv1126-trailcamera.config: add touchscreen(gt1x) supprot
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I38fac09e8ecfc6f3ee75d1103e8a83e130c195fc
2021-12-23 14:55:08 +08:00
Ziyuan Xu
385667d0c9 ARM: dts: rv1126-trailcamera: add touchscreen support
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: Ic0055860eb37c9c5ddf07809d2742482c88ba781
2021-12-23 14:55:08 +08:00
Shawn Lin
d15b9a1449 phy: rockchip: naneng-combphy: Renew detect bypass reg
Should use REG_19H instead of REG_DH.

Fixes: 2f06afaaa8 ("phy: rockchip: naneng-combphy: Force detect Rx for RK356X SoCs")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: Ifc9484e850955e6a36c30755a7ba1aee65070d0f
2021-12-23 11:41:09 +08:00
Su Yuefu
4c404d4126 media: i2c: add sc1330 sensor driver
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: I3d2ad3c4607f6174d53db4189e8affccea32fdd5
2021-12-23 11:38:36 +08:00
Su Yuefu
41bb7b4852 media: i2c: add gc1054 sensor driver
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: I78599fac1db0b057a50f61c7edfcdfb2dc440db6
2021-12-23 11:38:36 +08:00
Jon Lin
533467b6e7 spi: rockchip: clear interrupt status in error handler
The interrupt status bit of the previous error data transmition will
affect the next operation and cause continuous SPI transmission failure.

Change-Id: Ib215d63d8572e3fc8d843652687e1ebfb7ff531e
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2021-12-23 11:16:30 +08:00
Jon Lin
7a460a763b spi: rockchip: terminate dma transmission when slave abort
After slave abort, all DMA should be stopped, or it will affect the
next transmission:

[   31.693877] Unable to handle kernel paging request at virtual address ffffff8105a2a7c0
[   31.694643] Mem abort info:
[   31.694898]   ESR = 0x96000045
[   31.695179]   EC = 0x25: DABT (current EL), IL = 32 bits
[   31.695653]   SET = 0, FnV = 0
[   31.695931]   EA = 0, S1PTW = 0
[   31.696218] Data abort info:
[   31.696485]   ISV = 0, ISS = 0x00000045
[   31.696832]   CM = 0, WnR = 1
[   31.697112] swapper pgtable: 4k pages, 39-bit VAs, pgdp=000000000142f000
[   31.697713] [ffffff8105a2a7c0] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
[   31.698502] Internal error: Oops: 96000045 [#1] SMP
[   31.698943] Modules linked in:
[   31.699235] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W         5.10.43 #8
[   31.699895] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
[   31.700455] pstate: 60400089 (nZCv daIf +PAN -UAO -TCO BTYPE=--)
[   31.701000] pc : rockchip_spi_slave_abort+0x150/0x18c
[   31.701456] lr : rockchip_spi_slave_abort+0x78/0x18c

Change-Id: I486211d1b96125bae18b6f1a51e1e425da5e847f
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2021-12-23 11:15:58 +08:00
shengfei Xu
ec35373004 spi: rockchip: Suspend and resume the bus during NOIRQ_SYSTEM_SLEEP_PM ops
the wakeup interrupt handler which is guaranteed not to run while
@resume noirq() is being executed. the patch can help to avoid the
wakeup source try to access spi when the spi is in suspend mode.

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I3e6bc6e05dddeedea4c82de45a9e06b40e870876
2021-12-23 11:15:44 +08:00
Tobias Schramm
8bae8a0857 UPSTREAM: spi: rockchip: handle zero length transfers without timing out
Previously zero length transfers submitted to the Rokchip SPI driver would
time out in the SPI layer. This happens because the SPI peripheral does
not trigger a transfer completion interrupt for zero length transfers.

Fix that by completing zero length transfers immediately at start of
transfer.

Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit 5457773ef9)
Change-Id: I0c14eee10fbf0ffd2938d52b6d0c88910d8fd9d7
Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
2021-12-23 11:15:18 +08:00
Ziyuan Xu
8d966971bf ARM: configs: add rv1126-trailcamera.config
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: If776b5140255004196554bba9ebc5bf975973da4
2021-12-22 10:27:39 +08:00
Ziyuan Xu
abaa0cc748 ARM: dts: rv1126-trailcamera: add vdec support
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I62fd306268a7281f92e0fc3ca0010eb07cfeddf0
2021-12-22 10:27:38 +08:00
Tao Huang
ac5fd3cc4f Revert "FROMLIST: mm/zsmalloc.c: fix zsmalloc ARM LPAE support"
This reverts commit ba0401694b.

Replaced by commit d4fe42d646 ("arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed").

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I9b0f39823bd2202bd58837262a54694c096aab84
2021-12-21 15:09:16 +08:00
Tao Huang
cb4c230a63 scripts/gcc-wrapper.py: ignore vfs.c:1261
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I637a4f0364c06da066ea6a23ac7f19dec9b4edd3
2021-12-21 14:47:19 +08:00
Tao Huang
b35c8682be Merge tag 'ASB-2021-12-05_4.19-stable' of https://android.googlesource.com/kernel/common
https://source.android.com/security/bulletin/2021-12-01
CVE-2021-33909
CVE-2021-38204
CVE-2021-0961

* tag 'ASB-2021-12-05_4.19-stable': (1065 commits)
  BACKPORT: arm64: vdso32: suppress error message for 'make mrproper'
  Linux 4.19.219
  tty: hvc: replace BUG_ON() with negative return value
  xen/netfront: don't trust the backend response data blindly
  xen/netfront: disentangle tx_skb_freelist
  xen/netfront: don't read data from request on the ring page
  xen/netfront: read response from backend only once
  xen/blkfront: don't trust the backend response data blindly
  xen/blkfront: don't take local copy of a request from the ring page
  xen/blkfront: read response from backend only once
  xen: sync include/xen/interface/io/ring.h with Xen's newest version
  fuse: release pipe buf after last use
  NFC: add NCI_UNREG flag to eliminate the race
  hugetlbfs: flush TLBs correctly after huge_pmd_unshare
  s390/mm: validate VMA in PGSTE manipulation functions
  tracing: Check pid filtering when creating events
  vhost/vsock: fix incorrect used length reported to the guest
  net: hns3: fix VF RSS failed problem after PF enable multi-TCs
  net/smc: Don't call clcsock shutdown twice when smc shutdown
  MIPS: use 3-level pgtable for 64KB page size on MIPS_VA_BITS_48
  ...

Change-Id: Iaa72ffe6492c1a9a32cbd8769ae00c3f47ed198b

Conflicts:
	arch/arm64/boot/dts/rockchip/rk3328.dtsi
	drivers/media/i2c/imx258.c
	drivers/soc/rockchip/Kconfig
	drivers/usb/host/ehci.h
2021-12-20 20:43:37 +08:00
Shawn Lin
2f06afaaa8 phy: rockchip: naneng-combphy: Force detect Rx for RK356X SoCs
Follow internal design requirement.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I1b304cfab4a65c88cfdab6f59922f297fa35e742
2021-12-20 20:11:59 +08:00
Su Yuefu
c9992a6573 media: i2c: add os12d40 sensor driver
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: I2fd76819530830cf760e46a9c14a9b4a23bcff55
2021-12-17 16:21:57 +08:00
Su Yuefu
807f68388e media: i2c: add jx_f37p sensor driver
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: I05b3269a9f9da1373eea83f2a9983c9a24e0a15c
2021-12-17 16:01:16 +08:00
Su Yuefu
1c12dddb5d media: i2c: sc401ai sensor driver support 2lanes config
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: I866a82badc02da635c5dee1e3a952cc4c87affa5
2021-12-17 15:59:56 +08:00
Xing Zheng
c23c16b816 ASoC: rockchip: rk817-codec: Reset DTOP_DIGEN_CLKE after finish digital registers
This patch try to reset DTOP_DIGEN_CLKE during hook power up
after finish configure digital registers, avoid to the incorrect
work status.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: Iaa7eb3ebf41d0a55ddf8005bcaeccae2c60656eb
2021-12-17 15:47:57 +08:00
Zorro Liu
13a543e8cc drm/rockchip: ebc_dev: release version v2.22
use tid_name to singed buf user, so we can check buf usage, and recyle

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Iccf48bc30fbbf1ab44ac33babc9f00500b647623
2021-12-13 14:20:44 +08:00
Wang Panzhenzhuan
828254f3a4 arm64: dts: rockchip: rk3326-evb-lp3-v10-avb: fix camera config
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I3516e6cef2dbc1b3df4430cc73637968d6fea0dd
2021-12-09 15:12:23 +08:00
Zorro Liu
1ea2bb4a99 arm64: dts: rockchip: config the pmic_sleep internal pull up/down for
rk3566 eink boards

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I7c9c31babd2ec700d522836eeadbe2e4ce6cc819
2021-12-08 11:38:32 +08:00
Zorro Liu
70e7a473ce drm/rockchip: ebc_dev: release version v2.21
ebc delay 200ms poweroff when no refresh request

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Ica4c3b56d4ae92a83fbd965b14e4a434b2700729
2021-12-08 10:17:37 +08:00
Zorro Liu
f46e670930 drm/rockchip: ebc_dev: release version v2.20
ebc power on in advance
fix resume check not drop buf

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I1f34d4c5bd49a730967c997225f40dbed165bc92
2021-12-07 22:25:08 +08:00
Zorro Liu
b518874324 drm/rockchip: ebc_dev: release version v2.19
fix auto mode refresh not complete

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Ieb6949abf7f27432d5f5a343e6e7b5e2b358f8a5
2021-12-07 15:49:15 +08:00
Zorro Liu
2f2690e24e drm/rockchip: ebc_tcon: set ebc dclk div 0
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Icab6c9539fd055899c1bc95cf7ac496a17809117
2021-12-07 15:49:03 +08:00
Zorro Liu
77fca5bc9f arm64: dts: rockchip: rk3566-rk817-eink-w103: assign ebc dclk
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I384f758401e5d591ff0a9fe2a1c7e0326cb064c2
2021-12-07 15:48:46 +08:00
Caesar Wang
48f29b227e arm64: dts: rockchip: add rk3358 evb for linux
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I64fd77f17c4df93dc1ba14b19a054ec551500ba8
2021-12-03 15:55:55 +08:00
Binyuan Lan
017f095a48 amr64: dts: rockchip: px30-evb-ddr3-v10: add test power
Signed-off-by: Binyuan Lan <lby@rock-chips.com>
Change-Id: I60106f13af425e9578703ec667cf4657deb8a5c7
2021-12-03 09:37:30 +08:00