Commit Graph

1276925 Commits

Author SHA1 Message Date
Tao Huang
b91acc7d36 ARM: rv1126_defconfig: Enable CONFIG_MEDIA_SUPPORT_FILTER
+CONFIG_MEDIA_SUPPORT_FILTER=y
-CONFIG_MEDIA_SUBDRV_AUTOSELECT
+CONFIG_MEDIA_CAMERA_SUPPORT=y
+CONFIG_MEDIA_PLATFORM_SUPPORT=y

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I77013e146279065a28bc65e86219b0f432d59d7c
2024-12-12 10:34:19 +08:00
Tao Huang
5ee38611d5 ARM: rockchip_defconfig: update by savedefconfig
CONFIG_VIDEO_V4L2_SUBDEV_API is selected by VIDEO_ROCKCHIP_ISP.
CONFIG_DRM_FBDEV_EMULATION depends on CONFIG_FB.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I30793b126827d7343595d566b04fa550b3472344
2024-12-12 10:34:19 +08:00
Tao Huang
c8fb522b11 ARM: rv1126_defconfig: Disable ZSTD
-CONFIG_RD_ZSTD
-CONFIG_UBIFS_FS_ZSTD

ZSTD is not available on kernel 4.19.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I8df0d943702b857de830b385b80e9bd913c87251
2024-12-12 10:34:19 +08:00
Tao Huang
5ca096da96 ARM: rv1126_defconfig: Enable configs default y on 4.19
+CONFIG_THERMAL_DEFAULT_GOV_POWER_ALLOCATOR=y
+CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y
+CONFIG_ROCKCHIP_IPA=y
+CONFIG_ROCKCHIP_DEBUG=y

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I74fcd332cde256c3400c2e056746ade59e6049d0
2024-12-12 10:34:19 +08:00
Tao Huang
fecb432466 ARM: rv1126_defconfig: Enable CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT
CONFIG_DEBUG_INFO is replaced by CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I52d8a8851f15c9669b204607d9ced61c4982bdf4
2024-12-12 10:34:19 +08:00
Tao Huang
1b069866b8 ARM: rv1126_defconfig: Remove unused configs
-CONFIG_INITRD_ASYNC=y
e7cb072eb9 ("init/initramfs.c: do unpacking asynchronously").
replaced by upstream implementation.

-CONFIG_ARM_CRYPTO=y
4a329fecc9 ("crypto: Kconfig - submenus for arm and arm64").

-CONFIG_ZSMALLOC=y
b3fbd58fcb ("mm: Kconfig: simplify zswap configuration").

-# CONFIG_NET_VENDOR_AURORA is not set
19038523a7 ("net: remove aurora nb8800 driver").

-CONFIG_ANDROID=y
1045a06724 ("remove CONFIG_ANDROID").

-# CONFIG_DEBUG_PREEMPT is not set
db4677b350 ("lib/Kconfig.debug: do not enable DEBUG_PREEMPT by default")

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I14c764a3c17371d5628c0352538ab836fb6877ae
2024-12-12 10:34:19 +08:00
Tao Huang
84991aefae ARM: rv1126_defconfig: reorder configs for kernel 6.1
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I7dfa1a208ecf2631c32c8da49c1fffef05e67b4d
2024-12-12 10:34:19 +08:00
Yu Qiaowei
05f238f4ca arm: rv1126_defconfig: Enable CONFIG_ROCKCHIP_MULTI_RGA
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: If0e03892c2c797860efd9f6eb0762c5fb8ec367d
2024-12-12 10:34:19 +08:00
Zhichao Guo
c41c2d2f8a ARM: configs: modify rv1126_defconfig to support partition
Signed-off-by: Zhichao Guo <zhichao.guo@rock-chips.com>
Change-Id: I59161ea392cfbd366cf5c649ee95419333964a50
2024-12-12 10:34:19 +08:00
Damon Ding
53973e8938 ARM: rv1126_defconfig: Enable CONFIG_DRM_PANEL_SIMPLE_OF_ONLY
Select DRM_PANEL_SIMPLE_OF_ONLY as default on RV1126 SoC, so as to
reduce memory usage.

make ARCH=arm rv1126_defconfig
make ARCH=arm rv1126-evb-ddr3-v13.img -j32

./ksize.sh  drivers/gpu/drm/

before ksize: 556038 Bytes
after  kszie: 517946 Bytes
save   about: 38092  Bytes

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I9584bd8de16ed0ef1c4a862e71a1eb725c0d2833
2024-12-12 10:34:19 +08:00
Weiwen Chen
87ac63e67b ARM: configs: rv1126_defconfig: enable CONFIG_SQUASHFS_ZLIB
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I873b3bc752c373ec11ea9c6b2a2501843901529b
2024-12-12 10:34:19 +08:00
Steven Chen
be582aa2a2 ARM: configs: rv1126_defconfig: support squashfs on ubi
Signed-off-by: Steven Chen <cw@rock-chips.com>
Change-Id: I53fe0ad952474f65b54da8a677b6f4f09f643f31
2024-12-12 10:34:19 +08:00
Tao Huang
28fbc81949 drm/rockchip: logo: Fix typo in error message
Change-Id: I136d46293d1efc28472869da95a3aa42e69243b2
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2024-12-11 19:58:36 +08:00
Chaoyi Chen
dddd9eb669 drm/rockchip: vop2: Clear vcstate output_type when crtc disable
Output interface may be changed after CRTC disabled. Clear it to keep
the same state as first started up.

Change-Id: I78ccebc3e0bd9592c2f0a0cdb9d911f3d3477d9d
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
2024-12-11 19:42:05 +08:00
David Wu
4526fb661c ARM: dts: rockchip: rk3506: Set mac_ptp_ref clocks rate 62.5M defaultly
Change-Id: I0e5429a627f0924d4fc5f8a49433c6385379fabc
Signed-off-by: David Wu <david.wu@rock-chips.com>
2024-12-11 19:41:23 +08:00
XiaoDong Huang
ff83459a05 firmware: rockchip_sip: allocate a separate stack for fiq-debugger callback
SP will point to a invalid addr at some time in kernel
such as checking stack overflow, and system will crash
if fiq-debugger trigger at this time. To solve it, we
allocate a separate stack for fiq-debugger, and point
SP at the stack before return to kernel.

Change-Id: I1175ba032292d072fe2e4ae828d28313646091a7
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2024-12-11 11:34:51 +08:00
XiaoDong Huang
88e72f3cdf firmware: rockchip_sip: don't update fiq_target_cpu in sip_fiq_debugger_uart_irq_tf_init
To fix problem in redmine #297983, make some rules about fiq_target_cpu:
The default value of fiq_target_cpu is zero and
can only be updated in sip_fiq_debugger_switch_cpu
or sip_fiq_debugger_enable_fiq.

View redmine#297983 for details.

Change-Id: I947a73c3ffc0c818a611e108a343f05b8465645b
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2024-12-11 11:34:51 +08:00
Ye Zhang
bcf7482769 pinctrl: rockchip: add debug information when switching pinctrl to gpio.
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com>
Change-Id: I0038f0e5c5d269605ebd1df366f34d97f3bebe2b
2024-12-11 10:54:01 +08:00
Zefa Chen
226865acf0 media: rockchip: isp: add RKISP_VICAP_CMD_SOF cmd
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I43c7dc062e3bd06223b31a2cd491f81f0507a3da
2024-12-11 10:47:15 +08:00
Zefa Chen
f879f90a4e include: rkcif-config: add commands to support get sensor exp
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ifc1c31ccdd58aa708609c6b9d9c85de58214b8c7
2024-12-11 10:47:15 +08:00
Zefa Chen
bc4a1b6cd2 media: i2c: imx415 support get exp info from sensor register
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I9884c54416da62d6e26c93688deb16ca26df7938
2024-12-11 10:47:15 +08:00
Zefa Chen
c134a041bc include: rk-camera-module.h add cmd to get sensor exp and delay info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ibf6a9474c84be8aafa1fd146f1cc454de0358cd6
2024-12-11 10:47:15 +08:00
Damon Ding
3426f0677e ARM: dts: rockchip: rk3506g-iotest: add IR transmit mode for pwm test
Change-Id: I8579f6149adc184d66f5dbfaa83825bd2c283e01
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2024-12-11 09:24:08 +08:00
Damon Ding
9be1108fc5 pwm: rockchip: add support for IR NEC transmit
Using RK3506 pwm1 channel0 as an DT configuration example:

&pwm1_8ch_0 {
	status = "okay";
	pinctrl-names = "active";
	pinctrl-0 = <&rm_io12_pwm1_ch0>;
	assigned-clocks = <&cru CLK_PWM1>;
	assigned-clock-rates = <100000000>;

	rockchip,pwm-ir-transmit;
};

Change-Id: I5e7a7a0925d6cba674ff91b117025b41b5be0387
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2024-12-11 09:24:08 +08:00
Tao Huang
aa7e11e715 drm/bridge: synopsys: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I83c33605abda3f7dfc62b3f01c043dd3ca4895f9
2024-12-10 20:02:58 +08:00
Tao Huang
54c210d3bf driver: rknpu: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ic971af644eec5ab13ff462ec7f2f059f17fdfcff
2024-12-10 19:58:43 +08:00
Tao Huang
3996192d9c soc: rockchip: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I92c9da8fe9f643bacc33726c0e3e0e93f2e4b4d1
2024-12-10 19:54:44 +08:00
Tao Huang
95ae79d422 power: supply: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I57152618c5e6ebb0bc4a1594b63b6351163e3360
2024-12-10 19:37:07 +08:00
Tao Huang
086ad83b14 phy: rockchip: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I2a1040d8fde05f1a87bd3929d7b5b7944ccdc61e
2024-12-10 19:34:40 +08:00
Tao Huang
b8489f3a1e net: can: rockchip: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I6ea3c5eb92f7b9688a32613fe44ebbaa2b9d6c7e
2024-12-10 19:18:35 +08:00
Tao Huang
a4fe3c5d0c media: i2c: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ib19c001a065c04ab0143449fe11fe799b5f3871f
2024-12-10 19:13:21 +08:00
Tao Huang
ace5101f37 media: i2c: nvp6158: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I6e181552d8f5fc0112aa72bd190c95d1833d9231
2024-12-10 19:12:47 +08:00
Tao Huang
8fc12e8c3b media: i2c: it66353: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I3f75fafd3d2518db8a1984ba0714a79559a2cca5
2024-12-10 19:10:35 +08:00
Tao Huang
083c798353 drm/rockchip: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ie8854cc66c61c262c0500afd9f5cd45577a1aaff
2024-12-10 19:08:44 +08:00
Shawn Lin
5ef8309d89 PCI: rockchip: dw: Enable L0s capability
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I53f82c357045f883ddb03e5645aca207f7a7fd92
2024-12-10 19:06:33 +08:00
Shawn Lin
e15097537d PCI: rockchip: dw: Move dw_pcie_dbi_ro_wr_en() forward
Need to set dbi writable in the front of rk_pcie_host_config(),
otherwise the test settings couldn't be applied.

Fixes: c54772e75b ("PCI: rockchip: dw: Reorder and document steps of rk_pcie_really_probe()")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: Icb62ef01ab5c16b7a7dba9cb82c9b0cfae5c40d6
2024-12-10 19:06:33 +08:00
Shawn Lin
bd84eb0c8d PCI: dw: rockchip: Fix s2r failure
Before commit 7f84caccd0 ("PCI: dw: rockchip: Define IO and Host
initialization interfaces"), ret is getting from rk_pcie_disable_power()
which should never fail actually. Now the final ret is getting from
phy_validate() which could return -EOPNOTSUPP. But we didn't care about
it if phy_validate() isn't implemented. So we see:

[   13.573777] rk-pcie fe150000.pcie: PM: dpm_run_callback(): genpd_suspend_noirq+0x0/0x60 returns -95
[   13.573800] rk-pcie fe150000.pcie: PM: failed to suspend async: error -95

Fix it by return zero to restore the previous behaviour.

Fixes: 7f84caccd0 ("PCI: dw: rockchip: Define IO and Host initialization interfaces")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I0c7c858937272f2b09ba4ae79c0a68c7a633ced0
2024-12-10 19:06:33 +08:00
Sandy Huang
38c677dda2 ARM: dts: rockchip: add RK3528 evaluation board devicetree
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I7fb4fe6f558d15c2318d7c930991028d37dd6876
2024-12-10 18:06:34 +08:00
Xu Xuehui
9196ac28d6 arm64: rk3588_vehicle.config: enable RTC_DRV_S35390A
Signed-off-by: Xu Xuehui <xxh@rock-chips.com>
Change-Id: I4a2b93a7fcebdbaad8c6b056296caa7f6b004f8e
2024-12-10 14:57:16 +08:00
Jon Lin
54a80d68ff spi: rockchip-sfc: Set default parameters for support_op interface integration
Change-Id: I2f7e94b0eba2e821a234adac6578761cd2c927ed
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-12-10 11:23:16 +08:00
Tao Huang
d167060a8b ASoC: rockchip: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ib0076a2adfa3c85db1c7cb3478c48fc8c4d2bef0
2024-12-09 19:04:08 +08:00
Tao Huang
7d1ee5eb8e ASoC: codecs: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ide15fd8a063238dc0bcea2fee8591132a712ec78
2024-12-09 18:58:48 +08:00
Tao Huang
b70aa3ddd6 ASoC: codecs: it6621: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I584d3291ed7c6dddfe7660b048ac8217ed8a92b2
2024-12-09 18:54:11 +08:00
Tao Huang
3382c69c26 soc: rockchip: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I3c206728140bccf5ea0de76a16960aa8281d65b9
2024-12-09 18:50:43 +08:00
Tao Huang
66fb97b88b dt-bindings: suspend: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I191c63f514cbc40f5a1c5c3f9d658f452e189e8c
2024-12-09 18:44:59 +08:00
Tao Huang
9abe70f338 dt-bindings: clock: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I9fa4cf14e900d96ef9ac525ecdc988b4db57bdfb
2024-12-09 18:43:19 +08:00
Tao Huang
b8ae7bb01a video: rockchip: vehicle: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I816919f6d582ef8fb293a0a77a459fe9e6cbe58c
2024-12-09 18:34:28 +08:00
Tao Huang
eb3d50c1bb video: rockchip: dvbm: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I7649b7f62944e89a17dd9c64e140f3578ad6f45e
2024-12-09 18:32:54 +08:00
Tao Huang
e3eefbd909 video: rockchip: iep: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Id0bd930e90dbb0acc848cf52180e54605eddb9c7
2024-12-09 18:30:59 +08:00
Tao Huang
b88f8f2c5f video: rockchip: mpp_osal: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I833ba214f59006219502e000ad595edcc97a26da
2024-12-09 18:28:41 +08:00