Commit Graph

1282905 Commits

Author SHA1 Message Date
Tao Huang
d2bf1e4c77 ARM: rockchip_defconfig: Enable CONFIG_RFKILL_RK
default y on 4.19.

Also enlarge CONFIG_FRAME_WARN to fix following error:

drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfg80211.c:7913:1:
error: stack frame size (1448) exceeds limit (1280) in 'wl_cfg80211_add_key' [-Werror,-Wframe-larger-than]

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ic6911d64885953ef575c95b6567b8448c89463d0
2024-11-29 17:48:05 +08:00
Tao Huang
f8ec33a8fc ARM: rockchip_defconfig: remove CONFIG_RK3368_THERMAL
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I5524e58dbec9180f444fd33ad3e0c615e5d1ba03
2024-11-29 17:39:38 +08:00
Tao Huang
e0b5a2ddea ARM: rockchip_defconfig: Enable CONFIG_ROCKCHIP_SYSTEM_MONITOR
default y on 4.19.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I7f69a7b2124a01dcaf882b181e06c9d0375efd97
2024-11-29 17:04:13 +08:00
Tao Huang
82ed47a8b0 ARM: rockchip_defconfig: Enable CONFIG_THERMAL_GOV_POWER_ALLOCATOR
default y on 4.19.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Icadaf1ec7a8c573ff59f47c2471a4bd230955b7e
2024-11-29 17:02:59 +08:00
Tao Huang
442fa63274 ARM: rockchip_defconfig: Enable CONFIG_ROCKCHIP_OPP
default y on 4.19.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I6ceaa935db10265a06af94229a8b2ed50a80082f
2024-11-29 17:00:51 +08:00
Tao Huang
88eb5f7f7b ARM: rockchip_defconfig: Enable CONFIG_ROCKCHIP_IPA
default y on 4.19.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I1a8fc6ef503b62c3d64ea67cccd02a79536bf803
2024-11-29 17:00:05 +08:00
Tao Huang
11f455dd40 ARM: rockchip_defconfig: Enable CONFIG_ROCKCHIP_GRF
default y on 4.19.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: If0ec652d805492b9aba55669947ac23f61759f09
2024-11-29 16:58:08 +08:00
Tao Huang
cb480f9dc5 ARM: rockchip_defconfig: Enable CONFIG_ROCKCHIP_DEBUG
default y on 4.19.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I644b7649b1f0b77a5719730022601ebe6d6469ae
2024-11-29 16:56:16 +08:00
Tao Huang
400be15f8f ARM: rockchip_defconfig: Enable CONFIG_ROCKCHIP_CPUINFO
default y on 4.19.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I26654779fab0207fff98ffb197003be63e993cdf
2024-11-29 16:51:50 +08:00
Tao Huang
fad96bdf41 ARM: rockchip_defconfig: Enable emmc vendor storage
+CONFIG_ROCKCHIP_VENDOR_STORAGE=y
+CONFIG_ROCKCHIP_MMC_VENDOR_STORAGE=y

default y on 4.19.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I51ecf7715a5b08aa7857ecdd931dd94419cdb3bc
2024-11-29 16:48:55 +08:00
Tao Huang
547aed7cf4 ARM: rockchip_defconfig: Enable CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY
CONFIG_PHY_ROCKCHIP_INNO_VIDEO_COMBO_PHY is replaced by
CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ie3041f265eb346dd39f100eb4f3d04d763af1e05
2024-11-29 16:29:46 +08:00
Tao Huang
47454682e2 ARM: rockchip_defconfig: update by savedefconfig
CONFIG_MEDIA_CONTROLLER and CONFIG_VIDEO_V4L2_SUBDEV_API is selected by
CONFIG_VIDEO_GC0312.

CONFIG_IIO_BUFFER is selected by CONFIG_ROCKCHIP_SARADC.
CONFIG_IIO_TRIGGERED_BUFFER is selected by CONFIG_ROCKCHIP_SARADC.
CONFIG_IIO_TRIGGERED_BUFFER select CONFIG_IIO_TRIGGER and CONFIG_IIO_KFIFO_BUF.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I055e846f2d7510073d9bbbac1d1f6b4be90b559f
2024-11-29 16:25:31 +08:00
Tao Huang
11240f0b0f ARM: rockchip_defconfig: Enable DEBUG_INFO_DWARF4
According to gki commit 709eab3f96 ("ANDROID: GKI: Enable DEBUG_INFO_DWARF4")
and commit 062e3b40a3 ("Revert "ANDROID: gki_config: use DWARFv5 rather than DWARFv4"").

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ia36fe3d588192c74d00534e55fb62ac1785e91be
2024-11-29 16:14:21 +08:00
Tao Huang
d3003d15ed ARM: rockchip_defconfig: Remove unused configs
No these configs:
-CONFIG_DM_VERITY_AVB=y
-CONFIG_DM_BOW=y
-CONFIG_DM_ANDROID_VERITY_AT_MOST_ONCE_DEFAULT_ENABLED=y
-CONFIG_TEE_SUPPORT=y

-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_CFQ_GROUP_IOSCHED=y
f382fb0bce ("block: remove legacy IO schedulers").

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

-CONFIG_PGTABLE_MAPPING=y
8b136018da ("mm: rename CONFIG_PGTABLE_MAPPING to CONFIG_ZSMALLOC_PGTABLE_MAPPING")
e91d8d7823 ("mm/zsmalloc.c: drop ZSMALLOC_PGTABLE_MAPPING")

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

-CONFIG_RTL8723CS=m
ccfdb826e5 ("net: wireless: rockchip_wlan: remove unused drivers")

-CONFIG_BACKLIGHT_LCD_SUPPORT=y
8c5dc8d9f1 ("video: backlight: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol")

-# CONFIG_LCD_CLASS_DEVICE is not set
bcd69da98e ("video: backlight: Drop default m for {LCD,BACKLIGHT_CLASS_DEVICE}")

-# CONFIG_BACKLIGHT_GENERIC is not set
7ecdea4a02 ("backlight: generic_bl: Remove this driver as it is unused")

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

-CONFIG_F2FS_FS_ENCRYPTION=y
643fa9612b ("fscrypt: remove filesystem specific build config option")

-# 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: I91a052bf41b1b04351fcb20786458c0dff7db873
2024-11-29 16:02:44 +08:00
Tao Huang
ab0b9d685b ARM: rockchip_defconfig: reorder configs for kernel 6.1
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I3dcff4b8f8b12480c7fc7ec468541087c5de0720
2024-11-29 14:59:06 +08:00
Tao Huang
3ad7e9e31c Merge commit '263ff45dbffdb398230e2f69226e9aa6b4e8969b'
* commit '263ff45dbffdb398230e2f69226e9aa6b4e8969b':
  drm/rockchip: vop2: Fix compile error on arm32 platform
  Mali: utgard: Replace calls to dma_fence_ops::signaled with dma_fence_is_signaled()
  mtd: spi-nor: Add macro definition constraints
  arm64: dts: rockchip: rk356x evb boards: add vcm config
  mtd: spinand: Add macro definition constraints
  drm/rockchip: dsi2: allocate macros for mipi dsi2 drivers

Change-Id: I5cbef1a41994cacc5fc6fa2c90d7e8909fe2cade
2024-11-28 20:28:16 +08:00
Sandy Huang
263ff45dbf drm/rockchip: vop2: Fix compile error on arm32 platform
ld.lld: error: undefined symbol: __udivdi3
>>> referenced by rockchip_drm_vop2.c
>>>
drivers/gpu/drm/rockchip/rockchip_drm_vop2.o:(vop2_plane_atomic_check)
in archive vmlinux.a
>>> did you mean: __udivsi3
>>> defined in: vmlinux.a(arch/arm/lib/lib1funcs.o)

arm-none-linux-gnueabihf-ld: drivers/gpu/drm/rockchip/rockchip_drm_vop2.o: in function
`vop2_calc_dsc_clk':
rockchip_drm_vop2.c:(.text+0x239c): undefined reference to `__aeabi_uldivmod'

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Iac0b61444cd4d33c62bd8994d0ce7ca1bab7bfa4
2024-11-28 19:18:13 +08:00
Zhen Chen
b2a3a28618 Mali: utgard: Replace calls to dma_fence_ops::signaled with dma_fence_is_signaled()
To address the issue in kernel 6.1 that 'dma_fence_ops::signaled'
is NULL for certain signaled fence instances.

Change-Id: Ie5e03e849947a9cd2b02fd057ebb44878aa2d0b0
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
2024-11-28 19:18:13 +08:00
Jon Lin
f965b5da7c mtd: spi-nor: Add macro definition constraints
Change-Id: I3b35faaea4fad132be18940328e7df88ebdb0dbd
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-11-28 18:40:31 +08:00
Wang Panzhenzhuan
7c8198aa9a arm64: dts: rockchip: rk356x evb boards: add vcm config
add vcm config for ov5695 & gc8034 module

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I904cfbf90b5b2aa9ece56df2832a5ef382bfa308
2024-11-28 11:35:47 +08:00
Jon Lin
a104b8efc3 mtd: spinand: Add macro definition constraints
Change-Id: I65e03dd7cc70d1ab279c5bdea0ef8969666d7469
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-11-28 10:58:41 +08:00
Guochun Huang
2aa34d8499 drm/rockchip: dsi2: allocate macros for mipi dsi2 drivers
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: Ie2f712cb1aea522004e84c7d0f4d66fe94427d57
2024-11-28 09:09:15 +08:00
Tao Huang
6a5a5f1c2d Merge commit '59cb08abbf61d39873f4d2e0cc50d8563e066b5d'
* commit '59cb08abbf61d39873f4d2e0cc50d8563e066b5d':
  drm/rockchip: dsi2: separate the of_device_id array by different SoC
  drm/rockchip: dsi: separate the of_device_id array by different SoC
  arm64: dts: rockchip: rk3576-vehicle-evb-v20-serdes-mfd-display-maxim: fix max96745 bridge port error
  soc: rockchip: pm-domain: optimize static memory consume
  ARM: configs: rk3506-display.config: Enable CONFIG_DRM_PANEL_SIMPLE_OF_ONLY
  drm/panel: simple: Introduce CONFIG_DRM_PANEL_SIMPLE_OF_ONLY
  PCI: dw: rockchip: Add rockchip,keep-power-in-suspend support
  clk: rockchip: px30: Add protect clocks
  clk: rockchip: rk3399: Add protect clocks
  clk: rockchip: rk3588: Add protect clocks
  clk: rockchip: rk3568: protect pwm clks
  clk: rockchip: rk3562: protect pwm clks
  clk: rockchip: rk3576: protect pwm clks
  dw-dp: enable power domain when load protect stage
  media: i2c: rk628: fix debugfs "rk628" parent directory
  usb: host: ehci-platform: Fix modpost error "device_is_dependent" undefined

Change-Id: I2406d8e252068a35e72d1c29ec8041d04203a978
2024-11-27 19:11:18 +08:00
Guochun Huang
59cb08abbf drm/rockchip: dsi2: separate the of_device_id array by different SoC
Separate the process of device matching by the different SoC macro
definitions, which can reduce memory usage.

Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: Ic0f02bee51a6520e48568aecce92acf5d0ae31e4
2024-11-27 18:56:05 +08:00
Guochun Huang
dc1407e301 drm/rockchip: dsi: separate the of_device_id array by different SoC
Separate the process of device matching by the different SoC macro
definitions, which can reduce memory usage.

Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: Ice50f15e64f7d1ae353ecfe462f7ba3fab017817
2024-11-27 18:56:05 +08:00
Sandy Huang
41f9223a94 arm64: dts: rockchip: rk3576-vehicle-evb-v20-serdes-mfd-display-maxim: fix max96745 bridge port error
The remote end point ports should be at bridge node.

Fixes: 57816781c4 ("arm64: dts: rockchip: rk3576-vehicle-evb: init v20 dts files")
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I6d01f68e5e5a5a3239d006f60fe97a0014918301
2024-11-27 18:20:52 +08:00
Elaine Zhang
582db606cb soc: rockchip: pm-domain: optimize static memory consume
$ ./scripts/bloat-o-meter pm_domains_old.o pm_domains.o
dd/remove: 0/22 grow/shrink: 0/1 up/down: 0/-9328 (-9328)
Function                                     old     new   delta
rk3568_pmu                                    44       -     -44
rk3399_pmu                                    44       -     -44
rk3368_pmu                                    44       -     -44
rk3366_pmu                                    44       -     -44
rk3328_pmu                                    44       -     -44
rk3288_pmu                                    44       -     -44
rk3228_pmu                                    44       -     -44
rk3128_pmu                                    44       -     -44
rk3036_pmu                                    44       -     -44
rk1808_pmu                                    44       -     -44
px30_pmu                                      44       -     -44
rk3128_pm_domains                            220       -    -220
rk3036_pm_domains                            308       -    -308
rk1808_pm_domains                            396       -    -396
rk3328_pm_domains                            440       -    -440
rk3228_pm_domains                            484       -    -484
rk3366_pm_domains                            528       -    -528
rk3288_pm_domains                            616       -    -616
px30_pm_domains                              660       -    -660
rk3568_pm_domains                            704       -    -704
rk3368_pm_domains                            748       -    -748
rk3399_pm_domains                           1584       -   -1584
rockchip_pm_domain_dt_match                 2548     392   -2156
Total: Before=17357, After=8029, chg -53.74%

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I1b8b307736edc9c02720c11460041e54fc6b98dd
2024-11-27 18:19:20 +08:00
Tao Huang
7a3b0746b1 ARM: configs: rk3506-display.config: Enable CONFIG_DRM_PANEL_SIMPLE_OF_ONLY
Before:
   text	   data	    bss	    dec	    hex	filename
5227569	2360752	 112328	7700649	 7580a9	vmlinux
After:
   text	   data	    bss	    dec	    hex	filename
5227569	2308528	 112328	7648425	 74b4a9	vmlinux

Change-Id: I55e5190b4410c80f8c40deeb631650eaab28f23b
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2024-11-27 18:18:34 +08:00
Tao Huang
d02a15814d drm/panel: simple: Introduce CONFIG_DRM_PANEL_SIMPLE_OF_ONLY
Only support panels which all parameters from device tree.

Save boot time about 2ms on rk3126-bnd-d708 board.

Before:
   text	   data	    bss	    dec	    hex	filename
  59767	    296	     84	  60147	   eaf3	drivers/gpu/drm/panel/panel-simple.o
After:
   text	   data	    bss	    dec	    hex	filename
   7547	    296	     84	   7927	   1ef7	drivers/gpu/drm/panel/panel-simple.o

Change-Id: Ie075ff5c84c1807029873555f58bd13d41350abf
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2024-11-27 18:18:34 +08:00
Shawn Lin
ad9a2b7050 PCI: dw: rockchip: Add rockchip,keep-power-in-suspend support
This property is used to prevent RC from calling devices to enter
D3cold if they need to keep working when system is suspended. The classic
user is wireless device and computing cards which need to work standalone
when system is suspened. Currently wireless devices deal with it by
controlling power and #PERST by themselves because they have rfkill driver
which could did it in front of the wireless driver. But computing cards couldn't.

In ACPI point of view, we could allow users to configure the D3Cold state for
each PCI device through the sysfs attribute 'sys/bus/pci/devices.../d3cold_allowed'.
Then the PCIe driver and firmware could work together to meet the requirement. But
in DT way, we have to invent a new property to cover both of these.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: Ia755f48d11f84f292a4aede38d2653b73f8d11b8
2024-11-27 18:17:41 +08:00
Elaine Zhang
3debfe232c clk: rockchip: px30: Add protect clocks
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I0e54805bf287f57879b0d1fd13c8f111db94b9b8
2024-11-27 18:17:19 +08:00
Elaine Zhang
dd097f5451 clk: rockchip: rk3399: Add protect clocks
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I3166b72d94bcb0758bd22ee5dd63419597786606
2024-11-27 18:17:19 +08:00
Elaine Zhang
308515b1d5 clk: rockchip: rk3588: Add protect clocks
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I2cee7f522c4c0cfef3d9e62c88d74706e573c0e2
2024-11-27 18:17:19 +08:00
Elaine Zhang
e0c790b129 clk: rockchip: rk3568: protect pwm clks
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: Ie5e2aab61d94d1269fc7a5c369379f3682d092d7
2024-11-27 18:17:19 +08:00
Elaine Zhang
269f106ee6 clk: rockchip: rk3562: protect pwm clks
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I994058973c028ba06d8621c39f3fbc76b83ab9f2
2024-11-27 18:17:19 +08:00
Elaine Zhang
ac9eb89ef6 clk: rockchip: rk3576: protect pwm clks
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I1f4fadd5e106bdbd450976e360bcf99be2d2e6b8
2024-11-27 18:17:19 +08:00
Zhang Yubing
d4c36cfc6e dw-dp: enable power domain when load protect stage
If dynamic dptx power domain ctrl is enabled and dptx power
domain not enabled when init dptx controller, the dptx power
domain will be disabled though the uboot logo is enable. this
will cause display issue. To avoid this issue, it need enable
dptx power domain when enable uboot logo.

Change-Id: I3105556de3dee5e592242150935133cce0971551
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-11-27 17:18:38 +08:00
Jianwei Fan
84b8365717 media: i2c: rk628: fix debugfs "rk628" parent directory
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I57955e93c2441e62593c18e8aa5f538ad68f4ee9
2024-11-27 09:43:32 +08:00
William Wu
92988075d4 usb: host: ehci-platform: Fix modpost error "device_is_dependent" undefined
Fix the modpost error "device_is_dependent" undefined by
adding device_link in ehci_platform_priv.

Fixes: 68850661b5 ("usb: host: ehci-platform: Add device_link between the ehci and companion")
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I0552eab4cc45750e0c4ea494880667a29998f6b0
2024-11-27 09:22:29 +08:00
Tao Huang
ce0405f6e9 Merge commit '82ac6d206e0f1e202322e5fe99aee0b241fe33c1'
* commit '82ac6d206e0f1e202322e5fe99aee0b241fe33c1':
  ASoC: rockchip: i2s-tdm: Add support for FSXN Control
  video: rockchip: rga3: using async mode to print log when async is disabled
  video: rockchip: rga3: fix RGA3 state has been cleared in IRQ
  video: rockchip: rga3: rga3 support read_status ops
  ASoC: rockchip: multi-dais: Add support for TRCM
  ASoC: rockchip: i2s-tdm: Fix TRCM panic on Multi Dais
  phy: rockchip: inno-usb2: Support usb wakeup system for rk3576
  drm/rockchip: gem: Fix alloc size setting for IOMMU device
  PCI: dw: rockchip: Record the rasdes capability offset
  ARM: dts: rockchip: rk3506 boards: Modify can init freq to 300M.
  ARM: dts: rockchip: rk3506: assign default clock rate for can

Change-Id: I2d02839fac0021edd97f7372a1dee552e64a773a
2024-11-26 19:41:03 +08:00
Sugar Zhang
82ac6d206e ASoC: rockchip: i2s-tdm: Add support for FSXN Control
I2STDM acts as SLAVE mode, It requires two GPIO pins
to control DSP-FSXN (rk2118) to output LRCK_TX/RX.

e.g.

&i2s1 {
    fsxn-rx-gpio = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>;
    fsxn-tx-gpio = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>;
    pinctrl-names = "default";
    pinctrl-0 = <&i2s1m0_lrck
                 &i2s1m0_sclk
                 &i2s1m0_sdi0
                 &i2s1m0_sdi1
                 &i2s1m0_sdo0
                 &i2s1m0_sdo1
                 &i2s1m0_sdo2
                 &gpio_fsxn_pins>;
};

&pinctrl {
    fsxn {
        /omit-if-no-ref/
        gpio_fsxn_pins: gpio-fsxn-pins {
            rockchip,pins =
                <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>,
                <4 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
        };
    };
};

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I1b4d16b51dac4f9ab728fa0889003fc46cd608d3
2024-11-26 19:36:58 +08:00
Yu Qiaowei
b8cbadd8c5 video: rockchip: rga3: using async mode to print log when async is disabled
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: If97d123618d0ab406e77002d79bd0780162c9c2b
2024-11-26 19:36:28 +08:00
Yu Qiaowei
e3a10aac75 video: rockchip: rga3: fix RGA3 state has been cleared in IRQ
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Iea781894feca6099949232aa2f53a35e3a41eb49
2024-11-26 19:36:28 +08:00
Yu Qiaowei
e44e890e55 video: rockchip: rga3: rga3 support read_status ops
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I870147562888b3b7cc9de7d4f719ed23bca9dae3
2024-11-26 19:36:28 +08:00
Sugar Zhang
3b9ca4cf51 ASoC: rockchip: multi-dais: Add support for TRCM
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I9636480c9995c034f8de4005fc106be5bc9190e3
2024-11-26 19:15:52 +08:00
Sugar Zhang
843bc5523b ASoC: rockchip: i2s-tdm: Fix TRCM panic on Multi Dais
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ie0188ea02424f02dab1ff68134f93224da3819b8
2024-11-26 19:15:06 +08:00
William Wu
95a3c34298 phy: rockchip: inno-usb2: Support usb wakeup system for rk3576
1. Select the usb2 phy interrupt logic clock from OSC clock
   to support interrupt detection if VD_LOGIC is powerdown.

2. Set the linestate filter time control register depends
   on the OSC 24MHz clock during suspend.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Ib265747013b0a08dc0599df25e40dce306ccb289
2024-11-26 19:09:52 +08:00
Chaoyi Chen
6b4f98d938 drm/rockchip: gem: Fix alloc size setting for IOMMU device
For IOMMU devices, the mapped size may be larger than the requested
alloc size, which may result in inconsistent sizes being used for
unmap.

[   12.286016] iova: 0x0000000000000000 already mapped to 0x000000000c201000 cannot remap to phys: 0x000000001369f000 prot: 0x3
[   12.287163] [drm:rockchip_gem_iommu_map] *ERROR* failed to map buffer: size=-98 request_size=4096
[   12.299439] iova: 0x0000000000000000 already mapped to 0x000000000c201000 cannot remap to phys: 0x000000000c2b8000 prot: 0x3
[   12.300541] [drm:rockchip_gem_iommu_map] *ERROR* failed to map buffer: size=-98 request_size=2785280

Fixes: 2ba5e1d681 ("drm/rockchip: gem: Set size of the allocated object when create gem")
Change-Id: I3496544e5a4eb65dde657f8ed3890f4db933258f
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
2024-11-26 19:09:40 +08:00
Jon Lin
3dca0a0420 PCI: dw: rockchip: Record the rasdes capability offset
Change-Id: Ic85b017fe7de6f679c87dba64cd4221ff2ff9875
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-11-26 19:08:08 +08:00
Elaine Zhang
941eb09f51 ARM: dts: rockchip: rk3506 boards: Modify can init freq to 300M.
200M is not an integer frequency.
300M is more suitable.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I7a6ce23a47691fbdc6180f9cb63b832950bc2f59
2024-11-26 18:13:00 +08:00