From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 563D5606A338 for ; Thu, 3 Dec 2026 15:10:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=oqs6rtDw; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.a=rsa-sha256 header.s=mail20170921 header.b=QzJ6z1Iq DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:References:Content-Type: Content-Transfer-Encoding:MIME-Version:In-Reply-To:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=02ADbsw4YNSwt/s1AHKfF03OyKsiJOwiIIj7Aa2E0Ik=; b=oqs6rtDwHEfLxc 0Oz4d9bO9CYcbH2FiQlgcmAiy+9tKGZrCWdbklW81G8ZDBC5CeQDYKkzrb1Mqqz8pkdcjJ77hceeS ZIAedb3dC8vYr05imXP1Gl6sh6GYvjfGJMR7tTEA0BAkwEGM0rbGvQDxCwiKIOu8rLfkIguuYpmhm 4GdXUUH+zDrnUECKLdowjdNP1s7q8Ebw+ohESWCcSXVuDiwrrJfaJs3OXnBm63mCBgFSvEopX+BwJ lp9O7+lpik38Qq1HgXGiVlvt3UbTIPhFavZmMoCbj3UCdsuTWvU2J54zXwx5Xhm+hMkfTQ+fz9E7K 302sOZvy3Y9BsrZ8c/Yg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ8Rn-0000000F4f3-0vi5; Thu, 03 Dec 2026 15:10:11 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZ8Rj-0000000F4dQ-0xTa for linux-arm-kernel@lists.infradead.org; Thu, 03 Dec 2026 15:10:10 +0000 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20261203151003epoutp026f5e8387dc5c13071b81bb200188e501~txvnw3Cat2401724017epoutp02Z for ; Thu, 3 Dec 2026 15:10:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20261203151003epoutp026f5e8387dc5c13071b81bb200188e501~txvnw3Cat2401724017epoutp02Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1796310603; bh=02ADbsw4YNSwt/s1AHKfF03OyKsiJOwiIIj7Aa2E0Ik=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QzJ6z1IqlLuqkwnnqBAQEvAhZAMCfHU7BcoszujpJbOizgR4lSEceyOhjD9qm2Js6 ZonKAKUrkEeIdQ9PRvwTmqbcoIL+E4nSrUXE2u23ulWzvA5X6zjUxy2IZyKaDAzgjY WKda7rrT8q/TQ9C4dk9pMRkwp2IYP3tHcrFr7yHU= Received: from epsnrtp01.localdomain (unknown [182.195.42.153]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPS id 20261203151002epcas5p1ff75d293a2c120a010b9f628dc61dcb9~txvm_368q2091920919epcas5p1k; Thu, 3 Dec 2026 15:10:02 +0000 (GMT) Received: from epcpadp1new (unknown [182.195.40.141]) by epsnrtp01.localdomain (Postfix) with ESMTP id 4jgJ2f25yvz6B9m6; Thu, 3 Dec 2026 15:10:02 +0000 (GMT) Received: from epsmtip1.samsung.com (unknown [182.195.34.30]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20261203145317epcas5p257fe406f5042dd691870b016cf6185c3~txg_xIVHQ0962409624epcas5p2j; Thu, 3 Dec 2026 14:53:17 +0000 (GMT) Received: from bose.samsungds.net (unknown [107.108.83.9]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20261203145313epsmtip145e3c484a2f43f2ab2f35ac575967d89~txg7zjA5u3161331613epsmtip1Q; Thu, 3 Dec 2026 14:53:13 +0000 (GMT) From: Raghav Sharma 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 Subject: [PATCH v4 02/14] dt-bindings: clock: exynos8855: add peris clock definitions Date: Thu, 3 Dec 2026 20:40:34 +0530 Message-Id: <1653986196.21796310602279.JavaMail.epsvc@epcpadp1new> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20261203151046.1562399-1-raghav.s@samsung.com> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMS-MailID: 20261203145317epcas5p257fe406f5042dd691870b016cf6185c3 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P X-CPGSPASS: Y X-Hop-Count: 3 X-CMS-RootMailID: 20261203145317epcas5p257fe406f5042dd691870b016cf6185c3 References: <20261203151046.1562399-1-raghav.s@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261203_071007_604257_78B8A60A X-CRM114-Status: GOOD ( 11.66 ) X-Spam-Score: -4.6 (----) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-18.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Add device tree clock binding definitions for CMU_PERIS Reviewed-by: Peter Griffin Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alim Akhtar Signed-off-by: Raghav Sharma --- .../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