From patchwork Mon Apr 29 13:02:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13646910 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 90A19C04FFE for ; Mon, 29 Apr 2024 13:03:10 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7XyjXM97BxhFotGnFir6b4A7cxSNkDiWunAC9H+Uu88=; b=3JQ87eYwt3h+U6 FH0+r4Ol7jb8hH/muyyyDl6Cpi6vnO4DBBgDe/e1Xo2Gc1VKYDS3jhZxCkm1Y81yv0/iaf8+v+vUN oP9yGSPsc/NoS24zlxUR6a8G28FGdKrsYfjFDM3rmBSuOsOvKvv3FOqMnKp0SaEoU+LwRZPiuqhMj dfmKJaikpYOc6mkdGnfSvzGin3O/mnZIBwsio+wzZg+iI1N4MrfU5GJA1MqyrMvRgq+Pw+KwNbCUp VQLkrBhzb84/vYS2RlE8AyTqWURl/6Iv28kKfDWRgEjwyzck/+OAQuhE9MNcEZVxvYNmgiqr17ks1 X0eta09g9Kl3maiLjumg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1Qem-00000002pTa-1coi; Mon, 29 Apr 2024 13:02:56 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1QeQ-00000002pIf-14d6 for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 13:02:37 +0000 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-56e48d0a632so6835657a12.2 for ; Mon, 29 Apr 2024 06:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714395751; x=1715000551; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=k8m194tVyfvhAHThcWtJ6ol3HDFzRPp7tqEYrp1oAhA=; b=vehPs8TJk4MrE1QbMOvV6FQV1a9+CjpndNLoL84I6xHtHUNw6oMxL9hI8Xp/k/rTz+ MyIwxV5GysyA1Mo8XNVm4KDlwQPyzwtJldbTpoejTA0Ru3Y8vOqZKs8o2iHltmFyv5T8 1ehnJXI1GHsWW2u+hhChYRCiB4LPih8kIZ+Njf5/MGYjyoF9wSup4Lrbc2lfwS3a+otO +ugM+y1Vb2wvVsFksacFfM8/DqdTq2Ly2AAf8poQis0SiFrPAEaCE6YSaBhYsIS8Wt3z 8G+lj1Qk8q7lGyVl4JqT2JI/h7SLqzYTKIiszJszVfybMeUp35KwXwl/8j1c+7HgqOge Veow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714395751; x=1715000551; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k8m194tVyfvhAHThcWtJ6ol3HDFzRPp7tqEYrp1oAhA=; b=o4rFbqW69YGdWqlwHkyxLZkDyGwffV4wZHDlQ9OnxAVch8/G5NIRfex4+njS6ThUSk oeKB9gWiGA1WltPLX30pbL2uGCLTbkryMjjpe+kSxHYL0XiBLhnWmXqFRYaT0ZgMuc+7 +K6SL3N0XYDgnQfhAE2X+GhvvMdVmGOk2M755Wq6lqDQWxKL1fcz/MOVkTqETkf8KHIj d12/plA0lLESk/Gu2ym/+L275tY7BeUwTP+ADEl3BAeIq8vXyq7m8l/TynYDVXel7a85 CyLGEZ5ncsNlpMWGqXRYYDo3S02ZosTvX+ifeFoDHjyMkl85TvTAxT24kNI8VHMdgnmW EC0g== X-Forwarded-Encrypted: i=1; AJvYcCU97Ob212NPKnFQtPdXf7eavlqsTKGmeW0p09WgijvShToB2Oj0OQvwrU2pD6iU4v9wIAYwQpqzgHHa+9ISRhXFrVtNH0gVr4JCDUdBMSFfSJv8ksk= X-Gm-Message-State: AOJu0YySL8l8qtIS4RoVtsIKtNBKo5atWc6lfKSWeo5MSWO+UXc2vmV0 TYQzUQkxg0pyb/itgN9cK0mMui4fPQlkIOMRj+KMzIb76h29k0ZlPwg8GE/c7sM= X-Google-Smtp-Source: AGHT+IEVP/ykRvqh2aa90pf7CIFpzyRJ4k2h16bpOnfAW2//12P8BXsotMhLz9PUd8P9wQcJ3jGoBw== X-Received: by 2002:a17:906:fcc2:b0:a58:e75e:b04c with SMTP id qx2-20020a170906fcc200b00a58e75eb04cmr5392065ejb.0.1714395750950; Mon, 29 Apr 2024 06:02:30 -0700 (PDT) Received: from puffmais.c.googlers.com (8.239.204.35.bc.googleusercontent.com. [35.204.239.8]) by smtp.gmail.com with ESMTPSA id dk21-20020a170907941500b00a55aee4bf74sm9976074ejc.79.2024.04.29.06.02.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 06:02:30 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Mon, 29 Apr 2024 14:02:18 +0100 Subject: [PATCH v3 2/3] arm64: dts: exynos: gs101: enable cmu-hsi2 clock controller MIME-Version: 1.0 Message-Id: <20240429-hsi0-gs101-v3-2-f233be0a2455@linaro.org> References: <20240429-hsi0-gs101-v3-0-f233be0a2455@linaro.org> In-Reply-To: <20240429-hsi0-gs101-v3-0-f233be0a2455@linaro.org> To: Peter Griffin , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi Cc: Tudor Ambarus , Will McVicker , kernel-team@android.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, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240429_060234_333564_06E15C20 X-CRM114-Status: UNSURE ( 9.49 ) 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 From: Peter Griffin 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: Tudor Ambarus Signed-off-by: André Draszik --- v3: * s/ufs_embd/ufs * s/mmc_card/mmc --- 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 9755a0bb70a1..a0305555c4fd 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1267,6 +1267,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", "mmc"; + }; + pinctrl_hsi2: pinctrl@14440000 { compatible = "google,gs101-pinctrl"; reg = <0x14440000 0x00001000>;