From patchwork Tue Apr 23 20:49:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13640650 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 7CDC2C4345F for ; Tue, 23 Apr 2024 20:50:56 +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=rsI7LPBpPzy/A5ljDO5JKMqLfsI98sIcSFfACK7YNs4=; b=rTiSMPlaMPs5js 0Jzvnquw5e7BJbO8Vr7dwtG6w0QwB6dt7NxWoH4fvc71syWIM19YeBArSC1BX1VA5wjWwaSCMhwS1 HJmUsqeRsYbx6wFQ4Z6OYyGx6zL/BwyskmruRjPJDgK58bjKIdIQQPxf4Os3QLprH9tHxsG/8LefJ VzyGySUmNM/TTKwiTztucv27qUzeqcuoBOL6X57/z2JmIuixVyVUA/awIhymkReQHWtHwU0WKvyJL yUNpD2NnnJ5KOCoLnbvOEFnCAMdvnfs7BHjcWgFyeuQUJ2cHYCee9PZhhkjDkFfFuvNavuQIIqWIQ 8vlNaqSwbHKhqcKmqZ/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzN6E-00000001SxU-0Br4; Tue, 23 Apr 2024 20:50:46 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzN5p-00000001Sg4-1vKg for linux-arm-kernel@lists.infradead.org; Tue, 23 Apr 2024 20:50:23 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-41a0979b9aeso24586075e9.3 for ; Tue, 23 Apr 2024 13:50:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713905419; x=1714510219; 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=RO0Q7DT7yLKUiAcPvW3Nf6mTKRVRL8o5OiH+h8e335U=; b=rP/gec20JpA02gKXd5Lz4uyMEXbvzI2Ls5nF1ggSAgkMzfUvKcgUB91Lp1hwn+fhxx zaXkeYb0XAPw3xTSHGMH1XvQLe94fgq2LSHPZWm6zvgH1m2SQjcQEx1NdrmrRFkuPEh2 6Xq2cqVJWFeG4CZ8V8KeIhf75LeYqQVm2BBTzEwlEddYLAc5x+AvWvZPWVUBt2kaupYy gwaRVMyEeusYa4J6EThzq2jsO1Xj0kKUTE1WpAgo3GYxh/d66/CCbr8Vll+giL9a44Ck cmoLofIFdxIJA54f65fTcmJO0yLrgHl23bI/qhvg99OLjfC1rNDLOdVuBbHe4RW4doPl YKgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713905419; x=1714510219; 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=RO0Q7DT7yLKUiAcPvW3Nf6mTKRVRL8o5OiH+h8e335U=; b=KIucyBB6ZNnFFnjP92aPguzsaT4cEEHjv1LKnC22Ghd+AHlV424POsVu8PkyrX9Kp2 GFNHiQw/TcB7MM+o/sdv/jvTlSbHrLKLi8mzs8SHFt3KbTWDa2DrHeue0P5OFH1zLRup Oc8VqARBJvVAPYkolUzjop5/Z9t+4UmgeO9Ezg8CYO/FDjwPyzIvckGe9UUMONY1EpKb pebUIgQn7Jhx/G7C9vk1/IECNJPEu2fYZODWVttsB9EDC1OVAM0uMHByEsczhECR1SAk 3wRvmKx9sfUUYgXu4sw5UQRVkwaptawvMSMFzW5P0YevSr1Ap+eYKUDIb1qaFs9m2O8X nnJA== X-Forwarded-Encrypted: i=1; AJvYcCVGLMcz33DvsthZzr3iLCKwW4XPs4zcoqA2usoePJynEBjc0QY+yWvmEuk+fQ62ppP3w8YlKwWKOvsOrGszyDbWUJF9XPjSNOf+DuEf1+S8tSTDNTc= X-Gm-Message-State: AOJu0YyCDwGyTU1aTUekxORbaHfr+t1dY+at0fnOCVn34i4aQ9486HW6 QThuAZ2IFClxKFg4e24Q9yhYRY7F2uUGZe2ba2mtye9gOsX5JYOz/FzDYJ8klvk= X-Google-Smtp-Source: AGHT+IF8O2EPzbnNSG6U4NWCE/9Bmgh96w+1G9WQQPsP87ZTH8fEdARtLUqlxUJ0kewOWRJsF6pWyg== X-Received: by 2002:a05:600c:444b:b0:416:7b2c:df0f with SMTP id v11-20020a05600c444b00b004167b2cdf0fmr297771wmn.7.1713905419532; Tue, 23 Apr 2024 13:50:19 -0700 (PDT) Received: from gpeter-l.lan ([2a0d:3344:2e8:8510:4269:2542:5a09:9ca1]) by smtp.gmail.com with ESMTPSA id bg5-20020a05600c3c8500b00419f419236fsm13065443wmb.41.2024.04.23.13.50.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 13:50:19 -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, James.Bottomley@HansenPartnership.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 v2 04/14] arm64: dts: exynos: gs101: enable cmu-hsi2 clock controller Date: Tue, 23 Apr 2024 21:49:56 +0100 Message-ID: <20240423205006.1785138-5-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240423205006.1785138-1-peter.griffin@linaro.org> References: <20240423205006.1785138-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-20240423_135021_898782_E6C4AF92 X-CRM114-Status: UNSURE ( 9.35 ) 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>;