Commit Graph

1276893 Commits

Author SHA1 Message Date
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
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