Some remoteproc will boot during earlier boot stages, add callback .irq_get_irqchip_state for remoteproc to check the states in smp2p and mark the state "attached", also add smp2p v2 support.
Signed-off-by: Deepak Kumar Singh <[email protected]> --- Changes in v3: - Update commit message. - Clean up macros for smp2p version. - Update description for smp2p version 2. - Update version negotiation to accomodate version 2. - Address other minor comments from v2. - Link to v2: https://lore.kernel.org/all/[email protected] Changes in v2: - Update condition to check version 2 in qcom_smp2p_start_in(). - Add more comment to describe above condition. - Add description for version v1 and v2 of smp2p. - Check validity of in_version. - Link to v1: https://lore.kernel.org/all/[email protected] --- Chris Lew (2): soc: qcom: smp2p: Add irqchip state support soc: qcom: smp2p: Add support for smp2p v2 drivers/soc/qcom/smp2p.c | 103 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 99 insertions(+), 4 deletions(-) --- base-commit: fcb70a56f4d81450114034b2c61f48ce7444a0e2 change-id: 20251127-smp2pv2-bb88f617b5b0 Best regards, -- Deepak Kumar Singh <[email protected]>

