clk: en7523: full clk_hw + set_rate for en7581
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest2 patches 0 repliesNew
- v52 patches 3 repliesSuperseded
- v42 patches 1 replySuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 2 patches | 0 replies | Superseded | |
| v2 | 2 patches | 2 replies | Superseded | |
| v1 | 2 patches | 0 replies | Superseded |
Changes in v6 from the cover letter
- Rework to use div_table entirely
- Switch determine_rate to calculate best rate
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | clk: en7523: convert to full clk_hw implementation for en7581drivers/ | +55 | 0 replies | |
| 2/2 | clk: en7523: add support for .set_rate for en7581drivers/ | +288 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.
Cover letter [PATCH v6 0/2] clk: en7523: full clk_hw + set_rate for en7581
This simple patch convert the en7523 clk for EN7581 to full clk and adds the .set_rate OPs.
Needed mostly to configure MDC clk rate.
This will be also implemented by AN7583 since they share the same exact implementation.
Changes v6:
- Rework to use div_table entirely
- Switch determine_rate to calculate best rate
Changes v5:
- Handle requesting 0 rate
Changes v4:
- Fix regression where base_bits is 0
- Handle divider_get_val returning -EINVAL
Changes v3:
- Rework to clock divisor API
- Return error instead of -EINVAL
- Use dev_err where possible
- Use devm_kzalloc_obj
- Revert to not fail on clk registration failure
Changes v2:
- Fix recalc_rate return value on error
Christian Marangi (2):
clk: en7523: convert to full clk_hw implementation for en7581
clk: en7523: add support for .set_rate for en7581
drivers/clk/clk-en7523.c | 395 +++++++++++++++++++++++++++++++++------ 1 file changed, 342 insertions(+), 53 deletions(-)
Signature · 1 line
2.55.0