firmware: arm_scmi: clock: support parents commands
Get series with b4
b4 am [email protected] change-id 20230914-scmi-clock-52c205da9616Versions newest first
- v5 Latest2 patches 2 repliesIn review
- v42 patches 1 replySuperseded inferred link
- v32 patches 6 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 1 reply | Superseded inferred link | |
| v1 | 2 patches | 0 replies | Superseded |
Changes in v5 from the cover letter
- check return value of devm_kcalloc in patch 2 Per Cristian's comment
- Link to v4: https://lore.kernel.org/r/[email protected]
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | firmware: arm_scmi: clock: support clock parentsdrivers/ include/ | +182 | 0 replies | |
| 2/2 | clk: scmi: add set/get_parent supportdrivers/ | +59 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Cristian Marussi | Stephen Boyd |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/2] firmware: arm_scmi: clock: support parents commands
SCMI v3.2 spec adds parents commands, this patchset is to support them:CLOCK_POSSIBLE_PARENTS_GETCLOCK_PARENT_SETCLOCK_PARENT_GET
Besides firmware api clock driver update, the clk_scmi driver also updated to support set_parent and get_parent ops.
To: Sudeep Holla <[email protected]>
To: Cristian Marussi <[email protected]>
To: Michael Turquette <[email protected]>
To: Stephen Boyd <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Changes in v5:
- check return value of devm_kcalloc in patch 2 Per Cristian's comment
- Link to v4: https://lore.kernel.org/r/[email protected]
Changes in v4:
Included Cristian's fix in patch 2 for get parent. Thanks, Cristian.
Add Cristian's R-b in patch 1
Rebased on https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git/log/?h=for-next/scmi/updates
- Link to v3: https://lore.kernel.org/all/[email protected]/
Changes in v3:
Address Cristian's comments:
- Drop SCMI_MAX_NUM_PARENTS, alloc memory dynamically
- Check clk_id, parent_id
- Add comment for parent_get/set
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in V2:
- Add determine_rate hooks
---
Peng Fan (2):
firmware: arm_scmi: clock: support clock parents
clk: scmi: add set/get_parent support
drivers/clk/clk-scmi.c | 60 ++++++++++++- drivers/firmware/arm_scmi/clock.c | 182 ++++++++++++++++++++++++++++++++++++-- include/linux/scmi_protocol.h | 6 ++ 3 files changed, 241 insertions(+), 7 deletions(-)
---
base-commit: 8b6022be4c6e3e0d37c3e1378c9ff0a2c8717b09
change-id: 20231003-scmi-clock-v3-ae65eb755d15
Best regards,
Signature · 1 line
Peng Fan <[email protected]>