Tao Huang
c399ece89e
phy: rockchip: phy-rockchip-usb: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I1f71ca88cd968fac019ef4c68a1c5fc8aa3f1002
2025-01-21 11:29:13 +08:00
Tao Huang
c62cb5bbc2
phy: rockchip: phy-rockchip-typec: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I2b7b4d912fdea13ffb02ee37f9b6d135642691f7
2025-01-21 11:28:59 +08:00
Tao Huang
03ef5cdb66
phy: rockchip: phy-rockchip-samsung-hdptx: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I324698116a3d6dd0662bf0db4b3e92a120999e09
2025-01-21 11:28:38 +08:00
Tao Huang
bbea500ea3
phy: rockchip: phy-rockchip-pcie: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I75a92c7a67c03810d77ace1b241112eecfa19aa0
2025-01-21 11:28:12 +08:00
Tao Huang
f0dae7d050
phy: rockchip: phy-rockchip-inno-hdmi: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I8fe00a35344f6fca989f92cca3d9ad8e15ebb69d
2025-01-21 11:27:46 +08:00
Tao Huang
7630eeb0c5
phy: rockchip: phy-rockchip-inno-dsidphy: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I2fc1a7091f07056a827476f7c702ba4a0101b088
2025-01-21 11:27:26 +08:00
Tao Huang
62787b3e70
phy: rockchip: phy-rockchip-inno-csidphy: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I07ca57d935a38dab16df4c873b47df6b22230470
2025-01-21 11:27:10 +08:00
Tao Huang
87f1835d26
phy: rockchip: phy-rockchip-emmc: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I5bf8868490c39c63a54b72e3792b340b395b5b7f
2025-01-21 11:26:55 +08:00
Tao Huang
7705538e33
phy: rockchip: phy-rockchip-dp: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Ia834288dccf152164bd28c7f09c3b3bf894cb1b2
2025-01-21 11:26:45 +08:00
Tao Huang
da6a13140b
PCI: 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: I44290a23559d0fb3c9c8154c635e2d974245bfd2
2025-01-21 11:21:45 +08:00
Tao Huang
fc99a30371
nvmem: rockchip-otp: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I9f037b87411cf11dd1f18333dbedb5a93ef7a15f
2025-01-21 11:19:41 +08:00
Tao Huang
2b6ff0a348
nvmem: rockchip-efuse: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I69341134fa72ce50eb887c86dbeb4069c78397a7
2025-01-21 11:19:27 +08:00
Tao Huang
c506bab7ff
nvmem: rockchip-secure-otp: 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: I8968fdbbbb6db89dbd94ce547b9dc5d37e928d6d
2025-01-21 11:17:45 +08:00
Tao Huang
af300ad941
ASoC: rockchip: rk3399_gru_sound: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I818dad170f76698444754bfe64d0dd5fb07eea57
2025-01-21 11:13:42 +08:00
Tao Huang
aca417b416
ASoC: rockchip: i2s: 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: I7e41a2271345ce285b755f5b1c959f033e93c29c
2025-01-21 11:13:01 +08:00
Tao Huang
5c97584fe0
ASoC: rockchip: i2s-tdm: 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: I4b2fde05b5b3502dec4689395a78555226252652
2025-01-21 11:12:42 +08:00
Tao Huang
e11ddc23bb
ASoC: rockchip: rockchip_max98090: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I25fe4a425e3f188af34c62daf7fc0c62941b2f2a
2025-01-21 11:10:19 +08:00
Tao Huang
f6db379094
ASoC: rockchip: rockchip_rt5645: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Ic237c7b1fa97a4e8ae244abfc997c18f38be2a6d
2025-01-21 11:09:57 +08:00
Tao Huang
5590fba8e0
ASoC: rockchip: spdif: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Ia45da7f0a1da4c91e471bdd8bcb6932edfc1ef44
2025-01-21 11:09:05 +08:00
Tao Huang
ef353b603d
mm: cma_debug_bitmap_hex: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I8f8754dbb3aeff24fb35a616629bbb89f48fd9a8
2025-01-21 11:05:10 +08:00
Tao Huang
819625f764
rk: mkkrnlimg: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I26f965746bf16f8c429a39cdaa94f4e1df7be5db
2025-01-21 11:05:10 +08:00
Tao Huang
12cbd8db22
tools: testing: selftests: rkpinctrl: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Ie8d419ab8a770b5dabda7538c8f8725d7a650522
2025-01-21 11:05:10 +08:00
Tao Huang
d56da1e9df
phy: rockchip: inno-video: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Icba2c9e138ff449ac97e8b7a358513aed5a76690
2025-01-21 10:54:47 +08:00
Tao Huang
f3bd9974c1
net: rfkill: 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: I1b354ef90bd36bf277e87d965b45d3d42c77d05e
2025-01-21 10:54:47 +08:00
Tao Huang
7210458427
rtc: rk630: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I6a2b409cd432ba493bea69e760acfa39783ad670
2025-01-21 10:54:47 +08:00
Tao Huang
e51e8b7ffa
rtc: rockchip: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I56a77a9b972b3701c833c76babc554ee792d1f2f
2025-01-21 10:54:47 +08:00
Tao Huang
66ba7d48d8
soc: rockchip: power-domain: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I3dce33c4e226d68bdf0566d63dcfd008c238c5e4
2025-01-21 10:54:47 +08:00
Tao Huang
9d7e3d15b9
rpmsg: rockchip: Fix typos in Rockchip copyright notices
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I998b95a178aae548cf627e094bf8baa52249c9b3
2025-01-21 10:54:47 +08:00
Tao Huang
847bf612e0
scsi: ufs: 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: Ibdb599ef5f0f66cc0d910ddeca873d41e46ed3bc
2025-01-21 10:43:06 +08:00
Zhibin Huang
093fb7f0ce
misc: rk628: Fix probability of WARNING when sleeping
...
The warning log is as follows:
[ 2548.269614][ T7373] workqueue: WQ_MEM_RECLAIM rk628-monitor-wq:rk628_display_work is flushing !WQ_MEM_RECLAIM events:rk628_hdmirx_delayed_work_audio
[ 2548.269661][ T7373] WARNING: CPU: 3 PID: 7373 at kernel/workqueue.c:2652 check_flush_dependency+0x11c/0x124
[ 2548.269696][ T7373] Modules linked in: wlan_mt7663_usb rtl8367vb btmtk_usb_unify
[ 2548.269727][ T7373] CPU: 3 PID: 7373 Comm: kworker/u16:4 Not tainted 6.1.75 #3
[ 2548.269741][ T7373] Hardware name: LANGO RK3576 V10 Board (DT)
[ 2548.269754][ T7373] Workqueue: rk628-monitor-wq rk628_display_work
[ 2548.269768][ T7373] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 2548.269783][ T7373] pc : check_flush_dependency+0x11c/0x124
[ 2548.269796][ T7373] lr : check_flush_dependency+0x11c/0x124
[ 2548.269808][ T7373] sp : ffffffc0134dbbb0
[ 2548.269816][ T7373] x29: ffffffc0134dbbb0 x28: ffffff80c2a31108 x27: ffffffc008079110
[ 2548.269831][ T7373] x26: ffffffc0134dbc98 x25: ffffff8093d0c9c0 x24: ffffff8092141e80
[ 2548.269847][ T7373] x23: ffffff81f6d88d00 x22: ffffff8092141e80 x21: ffffff807cc366c0
[ 2548.269861][ T7373] x20: ffffff80c0008600 x19: ffffffc008a036ec x18: ffffffc00f3e3050
[ 2548.269876][ T7373] x17: 0000000000000069 x16: ffffffffffffffff x15: 0000000000000004
[ 2548.269891][ T7373] x14: ffffffc009fdd720 x13: 0000000000000a9e x12: 0000000000000003
[ 2548.269906][ T7373] x11: 0000000000000000 x10: 0000000000000027 x9 : 7313130eec8ea700
[ 2548.269920][ T7373] x8 : 7313130eec8ea700 x7 : 7f7f7f7f7f7f7f7f x6 : fefefefeff6e6863
[ 2548.269934][ T7373] x5 : 000000000000001c x4 : 0000000000000018 x3 : 0000000000000000
[ 2548.269948][ T7373] x2 : 0000000000000000 x1 : ffffffc0134db950 x0 : 0000000000000080
[ 2548.269964][ T7373] Call trace:
[ 2548.269973][ T7373] check_flush_dependency+0x11c/0x124
[ 2548.269987][ T7373] __flush_work+0xc8/0x2ac
[ 2548.270000][ T7373] __cancel_work_timer+0x128/0x1c8
[ 2548.270012][ T7373] cancel_delayed_work_sync+0x14/0x24
[ 2548.270025][ T7373] rk628_hdmirx_disable+0x40/0xc0
[ 2548.270038][ T7373] rk628_display_disable+0x54/0xbc
[ 2548.270048][ T7373] rk628_display_work+0x7c/0xd8
[ 2548.270057][ T7373] process_one_work+0x1a8/0x3b8
[ 2548.270071][ T7373] worker_thread+0x25c/0x430
[ 2548.270083][ T7373] kthread+0xec/0x1b8
[ 2548.270101][ T7373] ret_from_fork+0x10/0x20
[ 2548.270116][ T7373]
...
Type: Fix
Redmine ID: #526169
Associated modifications: N/A
Test: N/A
Signed-off-by: Zhibin Huang <zhibin.huang@rock-chips.com >
Change-Id: I2d3a3be7e4696ccb2773e66d11e25ce49191e952
2025-01-21 02:40:32 +00:00
Damon Ding
52f4ac49f4
misc: rk628: add support for pwm
...
In addition, add pwm debugfs file to dump regs:
cat /sys/kernel/debug/rk628/2-0050/pwm_regs
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: I80ae8e40562d7593f1a2183ea73e29de798495f4
2025-01-21 02:08:38 +00:00
Zhibin Huang
95a90239c1
misc: rk628: combtxphy: enabling ssc is required for frac_div
...
Type: Fix
Redmine ID: #525257
Associated modifications: N/A
Test: N/A
Signed-off-by: Zhibin Huang <zhibin.huang@rock-chips.com >
Change-Id: Ic107c98c9b9a587699b352358715dfed59e97085
2025-01-20 09:42:11 +00:00
Miquel Raynal
6f42afbf70
UPSTREAM: mtd: Clean refcounting with MTD_PARTITIONED_MASTER
...
The logic is way too convoluted, let's clean the kref_get/put section to
clarify what this block does when using CONFIG_MTD_PARTITIONED_MASTER:
- Iterate through all the parent mtd devices
- Grab a reference over them all but the master
- Only grab the master whith CONFIG_MTD_PARTITIONED_MASTER
Same logic must apply in the put path, otherwise it would be broken.
Cc: Tomas Winkler <tomas.winkler@intel.com >
Cc: Alexander Usyskin <alexander.usyskin@intel.com >
Cc: Zhang Xiaoxu <zhangxiaoxu5@huawei.com >
Fixes: 19bfa9ebeb ("mtd: use refcount to prevent corruption")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com >
Tested-by: Alexander Usyskin <alexander.usyskin@intel.com >
Link: https://lore.kernel.org/linux-mtd/20230731090903.770277-1-miquel.raynal@bootlin.com
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
(cherry picked from commit 264725e35f )
Change-Id: Iff8dd692dda07361a1c4bc9db73908dfd8256419
2025-01-20 09:04:43 +00:00
Alexander Usyskin
6c3662a2c5
UPSTREAM: mtd: call external _get and _put in right order
...
MTD provider provides mtd_info object to mtd subsystem.
With kref patch the mtd_info object can be alive after
provider released mtd device.
Fix calling order in _get and _put functions to allow
mtd provider to safely alloc and release mtd object.
Execute:
1) call external _get
2) get_module
3) add internal kref
in the get function and opposite order in the put one.
The _put_device callback should be the last in put
as the master struct memory may be freed in this callback.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com >
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com >
Link: https://lore.kernel.org/linux-mtd/20230620131905.648089-3-alexander.usyskin@intel.com
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
(cherry picked from commit 79c4a56250 )
Change-Id: I12b1b5f3ac0bcc432cee429c5c56a057e0a2e589
2025-01-20 09:04:43 +00:00
Alexander Usyskin
1cc0c0baa3
UPSTREAM: mtd: fix use-after-free in mtd release
...
I case of partition device_unregister() in mtd_device_release()
calls mtd_release() which frees mtd_info structure for partition.
All code after device_unregister in mtd_device_release thus
uses already freed memory.
Move part of code to mtd_release() and restict mtd->dev cleanup
to non-partion object.
For partition object such cleanup have no sense as partition
mtd_info is removed.
Cc: Miquel Raynal <miquel.raynal@bootlin.com >
Cc: Zhang Xiaoxu <zhangxiaoxu5@huawei.com >
Fixes: 19bfa9ebeb ("mtd: use refcount to prevent corruption")
Reviewed-by: Tomas Winkler <tomas.winkler@intel.com >
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com >
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com >
Link: https://lore.kernel.org/linux-mtd/20230731115836.542747-1-alexander.usyskin@intel.com
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
(cherry picked from commit e9714c22c1 )
Change-Id: Ie124021921b2f5efcb131b5c4860e19efaf5228a
2025-01-20 09:04:43 +00:00
Tomas Winkler
b088c5c203
UPSTREAM: mtd: use refcount to prevent corruption
...
When underlying device is removed mtd core will crash
in case user space is holding open handle.
Need to use proper refcounting so device is release
only when has no users.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com >
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com >
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com >
Link: https://lore.kernel.org/linux-mtd/20230620131905.648089-2-alexander.usyskin@intel.com
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
(cherry picked from commit 19bfa9ebeb )
Change-Id: I95b670fa24e6411867cfa517560802e58a183ef8
2025-01-20 09:04:43 +00:00
Zhibin Huang
e18437f0e8
misc: rk628: bt1120: modify bt1120 decoder dclk delay
...
Modify bt1120 decoder dclk delay to improve compatibility
with SI tested configurations, refer to redmine #525199
for specific details.
Type: Fix
Redmine ID: #525199
Associated modifications: N/A
Test: N/A
Signed-off-by: Zhibin Huang <zhibin.huang@rock-chips.com >
Change-Id: I1a288f9d56667899537b650d2a36dcc298095a6a
2025-01-20 07:55:36 +00:00
Damon Ding
0e51e09b71
drm/bridge: analogix_dp: modify the log related to the check of hpd status
...
The disconnected status is not actually a failure, so it is more
reasonable to remove 'failed' and use dev_dbg() instead of dev_err().
Change-Id: I6c2fea479b45e6c61ce460d364efe8f3053465e2
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
2025-01-20 06:13:39 +00:00
Damon Ding
61fc6ee91f
ARM: dts: rockchip: rk3506g-iotest: add wave clk_pwm_rc mode for pwm test
...
Change-Id: I20a2719e79fc978e42d42d119de0429f5bcc6458
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
2025-01-20 11:22:23 +08:00
Damon Ding
7fe6e5c902
pwm: rockchip-test: set the default configurations for clk_src and mem_clk_src
...
In addition, adjust the initialization order of struct
rockchip_pwm_wave_config members to correspond with their
declaration order within the struct.
Change-Id: I869f1a670f23f726b2fd983af364d3bdd6a9f321
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
2025-01-20 11:17:19 +08:00
Jon Lin
ef369922f4
spi: rockchip_slave: Remove redundant dma_map behavior
...
The driver itself has implemented DMA buffer, and does not require
the map/unmap behavior of the spi framework.
Change-Id: I00abd65233bf5b3112337c8da623bc8afe586bb6
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2025-01-20 02:40:50 +00:00
Damon Ding
a16c42163b
pwm: rockchip: use existing enum definitions for width_mode and updata_mode settings
...
Change-Id: I3a1957e96b3f695849e6afffd3348a4a80635ad9
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
2025-01-20 02:39:57 +00:00
Damon Ding
a3b5a02391
pwm: rockchip: add support to select clk_src and mem_clk_src for wave generator mode
...
In wave generator mode, the clk_src is used as dclk to generate the
wave, and the mem_clk_src is used to write/read the wave table.
Change-Id: I7d1948a5bb11715ac632c424ef01d6022d15899b
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
2025-01-20 02:39:57 +00:00
Joseph Chen
c790e2f91a
regulator: rk801: Fix ramp_delay value error
...
Signed-off-by: Joseph Chen <chenjh@rock-chips.com >
Change-Id: Id35502968d0c3bf2b9a15b1008c2bc47e3ba8bcb
2025-01-20 02:31:42 +00:00
Elaine Zhang
9f8868d7b3
arm64: dts: rockchip: rk3576: remove dma for can
...
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
Change-Id: I4bb0152a2742fa9ca7cc2d7330f4f4200d4672e6
2025-01-17 04:32:00 +00:00
Jianwei Fan
8da0472f8c
arm64: dts: rockchip: rk3588-vehicle-evb: image reverse move xvclk to sensor
...
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
Change-Id: I54a50c63fa1c3ef062eaba6098d7fe2e4a310698
2025-01-17 04:29:54 +00:00
Jianwei Fan
4a555cd7f1
arm64: dts: rockchip: rk3576-evb1: image reverse move xvclk to sensor node
...
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
Change-Id: Id6873da7d8da262ff138beb560eb608c2c6baf0a
2025-01-17 12:28:50 +08:00
Jianwei Fan
76f1a34c4e
video: rockchip: vehicle: move xvclk ctrl to generic sensor
...
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com >
Change-Id: If2b0e2e9ace5ef1835807471d8488e05cd2b8652
2025-01-17 11:50:44 +08:00
Jon Lin
af9ab5cb58
mtd: spi-nor: xmc: Support XM25QU256C
...
Change-Id: I2ad00d784627f2ca69c6bec46d97ab1415facc42
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2025-01-17 00:09:54 +08:00
Jon Lin
ba3c36d8c2
mtd: spinand: UNIM: Support new device UM19A0XISW
...
UM19A0HISW, UM19A0LISW.
Change-Id: I29baad2badf95ce2bd6daeb8819e99efb7e1d3fd
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2025-01-16 23:53:43 +08:00