Loading Documentation/devicetree/bindings/arm/msm/mdm-modem.txt +2 −0 Original line number Diff line number Diff line Loading @@ -104,6 +104,7 @@ Optional driver parameters: - 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. - qcom,sysmon-id: platform device id that sysmon is probed with for the subsystem. Example: mdm0: qcom,mdm0 { Loading Loading @@ -140,4 +141,5 @@ Example: qcom,vddmin-modes = "normal"; qcom,vddmin-drive-strength = <8>; qcom,ssctl-instance-id = <10>; qcom,sysmon-id = <20>; }; Documentation/devicetree/bindings/pil/pil-q6v5-mss.txt +2 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,7 @@ Optional properties: format. - qcom,ssctl-instance-id: Instance id used by the subsystem to connect with the SSCTL service. - qcom,sysmon-id: platform device id that sysmon is probed with for the subsystem. Example: qcom,mss@fc880000 { Loading Loading @@ -90,4 +91,5 @@ Example: /* GPIO output to mss */ qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>; qcom,ssctl-instance-id = <12>; qcom,sysmon-id = <0>; }; Documentation/devicetree/bindings/pil/subsys-pil-tz.txt +2 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,7 @@ Optional properties: - 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. - qcom,sysmon-id: platform device id that sysmon is probed with for the subsystem. Example: qcom,venus@fdce0000 { Loading Loading @@ -116,4 +117,5 @@ Example: /* GPIO output to lpass */ qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; qcom,ssctl-instance-id = <14>; qcom,sysmon-id = <1>; }; drivers/soc/qcom/subsystem_restart.c +7 −0 Original line number Diff line number Diff line Loading @@ -1407,6 +1407,7 @@ struct subsys_device *subsys_register(struct subsys_desc *desc) subsys->dev.bus = &subsys_bus_type; subsys->dev.release = subsys_device_release; subsys->notif_state = -1; subsys->desc->sysmon_pid = -1; subsys->notify = subsys_notif_add_subsys(desc->name); Loading Loading @@ -1457,6 +1458,12 @@ struct subsys_device *subsys_register(struct subsys_desc *desc) &desc->ssctl_instance_id)) pr_debug("Reading instance-id for %s failed\n", desc->name); if (of_property_read_u32(desc->dev->of_node, "qcom,sysmon-id", &subsys->desc->sysmon_pid)) pr_debug("Reading sysmon-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 @@ -45,6 +45,7 @@ struct module; * @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 * @sysmon_pid: pdev id that sysmon is probed with for the subsystem */ struct subsys_desc { const char *name; Loading @@ -67,6 +68,7 @@ struct subsys_desc { int force_stop_gpio; bool no_auth; int ssctl_instance_id; u32 sysmon_pid; }; /** Loading Loading
Documentation/devicetree/bindings/arm/msm/mdm-modem.txt +2 −0 Original line number Diff line number Diff line Loading @@ -104,6 +104,7 @@ Optional driver parameters: - 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. - qcom,sysmon-id: platform device id that sysmon is probed with for the subsystem. Example: mdm0: qcom,mdm0 { Loading Loading @@ -140,4 +141,5 @@ Example: qcom,vddmin-modes = "normal"; qcom,vddmin-drive-strength = <8>; qcom,ssctl-instance-id = <10>; qcom,sysmon-id = <20>; };
Documentation/devicetree/bindings/pil/pil-q6v5-mss.txt +2 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,7 @@ Optional properties: format. - qcom,ssctl-instance-id: Instance id used by the subsystem to connect with the SSCTL service. - qcom,sysmon-id: platform device id that sysmon is probed with for the subsystem. Example: qcom,mss@fc880000 { Loading Loading @@ -90,4 +91,5 @@ Example: /* GPIO output to mss */ qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>; qcom,ssctl-instance-id = <12>; qcom,sysmon-id = <0>; };
Documentation/devicetree/bindings/pil/subsys-pil-tz.txt +2 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,7 @@ Optional properties: - 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. - qcom,sysmon-id: platform device id that sysmon is probed with for the subsystem. Example: qcom,venus@fdce0000 { Loading Loading @@ -116,4 +117,5 @@ Example: /* GPIO output to lpass */ qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; qcom,ssctl-instance-id = <14>; qcom,sysmon-id = <1>; };
drivers/soc/qcom/subsystem_restart.c +7 −0 Original line number Diff line number Diff line Loading @@ -1407,6 +1407,7 @@ struct subsys_device *subsys_register(struct subsys_desc *desc) subsys->dev.bus = &subsys_bus_type; subsys->dev.release = subsys_device_release; subsys->notif_state = -1; subsys->desc->sysmon_pid = -1; subsys->notify = subsys_notif_add_subsys(desc->name); Loading Loading @@ -1457,6 +1458,12 @@ struct subsys_device *subsys_register(struct subsys_desc *desc) &desc->ssctl_instance_id)) pr_debug("Reading instance-id for %s failed\n", desc->name); if (of_property_read_u32(desc->dev->of_node, "qcom,sysmon-id", &subsys->desc->sysmon_pid)) pr_debug("Reading sysmon-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 @@ -45,6 +45,7 @@ struct module; * @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 * @sysmon_pid: pdev id that sysmon is probed with for the subsystem */ struct subsys_desc { const char *name; Loading @@ -67,6 +68,7 @@ struct subsys_desc { int force_stop_gpio; bool no_auth; int ssctl_instance_id; u32 sysmon_pid; }; /** Loading