linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] soc: amlogic: clk-measure: Add clk-measure support for C3 and S4
@ 2025-04-14 10:12 Chuan Liu via B4 Relay
  2025-04-14 10:12 ` [PATCH v2 1/7] soc: amlogic: clk-measure: Define MSR_CLK's register offset separately Chuan Liu via B4 Relay
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Chuan Liu via B4 Relay @ 2025-04-14 10:12 UTC (permalink / raw)
  To: Neil Armstrong, Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, linux-amlogic, linux-kernel, devicetree,
	Chuan Liu

Add clk-measure support for C3/S4 SoCs.

Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
---
Changes in v2:
- 1 Rename the clk-measure register.
- 2 Remove unused registers.
- 3 Share reg_offset across multiple chips.
- Link to v1: https://lore.kernel.org/r/20250411-clk-measure-v1-0-cb46a78d019a@amlogic.com

---
Chuan Liu (7):
      soc: amlogic: clk-measure: Define MSR_CLK's register offset separately
      dt-bindings: soc: amlogic: C3 supports clk-measure
      dt-bindings: soc: amlogic: S4 supports clk-measure
      soc: amlogic: clk-measure: Add support for C3
      soc: amlogic: clk-measure: Add support for S4
      arm64: dts: amlogic: C3: Add clk-measure controller node
      arm64: dts: amlogic: S4: Add clk-measure controller node

 .../soc/amlogic/amlogic,meson-gx-clk-measure.yaml  |   2 +
 arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi        |   5 +
 arch/arm64/boot/dts/amlogic/meson-s4.dtsi          |   5 +
 drivers/soc/amlogic/meson-clk-measure.c            | 374 ++++++++++++++++++++-
 4 files changed, 371 insertions(+), 15 deletions(-)
---
base-commit: 37021be47d02d2913d6767795a6f4c72b4e63a4f
change-id: 20250411-clk-measure-d33c5ab62669

Best regards,
-- 
Chuan Liu <chuan.liu@amlogic.com>




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

end of thread, other threads:[~2025-04-14 12:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-14 10:12 [PATCH v2 0/7] soc: amlogic: clk-measure: Add clk-measure support for C3 and S4 Chuan Liu via B4 Relay
2025-04-14 10:12 ` [PATCH v2 1/7] soc: amlogic: clk-measure: Define MSR_CLK's register offset separately Chuan Liu via B4 Relay
2025-04-14 10:21   ` Neil Armstrong
2025-04-14 11:56     ` Chuan Liu
2025-04-14 10:12 ` [PATCH v2 2/7] dt-bindings: soc: amlogic: C3 supports clk-measure Chuan Liu via B4 Relay
2025-04-14 12:11   ` Rob Herring (Arm)
2025-04-14 12:33     ` Rob Herring
2025-04-14 10:12 ` [PATCH v2 3/7] dt-bindings: soc: amlogic: S4 " Chuan Liu via B4 Relay
2025-04-14 10:12 ` [PATCH v2 4/7] soc: amlogic: clk-measure: Add support for C3 Chuan Liu via B4 Relay
2025-04-14 10:21   ` Neil Armstrong
2025-04-14 10:12 ` [PATCH v2 5/7] soc: amlogic: clk-measure: Add support for S4 Chuan Liu via B4 Relay
2025-04-14 10:22   ` Neil Armstrong
2025-04-14 10:12 ` [PATCH v2 6/7] arm64: dts: amlogic: C3: Add clk-measure controller node Chuan Liu via B4 Relay
2025-04-14 10:22   ` Neil Armstrong
2025-04-14 10:12 ` [PATCH v2 7/7] arm64: dts: amlogic: S4: " Chuan Liu via B4 Relay
2025-04-14 10:22   ` Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).