aboutsummaryrefslogtreecommitdiffstats
path: root/bsp
AgeCommit message (Collapse)AuthorFilesLines
2022-08-08virtio: Refresh configuration for kernel v5.18.lamprey_12.1.6lamprey_12.1.5lamprey/12.1.6lamprey/12.1.512.1.612.1.5Vasyl Vavrychuk4-4/+417
Bug-AGL: SPEC-4453 Change-Id: Id62b1bbec6601edd1e048c88266574a777908902 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2022-08-08virtio: Remove IIO patches merged into kernel v5.17.Vasyl Vavrychuk3-148/+0
Bug-AGL: SPEC-4453 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Change-Id: I0830457f1701b885d6cddb9c9accef9c27d906dd
2022-08-07virtio: Enable VIRTIO SCMI and IIO SCMI drivers.kernel-5.15Vasyl Vavrychuk6-0/+178
VIRTIO SCMI device implements the Arm System Control and Management Interface (SCMI) [1]. This VIRTIO device is part of "Virtual I/O Device (VIRTIO) Version 1.2" specification [2]. The SCMI can be used for sensors, power state management, clock management and performance management among other things. Enable IIO-SCMI driver that works on top of VIRTIO-SCMI and supports SCMI sensors. (cherry-picked https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27473) [1]: https://developer.arm.com/Architectures/System%20Control%20and%20Management%20Interface [2]: https://docs.oasis-open.org/virtio/virtio/v1.2/csd01/virtio-v1.2-csd01.html Bug-AGL: SPEC-3865, SPEC-4365 Change-Id: Iaf2092d869d938d0b45029038d8eea36110d7e3e Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2022-08-07virtio: Enable VIRTIO sound driver.Vasyl Vavrychuk2-0/+5
VIRTIO sound device is part of OASIS Virtual I/O Device (VIRTIO) Version 1.2 specification [1]. virtio-snd.cfg snippet has been generated using menuconfig/diffconfig tasks by selecting SND_VIRTIO, other configs have been selected automatically. [1]: https://docs.oasis-open.org/virtio/virtio/v1.2/virtio-v1.2.html Bug-AGL: SPEC-3894 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Change-Id: I43d9522d7e9bb761ed6d310804b1efecf8d8524c
2022-08-07Add virtio-aarch64 platform description via scc file.Vasyl Vavrychuk2-0/+6
Metadata is based on qemuarm64-standard.scc from yocto-kernel-cache branch yocto-5.15 commit 947149960e1426ace478e4b52c28a28ef8d6e74b with a lot of unended configurations removed. Comparing to initial version [1] many TODOs have been removed since changes landed upstream (yocto-kernel-cache). Note, that BSP description root file virtio-aarch64-standard.scc has to be kept local withing a recipe. This is needed to add this scc file explicitly to SRC_URI to have AGL VIRTIO patches applied during kernel recipe build. As explained in [2, 3], Yocto kernel metadata is commonly used for two purposes: 1. To construct Yocto kernel git by committing patches listed in scc files. 2. To configure Yocto kernel during Yocto build. When scc file is not explicitly added to SRC_URI, then patch commands will be ignored during Yocto build because it is assumed that patches are already pre-applied during Yocto kernel git tree construction. But, there is not AGL Linux kernel tree, only a repository for AGL kernel metadata (this one). So, patches from this metadata repository have to be applied during kernel recipe build. [1]: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl.git;a=commit;h=2d05cfff33a010c2133f66e757d2f4850c584a1e [2]: https://www.yoctoproject.org/pipermail/yocto/2019-October/046986.html [3]: https://docs.yoctoproject.org/kernel-dev/maint-appx.html Bug-AGL: SPEC-4452 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Change-Id: Ic88a35ccbe4cad6e5b22bf43c687407f506c2e5b