ARM SCMI/SCPI updates for v5.8 1. Addition of ARM SMC/HVC as SCMI transport type with required abstraction already in place 2. Initial infrastructure support to add SCMI notifications from platform to agents 3. Miscellaneous fix adding header include guards * tag 'scmi-updates-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux: firmware: arm_scmi: fix psci dependency firmware: arm_scmi: Fix return error code in smc_send_message firmware: arm_scmi: Fix handling of unexpected delayed responses firmware: arm_scmi: Clear channel for delayed responses firmware: arm_scmi: Clear channel on reception of unexpected responses firmware: arm_scmi: Rename .clear_notification() transport_ops firmware: arm_scmi: Add support for notifications message processing firmware: arm_scmi: Add notifications support in transport layer firmware: arm_scmi: Update protocol commands and notification list firmware: arm_scmi: Add receive buffer support for notifications firmware: arm_scpi: Add include guard to linux/scpi_protocol.h firmware: arm_scmi: Add include guard to linux/scmi_protocol.h firmware: arm_scmi: Drop checking for shmem property in parent node firmware: arm_scmi: Check shmem property for channel availablity firmware: arm_scmi: Drop empty stub for smc_mark_txdone firmware: arm_scmi: Make mutex channel specific firmware: arm_scmi: Add smc/hvc transport dt-bindings: arm: Add smc/hvc transport for SCMI
Showing the changes to include/linux (2 of 13 files). Show all
Unified · Split
| @@ -4,6 +4,10 @@ · 3 unmodified lines | |||
| 4 | * | 4 | * |
| 5 | * Copyright (C) 2018 ARM Ltd. | 5 | * Copyright (C) 2018 ARM Ltd. |
| 6 | */ | 6 | */ |
| 7 | |||
| 8 | #ifndef _LINUX_SCMI_PROTOCOL_H | ||
| 9 | #define _LINUX_SCMI_PROTOCOL_H | ||
| 10 | |||
| 7 | #include <linux/device.h> | 11 | #include <linux/device.h> |
| 8 | #include <linux/types.h> | 12 | #include <linux/types.h> |
| 9 | 13 | ||
| @@ -319,3 +323,5 @@ static inline void scmi_driver_unregister(struct scmi_driver *driver) {} · 309 unmodified lines | |||
| 319 | typedef int (*scmi_prot_init_fn_t)(struct scmi_handle *); | 323 | typedef int (*scmi_prot_init_fn_t)(struct scmi_handle *); |
| 320 | int scmi_protocol_register(int protocol_id, scmi_prot_init_fn_t fn); | 324 | int scmi_protocol_register(int protocol_id, scmi_prot_init_fn_t fn); |
| 321 | void scmi_protocol_unregister(int protocol_id); | 325 | void scmi_protocol_unregister(int protocol_id); |
| 326 | |||
| 327 | #endif /* _LINUX_SCMI_PROTOCOL_H */ | ||
| @@ -4,6 +4,10 @@ · 3 unmodified lines | |||
| 4 | * | 4 | * |
| 5 | * Copyright (C) 2014 ARM Ltd. | 5 | * Copyright (C) 2014 ARM Ltd. |
| 6 | */ | 6 | */ |
| 7 | |||
| 8 | #ifndef _LINUX_SCPI_PROTOCOL_H | ||
| 9 | #define _LINUX_SCPI_PROTOCOL_H | ||
| 10 | |||
| 7 | #include <linux/types.h> | 11 | #include <linux/types.h> |
| 8 | 12 | ||
| 9 | struct scpi_opp { | 13 | struct scpi_opp { |
| @@ -71,3 +75,5 @@ struct scpi_ops *get_scpi_ops(void); · 61 unmodified lines | |||
| 71 | #else | 75 | #else |
| 72 | static inline struct scpi_ops *get_scpi_ops(void) { return NULL; } | 76 | static inline struct scpi_ops *get_scpi_ops(void) { return NULL; } |
| 73 | #endif | 77 | #endif |
| 78 | |||
| 79 | #endif /* _LINUX_SCPI_PROTOCOL_H */ | ||