MPFS clock fixes required for correct CAN clock modeling
Get series with b4
b4 am 20240122-catty-roast-d3625dbb02fe@spudVersions newest first · linked by author and title
- v2 Latest7 patches 11 repliesIn review
- v1 posting 2/27 patches 13 repliesSuperseded
- v1 posting 1/20 of 7 patches 1 replySuperseded
Changes in v2 from the cover letter
- Swap MSSPLL out for MSSPLL0 in the driver, there's no functional change there.
- drop the unneeded maxItems from clocks.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | dt-bindings: clock: mpfs: add more MSSPLL output definitionsinclude/ | +5 | 0 replies | |
| 2/7 | dt-bindings: can: mpfs: add missing required clockDocumentation/ | +4 | 10 replies | |
| 3/7 | clk: microchip: mpfs: split MSSPLL in twodrivers/ | +123 | 0 replies | |
| 4/7 | clk: microchip: mpfs: setup for using other mss pll outputsdrivers/ | +19 | 0 replies | |
| 5/7 | clk: microchip: mpfs: add missing MSSPLL outputsdrivers/ | +7 | 0 replies | |
| 6/7 | clk: microchip: mpfs: convert MSSPLL outputs to clk_dividerdrivers/ | +14 | 0 replies | |
| 7/7 | riscv: dts: microchip: add missing CAN bus clocksarch/ | +2 | 0 replies |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski |
|---|---|
| 1/7 | A-b |
| 2/7 | R-b |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] MPFS clock fixes required for correct CAN clock modeling
From: Conor Dooley <[email protected]>
While reviewing a CAN driver internally for MPFS [1], I realised that the modeling of the MSSPLL such that only one of its outputs could be used was not correct. The CAN controllers on MPFS take 2 input clocks - one that is the bus clock, acquired from the main MSSPLL and a second clock for the AHB interface to the result of the SoC. Currently the binding for the CAN controllers and the represetnation of the MSSPLL only allows for one of these clocks.
Modify the binding and devicetree to expect two clocks and rework the main clock controller driver for MPFS such that it is capable of providing multiple outputs from the MSSPLL.
Cheers,
Conor.
1 - Hopefully that'll show up on the lists soon, once we are happy with
it ourselves. (As of v2, that's not happened yet, Christmas etc gettin in the way, soonTM).
Changes in v2:
- Swap MSSPLL out for MSSPLL0 in the driver, there's no functional change there.
- drop the unneeded maxItems from clocks.
Conor Dooley (7):
dt-bindings: clock: mpfs: add more MSSPLL output definitions
dt-bindings: can: mpfs: add missing required clock
clk: microchip: mpfs: split MSSPLL in two
clk: microchip: mpfs: setup for using other mss pll outputs
clk: microchip: mpfs: add missing MSSPLL outputs
clk: microchip: mpfs: convert MSSPLL outputs to clk_divider
riscv: dts: microchip: add missing CAN bus clocks
.../bindings/net/can/microchip,mpfs-can.yaml | 6 +- arch/riscv/boot/dts/microchip/mpfs.dtsi | 4 +- drivers/clk/microchip/clk-mpfs.c | 154 ++++++++++-------- .../dt-bindings/clock/microchip,mpfs-clock.h | 5 + 4 files changed, 98 insertions(+), 71 deletions(-)
Signature · 1 line
2.43.0