Convert CONFIG_SYS_INTERLAKEN et al to Kconfig
[platform/kernel/u-boot.git] / include / scmi_agent-uclass.h
index 562a4cc..b1c9353 100644 (file)
@@ -14,6 +14,15 @@ struct scmi_channel;
  */
 struct scmi_agent_ops {
        /*
+        * of_get_channel - Get SCMI channel from SCMI agent device tree node
+        *
+        * @dev:                SCMI protocol device using the transport
+        * @channel:            Output reference to SCMI channel upon success
+        * Return 0 upon success and a negative errno on failure
+        */
+       int (*of_get_channel)(struct udevice *dev, struct scmi_channel **channel);
+
+       /*
         * process_msg - Request transport to get the SCMI message processed
         *
         * @dev:                SCMI protocol device using the transport