-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into qcm6490_rproc
- Loading branch information
Showing
44 changed files
with
1,149 additions
and
960 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"sr_version": { | ||
"major": 1, | ||
"minor": 1, | ||
"patch": 1 | ||
}, | ||
"sr_domain": { | ||
"soc": "msm", | ||
"domain": "adsp", | ||
"subdomain": "root_pd", | ||
"qmi_instance_id": 74 | ||
}, | ||
"sr_service": [ | ||
{ | ||
"provider": "tms", | ||
"service": "servreg", | ||
"service_data_valid": 0, | ||
"service_data": 0, | ||
"dcomment": "data can be used to configure ACK timeout.Make data_valid 1 as well.Unit is second" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"sr_version": { | ||
"major": 1, | ||
"minor": 1, | ||
"patch": 1 | ||
}, | ||
"sr_domain": { | ||
"soc": "msm", | ||
"domain": "adsp", | ||
"subdomain": "audio_pd", | ||
"qmi_instance_id": 74 | ||
}, | ||
"sr_service": [ | ||
{ | ||
"provider": "tms", | ||
"service": "servreg", | ||
"service_data_valid": 0, | ||
"service_data": 0, | ||
"dcomment": "data can be used to configure ACK timeout.Make data_valid 1 as well.Unit is second" | ||
}, | ||
{ | ||
"provider": "avs", | ||
"service": "audio", | ||
"service_data_valid": 0, | ||
"service_data": 0, | ||
"dcomment": "No comment" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"sr_version": { | ||
"major": 1, | ||
"minor": 1, | ||
"patch": 1 | ||
}, | ||
"sr_domain": { | ||
"soc": "msm", | ||
"domain": "adsp", | ||
"subdomain": "charger_pd", | ||
"qmi_instance_id": 74 | ||
}, | ||
"sr_service": [ | ||
{ | ||
"provider": "tms", | ||
"service": "servreg", | ||
"service_data_valid": 0, | ||
"service_data": 0, | ||
"dcomment": "data can be used to configure ACK timeout.Make data_valid 1 as well.Unit is second" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"sr_version": { | ||
"major": 1, | ||
"minor": 1, | ||
"patch": 1 | ||
}, | ||
"sr_domain": { | ||
"soc": "msm", | ||
"domain": "cdsp", | ||
"subdomain": "root_pd", | ||
"qmi_instance_id": 76 | ||
}, | ||
"sr_service": [ | ||
{ | ||
"provider": "tms", | ||
"service": "servreg", | ||
"service_data_valid": 0, | ||
"service_data": 0, | ||
"dcomment": "data can be used to configure ACK timeout.Make data_valid 1 as well.Unit is second" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"sr_version": { | ||
"major": 1, | ||
"minor": 1, | ||
"patch": 1 | ||
}, | ||
"sr_domain": { | ||
"soc": "msm", | ||
"domain": "slpi", | ||
"subdomain": "root_pd", | ||
"qmi_instance_id": 90 | ||
}, | ||
"sr_service": [ | ||
{ | ||
"provider": "tms", | ||
"service": "servreg", | ||
"service_data_valid": 0, | ||
"service_data": 0 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"sr_version": { | ||
"major": 1, | ||
"minor": 1, | ||
"patch": 1 | ||
}, | ||
"sr_domain": { | ||
"soc": "msm", | ||
"domain": "slpi", | ||
"subdomain": "sensor_pd", | ||
"qmi_instance_id": 90 | ||
}, | ||
"sr_service": [ | ||
{ | ||
"provider": "tms", | ||
"service": "servreg", | ||
"service_data_valid": 0, | ||
"service_data": 0 | ||
} | ||
] | ||
} |
40 changes: 40 additions & 0 deletions
40
recipes-bsp/firmware-woa/firmware-qcom-sc8180x_200.0.105.0.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
DESCRIPTION = "Qualcomm Firmware for Compute SC8180X devices" | ||
|
||
LICENSE = "CLOSED" | ||
|
||
FW_QCOM_NAME = "sc8180x" | ||
WOA_SUBDIR = "8180_CLS" | ||
|
||
SRC_URI = "\ | ||
${WOA_FW_URL}/qcdx8180.cab;name=dx \ | ||
${WOA_FW_URL}/qcipa8180.cab;name=ipa \ | ||
${WOA_FW_URL}/qcsubsys_ext_adsp8180.cab;name=adsp \ | ||
${WOA_FW_URL}/qcsubsys_ext_cdsp8180.cab;name=cdsp \ | ||
${WOA_FW_URL}/qcsubsys_ext_mpss8180.cab;name=mpss \ | ||
${WOA_FW_URL}/qcsubsys_ext_scss8180.cab;name=slpi \ | ||
file://adspr.jsn \ | ||
file://adspua.jsn \ | ||
file://battmgr.jsn \ | ||
file://cdspr.jsn \ | ||
file://slpir.jsn \ | ||
file://slpius.jsn \ | ||
" | ||
|
||
SRC_URI[dx.sha256sum] = "c5295509720898758e9a61f1f5f64a013cb6c7706e82d1598232cdca5754d115" | ||
SRC_URI[ipa.sha256sum] = "e083779b7ee99edfd0fc4a54fb562c355476cf359f29cc729052158f97c3769d" | ||
SRC_URI[adsp.sha256sum] = "0679e45ae07b4b19db97ac06b12fce64cba4dfe65102d1f615564ca90387e8dd" | ||
SRC_URI[cdsp.sha256sum] = "eb6b1ff4d02736cd2b2ecaaf4136c164d712fcec7d8ad232434be1c67b703ffc" | ||
SRC_URI[mpss.sha256sum] = "7c7ed01e9c8cff1c7d1546a2b6f14c23d9224afd0de9a6f52c33ad04bfe053a8" | ||
SRC_URI[slpi.sha256sum] = "4dc4be421f46ffa3ee8b9141faac4214e7d19e60dc7c63734ef2bdba08cca73d" | ||
|
||
SPLIT_FIRMWARE_PACKAGES = "\ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-adreno \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-audio \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-compute \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-ipa \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-modem \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-sensors \ | ||
linux-firmware-qcom-${FW_QCOM_NAME}-venus \ | ||
" | ||
|
||
require firmware-woa.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
DEPENDS += "cabextract-native" | ||
require recipes-bsp/firmware/firmware-qcom.inc | ||
|
||
WOA_FW_URL = "https://github.com/WOA-Project/Qualcomm-Reference-Drivers/raw/master/${WOA_SUBDIR}/${PV}" | ||
|
||
do_compile:append() { | ||
for file in ${WORKDIR}/*cab ; do | ||
cabextract $file || exit 1 | ||
done | ||
} | ||
|
||
do_install:append() { | ||
install -d ${D}${FW_QCOM_PATH} | ||
|
||
install -m 0644 ${B}/*.mbn ${D}${FW_QCOM_PATH} | ||
ls ${B}/*.elf && install -m 0644 ${B}/*.elf ${D}${FW_QCOM_PATH} | ||
|
||
install -m 0644 ${WORKDIR}/*.jsn ${D}${FW_QCOM_PATH} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
DESCRIPTION = "Tiny ramdisk image with SC8180X devices firmware files" | ||
|
||
PACKAGE_INSTALL += " \ | ||
packagegroup-firmware-sc8180x \ | ||
" | ||
|
||
BAD_RECOMMENDATIONS = " \ | ||
linux-firmware-qca \ | ||
linux-firmware-ath10k \ | ||
linux-firmware-qcom-sc8180x-compute \ | ||
linux-firmware-qcom-sc8180x-ipa \ | ||
linux-firmware-qcom-sc8180x-modem \ | ||
linux-firmware-qcom-sc8180x-sensors \ | ||
linux-firmware-qcom-sc8180x-venus \ | ||
" | ||
|
||
require initramfs-firmware-image.inc |
16 changes: 16 additions & 0 deletions
16
recipes-bsp/packagegroups/packagegroup-firmware-sc8180x.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
SUMMARY = "Firmware packages for the SC8180X devices" | ||
|
||
inherit packagegroup | ||
|
||
RRECOMMENDS:${PN} += " \ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'linux-firmware-qcom-adreno-a640 linux-firmware-qcom-sc8180x-adreno', '', d)} \ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'linux-firmware-qca', '', d)} \ | ||
${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath10k', '', d)} \ | ||
firmware-qcom-sc8180x \ | ||
linux-firmware-qcom-sc8180x-audio \ | ||
linux-firmware-qcom-sc8180x-compute \ | ||
linux-firmware-qcom-sc8180x-ipa \ | ||
linux-firmware-qcom-sc8180x-modem \ | ||
linux-firmware-qcom-sc8180x-sensors \ | ||
linux-firmware-qcom-sc8180x-venus \ | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,6 @@ CONFIG_ATL1C=m | |
|
||
CONFIG_CAN=m | ||
CONFIG_CAN_MCP251XFD=m | ||
|
||
CONFIG_BACKLIGHT_PWM=m | ||
CONFIG_DRM_PANEL_NOVATEK_NT36672E=m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
...x-yocto/qcm6490-board-dts/0001-FROMLIST-arm64-dts-qcom-qcm6490-idp-Update-protected.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
From 033eb03a2ab2057f3f79a20be485f5c58af20816 Mon Sep 17 00:00:00 2001 | ||
From: Taniya Das <quic_tdas@quicinc.com> | ||
Date: Mon, 18 Mar 2024 11:05:54 +0530 | ||
Subject: [PATCH 1/3] FROMLIST: arm64: dts: qcom: qcm6490-idp: Update protected | ||
clocks list | ||
|
||
Certain clocks are not accessible on QCM6490-IDP board, | ||
thus mark them as protected. Update the lpassaudio node to | ||
support the new compatible. | ||
|
||
Signed-off-by: Taniya Das <quic_tdas@quicinc.com> | ||
Upstream-Status: Submitted [https://lore.kernel.org/r/20240318053555.20405-8-quic_tdas@quicinc.com] | ||
--- | ||
arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 28 +++++++++++++++++++++++- | ||
1 file changed, 27 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts | ||
index 2a5631b0fa40..3baea71e0248 100644 | ||
--- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts | ||
+++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts | ||
@@ -1,6 +1,6 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
/* | ||
- * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. | ||
+ * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. | ||
*/ | ||
|
||
/dts-v1/; | ||
@@ -412,6 +412,32 @@ vreg_bob_3p296: bob { | ||
}; | ||
}; | ||
|
||
+&gcc { | ||
+ protected-clocks = <GCC_AGGRE_NOC_PCIE_1_AXI_CLK> ,<GCC_PCIE_1_AUX_CLK>, | ||
+ <GCC_PCIE_1_AUX_CLK_SRC>, <GCC_PCIE_1_CFG_AHB_CLK>, | ||
+ <GCC_PCIE_1_MSTR_AXI_CLK>, <GCC_PCIE_1_PHY_RCHNG_CLK_SRC>, | ||
+ <GCC_PCIE_1_PIPE_CLK>, <GCC_PCIE_1_PIPE_CLK_SRC>, | ||
+ <GCC_PCIE_1_SLV_AXI_CLK>, <GCC_PCIE_1_SLV_Q2A_AXI_CLK>, | ||
+ <GCC_QSPI_CNOC_PERIPH_AHB_CLK>, <GCC_QSPI_CORE_CLK>, | ||
+ <GCC_QSPI_CORE_CLK_SRC>,<GCC_USB30_SEC_MASTER_CLK>, | ||
+ <GCC_USB30_SEC_MASTER_CLK_SRC>, <GCC_USB30_SEC_MOCK_UTMI_CLK>, | ||
+ <GCC_USB30_SEC_MOCK_UTMI_CLK_SRC>, | ||
+ <GCC_USB30_SEC_MOCK_UTMI_POSTDIV_CLK_SRC>, <GCC_USB30_SEC_SLEEP_CLK>, | ||
+ <GCC_USB3_SEC_PHY_AUX_CLK>, <GCC_USB3_SEC_PHY_AUX_CLK_SRC>, | ||
+ <GCC_USB3_SEC_PHY_COM_AUX_CLK>, <GCC_USB3_SEC_PHY_PIPE_CLK>, | ||
+ <GCC_USB3_SEC_PHY_PIPE_CLK_SRC>, <GCC_CFG_NOC_LPASS_CLK>, | ||
+ <GCC_MSS_GPLL0_MAIN_DIV_CLK_SRC>, <GCC_MSS_CFG_AHB_CLK>, | ||
+ <GCC_MSS_OFFLINE_AXI_CLK>, <GCC_MSS_SNOC_AXI_CLK>, | ||
+ <GCC_MSS_Q6_MEMNOC_AXI_CLK>, <GCC_MSS_Q6SS_BOOT_CLK_SRC>, | ||
+ <GCC_SEC_CTRL_CLK_SRC>, <GCC_WPSS_AHB_CLK>, | ||
+ <GCC_WPSS_AHB_BDG_MST_CLK>, <GCC_WPSS_RSCP_CLK>; | ||
+}; | ||
+ | ||
+&lpass_audiocc { | ||
+ compatible = "qcom,qcm6490-lpassaudiocc"; | ||
+ /delete-property/ power-domains; | ||
+}; | ||
+ | ||
&qupv3_id_0 { | ||
status = "okay"; | ||
}; | ||
-- | ||
2.25.1 | ||
|
31 changes: 0 additions & 31 deletions
31
...ux-yocto/qcm6490-board-dts/0001-FROMLIST-dt-bindings-arm-qcom-Add-QCM6490-IDP-board.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.