Add initial support for remoteprocs including ADSP and CDSP on Qualcomm Kaanapali platform which are compatible with ealier Platforms with minor difference. And add initial support for SoC Control Processor (SoCCP) which is loaded by bootloader. PAS loader will check the state of the subsystem, and set the status "attached" if ping the subsystem successfully.
Signed-off-by: Jingyi Wang <[email protected]> --- Signed-off-by: Jingyi Wang <[email protected]> --- Changes in v3: - Drop Glymur ADSP/CDSP binding - Extend the "interrupts" and "interrupt-names" properties in the pas-common - add missing IPCC_MPROC_SOCCP definition - fix complie err caused by qcom_q6v5_wcss.c - code clean up for late attach feature - call rproc_report_crash() instead of set RPROC_CRASHED state - fix q6v5.running and q6v5.handover_issued state handling - if wait_for_completion_timeout return 0, set RPROC_OFFLINE for PAS loader - Only ping the subsystem if ready_state is set - Link to v1: https://lore.kernel.org/r/[email protected] Changes in v2: - Drop MPSS change - pick Glymur changes from https://lore.kernel.org/linux-arm-msm/[email protected] - Drop redundant adsp bindings - Dmitry - Clarify Kaanapali CDSP compatible in commit msg - Krzysztof - include pas-common.yaml in soccp yaml and extend the common part - Krzysztof - Clear early_boot flag in the adsp stop callback - Dmitry - Use .mbn in soccp driver node - Konrad - Link to v1: https://lore.kernel.org/r/[email protected] --- Gokul krishna Krishnakumar (1): remoteproc: qcom: pas: Add late attach support for subsystems Jingyi Wang (4): dt-bindings: remoteproc: qcom,sm8550-pas: Add Kaanapali ADSP dt-bindings: remoteproc: qcom,sm8550-pas: Add Kaanapali CDSP dt-bindings: remoteproc: qcom,pas: Document pas for SoCCP on Kaanapali and Glymur platforms remoteproc: qcom_q6v5_pas: Add SoCCP node on Kaanapali .../remoteproc/qcom,kaanapali-soccp-pas.yaml | 134 +++++++++++++++++++++ .../bindings/remoteproc/qcom,pas-common.yaml | 28 +++-- .../bindings/remoteproc/qcom,sm8550-pas.yaml | 10 +- drivers/remoteproc/qcom_q6v5.c | 87 ++++++++++++- drivers/remoteproc/qcom_q6v5.h | 11 +- drivers/remoteproc/qcom_q6v5_adsp.c | 2 +- drivers/remoteproc/qcom_q6v5_mss.c | 2 +- drivers/remoteproc/qcom_q6v5_pas.c | 115 +++++++++++++++++- drivers/remoteproc/qcom_q6v5_wcss.c | 2 +- 9 files changed, 377 insertions(+), 14 deletions(-) --- base-commit: cc3aa43b44bdb43dfbac0fcb51c56594a11338a8 change-id: 20251223-knp-remoteproc-f6ba30baa06d Best regards, -- Jingyi Wang <[email protected]>

