From patchwork Thu Apr 4 12:25:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13617708 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 26D94CD1284 for ; Thu, 4 Apr 2024 12:27:05 +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=AAmyyd3doD72WIlLNHeyYcaTreG6i1HA03BNPHVrpSQ=; b=UMz5n3kD2eoNx/ XxzX2yFLlAjisgNllXu96NgvU1TbzcxrhPAAKAnqajBC7yU+FrHxWIZkbABDz86A3+YyI3+fjUjTt YZLNE3+Mft9pzW0ssqxnmB7ihpuIT+uQi/nriSagG/b9yzsxg13H+ftshEHL6tM71E3HmQonQjy/Q wkKLVnvnawqFu8ObslOTMgL02MnMwF1GKHr5kUm+H/ii5Nkj4uZQenY6FqlhXvjP9iX0DYOf6NDJQ rLXUnF4pdWKRNChd4SEU6Gxmt/gq+DyHntrPJB9y4LBe5exOJoNiPvnTcvse3eqFTyAbPxpZbfwjH jG3VZHwg8wkye9lCdRwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsMBB-00000002au7-2Sd3; Thu, 04 Apr 2024 12:26:53 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsMB5-00000002ao9-0qPn for linux-arm-kernel@lists.infradead.org; Thu, 04 Apr 2024 12:26:50 +0000 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3437efea211so834596f8f.2 for ; Thu, 04 Apr 2024 05:26:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712233603; x=1712838403; 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=ds/JjfQ2TlKCtemWTNTPAMOOadxWRRjHRCXTNztqFqc=; b=I2eAlByvJBDS2/fHRJ9GN9T1tWNSp6YI/u+ry+I6S44nhWzJ9lYGGbxx6EZRe0JER6 uKQhS51R/EmQhdJLvJ5vUVi3ydtMjtRAwNVgz8MBvVmzPBtvsn5bY+6KRLCINjmWs/nQ e/t40iigt/5D2BVUp1yory9uSeQv7WxkWLtOIW4ypJa2ZT26QazBsH/pdCFPw2dqtb4H +S3oLLBH31BhImTCI8yqe5S0ydiecwbbKpkiLWvryja9AB2lOv1V5Gwgb4uXeu67aUEv 3klyMfCGIMINeqzRP0u7N3HrWY2fmlAbYWIVZgSqOwmdeeLZAiK56eGS8qTKvVI45mlc SQcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712233603; x=1712838403; 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=ds/JjfQ2TlKCtemWTNTPAMOOadxWRRjHRCXTNztqFqc=; b=R2yjP5bgbEDjdsqqGbubvnEXAm9XlOWhnO5FhghZ8e0B4RzAO5fjjv5QPxJDaE/t4b LeiXhUOhDBd4HRXfrF90JzeEafh+E/LgitJTa4fVdjggXdTr2seceG4f8UjH5khCahUQ tbZ+eSxXHzG+d1KpKebJ9Vp21L2Zr4DuAxE3o7EbZQ04vejyweD+R9f6tCu029Ha3f/a wd5lqK+pI+2uzGGHPsgHfL3rI9yeEZCekNCrdN+F1upTWrgcPVsRNE2qlHoyLdTXAS56 SF7opG9r3TiGtCO3p/IAaXh08mO59fB7b+Gebl1AJiLoZwNs1fCa9sv72SHZgCQ1EMD8 93uA== X-Forwarded-Encrypted: i=1; AJvYcCXS8NElqTFbm9xaTLCzAx5ufJGVjPepp8X9ZLv1enbBQzxsiUAYBvMTkrnw/0A59E8vFYuFpEWH5sY9l8pFdqVa3yYxsxRnX8brSDT62X/QYFleJWY= X-Gm-Message-State: AOJu0Yw7CSLsQm5+JFhtOB/hzX9UQ7PgTnL2iqHKof5nT/b+L3+Pw7gV 6H/Bx6JvM29wznzp03PjmTvfXQEuMvC8W9FwtTTCdSkl2UJl4b7amjiwoy0WBoA= X-Google-Smtp-Source: AGHT+IE1KcSWtq0AtIR6tJqtMgKw1sNq7p9OsCBJVxmziFYXd9baY73voLcHuEo5/99B79vRXGQPWg== X-Received: by 2002:a5d:4589:0:b0:33e:c528:c900 with SMTP id p9-20020a5d4589000000b0033ec528c900mr2144866wrq.55.1712233603079; Thu, 04 Apr 2024 05:26:43 -0700 (PDT) Received: from gpeter-l.roam.corp.google.com ([148.252.128.204]) by smtp.gmail.com with ESMTPSA id bu14-20020a056000078e00b003434b41c83fsm12106303wrb.81.2024.04.04.05.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 05:26:41 -0700 (PDT) From: Peter Griffin To: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, kishon@kernel.org, alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, s.nawrocki@samsung.com, cw00.choi@samsung.com, jejb@linux.ibm.com, martin.petersen@oracle.com, chanho61.park@samsung.com, ebiggers@kernel.org Cc: linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, Peter Griffin Subject: [PATCH 05/17] arm64: dts: exynos: gs101: enable cmu-hsi2 clock controller Date: Thu, 4 Apr 2024 13:25:47 +0100 Message-ID: <20240404122559.898930-6-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.478.gd926399ef9-goog In-Reply-To: <20240404122559.898930-1-peter.griffin@linaro.org> References: <20240404122559.898930-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240404_052647_391469_376FA1B0 X-CRM114-Status: UNSURE ( 9.52 ) 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_hsi2 clock management unit. It feeds some of the high speed interfaces such as PCIe and UFS. Signed-off-by: Peter Griffin Reviewed-by: André Draszik --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index eddb6b326fde..38ac4fb1397e 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1253,6 +1253,18 @@ pinctrl_hsi1: pinctrl@11840000 { interrupts = ; }; + cmu_hsi2: clock-controller@14400000 { + compatible = "google,gs101-cmu-hsi2"; + reg = <0x14400000 0x4000>; + #clock-cells = <1>; + clocks = <&ext_24_5m>, + <&cmu_top CLK_DOUT_CMU_HSI2_BUS>, + <&cmu_top CLK_DOUT_CMU_HSI2_PCIE>, + <&cmu_top CLK_DOUT_CMU_HSI2_UFS_EMBD>, + <&cmu_top CLK_DOUT_CMU_HSI2_MMC_CARD>; + clock-names = "oscclk", "bus", "pcie", "ufs_embd", "mmc_card"; + }; + pinctrl_hsi2: pinctrl@14440000 { compatible = "google,gs101-pinctrl"; reg = <0x14440000 0x00001000>;