Loading drivers/firmware/Kconfig +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ config ARM_SCMI_PROTOCOL config QTI_SCMI_MEMLAT_PROTOCOL tristate "Qualcomm Technologies, Inc. SCMI MEMLAT vendor Protocol" depends on ARM || ARM64 || COMPILE_TEST depends on ARM_SCMI_PROTOCOL && QCOM_RIMPS depends on ARM_SCMI_PROTOCOL && QCOM_RIMPS && QGKI help System Control and Management Interface (SCMI) memlat vendor protocol this protocol provides interface to communicate with micro controller Loading include/linux/scmi_protocol.h +6 −1 Original line number Diff line number Diff line Loading @@ -207,6 +207,7 @@ struct scmi_reset_ops { int (*deassert)(const struct scmi_handle *handle, u32 domain); }; #ifdef CONFIG_QTI_SCMI_MEMLAT_PROTOCOL /** * struct scmi_memlat_vendor_ops - represents the various operations provided * by SCMI HW Memlat Protocol Loading Loading @@ -263,7 +264,7 @@ struct scmi_memlat_vendor_ops { int (*set_log_level)(const struct scmi_handle *handle, u32 val); int (*get_data)(const struct scmi_handle *handle, u8 *buf); }; #endif /** * struct scmi_handle - Handle returned to ARM SCMI clients for usage. Loading Loading @@ -294,7 +295,9 @@ struct scmi_handle { struct scmi_power_ops *power_ops; struct scmi_sensor_ops *sensor_ops; struct scmi_reset_ops *reset_ops; #ifdef CONFIG_QTI_SCMI_MEMLAT_PROTOCOL struct scmi_memlat_vendor_ops *memlat_ops; #endif /* for protocol internal use */ void *perf_priv; void *clk_priv; Loading @@ -311,7 +314,9 @@ enum scmi_std_protocol { SCMI_PROTOCOL_CLOCK = 0x14, SCMI_PROTOCOL_SENSOR = 0x15, SCMI_PROTOCOL_RESET = 0x16, #ifdef CONFIG_QTI_SCMI_MEMLAT_PROTOCOL SCMI_PROTOCOL_MEMLAT = 0x80, #endif }; struct scmi_device { Loading Loading
drivers/firmware/Kconfig +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ config ARM_SCMI_PROTOCOL config QTI_SCMI_MEMLAT_PROTOCOL tristate "Qualcomm Technologies, Inc. SCMI MEMLAT vendor Protocol" depends on ARM || ARM64 || COMPILE_TEST depends on ARM_SCMI_PROTOCOL && QCOM_RIMPS depends on ARM_SCMI_PROTOCOL && QCOM_RIMPS && QGKI help System Control and Management Interface (SCMI) memlat vendor protocol this protocol provides interface to communicate with micro controller Loading
include/linux/scmi_protocol.h +6 −1 Original line number Diff line number Diff line Loading @@ -207,6 +207,7 @@ struct scmi_reset_ops { int (*deassert)(const struct scmi_handle *handle, u32 domain); }; #ifdef CONFIG_QTI_SCMI_MEMLAT_PROTOCOL /** * struct scmi_memlat_vendor_ops - represents the various operations provided * by SCMI HW Memlat Protocol Loading Loading @@ -263,7 +264,7 @@ struct scmi_memlat_vendor_ops { int (*set_log_level)(const struct scmi_handle *handle, u32 val); int (*get_data)(const struct scmi_handle *handle, u8 *buf); }; #endif /** * struct scmi_handle - Handle returned to ARM SCMI clients for usage. Loading Loading @@ -294,7 +295,9 @@ struct scmi_handle { struct scmi_power_ops *power_ops; struct scmi_sensor_ops *sensor_ops; struct scmi_reset_ops *reset_ops; #ifdef CONFIG_QTI_SCMI_MEMLAT_PROTOCOL struct scmi_memlat_vendor_ops *memlat_ops; #endif /* for protocol internal use */ void *perf_priv; void *clk_priv; Loading @@ -311,7 +314,9 @@ enum scmi_std_protocol { SCMI_PROTOCOL_CLOCK = 0x14, SCMI_PROTOCOL_SENSOR = 0x15, SCMI_PROTOCOL_RESET = 0x16, #ifdef CONFIG_QTI_SCMI_MEMLAT_PROTOCOL SCMI_PROTOCOL_MEMLAT = 0x80, #endif }; struct scmi_device { Loading