All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/9] ARM: mstar: cpupll
@ 2022-01-21 19:35 ` Romain Perier
  0 siblings, 0 replies; 24+ messages in thread
From: Romain Perier @ 2022-01-21 19:35 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, linux-clk, Arnd Bergmann,
	Daniel Palmer, Romain Perier, Rob Herring
  Cc: devicetree, linux-arm-kernel, linux-kernel

This series adds a basic driver for the PLL that generates
the cpu clock on MStar/SigmaStar ARMv7 SoCs.

Unfortunately there isn't much documentation for this thing
so there are few magic values and guesses.

This needs to come after the MPLL DT changes.

Changes since v2:
- Re-ordered Kconfig by name
- Re-ordered includes alphabetically and removed useless ones
- Used timeout for cpu_relax
- Returned DIV_ROUND_DOWN_ULL() directly in
  msc313_cpupll_frequencyforreg()
- Returned DIV_ROUND_DOWN_ULL() directly in
  msc313_cpupll_regforfrequecy()
- Reduced the number of lines for msc313_cpupll_of_match
- Removed CLK_IS_CRITICAL

Changes since v1:
- Re-worked the series and ensure that 'make dt_binding_check' passes.
  The required commit is merged now, so it is okay.
- Fixed coding style issues in the driver and makes check_patch.pl happy
- Added one more commit for extending the opp_table for infinity2m.

Daniel Palmer (8):
  dt-bindings: clk: mstar msc313 cpupll binding description
  clk: mstar: msc313 cpupll clk driver
  ARM: mstar: Add cpupll to base dtsi
  ARM: mstar: Link cpupll to cpu
  ARM: mstar: Link cpupll to second core
  ARM: mstar: Add OPP table for infinity
  ARM: mstar: Add OPP table for infinity3
  ARM: mstar: Add OPP table for mercury5

Romain Perier (1):
  ARM: mstar: Extend opp_table for infinity2m

 .../bindings/clock/mstar,msc313-cpupll.yaml   |  45 ++++
 arch/arm/boot/dts/mstar-infinity.dtsi         |  34 +++
 arch/arm/boot/dts/mstar-infinity2m.dtsi       |  17 ++
 arch/arm/boot/dts/mstar-infinity3.dtsi        |  58 +++++
 arch/arm/boot/dts/mstar-mercury5.dtsi         |  36 +++
 arch/arm/boot/dts/mstar-v7.dtsi               |   9 +
 drivers/clk/mstar/Kconfig                     |   8 +
 drivers/clk/mstar/Makefile                    |   2 +-
 drivers/clk/mstar/clk-msc313-cpupll.c         | 221 ++++++++++++++++++
 9 files changed, 429 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml
 create mode 100644 drivers/clk/mstar/clk-msc313-cpupll.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2022-01-23  5:13 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-21 19:35 [PATCH v3 0/9] ARM: mstar: cpupll Romain Perier
2022-01-21 19:35 ` Romain Perier
2022-01-21 19:35 ` [PATCH v3 1/9] dt-bindings: clk: mstar msc313 cpupll binding description Romain Perier
2022-01-21 19:35   ` Romain Perier
2022-01-21 19:35 ` [PATCH v3 2/9] clk: mstar: msc313 cpupll clk driver Romain Perier
2022-01-21 19:35   ` Romain Perier
2022-01-21 19:35 ` [PATCH v3 3/9] ARM: mstar: Add cpupll to base dtsi Romain Perier
2022-01-21 19:35   ` Romain Perier
2022-01-23  5:10   ` Daniel Palmer
2022-01-23  5:10     ` Daniel Palmer
2022-01-21 19:35 ` [PATCH v3 4/9] ARM: mstar: Link cpupll to cpu Romain Perier
2022-01-21 19:35   ` Romain Perier
2022-01-21 19:35 ` [PATCH v3 5/9] ARM: mstar: Link cpupll to second core Romain Perier
2022-01-21 19:35   ` Romain Perier
2022-01-21 19:35 ` [PATCH v3 6/9] ARM: mstar: Add OPP table for infinity Romain Perier
2022-01-21 19:35   ` Romain Perier
2022-01-21 19:35 ` [PATCH v3 7/9] ARM: mstar: Add OPP table for infinity3 Romain Perier
2022-01-21 19:35   ` Romain Perier
2022-01-21 19:35 ` [PATCH v3 8/9] ARM: mstar: Add OPP table for mercury5 Romain Perier
2022-01-21 19:35   ` Romain Perier
2022-01-23  5:12   ` Daniel Palmer
2022-01-23  5:12     ` Daniel Palmer
2022-01-21 19:35 ` [PATCH v3 9/9] ARM: mstar: Extend opp_table for infinity2m Romain Perier
2022-01-21 19:35   ` Romain Perier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.