firmware: arm_scmi: Add support for Rx channels, async commands and delayed response
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 1 replyIn review
- v111 patches 12 repliesSuperseded
Changes in v2 from the cover letter
- Fixed error messages to indicate Tx/Rx correctly
- Dropped receive buffer support as notifications are not yet added
- Simplied atomic_inc/dec for async request count and fixed the commit message
- Fixed fetching sensor value i.e. *pval + 1 to *(pval + 1) in scmi_sensor_reading_get
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | firmware: arm_scmi: Reorder some functions to avoid forward declarationsdrivers/ | +90 | 0 replies | |
| 2/10 | firmware: arm_scmi: Segregate tx channel handling and prepare to add rxdrivers/ | +23 | 0 replies | |
| 3/10 | firmware: arm_scmi: Add receive channel support for notificationsdrivers/ | +26 | 0 replies | |
| 4/10 | firmware: arm_scmi: Separate out tx buffer handling and prepare to add rxdrivers/ | +27 | 0 replies | |
| 5/10 | firmware: arm_scmi: Add mechanism to unpack message headersdrivers/ | +18 | 0 replies | |
| 6/10 | firmware: arm_scmi: Add support for asynchronous commands and delayed responsedrivers/ drivers/ | +46 | 0 replies | |
| 7/10 | firmware: arm_scmi: Drop async flag in sensor_ops->reading_getdrivers/ drivers/ include/ | +4 | 0 replies | |
| 8/10 | firmware: arm_scmi: Add asynchronous sensor read if it supportsdrivers/ include/ | +24 | 0 replies | |
| 9/10 | firmware: arm_scmi: Drop config flag in clk_ops->rate_setdrivers/ drivers/ include/ | +4 | 0 replies | |
| 10/10 | firmware: arm_scmi: Use asynchronous CLOCK_RATE_SET when possibledrivers/ | +16 | 1 reply |
Reviews trailers per patch
3 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Stephen Boyd | Guenter Roeck |
|---|---|---|
| 1/10 | ||
| 2/10 | ||
| 3/10 | ||
| 4/10 | ||
| 5/10 | ||
| 6/10 | ||
| 7/10 | A-b | |
| 8/10 | ||
| 9/10 | A-b | |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] firmware: arm_scmi: Add support for Rx channels, async commands and delayed response
Hi,
This patch series adds SCMI infrastructure/core support for recieve(Rx) channels, asynchronous commands and delayed response. It adds async command support for clock rate setting and sensor reading based on the attributes read from the firmware.
The code is rebased on the cleanup series[1] and is available @[2]
--
Regards,
Sudeep
[1] https://lore.kernel.org/lkml/[email protected]
[2] git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git scmi_updates
v1->v2:
- Fixed error messages to indicate Tx/Rx correctly
- Dropped receive buffer support as notifications are not yet added
- Simplied atomic_inc/dec for async request count and fixed the commit message
- Fixed fetching sensor value i.e. *pval + 1 to *(pval + 1) in scmi_sensor_reading_get
Sudeep Holla (10):
firmware: arm_scmi: Reorder some functions to avoid forward declarations
firmware: arm_scmi: Segregate tx channel handling and prepare to add rx
firmware: arm_scmi: Add receive channel support for notifications
firmware: arm_scmi: Separate out tx buffer handling and prepare to add rx
firmware: arm_scmi: Add mechanism to unpack message headers
firmware: arm_scmi: Add support for asynchronous commands and delayed response
firmware: arm_scmi: Drop async flag in sensor_ops->reading_get
firmware: arm_scmi: Add asynchronous sensor read if it supports
firmware: arm_scmi: Drop config flag in clk_ops->rate_set
firmware: arm_scmi: Use asynchronous CLOCK_RATE_SET when possible
drivers/clk/clk-scmi.c | 2 +- drivers/firmware/arm_scmi/clock.c | 21 +- drivers/firmware/arm_scmi/common.h | 6 +- drivers/firmware/arm_scmi/driver.c | 342 ++++++++++++++++++---------- drivers/firmware/arm_scmi/sensors.c | 32 ++- drivers/hwmon/scmi-hwmon.c | 2 +- include/linux/scmi_protocol.h | 6 +- 7 files changed, 271 insertions(+), 140 deletions(-)
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel