From patchwork Tue Jan 9 12:58:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13514908 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 42E6CC47077 for ; Tue, 9 Jan 2024 12:59:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References: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-Owner; bh=hQwaV0tOHHG7GizNfb7hEatzG7wC7lLWUVBnbCcw2zg=; b=TNUp6O2BN0V23q wVWMs+nbHDt4YX8omnho7NpNkEPO4ZFCA1X40EdUpkAtYFungl4pQrhZEfwuPldld/YzBNn6a176S 98Xn03/kdipBpyA6p/qdKtEojjQnxhy3mTvbguYj4/t/aX1zegyJlUCXTROsc0renWp4Z1cqy6Yra ljV/NxTS4A9f/h6L+HqqJxIU9UBihAoQZJTlTPSvp1q5Z47nNksS0FTqAb2kP8P9lYzWDe+dHAdg2 3P/0E0FghS2F+dWaPQZvfRb9GzOC8pbnTJlQfb0qmPgPRhslgYXTFMrAfHVxhmtBy+zwy/sBbSQe+ q7Jo1dDNDxfoJXvKssvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNBgu-008IVY-1I; Tue, 09 Jan 2024 12:58:48 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNBgp-008IRM-00 for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 12:58:45 +0000 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-336746c7b6dso2609120f8f.0 for ; Tue, 09 Jan 2024 04:58:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704805122; x=1705409922; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pzoEE5PLx3WRPb0R+UBAoAAnvkztgFUqzYVVDoII6wM=; b=EBgfEgJi0p0V73RJOrzylm2QfyZSlQBAfoIhHcgri+KEWDBNYDKvo+EoWEdr6xhcCg M2ZYloD9XEFvm5tfn/cHloHn6i53fcyo+JTUk/IWN5D3SCe3ut+TWjX69JAc3qvfTQ2x 0dY/CMw2v239FjoMw+w4acPNd+a8gwyCrwrjOGls+7k9UVVmj6P56Vi5bIkFlHfQXx7T SInpIY8uPASEPQQWtpzl0/as9nLd34qFuUKmfuqLoNs+9WTz9M6Z+WNBrqDcWFGo+94R KE4URwhaXJL5icXU/TCDAPylXpVnbhnFr7n1XvrToC80GJ7n3tp4rKVmNIO+C+tM0yi0 BXLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704805122; x=1705409922; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pzoEE5PLx3WRPb0R+UBAoAAnvkztgFUqzYVVDoII6wM=; b=whXIeNy+jfys+biLlxGcLthvObKQZ+GoHeZTQMmNx47JHdApdS34WZsiYqnFvmnopu o7z/HRoqycn6nY8elcSkqN36FxeVy+IDdhWLsM+SM1o8wwsORKtiXW1qRcFSK7kDyrPL aCuke2N90/STN3Sprm/PH96MbQ5vd3LWXKMl+Hm2NiIpsDNf15bGVrVDQwZVKtl3oidp LzAepdnxHt2XOtZO1vjbSxHuGA00D286Xrjf9faJ8gnc6p8ZMTALxgb35S855rD3CRJD 1fjgGfcon20L2NPo/6mQvpayYLxpsXOUy5Gg6N5ENCt7aYjqlEFtaRXGrzEQkg0uli8U aEig== X-Gm-Message-State: AOJu0Yz8zI8zr28ghVs8oE+zkZxt/rHmlPaGQrASUxmvEbYA21BI6gQS GaBZLZA93xDGu7e4kyDI2YG3M9wcA+rpXQ== X-Google-Smtp-Source: AGHT+IHnzxsCCm/HNg2HHqErus8BQHdl5sV5n8eEODKKGDLsEgoRlPc0eelp+pMKNq5BCbvjmbiXtg== X-Received: by 2002:adf:e941:0:b0:337:3f72:3de1 with SMTP id m1-20020adfe941000000b003373f723de1mr555630wrn.37.1704805121855; Tue, 09 Jan 2024 04:58:41 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id cw16-20020a056000091000b0033753a61e96sm2351302wrb.108.2024.01.09.04.58.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 04:58:40 -0800 (PST) From: Tudor Ambarus To: peter.griffin@linaro.org, krzysztof.kozlowski+dt@linaro.org, gregkh@linuxfoundation.org Cc: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, conor+dt@kernel.org, andi.shyti@kernel.org, alim.akhtar@samsung.com, jirislaby@kernel.org, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-serial@vger.kernel.org, andre.draszik@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus , Sam Protsenko Subject: [PATCH v3 09/12] arm64: dts: exynos: gs101: enable cmu-peric0 clock controller Date: Tue, 9 Jan 2024 12:58:11 +0000 Message-ID: <20240109125814.3691033-10-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20240109125814.3691033-1-tudor.ambarus@linaro.org> References: <20240109125814.3691033-1-tudor.ambarus@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240109_045843_051571_7422AC0B X-CRM114-Status: UNSURE ( 8.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the cmu-peric0 clock controller. It feeds USI and I3c. Reviewed-by: Sam Protsenko Reviewed-by: Peter Griffin Signed-off-by: Tudor Ambarus --- v3: - comply with the renamed cmu_peric0 clock names, "bus" and "ip" - collect Peter's R-b tag v2: collect Sam's R-b tag arch/arm64/boot/dts/exynos/google/gs101.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index 4e5f4c748906..2d1344a202a9 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -339,6 +339,16 @@ ppi_cluster2: interrupt-partition-2 { }; }; + cmu_peric0: clock-controller@10800000 { + compatible = "google,gs101-cmu-peric0"; + reg = <0x10800000 0x4000>; + #clock-cells = <1>; + clocks = <&ext_24_5m>, + <&cmu_top CLK_DOUT_CMU_PERIC0_BUS>, + <&cmu_top CLK_DOUT_CMU_PERIC0_IP>; + clock-names = "oscclk", "bus", "ip"; + }; + sysreg_peric0: syscon@10820000 { compatible = "google,gs101-peric0-sysreg", "syscon"; reg = <0x10820000 0x10000>;