Commit Graph

1276879 Commits

Author SHA1 Message Date
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
Tao Huang
53c0acb01b video: rockchip: mpp: 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: Idee74d374e3a56bf7b2679529055e6e717466f4a
2024-12-09 18:24:19 +08:00
Tao Huang
9b334bba81 drivers: rkflash: 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: I1eeceb62c2fd2203649858216ea07c4b55bddba6
2024-12-09 18:22:05 +08:00
Tao Huang
7c5c062446 mtd: spinand: 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: Ib8582ea151037c5ba0dfef0b3274287bf3c9106e
2024-12-09 18:08:42 +08:00
Tao Huang
0cb1ce87d8 mfd: rkx110_x120: 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: Ie282c8f27d23f49c4028ce3ebf4b5b98977a0c36
2024-12-09 18:04:26 +08:00
Tao Huang
2e56488369 mfd: display-serdes: 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: Ibbb3cfa92f731bf86b1f8e94365122396e419036
2024-12-09 17:09:18 +08:00
Tao Huang
36475bcb4b drm/rockchip: ebc_dev: 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: I0a496232e037563c181189f29ecd4dc818e1a9d4
2024-12-09 17:07:55 +08:00
Tao Huang
9af8202a19 crypto: 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: I88965208e607397310b73352e42e965427c8214b
2024-12-09 17:07:36 +08:00
Tao Huang
e3468201f0 dmaengine: rockchip: Fix typo in Rockchip copyright notice
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I5eb4ffb33e565c7a2c4025b3d83864bc948373d0
2024-12-09 17:07:25 +08:00
Tao Huang
a36a2b95b1 misc: rk628: 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: I7662058d9ca4fec8773d730c18e0bbb89e1d55a1
2024-12-09 17:06:47 +08:00
Tao Huang
f637076ce0 media: i2c: rk628: 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: I28e921149bcf9d3cdd57297b66f9bb53e48fb0ac
2024-12-09 17:06:02 +08:00
Tao Huang
83f120a919 dma-buf: dma-buf-cache: Fix typo in Rockchip copyright notice
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I68e75fb87f6e80d59d906632543437ca888c2d77
2024-12-09 17:00:59 +08:00
Tao Huang
b67f3d6559 dma-buf: heaps: 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: I81b24c368c8a01b71c4449c470b676dedfaf06d6
2024-12-09 17:00:59 +08:00
Tao Huang
a29db223dc dma-buf: rk_heaps: 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: I76b7d62ba67751707313cc0c6792783b80c1587b
2024-12-09 17:00:59 +08:00
Tao Huang
cc31017621 rk_headset: 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: I4609b12988d6f4386ee38000688d1ebe6093de29
2024-12-09 16:49:37 +08:00
Tao Huang
4b6667e3fe input: sensors: 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: Ib7b39dfc99410dd50c45744fe2b99b315b269c6e
2024-12-09 16:46:36 +08:00
Tao Huang
497427c902 drm/rockchip: rk618: 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: Ie9a1839a4d1046f579f1c9786e143a7509155429
2024-12-09 16:44:35 +08:00
Tao Huang
5cca785790 clk: rockchip: regmap: 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: I0744c0fe06661c81b4eddf25d8ab09c72961a792
2024-12-09 16:11:00 +08:00
Tao Huang
05f5de1a55 ARM: dts: 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: Ie63b5b477dc7183b6360763cb89e5639aaf07d4e
2024-12-09 15:57:01 +08:00
Tao Huang
0cdee0d668 arm64: dts: 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: Ia1da04dc12e6e63167447320b4f877e1f4353e12
2024-12-09 15:51:13 +08:00
Zhang Yubing
b11a75fa5b arm64: dts: rockchip: rk3399-evb-ind-lpddr4-linux: dp attach to vopb
Change-Id: I510800fdcc8df280f10f7665f26058e708140086
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-12-06 16:05:10 +08:00
Damon Ding
b7624d1c25 pwm: rockchip: move the clk_osc initialization earlier in probing
With this patch, the error handling of clk_osc initialization
will be more reasonable. Otherwise, the "goto err_pclk" is
meaningless.

Fixes: 19b3f8d830 ("pwm: rockchip: add pwm clk_osc control for wave generator mode")
Change-Id: Ie23ea14eab59f1bb985f3e9d289fe1d0f74545e9
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2024-12-06 15:08:20 +08:00
Damon Ding
1a742dcd1f pwm: rockchip: fix the return value check of .get_biphasic_result()
Without this patch, the pclk may not be disabled if failed to
get biphasic counter result.

Fixes: 7a42db27aa ("pwm: rockchip: support for biphasic counter mode")
Change-Id: I5dd279fb1cbfc493531b95181464e2c7d3a4cea9
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2024-12-06 15:08:20 +08:00
Zhang Yubing
14cf391f07 drm/rockchip: cdn-dp: support get hpd by gpio
DPTX may use tcphy0 or tcphy1. If hardware design support
both tcphy0 and tcphy1, then each phy port need a hpd line.
For example, tcphy0 port use GPIO1B5 and tcphy1 port use
GPIO1B6, it should config dts as follow:
&cdn_dp {
	...
	pinctrl-names = "default";
	pinctrl-0 = <&cnd_dp_hpd>;
	hpd-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>,
		    <&gpio1 RK_PB6 GPIO_ACTIVE_HIGH>;
	phys = <&tcphy0_dp>, <&tcphy1_dp>;
	...
};

&pinctrl {
	...
	dp {
		cdn_dp_hpd: cdn-dp-hpd {
			rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_down>,
					<1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
		};
	};
	...
};

If only 1 phy port can be used for DPTX, For example, using
tcphy0 and GPIO1B5 as hpd pin. It should config dts as follow:
&cdn_dp {
	...
	pinctrl-names = "default";
	pinctrl-0 = <&cnd_dp_hpd>;
	hpd-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
	phys = <&tcphy0_dp>;
	...
};

&pinctrl {
	...
	dp {
		cdn_dp_hpd: cdn-dp-hpd {
			rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_down>;
		};
	};
	...
};

Change-Id: Id1acc428431bb13d7074e9daaab2fcca2ac2782e
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-12-05 19:49:56 +08:00
Zhang Yubing
a19d0c9b36 drm/rockchip: cdn-dp: request firmware lately
If request firmware in bind stage and the driver go into the
unbind process, it will spend some time to wait timeout. It's
better request firmware after all component bind then request
firmware.

Change-Id: Id76ddb89fb3478bf96e31513578aab3e6ad22781
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-12-05 19:49:44 +08:00
Zhang Yubing
9ea8299b09 drm/rockchip: cdn-dp: aux unrigster when unbind
Change-Id: If0b20ec236fe110c3d7a257847a16d24722c9baa
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-12-05 14:31:30 +08:00
Zhang Yubing
af36fa1547 drm/rockchip: cdn-dp: config connector fwnode for hotplug
Change-Id: I7dcb65a11fc6f7212bf8107c01dac133730568a4
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-12-05 14:25:33 +08:00
Zhang Yubing
b90a1c7c18 phy: rockchip-typec: support get lane mapping from dtsi
Change-Id: Icd1b9a5a47256c26c2c28a079a71d83a22d29a2c
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-12-05 14:25:33 +08:00
Zhang Yubing
b429b37e75 drm/rockchip: cdn-dp: get extend link caps
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I353e1cf1eaf9b211c7e8b8f159ff244aa338102a
2024-12-05 14:25:33 +08:00
Wyon Bi
1e00a071b4 drm/rockchip: cdn-dp: ignore firmware fallback mechanism
The firmware fallback machanism will speed more time to wait
the firmware loading if the firmware is no ready. Ignore firmware
fallback mechanism will reduce some time in this case.

Change-Id: I54245832728c956ea67be9f82cf4abd2ed8fbded
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2024-12-05 14:25:33 +08:00
Wyon Bi
ceaef0c7df drm/rockchip: cdn-dp: Add bus format setting
Change-Id: Id54d3dcf00dc1d535783674d3a57309469d279f3
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2024-12-05 14:25:33 +08:00
Zhang Yubing
4a36249d53 drm/rockchip: cdn_dp: add set power state
Change-Id: Ib8d06bc8577c38eff2d07e2f794e3748c46f3333
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-12-05 14:25:14 +08:00
Zhang Yubing
eb22f895f4 phy: rockchip-typec: Try to turn the DP PHY on several times
Change-Id: I945abf00bfd2b56600f25a8ee256988790f0a2dc
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-12-04 16:56:51 +08:00
Zhang Yubing
fe586d6d4f clk: rockchip: rk3576: support more pll frequency for display
Change-Id: Id769e353d6916730594df72b4cc4929ab2cfdfb0
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-12-04 12:04:04 +08:00
Huibin Hong
e4778e4c89 ARM: dts: rockchip: rk3506g-evb1-v10: enable uart3 and uart4
uart3 is used as rs485.

Change-Id: Iaa9bb2d1482fb5def856202f0546b2f528995a9a
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2024-12-03 17:33:27 +08:00
Jiahang Zheng
cf157fd678 ARM: dts: rockchip: rk3506-evb1: command line add storagemedia=mtd
Change-Id: I2b72cba3daf52430b6a0871f60150ac0b5b95b1e
Signed-off-by: Jiahang Zheng <jiahang.zheng@rock-chips.com>
2024-12-03 17:30:31 +08:00
Cai YiWei
8d891df6ed media: rockchip: isp: fix isp30 unite mode for rk3588
Change-Id: Ie11e8bc01adfe14f386aff1f22382a53606aa170
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-12-03 14:30:15 +08:00
Cai YiWei
501e98ac8a media: rockchip: isp: fix bay3d if two readback for isp32
if over resolution specification will need two readback,
first readback need to discard bay3d write data.

Change-Id: I940949109d18f54bde8ebe4650d2abebfe7b1ba8
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-12-03 14:30:15 +08:00
Cai YiWei
8a5b96b0af media: rockchip: isp: fix group aov no working for isp32
Change-Id: Ice9d129c32691c1822cd424785dd3f59d2ae74cb
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-12-03 14:30:15 +08:00
Cai YiWei
358b83e069 media: rockchip: isp: fix multi sensor with unite mode
large resolution need to divided into left and right
small resolution no need to divided

Change-Id: If0f60d97b90afa7eba306c09b5c56eda7735c5fa
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-12-03 14:30:15 +08:00
Cai YiWei
edcefc7318 media: rockchip: isp: add raw filter to procfs debug
BIT(7) for skip raw input update, example:
echo mode=0x80 > /proc/rkisp0-vir0

Change-Id: I6984d6eb191ce6d63c6b9cbf6cc90c0b82ac6613
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-12-03 14:30:15 +08:00
Caesar Wang
e7f42c688a arm64: dts: rockchip: Add mmc aliases for rk3576-linux.dtsi
This series in order to have the default MMC alias.

    The mmc default alias:
            mmc0 = &sdhci;
            mmc1 = &sdmmc;
            mmc2 = &sdio;

The Linux OS have the post-build.sh to handle the rootfs,
and export RK_EXTRA_PARTITIONS for setting the PARTITIONS.

Change-Id: Ide2fb3407e4f488ad5e2f26711864cd23dfada54
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2024-12-03 11:37:15 +08:00
Tao Huang
861574fe12 Revert "rk: add scripts/clang-wrapper.py"
This reverts commit b8f2e67cb1.

Replaced by CONFIG_WERROR.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I40736915b4bda71aa404ce9b12aacec30ffb275b
2024-12-02 19:22:08 +08:00
Tao Huang
0535dc30b4 Revert "rk: add gcc-wrapper"
This reverts commit e9fa201a63.

Replaced by CONFIG_WERROR.

Change-Id: I19bfd33456be16f52c7d45252f612d8a8961e139
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2024-12-02 19:21:49 +08:00
Jon Lin
9a58cb0abe PCI: rockchip: dw-ep: Detecting ATU features to achieve DWC ATU interface development
Change-Id: I53b48c5318aeeef6c39ea4a72c7f1f703bcb5a8e
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-12-02 18:26:08 +08:00
Andy Yan
c6d9d4543e drm/rockchip: vop2: Check the write-back width for VOP version prior rk3588
For VOP of rk3588/68, the writeback width must be align to 16 pixel,
a non-16pixel-aligned width will be round down to 16 pixel aligned
by VOP hardware.

Change-Id: Ide65f67d2435189c25c74b68eedbd1ba5c3e9014
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2024-12-02 18:25:48 +08:00
Andy Yan
44f022321a UPSTREAM: drm/rockchip: vop: Fix a dereferenced before check warning
The 'state' can't be NULL, we should check crtc_state.

Fix warning:
drivers/gpu/drm/rockchip/rockchip_drm_vop.c:1096
vop_plane_atomic_async_check() warn: variable dereferenced before check
'state' (see line 1077)

Fixes: 5ddb0bd4dd ("drm/atomic: Pass the full state to planes async atomic check and update")
Change-Id: If34ed62e2e890742ce6da73efeb9fa78c530bc95
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20241021072818.61621-1-andyshrk@163.com
(cherry picked from commit ab1c793f457f740ab7108cc0b1340a402dbf484d)
2024-12-02 18:25:40 +08:00