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
+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
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
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
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
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
We get the same IOVA from DRM mm framework at different times which
finally cause iommu map failed. So let's try other IOVA if iommu map
failed time exceeds the limitation to map as a workaround.
Change-Id: Ic539f4a64d5ed0c9d3f5ac01acf3f0922a2fdc1f
Signed-off-by: Simon Xue <xxm@rock-chips.com>
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
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>
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
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
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
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>
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>
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