Loading Documentation/devicetree/bindings/arm/msm/mdm-modem.txt +2 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ Optional driver parameters: - qcom,restart-group: List of subsystems that will need to restart together. - qcom,mdm-dual-link: Boolean indicates wheter both links can used for communication. - qcom,ssctl-instance-id: Instance id used by the subsystem to connect with the SSCTL service. Example: mdm0: qcom,mdm0 { Loading Loading @@ -138,4 +139,5 @@ Example: qcom,ramdump-timeout-ms = <120000>; qcom,vddmin-modes = "normal"; qcom,vddmin-drive-strength = <8>; qcom,ssctl-instance-id = <10>; }; Documentation/devicetree/bindings/pil/pil-q6v5-mss.txt +3 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ Optional properties: - qcom,restart-group: List of subsystems that will need to restart together. - qcom,mba-image-is-not-elf: Boolean- Present if MBA image doesnt use the ELF format. - qcom,ssctl-instance-id: Instance id used by the subsystem to connect with the SSCTL service. Example: qcom,mss@fc880000 { Loading Loading @@ -72,4 +74,5 @@ Example: /* GPIO output to mss */ qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>; qcom,ssctl-instance-id = <12>; }; Documentation/devicetree/bindings/pil/subsys-pil-tz.txt +3 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,8 @@ Optional properties: - qcom,gpio-stop-ack: GPIO used by the subsystem to ack force stop or a graceful stop to the apps. - qcom,restart-group: List of subsystems that will need to restart together. - qcom,ssctl-instance-id: Instance id used by the subsystem to connect with the SSCTL service. Example: qcom,venus@fdce0000 { Loading Loading @@ -113,4 +115,5 @@ Example: /* GPIO output to lpass */ qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; qcom,ssctl-instance-id = <14>; }; drivers/soc/qcom/subsystem_restart.c +6 −0 Original line number Diff line number Diff line Loading @@ -1402,6 +1402,12 @@ struct subsys_device *subsys_register(struct subsys_desc *desc) ret = subsys_setup_irqs(subsys); if (ret < 0) goto err_register; if (of_property_read_u32(desc->dev->of_node, "qcom,ssctl-instance-id", &desc->ssctl_instance_id)) pr_debug("Reading instance-id for %s failed\n", desc->name); } mutex_lock(&subsys_list_lock); Loading include/soc/qcom/subsystem_restart.h +2 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ struct module; * framework * @no_auth: Set if subsystem does not rely on PIL to authenticate and bring * it out of reset * @ssctl_instance_id: Instance id used to connect with SSCTL service */ struct subsys_desc { const char *name; Loading @@ -65,6 +66,7 @@ struct subsys_desc { unsigned int wdog_bite_irq; int force_stop_gpio; bool no_auth; int ssctl_instance_id; }; /** Loading Loading
Documentation/devicetree/bindings/arm/msm/mdm-modem.txt +2 −0 Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ Optional driver parameters: - qcom,restart-group: List of subsystems that will need to restart together. - qcom,mdm-dual-link: Boolean indicates wheter both links can used for communication. - qcom,ssctl-instance-id: Instance id used by the subsystem to connect with the SSCTL service. Example: mdm0: qcom,mdm0 { Loading Loading @@ -138,4 +139,5 @@ Example: qcom,ramdump-timeout-ms = <120000>; qcom,vddmin-modes = "normal"; qcom,vddmin-drive-strength = <8>; qcom,ssctl-instance-id = <10>; };
Documentation/devicetree/bindings/pil/pil-q6v5-mss.txt +3 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ Optional properties: - qcom,restart-group: List of subsystems that will need to restart together. - qcom,mba-image-is-not-elf: Boolean- Present if MBA image doesnt use the ELF format. - qcom,ssctl-instance-id: Instance id used by the subsystem to connect with the SSCTL service. Example: qcom,mss@fc880000 { Loading Loading @@ -72,4 +74,5 @@ Example: /* GPIO output to mss */ qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>; qcom,ssctl-instance-id = <12>; };
Documentation/devicetree/bindings/pil/subsys-pil-tz.txt +3 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,8 @@ Optional properties: - qcom,gpio-stop-ack: GPIO used by the subsystem to ack force stop or a graceful stop to the apps. - qcom,restart-group: List of subsystems that will need to restart together. - qcom,ssctl-instance-id: Instance id used by the subsystem to connect with the SSCTL service. Example: qcom,venus@fdce0000 { Loading Loading @@ -113,4 +115,5 @@ Example: /* GPIO output to lpass */ qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; qcom,ssctl-instance-id = <14>; };
drivers/soc/qcom/subsystem_restart.c +6 −0 Original line number Diff line number Diff line Loading @@ -1402,6 +1402,12 @@ struct subsys_device *subsys_register(struct subsys_desc *desc) ret = subsys_setup_irqs(subsys); if (ret < 0) goto err_register; if (of_property_read_u32(desc->dev->of_node, "qcom,ssctl-instance-id", &desc->ssctl_instance_id)) pr_debug("Reading instance-id for %s failed\n", desc->name); } mutex_lock(&subsys_list_lock); Loading
include/soc/qcom/subsystem_restart.h +2 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ struct module; * framework * @no_auth: Set if subsystem does not rely on PIL to authenticate and bring * it out of reset * @ssctl_instance_id: Instance id used to connect with SSCTL service */ struct subsys_desc { const char *name; Loading @@ -65,6 +66,7 @@ struct subsys_desc { unsigned int wdog_bite_irq; int force_stop_gpio; bool no_auth; int ssctl_instance_id; }; /** Loading