Wang Panzhenzhuan
2d31a747d3
video: rockchip: vehicle: fix rk3576 can't change virtual channel issue
...
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com >
Change-Id: I95b3a9e5b376eb9026d0c91f0ac5817886094572
2025-04-07 11:40:42 +00:00
Xu Hongfei
8da27454ad
media: rockchip: fec: support dvfs
...
Signed-off-by: Xu Hongfei <xuhf@rock-chips.com >
Change-Id: Ie291e1bf8de0eaf00d3923866b1a3cead502a7de
2025-04-07 19:36:55 +08:00
Ye Zhang
0892b14770
clk: rockchip: clk-pvtpll: Update rv1126b npu pvtpll config
...
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com >
Change-Id: I86b5239767a2f4243cec74ba421b4471e1b365ab
2025-04-07 11:19:23 +00:00
Ye Zhang
6273c984de
arm64: dts: rockchip: rv1126b: Add cru phandle for pvtpll_npu
...
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com >
Change-Id: I04c3c5ab69ea6f9d4a6e1f21af283b4f30b0a48b
2025-04-07 11:19:15 +00:00
Ye Zhang
385a6bba9b
driver: rknpu: Add opp data for rv1126b
...
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com >
Change-Id: I43c8abde8a892753e843a5ef7765af74f43acad1
2025-04-07 11:19:07 +00:00
Ye Zhang
356db0b12d
soc: rockchip: opp_select: Implement rockchip_opp_is_use_pvtpll
...
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com >
Change-Id: I212c2ea1edba84228010fd2398cadc884bfd7560
2025-04-07 11:18:20 +00:00
XiaoDong Huang
89a144a509
ARM: configs: rv1126b_defconfig: Enable cpu-idle
...
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com >
Change-Id: Ia49c097ad097f4f0a497c143a06d6578a1057d4f
2025-04-07 19:03:22 +08:00
Xu Hongfei
d315240957
media: rockchip: fec: add clk configuration and register dump
...
Signed-off-by: Xu Hongfei <xuhf@rock-chips.com >
Change-Id: I5f664fbeb0460e675c9eeac89f17b8dc1deb367c
2025-04-07 10:03:45 +00:00
Xu Hongfei
1c925a90af
media: rockchip: fec: reset fec for each frame
...
Signed-off-by: Xu Hongfei <xuhf@rock-chips.com >
Change-Id: I15945f9d957bca72c8e553a6c85f7fd0f62b2876
2025-04-07 10:03:45 +00:00
Cai YiWei
56e21b2b05
media: rockchip: isp: fix lsc switch with aiisp for isp35
...
Change-Id: I9926374878bef7913dffdc0c520a5ab14e1b1de0
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2025-04-07 09:53:34 +00:00
Su Yuefu
c295d0c482
arm64: dts: rockchip: Add sc850sl/imx415 in rv1126bp-evb-cam-csi0
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: I86814a5bdb6642e07e7d688ea5f47ab63e0eaaee
2025-04-07 06:50:53 +00:00
Su Yuefu
7e3437ec52
media: i2c: sc850sl: Synchronize with the driver of kernel 5.10 branch
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: Ie91a7f1a643da9ce76e06f331558e58bba546392
2025-04-07 06:46:11 +00:00
Su Yuefu
f5bb52c061
arm64: dts: rockchip: rv1126b-evb-cam-csi0: Add sc635hai support
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: Ia6030d2970f88a9873595fc4dd52eec1cfe98895
2025-04-07 06:45:39 +00:00
Cai Wenzhong
cdece49a36
media: i2c: maxim: driver version v3.09.01
...
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com >
Change-Id: Iaf1dc715c63ce99532090fed50cebff16a4f6714
2025-04-07 06:45:05 +00:00
Hu Kejun
9ae6987baf
arm64: dts: rockchip: rv1126b: aiisp: Add assigned-clocks
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: I417f9e8485064f6edd18d7de7a7fd95ff9855c6c
2025-04-07 02:33:18 +00:00
Shuangjie Lin
07c723aefa
Revert "arm64: dts: rockchip: rv1126b-evb: disabeld rknpu mmu"
...
This reverts commit 156cab8bca .
Signed-off-by: Shuangjie Lin <shuangjie.lin@rock-chips.com >
Change-Id: I7cf84ce10a32281b48de059272d4becd87c67410
2025-04-07 10:29:45 +08:00
Shuangjie Lin
e388e71504
driver: rknpu: Fix rv1126b npu open iommu error
...
Signed-off-by: Shuangjie Lin <shuangjie.lin@rock-chips.com >
Change-Id: Ifbdc238e2b2c74ba3112aa472c97460d1b709ec0
2025-04-07 02:10:09 +00:00
Su Yuefu
8f1d31ad97
ARM: dts: rockchip: Add rv1126bp-evb-v14-dual-cam board
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: Icdbb9916640507bb8ed490c4a83d8618714faa01
2025-04-04 10:14:51 +08:00
Su Yuefu
6b62ba06aa
arm64: dts: rockchip: Add rv1126bp-evb-v14-dual-cam board
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: Ic5ab10670c367e54bed4d7d01b59253cc7ae1179
2025-04-04 10:14:44 +08:00
Su Yuefu
b762ba8980
arm64: dts: rockchip: Add single/dual camera dtsi and rv1126bp-evb-v14 dtsi
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: I090f11d77d4355d7b1ccf7e098770eab699f2f89
2025-04-04 10:14:36 +08:00
David Wu
fc5aafdc74
ethernet: stmmac: dwmac-rk: Add macphy clock input method for rv1126b
...
Change-Id: I37b33aec1fd5f7d09abfd7b3b4644e6eb5fbc78d
Signed-off-by: David Wu <david.wu@rock-chips.com >
2025-04-03 12:09:52 +00:00
David Wu
34e611a84e
arm64: dts: rockchip: rv1126b-evb2-v10: Fix FEPHY clock and led
...
Change clk_phy to 50M and add led function.
Change-Id: Ifd91490c799e866eb69a0fcad56c98acaed03366
Signed-off-by: David Wu <david.wu@rock-chips.com >
2025-04-03 12:09:52 +00:00
Su Yuefu
7fb7faf2f4
ARM: configs: rv1126b-evb: Enable CONFIG_VIDEO_SC635HAI
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: I70c16c8f56a60fa752219ceb2af9d40acacab0f5
2025-04-03 12:06:35 +00:00
LongChang Ma
604d7e4904
media: i2c: add sc635hai sensor driver for kernel 6.1
...
Signed-off-by: LongChang Ma <chad.ma@rock-chips.com >
Change-Id: I985635745dad3cc55edd77054f0cdc63394d5fba
2025-04-03 12:06:16 +00:00
Su Yuefu
667f793992
media: i2c: sc450ai: add 2lane/4lane hdr config
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: I88228ca481f263e22682beff48bb419847dbc918
2025-04-03 12:04:07 +00:00
Tom Song
23eebc5a3d
arm64: configs: add rk3576_vehicle_amp.config
...
Change-Id: I9bac381c1aa728c8ce22a1370445b55bbe99d1d8
Signed-off-by: Tom Song <tom.song@rock-chips.com >
2025-04-03 11:59:48 +00:00
Tom Song
bb0188c9c4
arm64: dts: rockchip: add rk3576-vehicle-amp
...
Change-Id: I5230ff09ea46f2775a410c2f3e52767eca97d2a5
Signed-off-by: Tom Song <tom.song@rock-chips.com >
Signed-off-by: Xu Xuehui <xxh@rock-chips.com >
2025-04-03 11:59:27 +00:00
Chen Shunqing
3d799a3260
media: rockchip: hdmirx: fix crash when get fmt
...
Call trace:
dump_backtrace+0xf4/0x118
show_stack+0x18/0x24
dump_stack_lvl+0x60/0x7c
dump_stack+0x18/0x38
__schedule_bug+0x6c/0x8c
__schedule+0x668/0x9f0
schedule+0x7c/0xe8
schedule_hrtimeout_range_clock+0xa4/0x118
schedule_hrtimeout_range+0x14/0x24
usleep_range_state+0x60/0x9c
hdmirx_get_pix_fmt+0xa0/0x210 [rockchip_hdmirx]
hdmirx_hdmi_irq_handler+0x770/0xb4c [rockchip_hdmirx]
__handle_irq_event_percpu+0xbc/0x26c
handle_irq_event+0x48/0xb8
handle_fasteoi_irq+0x124/0x284
generic_handle_domain_irq+0x44/0x60
gic_handle_irq+0x4c/0x114
call_on_irq_stack+0x3c/0x74
el1_interrupt+0x74/0xd8
el1h_64_irq_handler+0x18/0x24
el1h_64_irq+0x68/0x6c
Signed-off-by: Chen Shunqing <csq@rock-chips.com >
Change-Id: Id789732bd80b57b128002d6c4a0546eab10f747e
2025-04-03 11:28:49 +00:00
Shengfei Xu
e5db0686ad
power: supply: rk817_battery: Refactor code and update state-of-charge algorithm
...
This algorithm dynamically estimates a battery's total dischargeable
capacity by correlating real-time internal resistance (measured at
cutoff voltage) with instantaneous current under varying operational
conditions. To account for temperature-dependent resistance
characteristics, the method implements a worst-caseselection protocol:
comparing the measured internal resistance against the
room-temperaturereference value (25°C cutoff threshold) and adopting
the higher resistance value for capacity computation.
Change-Id: I6c00091a76753c707ca8d0043791173db56d5a41
Signed-off-by: Shengfei Xu <xsf@rock-chips.com >
2025-04-03 11:24:07 +00:00
Chaoyi Chen
8617d03e81
drm/rockchip: vop: Fix wrong RV1126B_CLK_CNT offset
...
According to TRM, RV1126B_CLK_CNT should be 0x44.
Fixes: 8f17704e58 ("drm/rockchip: vop: Add dclk rate count for RV1126B")
Change-Id: Ic6f57e85ce6adfef1adae005f69069cb61cf99d4
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com >
2025-04-03 11:22:40 +00:00
Elaine Zhang
c9fb69bc87
arm64: dts: rockchip: rv1126b: fix rtc clock
...
Change-Id: I3dfe6c6b97be2fffcfcaa1fef3c705dbbf38190b
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
2025-04-03 11:16:39 +00:00
Elaine Zhang
1b6dac90db
rtc: rockchip: remove rtc test for rv1126b
...
Change-Id: Ib969607e92b0d19a630faf33772aa19ad3954c2c
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
2025-04-03 11:16:39 +00:00
Hu Kejun
6c11010df0
media: rockchip: aiisp: remove some spinlock
...
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
Change-Id: Ie73d3ea85a4fb851e2b5cb71d31a33a70c9ad300
2025-04-03 11:09:52 +00:00
Jason Zhu
79b29646f6
ASoC: rockchip: pdm_v2: calculate the data shift if not set by dts on rv1126b
...
Change-Id: I0ae2d47d3f1091fd1673508ccc36a8e0daebb9a2
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com >
2025-04-03 07:02:40 +00:00
Finley Xiao
d87bfc4a09
thermal: rockchip: Use software ctrl mode for rv1126b
...
This make the phy enter continuous sampling mode, and get temperature faster.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I8c367e3677815f7c32ab705b32e95f1675798045
2025-04-03 04:07:21 +00:00
Cai YiWei
bfd9dfad2e
media: rockchip: isp: fix isp35 lsc and awb error for aiisp en
...
Change-Id: I1bef27b5328684343f898e52f4b65e69118adb16
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2025-04-03 04:02:01 +00:00
Cai YiWei
93e830dccc
media: rockchip: isp: remove clk 600M for isp35
...
Change-Id: I6a9fa6b1fd61422dbfd998ebbb14bf477e3aa71b
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2025-04-03 04:01:39 +00:00
Simon Xue
f1f8e51627
ARM/dma-mapping: fix range overflow
...
Change the variable type to 'unsigned long long' to represent the full 4GB space
Change-Id: I93f3fddbede0ebcd08dfce9c8103798554875c30
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2025-04-03 03:32:14 +00:00
Simon Xue
6311b3e728
ARM/dma-mapping: treat address 0 of IOVA valid
...
Because address 0 of IOVA is allowed when iova_alloc,
don't treat 0 as a invalid IOVA address when unmap/sync
Change-Id: I3ddccbc621db423214fc69bb36c9a1b7b9c6e684
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2025-04-03 10:47:26 +08:00
Simon Xue
ac9dc34b8c
ARM/dma-mapping: increase iommu bitmap size to 64KB
...
Due to the maximum bitmap size limit of 4KB and the restriction
on cross-bitmap allocation requests, a single IOVA allocation cannot
exceed 128MB. This does not meet the requirements of the NPU.Increase
the bitmap size to 64KB will allow a maximum single IOVA allocation
of 2GB to address this issue.
Change-Id: I38cbdef5622e049aa0bc08009707ad60943dfd42
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2025-04-03 02:45:35 +00:00
Jianwei Fan
5dacb1ab68
media: i2c: lt6911uxe: calculate mipi freq from pixclk
...
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
Change-Id: I8037409e179939bdeae0e070400c1afb0423d8de
2025-04-03 02:40:20 +00:00
Jianwei Fan
e00b697005
media: i2c: lt6911uxe: add yuv420-8bit legacy support
...
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
Change-Id: Iea357d3633242e362024992cdc99e13230392d68
2025-04-03 02:40:20 +00:00
Cai YiWei
06376fa564
media: rockchip: vpss: attach info for rockit
...
Change-Id: I4411edb68f7cf9e3e22ffcc6aa9d53a56d0e0e73
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2025-04-03 09:31:50 +08:00
Cai YiWei
5a44afbcdf
media: rockchip: isp: add attach info for isp35
...
Change-Id: I4e5829367cf21ecdd5b7e1d03fecfa7479cecb90
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2025-04-03 09:31:41 +08:00
Liang Chen
b5fd7789c8
arm64: dts: rockchip: rv1126b: add pvtpll node for aisp
...
Change-Id: I5399fab8409d4c5b3be38f56da62edd0a2f4f5ea
Signed-off-by: Liang Chen <cl@rock-chips.com >
2025-04-02 09:55:59 +00:00
Liang Chen
3592386bc9
clk: rockchip: add aisp pvtpll clk for rv1126b
...
Change-Id: Ia92560172b1133a124d03ea37420fe3c3ca83ae0
Signed-off-by: Liang Chen <cl@rock-chips.com >
2025-04-02 09:55:59 +00:00
Cai YiWei
30478a0151
media: rockchip: vpss: fix wrap for vpss online
...
Change-Id: I98aa2329b228f889ee08fbdf3239546087b928e0
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2025-04-02 09:54:29 +00:00
Xuhui Lin
90b3d70d79
spi: rockchip-slave: Add VER3_TYPE2 support
...
Change-Id: I140648c4923acf91ed5238e8d831d7c0d373c9af
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com >
2025-04-02 09:38:32 +00:00
Jon Lin
b7aab6c829
spi: spidev-rkmst: Fix wait for ready timeout
...
Modify to the correct waiting time. By default, the slave ready
must be confirmed by the ready signal, otherwise the function can
only be realized by time redundancy.
Change-Id: I721979a6bacc4cb2b58f434156ecb7b399a1dfb7
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2025-04-02 09:38:32 +00:00
Su Yuefu
ae7f489bc0
ARM: dts: rockchip: Add rv1126b-evb1-v10-dual-4k board
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: Ib06aa05d91cc2b816ad659e0290ae0ee9e94a961
2025-04-02 09:36:22 +00:00