-
Notifications
You must be signed in to change notification settings - Fork 5
Add Advantech QCM6490 ASoC machine driver support #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: scarthgap
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| #@TYPE: Machine | ||
| #@NAME: qcs6490mio5355a1 | ||
| #@DESCRIPTION: Machine configuration for Advantech qcs6490mio5355a1 board | ||
| #Reference from qcs6490-rb3gen2-vision-kit.conf | ||
|
|
||
| require conf/machine/include/qcom-qcs6490.inc | ||
|
|
||
| # Assign machine arch to download qualcomm prebuild binary ex: fastrpc | ||
| MACHINE_ARCH = "qcs6490_rb3gen2_vision_kit" | ||
|
|
||
| MACHINE_FEATURES = "usbhost usbgadget alsa wifi bluetooth" | ||
|
|
||
| # This DT currently exist only as patches against linux-qcom-base recipe. | ||
| KERNEL_DEVICETREE:pn-linux-qcom-base = " \ | ||
| qcom/qcs6490-rb3gen2.dtb \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. does that mean that there is no specific DTB for your board, and you are directly using the same DTB as RB3G2?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also including a lot of dtbs that are really specific to rb3gen2, ideally yours should only contain the dtbs (and overlays) which are validated on your target. |
||
| " | ||
|
|
||
| KERNEL_DEVICETREE:pn-linux-qcom-custom = " \ | ||
| qcom/qcs6490-addons-rb3gen2-video-mezz.dtb \ | ||
| qcom/qcs6490-addons-rb3gen2-vision-mezz.dtb \ | ||
| qcom/qcs6490-addons-rb3gen2-vision-mezz-hsp.dtb \ | ||
| qcom/qcs6490-addons-rb3gen2-ptz-mezz.dtb \ | ||
| qcom/qcs6490-addons-rb3gen2-ia-mezz.dtb \ | ||
| qcom/qcs5430-fp1-addons-rb3gen2-vision-mezz.dtb \ | ||
| qcom/qcs5430-fp1-addons-rb3gen2-vision-mezz-hsp.dtb \ | ||
| qcom/qcs5430-fp2-addons-rb3gen2-vision-mezz.dtb \ | ||
| qcom/qcs5430-fp2-addons-rb3gen2-vision-mezz-hsp.dtb \ | ||
| qcom/qcs5430-fp2p5-addons-rb3gen2-vision-mezz.dtb \ | ||
| qcom/qcs5430-fp2p5-addons-rb3gen2-vision-mezz-hsp.dtb \ | ||
| qcom/qcs5430-fp3-addons-rb3gen2-vision-mezz.dtb \ | ||
| qcom/qcs5430-fp2p5-addons-rb3gen2-vision-mezz-hsp.dtb \ | ||
| " | ||
|
|
||
| # Additional dtbo to overylay on top of kernel devicetree files | ||
| KERNEL_TECH_DTBOS[qcs6490-addons-rb3gen2-video-mezz] = " \ | ||
| qcm6490-graphics.dtbo qcm6490-camera-rb3.dtbo \ | ||
| qcm6490-wlan-rb3.dtbo \ | ||
| qcm6490-video.dtbo \ | ||
| qcm6490-wlan-upstream.dtbo \ | ||
| " | ||
| KERNEL_TECH_DTBOS[qcs6490-addons-rb3gen2-vision-mezz] = " \ | ||
| qcm6490-graphics.dtbo qcm6490-camera-rb3.dtbo \ | ||
| qcm6490-wlan-rb3.dtbo \ | ||
| qcm6490-video.dtbo \ | ||
| qcm6490-wlan-upstream.dtbo \ | ||
| " | ||
| KERNEL_TECH_DTBOS[qcs6490-addons-rb3gen2-vision-mezz-hsp] = " \ | ||
| qcm6490-wlan-rb3-hsp.dtbo \ | ||
| " | ||
| KERNEL_TECH_DTBOS[qcs5430-fp1-addons-rb3gen2-vision-mezz] = " \ | ||
| qcs5430-graphics.dtbo qcm5430-camera-rb3.dtbo \ | ||
| qcs5430-wlan-rb3.dtbo \ | ||
| qcm6490-video.dtbo \ | ||
| qcs5430-wlan-upstream.dtbo \ | ||
| " | ||
| KERNEL_TECH_DTBOS[qcs5430-fp1-addons-rb3gen2-vision-mezz-hsp] = " \ | ||
| " | ||
| KERNEL_TECH_DTBOS[qcs5430-fp2-addons-rb3gen2-vision-mezz] = " \ | ||
| qcs5430-graphics.dtbo qcm5430-camera-rb3.dtbo \ | ||
| qcs5430-wlan-rb3.dtbo \ | ||
| qcm6490-video.dtbo \ | ||
| qcs5430-wlan-upstream.dtbo \ | ||
| " | ||
| KERNEL_TECH_DTBOS[qcs5430-fp2-addons-rb3gen2-vision-mezz-hsp] = " \ | ||
| " | ||
| KERNEL_TECH_DTBOS[qcs5430-fp2p5-addons-rb3gen2-vision-mezz] = " \ | ||
| qcs5430-fp2p5-graphics.dtbo qcm6490-camera-rb3.dtbo \ | ||
| qcs5430-wlan-rb3.dtbo \ | ||
| qcs5430-wlan-upstream.dtbo qcm6490-video.dtbo \ | ||
| " | ||
| KERNEL_TECH_DTBOS[qcs5430-fp2p5-addons-rb3gen2-vision-mezz-hsp] = " \ | ||
| " | ||
| KERNEL_TECH_DTBOS[qcs5430-fp3-addons-rb3gen2-vision-mezz] = " \ | ||
| qcs5430-fp2p5-graphics.dtbo qcm6490-camera-rb3.dtbo \ | ||
| qcs5430-wlan-rb3.dtbo \ | ||
| qcs5430-wlan-upstream.dtbo qcm6490-video.dtbo \ | ||
| " | ||
| KERNEL_TECH_DTBOS[qcs5430-fp3-addons-rb3gen2-vision-mezz-hsp] = " \ | ||
| " | ||
| # Recipe providers of above dtbo files. | ||
| KERNEL_TECH_DTBO_PROVIDERS = "\ | ||
| cameradtb \ | ||
| qcom-graphicsdevicetree \ | ||
| qcom-videodtb \ | ||
| wlan-devicetree \ | ||
| " | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| FILESEXTRAPATHS:prepend := "${THISDIR}/${MACHINE}:" | ||
|
|
||
| SRC_URI:append:qcs6490mio5355a1 = " file://0001-ASoC-qcom-add-Advantech-QCM6490-machine-driver-suppo.patch " | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not correct, as per yocto documentation, this variable cannot be hand-edited, see:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you trying to share all other binaries from the rb3gen2?
I assume there are custom binaries (such as the boot firmware ones) which are specific to your hardware platform, can you confirm?