This patch is to add kernel cache support for aptiv cvc bsp of LTS24,
and the related .scc and .cfg files refer to the files of yocto-6.1
branch.

To make it easier for updating to new SDKs, the nxp-s32g.cfg file is
included into cvc's .scc file, and then the different configure settings
can be overridden in cvc's own .cfg file.

Moreover, as Aptiv required, driver options should be "m" as many as possible,
so the related configures are all set to "m".

Signed-off-by: Zhantao Tang <zhantao.t...@windriver.com>
---
 bsp/aptiv-s32g/aptiv-cvc-fl-preempt-rt.scc |  7 +++++
 bsp/aptiv-s32g/aptiv-cvc.cfg               | 35 ++++++++++++++++++++++
 bsp/aptiv-s32g/aptiv-cvc.scc               |  8 +++++
 3 files changed, 50 insertions(+)
 create mode 100644 bsp/aptiv-s32g/aptiv-cvc-fl-preempt-rt.scc
 create mode 100644 bsp/aptiv-s32g/aptiv-cvc.cfg
 create mode 100644 bsp/aptiv-s32g/aptiv-cvc.scc

diff --git a/bsp/aptiv-s32g/aptiv-cvc-fl-preempt-rt.scc 
b/bsp/aptiv-s32g/aptiv-cvc-fl-preempt-rt.scc
new file mode 100644
index 00000000..0819f79f
--- /dev/null
+++ b/bsp/aptiv-s32g/aptiv-cvc-fl-preempt-rt.scc
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: MIT
+define KMACHINE aptiv-cvc-131
+define KTYPE preempt-rt
+define KARCH arm64
+
+include ktypes/preempt-rt
+include aptiv-cvc.scc
diff --git a/bsp/aptiv-s32g/aptiv-cvc.cfg b/bsp/aptiv-s32g/aptiv-cvc.cfg
new file mode 100644
index 00000000..fd095f3d
--- /dev/null
+++ b/bsp/aptiv-s32g/aptiv-cvc.cfg
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: MIT
+..........................................................................
+.                                WARNING
+.
+. This file is a kernel configuration fragment, and not a full kernel
+. configuration file.  The final kernel configuration is made up of
+. an assembly of processed fragments, each of which is designed to
+. capture a specific part of the final configuration (e.g. platform
+. configuration, feature configuration, and board specific hardware
+. configuration).  For more information on kernel configuration, please
+. consult the product documentation.
+.
+..........................................................................
+# CONFIG_PINCTRL_SCMI is not set
+CONFIG_CAN_FLEXCAN=m
+
+CONFIG_GPIO_PCA953X=y
+# CONFIG_GPIO_SCMI is not set
+
+CONFIG_USB_CHIPIDEA_IMX=m
+
+CONFIG_USB_ACM=y
+CONFIG_USB_WDM=y
+CONFIG_USB_SERIAL=y
+CONFIG_USB_SERIAL_FTDI_SIO=y
+CONFIG_USB_SERIAL_CP210X=m
+CONFIG_USB_SERIAL_PL2303=m
+CONFIG_USB_SERIAL_WWAN=y
+CONFIG_USB_SERIAL_OPTION=y
+
+CONFIG_S32CC_ADC=m
+CONFIG_PWM_FSL_FTM=m
+CONFIG_I2C_IMX=m
+
+# CONFIG_NVMEM_S32CC_OCOTP is not set
diff --git a/bsp/aptiv-s32g/aptiv-cvc.scc b/bsp/aptiv-s32g/aptiv-cvc.scc
new file mode 100644
index 00000000..6baded6d
--- /dev/null
+++ b/bsp/aptiv-s32g/aptiv-cvc.scc
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: MIT
+
+include cfg/usb-mass-storage.scc
+
+include features/hugetlb/hugetlb.scc
+include arch/arm/32bit-compat.scc
+kconf hardware bsp/nxp-s32g/nxp-s32g.cfg
+kconf hardware aptiv-cvc.cfg
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14107): 
https://lists.yoctoproject.org/g/linux-yocto/message/14107
Mute This Topic: https://lists.yoctoproject.org/mt/106921140/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to