The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Raghav Sharma <raghav.s@samsung.com>
To: krzk@kernel.org, s.nawrocki@samsung.com, cw00.choi@samsung.com,
	peter.griffin@linaro.org, alim.akhtar@samsung.com,
	sboyd@kernel.org, bmasney+clk@redhat.com,
	jbrunet+clk@baylibre.com, robh@kernel.org, conor+dt@kernel.org,
	raghav.s@samsung.com
Cc: linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, is.gandhi@samsung.com,
	ts.amit@samsung.com, pokala.reddy@samsung.com,
	Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Subject: [PATCH v4 02/14] dt-bindings: clock: exynos8855: add peris clock definitions
Date: Thu,  3 Dec 2026 20:40:34 +0530	[thread overview]
Message-ID: <1653986196.21796310602279.JavaMail.epsvc@epcpadp1new> (raw)
In-Reply-To: <20261203151046.1562399-1-raghav.s@samsung.com>

Add device tree clock binding definitions for CMU_PERIS

Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Raghav Sharma <raghav.s@samsung.com>
---
 .../clock/samsung,exynos8855-clock.yaml       | 21 +++++++++++++++++++
 .../dt-bindings/clock/samsung,exynos8855.h    | 18 ++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos8855-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos8855-clock.yaml
index 486b7347ad44..53fc8040e173 100644
--- a/Documentation/devicetree/bindings/clock/samsung,exynos8855-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/samsung,exynos8855-clock.yaml
@@ -29,6 +29,7 @@ properties:
   compatible:
     enum:
       - samsung,exynos8855-cmu-peric
+      - samsung,exynos8855-cmu-peris
       - samsung,exynos8855-cmu-top
 
   clocks:
@@ -73,6 +74,26 @@ allOf:
             - const: mmc_card
             - const: ip
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: samsung,exynos8855-cmu-peris
+
+    then:
+      properties:
+        clocks:
+          items:
+            - description: External reference clock (76.8 MHz)
+            - description: CMU_PERIS GIC clock (from CMU_TOP)
+            - description: CMU_PERIS NOC clock (from CMU_TOP)
+
+        clock-names:
+          items:
+            - const: oscclk
+            - const: gic
+            - const: bus
+
   - if:
       properties:
         compatible:
diff --git a/include/dt-bindings/clock/samsung,exynos8855.h b/include/dt-bindings/clock/samsung,exynos8855.h
index abd60dd7d077..2a86a2883445 100644
--- a/include/dt-bindings/clock/samsung,exynos8855.h
+++ b/include/dt-bindings/clock/samsung,exynos8855.h
@@ -335,4 +335,22 @@
 #define CLK_GOUT_PERIC_USI04_I2C_IPCLKPORT_IPCLK 92
 #define CLK_GOUT_PERIC_USI05_I2C_IPCLKPORT_IPCLK 93
 
+/* CMU_PERIS */
+#define CLK_MOUT_PERIS_NOC_USER            1
+#define CLK_MOUT_PERIS_GIC                 2
+#define CLK_MOUT_PERIS_GIC_USER            3
+#define CLK_DOUT_PERIS_NOCP                4
+#define CLK_DOUT_PERIS_OTP                 5
+#define CLK_GOUT_PERIS_CMU_PERIS_PCLK      6
+#define CLK_GOUT_PERIS_SYSREG_PERIS_PCLK   7
+#define CLK_GOUT_PERIS_WDT0_PERIS_PCLK     8
+#define CLK_GOUT_PERIS_WDT1_PERIS_PCLK     9
+#define CLK_GOUT_PERIS_GIC_IPCLKPORT_GICCLK      10
+#define CLK_GOUT_PERIS_D_TZPC_PERIS_IPCLKPORT_PCLK 11
+#define CLK_GOUT_PERIS_OTP_CON_SUB_IPCLKPORT_PCLK 12
+#define CLK_GOUT_PERIS_OTP_CON_TOP_IPCLKPORT_PCLK 13
+#define CLK_GOUT_PERIS_PWM_IPCLKPORT_I_PCLK_S0   14
+#define CLK_GOUT_PERIS_SPC_PERIS_IPCLKPORT_PCLK  15
+#define CLK_GOUT_PERIS_TMU_IPCLKPORT_PCLK        16
+
 #endif /* _DT_BINDINGS_CLOCK_EXYNOS8855_H */
-- 
2.34.1



  parent reply	other threads:[~2026-12-03 15:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20261203145310epcas5p19b1f51b9777ac211d368dff8022d0497@epcas5p1.samsung.com>
2026-12-03 15:10 ` [PATCH v4 00/14] Add clock support for Exynos8855 SoC Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 01/14] dt-bindings: clock: exynos8855: add top & peric clock definitions Raghav Sharma
2026-12-03 15:10   ` Raghav Sharma [this message]
2026-12-03 15:10   ` [PATCH v4 03/14] dt-bindings: clock: exynos8855: add hsi " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 04/14] dt-bindings: clock: exynos8855: add usb " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 05/14] clk: samsung: clk-pll: Add support for pll_4313 Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 06/14] clk: samsung: exynos8855: add block top clock support Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 07/14] clk: samsung: exynos8855: add block peric clock Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 08/14] clk: samsung: exynos8855: add block peris clock support Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 09/14] clk: samsung: exynos8855: add block hsi " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 10/14] clk: samsung: exynos8855: add block usb " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 11/14] arm64: dts: exynos8855: add cmu_top & cmu_peric clock DT nodes Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 12/14] arm64: dts: exynos8855: add cmu_peris " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 13/14] arm64: dts: exynos8855: add cmu_hsi " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 14/14] arm64: dts: exynos8855: add cmu_usb " Raghav Sharma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1653986196.21796310602279.JavaMail.epsvc@epcpadp1new \
    --to=raghav.s@samsung.com \
    --cc=alim.akhtar@samsung.com \
    --cc=bmasney+clk@redhat.com \
    --cc=conor+dt@kernel.org \
    --cc=cw00.choi@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=is.gandhi@samsung.com \
    --cc=jbrunet+clk@baylibre.com \
    --cc=krzk@kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=peter.griffin@linaro.org \
    --cc=pokala.reddy@samsung.com \
    --cc=robh@kernel.org \
    --cc=s.nawrocki@samsung.com \
    --cc=sboyd@kernel.org \
    --cc=ts.amit@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox