Commit Graph

1087150 Commits

Author SHA1 Message Date
Cai YiWei
b2cdfdd52a media: rockchip: isp: fix isp32 bp min output
Change-Id: Ic711a9b668cc6f832d4752700e63db54a50ed594
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-02-04 20:00:53 +08:00
Lin Jinhan
ad8ec7ddd0 crypto: rockchip: cryptodev: cipher support multithreading
Only HASH multithreading is restricted by the hardware. Therefore,
cipher removes the restriction on multithreading.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I8ec0cb31cd51e6acfa5582cd7778d6482674f1de
2024-02-04 19:40:09 +08:00
Lin Jinhan
3258128cd9 crypto: rockchip: cryptodev: add akcipher_request_set_callback for rsa
Missing akcipher_request_set_callback will cause a process exception
 when rsa works in asynchronous mode.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I99d3ffde471269528f42869d052004a25a6c14b0
2024-02-04 19:40:09 +08:00
Zefa Chen
497d03d9a2 media: rockchip: vicap fixes dma_en logic err with constrant electricity and readback mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I39c407234d07803f5880ed378f05814e510b528b
2024-02-04 17:18:58 +08:00
Zheng Zhiqi
f792fcee7d ASoC: rockchip-spi-codec: fix kctonrol mute case crash
fix kcontrol mute case crash, tested by `dumpsys car_service inject-vhal-event 289475072 1,0`.

[  136.260357][  T632] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010
[  136.262328][  T632] Mem abort info:
[  136.264924][  T632]   ESR = 0x96000005
[  136.265362][  T632]   EC = 0x25: DABT (current EL), IL = 32 bits
[  136.266072][  T632]   SET = 0, FnV = 0
[  136.266406][  T632]   EA = 0, S1PTW = 0
[  136.266772][  T632] Data abort info:
[  136.267094][  T632]   ISV = 0, ISS = 0x00000005
[  136.267518][  T632]   CM = 0, WnR = 0
[  136.267853][  T632] user pgtable: 4k pages, 39-bit VAs, pgdp=000000012871b000
[  136.268492][  T632] [0000000000000010] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
[  136.269342][  T632] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[  136.269899][  T632] Modules linked in: ahci_platform libahci_platform himax_mmi ohci_platform ili210x ohci_hcd
[  136.270788][  T632] CPU: 2 PID: 632 Comm: android.hardwar Not tainted 5.10.198 #46
[  136.271453][  T632] Hardware name: Rockchip RK3588 VEHICLE EVB V22 Board (DT)
[  136.272077][  T632] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO BTYPE=--)
[  136.272673][  T632] pc : spi_codec_ext_ch_mute_put+0x14/0x40
[  136.273178][  T632] lr : snd_ctl_elem_write+0x128/0x16c
[  136.273636][  T632] sp : ffffffc00e44bc10
[  136.273987][  T632] x29: ffffffc00e44bc10 x28: ffffff811e293900
[  136.274514][  T632] x27: 0000000000000000 x26: 0000000000000000
[  136.275040][  T632] x25: 0000000000000000 x24: ffffff81006024a0
[  136.275566][  T632] x23: ffffff8100602000 x22: 00000000c4c85513
[  136.276092][  T632] x21: ffffff8110838b00 x20: ffffff811cf0f000
[  136.276618][  T632] x19: ffffff8100602000 x18: ffffffc00dc45040
[  136.277144][  T632] x17: 0000000020000000 x16: 0000000000000001
[  136.277669][  T632] x15: 0000000000000000 x14: 000000020000001a
[  136.278195][  T632] x13: 754d206b63616279 x12: 0000000000000000
[  136.278722][  T632] x11: 0000000000006574 x10: 0000000000000000
[  136.279249][  T632] x9 : 0000000000000004 x8 : ffffff81038eb000
[  136.279781][  T632] x7 : 0000000000000000 x6 : ffffff811cf0f4c8
[  136.280311][  T632] x5 : ffffff811cf0f4c8 x4 : 0000000000000000
[  136.280840][  T632] x3 : 0000000000000000 x2 : ffffff811cf0f000
[  136.281367][  T632] x1 : ffffff811cf0f000 x0 : ffffff8107260c00
[  136.281894][  T632] Call trace:
[  136.282184][  T632]  spi_codec_ext_ch_mute_put+0x14/0x40
[  136.282655][  T632]  snd_ctl_elem_write+0x128/0x16c
[  136.283083][  T632]  snd_ctl_ioctl+0x7dc/0xb48
[  136.283479][  T632]  __arm64_sys_ioctl+0x90/0xc8
[  136.283888][  T632]  el0_svc_common+0xac/0x1ac
[  136.284283][  T632]  do_el0_svc+0x1c/0x28
[  136.284637][  T632]  el0_svc+0x10/0x1c
[  136.284968][  T632]  el0_sync_handler+0x68/0xac
[  136.285374][  T632]  el0_sync+0x164/0x180

Change-Id: I35ec1fb0974b8dd9b58bd6d8b2b362a414cb4cd7
Signed-off-by: Zheng Zhiqi <looper.zheng@rock-chips.com>
2024-02-04 14:38:46 +08:00
Wu Liangqing
f4895714f4 arm64: dts: rockchip: rk3588-evb7-v11-imx415: remove cam_ircut0
cam_ircut0 ircut-open-gpios reused by typec

Change-Id: Iac2f8f104175df7ff5c12b31c8215df837ce1aa2
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2024-02-04 01:46:51 +00:00
Jon Lin
d611ab7d40 mtd: spinand: skyhigh: Fix devices information
1.The wrong QE bits will make a redundant write in status register.
2.The EBH dummy is 8 bytes, but we use 6BH cmd only.

Change-Id: I6a19500340ab299f22f6e394e59a28430c6493a5
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-02-01 18:28:38 +08:00
Zefa Chen
661fb29e15 media: rockchip: vicap distinguish different interlace mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I38ed270d9b063df3c5f572f2fba268c8f7d84091
2024-02-01 16:52:22 +08:00
Zefa Chen
1fc0f88577 media: rockchip: vicap: mipi interlaced capture support correct frame sequence
correct by frame num witch get from mipi fs/fe short packet,
this function need rk356x and later chips to support

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I62d0dda18dbde45c7a161fdf7a85fd6219c90a31
2024-02-01 16:52:22 +08:00
Finley Xiao
d12fe16c94 clk: rockchip: px30: Make usb480m critical
Gpu 480M is from usb480m and the source clocks should be always on
if change gpu frequency after power off pd.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I1e02ca7d0408a42f65240cf0b33d11eaeb6f85b6
2024-02-01 16:51:59 +08:00
Cai YiWei
0d60f4f738 media: rockchip: isp: fix isp32 mp buf cfg
fix commit e601ffeb04 ("media: rockchip: isp: dvbm buf support from rockit")

Change-Id: I0ff6f7842cd7ac4dc75245bf72866d94f106f34c
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-01-31 16:12:04 +08:00
Xiao Ya peng
68e806406c arm64: configs: add rk3308_rkpartybox.config
Change-Id: I99a98e338466abfaf98e80b52b36f4772676d420
Signed-off-by: Xiao Ya peng <yp.xiao@rock-chips.com>
2024-01-30 19:03:50 +08:00
Lan Honglin
28a7162d47 media: i2c: add sc831ai sensor driver
Change-Id: Ia2ceeb8fcc7f15f9b610583714e3dc03b5e3c8ce
Signed-off-by: Lan Honglin <helin.lan@rock-chips.com>
2024-01-30 19:02:08 +08:00
Sandy Huang
8ed148210d drm/rockchip: lvds: register sub dev at rockchip lvds driver
At lvds to other display output type product, the connector maybe
register at third party drivers, the sub dev register often be forgot, so we add
sub dev register at rockchip lvds driver.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: If075041df8ddb1b269c903d092a6263160eff1db
2024-01-30 18:53:01 +08:00
Sandy Huang
1ebaed6daf drm/rockchip: rgb: register sub dev at rockchip rgb driver
At rgb to other display output type product, the connector maybe register at
third party drivers, the sub dev register often be forgot, so we add sub
dev register at rockchip rgb driver.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I3baa051712ac30b63dffa9658df470c12bcb91dc
2024-01-30 18:52:53 +08:00
Finley Xiao
91ce62dbce soc: rockchip: power-domain: Update gate mask for rk3562
The vepu biu clk depends on vi biu clk, add vi gate mask for pd vepu.
The rga biu clk depends on vo biu clk, add vo gate mask for pd rga.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ieaa62a053369e570eb0a11d132fa472c6bd246f4
2024-01-30 18:41:30 +08:00
Jun Zeng
17a33dcac2 arm64: dts: rockchip: rk3588-vehicle-evb: add spi codec reset gpio
Change-Id: Ib6d9fbebe978a3393fa42d1d4d441fa1bbb9f599
Signed-off-by: Jun Zeng <jun.zeng@rock-chips.com>
2024-01-30 18:37:32 +08:00
Sandy Huang
3bc6e98dcc drm/rockchip: vop2: clearly point out the plane unsupported format modifier
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I2d247f6ae1f63225629dfc6641bce5525cfb8b20
2024-01-30 18:36:39 +08:00
Jianwei Fan
192370b955 arm64: dts: rockchip: rk3588-vehicle-evb: fix image reverse mipi_csi node
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: Ie14481f72268d0e91446cb489003503713c28e14
2024-01-30 18:35:23 +08:00
Jianwei Fan
e4bcfb45de arm64: dts: rockchip: rk3562-evb: fix image reverse mipi_csi node
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I5364d50a99b4388b34631f6a3c43565c6878522c
2024-01-30 18:34:54 +08:00
Jianwei Fan
5f64a92db2 video: rockchip: vehicle: fix bugs of cif get csi_fmt_val
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I802fc6a48a2a2177c919f1a09223136e26834c8c
2024-01-30 18:34:25 +08:00
XiaoDong Huang
6685f6f7f9 ARM: rockchip: rv1106: sleep: use rtc as 32k source
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: I32db2b499f4eabfee1acb2b8a7feb0d85e10456b
2024-01-30 18:31:42 +08:00
XiaoDong Huang
21f57eaf2d ARM: rockchip: rv1106_pm: improve the accuracy of recovering hptimer
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: I5ccc5f5fba0f7696fc2c0563ed715b78b5adf451
2024-01-30 18:31:42 +08:00
XiaoDong Huang
0196404b4f soc: rockchip: pm_config: initialize sleep_config to 0
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: I95697411f67492f1e83f07010248f4cab487d6ed
2024-01-30 18:31:42 +08:00
Elaine Zhang
f45da24df9 rtc: rockchip: support rtc suspend bypass
If rtc 32k used as time for deep sleep, the rtc suspend
func bypass do nothing.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I020182bd06ee68da387a141eb55a86f6bb3a0c5b
2024-01-30 18:31:42 +08:00
Zhang Yubing
517ffd6317 drm/rockchip: vop2: dump encdoer name in summary info
In most rockchip display interface driver, only one connector
attach to a encoder. it can be sured which econder is used
by the connector name.

For DP MST, a DP MST connector will attach to many DP MST
encoders, and more than one DP MST connector can attach
to a DP MST encoder. A DP MST encoder's possible crtc can
also more than one. So in this case, which DP MST encoder
is used can't be get by the crct name or connector name.
A encoder name is necessary for DP MST encoder.

Change-Id: I57026b25d63cde8f72a6e34dc56e073559659821
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-01-30 10:46:37 +08:00
Yu Qiaowei
0b97d73d8e video: rockchip: rga3: fix the wrong check of resolution in RGA3 rotating
Change-Id: If135f3cbb80f30e0a7de18ce293b188318603fde
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
2024-01-30 10:13:23 +08:00
Yu Qiaowei
14e857ea06 video: rockchip: rga3: Add debug log when assign cores
Change-Id: I9e601fa14da96224acb68ced88ac4580b32b6822
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
2024-01-30 10:13:23 +08:00
Cai YiWei
e601ffeb04 media: rockchip: isp: dvbm buf support from rockit
Change-Id: Icacd6c500b8e21830c0b44914e2d742f42e8cf75
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-01-30 10:10:00 +08:00
Cai YiWei
dd09e02ea1 media: rockchip: isp: support multiple wrap
Change-Id: Ic0388b6ff7595799164d1872c1303da4107397f2
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-01-30 10:10:00 +08:00
Cai YiWei
b84a03e24e media: rockchip: isp: fix isp stop to read stats buf
Change-Id: Ieea391acda2ae44dfa0b26d063a057aec7162521
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-01-30 10:10:00 +08:00
Sugar Zhang
bc09999632 ASoC: rockchip: trcm: Fix sleeping function called in atomic context
BUG: sleeping function called from invalid context at include/linux/dmaengine.h:1158
in_atomic(): 1, irqs_disabled(): 128, non_block: 0, pid: 824, name: HwBinder:714_2
CPU: 3 PID: 824 Comm: HwBinder:714_2 Tainted: G        W         5.10.198 #1023
Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
Call trace:
 dump_backtrace+0x0/0x1dc
 show_stack+0x18/0x24
 dump_stack_lvl+0xe4/0x12c
 dump_stack+0x18/0x3c
 ___might_sleep+0x110/0x120
 __might_sleep+0x50/0x88
 dmaengine_trcm_trigger+0x9c/0x2c4
 snd_soc_pcm_component_trigger+0x70/0xd8
 soc_pcm_trigger+0x90/0xb0
 snd_pcm_stop+0xa0/0x140
 snd_pcm_release_substream+0x8c/0x194
 snd_pcm_release+0x40/0xa0
 __fput+0xf0/0x260
 ____fput+0x10/0x1c
 task_work_run+0x98/0xf8
 do_notify_resume+0x120/0x21c
 work_pending+0xc/0x730

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I368e3497287f497c7838c18ac28a967a802dd49b
2024-01-30 10:06:37 +08:00
yuyz
d15d637348 ARM: dts: rockchip: Add core dtsi for RV1106G3
Signed-off-by: yuyz <yuyz@rock-chips.com>
Change-Id: Ic6d78f2abb6cb73ecbf4045250aa235e49e267da
2024-01-29 11:29:42 +08:00
Tao Huang
5ffae8fffc Merge tag 'ASB-2024-01-05_12-5.10' of https://android.googlesource.com/kernel/common
https://source.android.com/docs/security/bulletin/2024-01-01

* tag 'ASB-2024-01-05_12-5.10': (29 commits)
  FROMGIT: PM / devfreq: Synchronize devfreq_monitor_[start/stop]
  UPSTREAM: dm verity: don't perform FEC for failed readahead IO
  UPSTREAM: netfilter: nft_set_pipapo: skip inactive elements during set walk
  UPSTREAM: ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
  UPSTREAM: x86/sev: Check for user-space IOIO pointing to kernel space
  UPSTREAM: x86/sev: Check IOBM for IOIO exceptions from user-space
  UPSTREAM: nvmet-tcp: Fix a possible UAF in queue intialization setup
  FROMLIST: binder: fix memory leaks of spam and pending work
  ANDROID: Snapshot Mainline's version of checkpatch.pl
  ANDROID: scsi: ufs: vendor check response and recovery addition
  ANDROID: scsi: ufs: add perf heuristic design
  ANDROID: ABI: Update symbol list for Mediatek
  ANDROID: Add vendor hook for ufs perf heuristic and error recovery
  UPSTREAM: io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
  UPSTREAM: ufs: core: wlun send SSU timeout recovery
  ANDROID: GKI: db845c: Update symbols list and ABI on rpmsg_register_device_override
  ANDROID: fix up rpmsg_device ABI break
  ANDROID: fix up platform_device ABI break
  UPSTREAM: rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
  UPSTREAM: rpmsg: glink: Release driver_override
  ...

Change-Id: I758558dcd135c3ed787c59b0a62a909c66016d80
2024-01-29 09:02:09 +08:00
Jon Lin
3d9e710063 mtd: spinand: Winbond: Support new device W25N01JWZEIG
Change-Id: I90b594403dbd71883da66f6e485959b48b505bda
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-01-26 18:00:36 +08:00
Lan Honglin
60a950bb3e media: i2c: sc4336 adapt sleep_wakeup
Change-Id: Ibf1b67d775b7546e74def818b0a0867251134444
Signed-off-by: Lan Honglin <helin.lan@rock-chips.com>
2024-01-26 17:10:06 +08:00
Zefa Chen
cbbff875b4 media: rockchip: vicap fixes the probability of stream data loss after tool nodes capture raw data
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I80cc848151e329400db1bc6a89ef54083f11a937
2024-01-26 17:04:07 +08:00
Cai YiWei
55370d45a7 media: rockchip: isp: add rkisp_buf_dbg
buf queue to set u64 data and buf done to check it.

Change-Id: If8e2e1d2b2f782a84dbbfb08b70c497ad23fec4b
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-01-26 17:01:56 +08:00
Cai YiWei
14646892b7 media: rockchip: isp: fix isp32 buf no update to hw
fix commit ea5b7f59a7 ("media: rockchip: isp: frame start to check and config next buf")

Change-Id: I166a5030ea4e9b666f7a0ceb6f2c4379e077bb36
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-01-26 17:01:56 +08:00
Cai YiWei
0975048a23 media: rockchip: isp: fix isp stop to enable isp ctrl
Change-Id: I818e4a1fe1297d522a5da0b8613cd37eb18ef840
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-01-26 17:01:56 +08:00
Pierre Gondois
ef84fb2dc9 UPSTREAM: sched/fair: Use all little CPUs for CPU-bound workloads
Running N CPU-bound tasks on an N CPUs platform:

- with asymmetric CPU capacity

- not being a DynamIq system (i.e. having a PKG level sched domain
  without the SD_SHARE_PKG_RESOURCES flag set)

.. might result in a task placement where two tasks run on a big CPU
and none on a little CPU. This placement could be more optimal by
using all CPUs.

Testing platform:

  Juno-r2:
    - 2 big CPUs (1-2), maximum capacity of 1024
    - 4 little CPUs (0,3-5), maximum capacity of 383

Testing workload ([1]):

  Spawn 6 CPU-bound tasks. During the first 100ms (step 1), each tasks
  is affine to a CPU, except for:

    - one little CPU which is left idle.
    - one big CPU which has 2 tasks affine.

  After the 100ms (step 2), remove the cpumask affinity.

Behavior before the patch:

  During step 2, the load balancer running from the idle CPU tags sched
  domains as:

  - little CPUs: 'group_has_spare'. Cf. group_has_capacity() and
    group_is_overloaded(), 3 CPU-bound tasks run on a 4 CPUs
    sched-domain, and the idle CPU provides enough spare capacity
    regarding the imbalance_pct

  - big CPUs: 'group_overloaded'. Indeed, 3 tasks run on a 2 CPUs
    sched-domain, so the following path is used:

      group_is_overloaded()
      \-if (sgs->sum_nr_running <= sgs->group_weight) return true;

    The following path which would change the migration type to
    'migrate_task' is not taken:

      calculate_imbalance()
      \-if (env->idle != CPU_NOT_IDLE && env->imbalance == 0)

    as the local group has some spare capacity, so the imbalance
    is not 0.

  The migration type requested is 'migrate_util' and the busiest
  runqueue is the big CPU's runqueue having 2 tasks (each having a
  utilization of 512). The idle little CPU cannot pull one of these
  task as its capacity is too small for the task. The following path
  is used:

   detach_tasks()
   \-case migrate_util:
     \-if (util > env->imbalance) goto next;

After the patch:

As the number of failed balancing attempts grows (with
'nr_balance_failed'), progressively make it easier to migrate
a big task to the idling little CPU. A similar mechanism is
used for the 'migrate_load' migration type.

Improvement:

Running the testing workload [1] with the step 2 representing
a ~10s load for a big CPU:

  Before patch: ~19.3s
  After patch:  ~18s (-6.7%)

Similar issue reported at:

  https://lore.kernel.org/lkml/20230716014125.139577-1-qyousef@layalina.io/

Suggested-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Acked-by: Qais Yousef <qyousef@layalina.io>
Link: https://lore.kernel.org/r/20231206090043.634697-1-pierre.gondois@arm.com
(cherry picked from commit 3af7524b14198f5159a86692d57a9f28ec9375ce)
Change-Id: Ibfd3ed5fc36ed067d1223603aac336dae11b4ce0
Signed-off-by: Liang Chen <cl@rock-chips.com>
2024-01-25 20:28:40 +08:00
Sandy Huang
f2af5d4507 drm/rockchip: vop2: remove ARGB2101010 support from VOP2
At RK3568 and RK3588 platform, cluster only can support AFBC XRGB2101010 and
not support ARGB2101010.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: If0695793ea102fdd10be2bcffd6bd428149da646
2024-01-25 20:18:40 +08:00
Sandy Huang
90c661b591 drm/rockchip: vop2: hdisplay must roundup 2/4 when calc pre_scan_dly
splice mode: hdisplay must roundup as 4 pixel,
no splice mode: hdisplay must roundup as 2 pixel.

otherwise will lead to POST_BUF_EMPTY and display black screen.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I0971a052751c411acef8ed2fcfd9f142caa37598
2024-01-25 10:45:56 +08:00
Zefa Chen
313e8b05f9 media: rockchip: vicap get_channel_info add param of field to cover value from get_fmt
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I552a42ccfa87e61a72b2ce9bd342e41d5e216a13
2024-01-25 10:44:34 +08:00
Chen Shunqing
e1831e066b media: i2c: rk628: add hdmirxphy debugfs
Type: Function
Redmine ID: N/A
Associated modifications: N/A
Test: cat /d/rk628/x-0050/registers/hdmirxphy
      echo 0x2 0x1680 > /d/rk628/x-0050/registers/hdmirxphy

Change-Id: Id395cb5c1c373be00ae4916d86f5f6b13c631c1f
Signed-off-by: Chen Shunqing <csq@rock-chips.com>
2024-01-25 10:44:05 +08:00
Zefa Chen
5a729b7b60 media: rockchip: vicap increase wake up cnt for rv1126/rk3568 monitor mode
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I8161e04d61215026591c47d67995f44c56ed54c5
2024-01-25 10:33:43 +08:00
Cai Wenzhong
0f5b360afc media: i2c: maxim: remote: record the status of the serializer
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Iee78aff7e99950313e5134bd9b0dd73422f0bec1
2024-01-25 09:32:08 +08:00
Algea Cao
f87e4c43fb misc: rk628: Fix warning: rk628_pin_iomux_groups defined but not used
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I737f9197de58097086df624d22e6db93d57202aa
2024-01-24 18:21:02 +08:00
Zhibin Huang
e111f41e81 misc: rk628: Fix the NULL in .suspend/.resume helper when working on hdmi tx mode.
Unable to handle kernel NULL pointer dereference at virtual address 000000000000021c

[   36.755198][    T8] Call trace:
[   36.755491][    T8]  regmap_write+0x14/0x78
[   36.755892][    T8]  rk628_suspend+0x64/0xc0
[   36.756290][    T8]  dpm_run_callback+0x4c/0x214
[   36.756720][    T8]  __device_suspend+0x338/0x528
[   36.757158][    T8]  async_suspend+0x28/0x14c
[   36.757562][    T8]  async_run_entry_fn+0x2c/0xfc
[   36.757994][    T8]  process_one_work+0x1a8/0x3b8
[   36.758436][    T8]  worker_thread+0x258/0x434
[   36.758851][    T8]  kthread+0xec/0x1b8
[   36.759211][    T8]  ret_from_fork+0x10/0x20

Signed-off-by: Zhibin Huang <zhibin.huang@rock-chips.com>
Change-Id: I062ecbf6c751a05b3820c3dc7644facffa68d38f
2024-01-24 18:06:31 +08:00
Elaine Zhang
ee158f86d9 arm64: dts: rockchip: add pd_perihp support for rk3399 usb2
Change-Id: I3a46d7dfb2846b332c81a5879a12853ce7423180
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2024-01-24 14:59:31 +08:00