Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp277028rdb; Thu, 1 Feb 2024 08:14:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGnlPs72I7QfWodPz012NS1ct4yn5ONfxr8FqKO01raWyqGiBke43OUX3c+UljvTNQJ/nnF X-Received: by 2002:aa7:d70b:0:b0:55f:caa3:f7c6 with SMTP id t11-20020aa7d70b000000b0055fcaa3f7c6mr1048651edq.31.1706804056693; Thu, 01 Feb 2024 08:14:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706804056; cv=pass; d=google.com; s=arc-20160816; b=SFzE9X4cEFC/kuE7dCnvd+RFffQH51Y4QZdQYfOmSoF4kVYPptwcoQ+YSdBXe5I58w fnbH70KD8nx7kvC3AHJIJhuWOT3s+ZsOCKXV+NSgI6oyXXPwRwXS7SbgbQ8uXEXPWZ0B 41Rpu/rNUh6Ku7iC9RZcrFMqISuLI+2YELHEqGNYHaciLNMrOao3AKxszp4oFvWfm0Sf K6L4zBuSNRt4e96aQ42aTiFRLjCrJNJljqRjIEU+JooWBCnOHgkddEg5hrlzJZOFIjfz /EqT6Lglsa4IPtqMrtV9+r5jQkZOO//bsYtRlghih/LiB8zd6wciAlPbwEfsMxzsD+3w ri8A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=R3e/ST4U2wBhhutsLLQy14BiuOoshMmvKqzzyJfq1nY=; fh=18VN4REcA9vZlr2E71+swUqfE8jxv4A4fiG2D+jyljE=; b=Tv1rYHDz8YyvPEjTe7ZNwnpkKcfLtWeHZiSAtcEsgEz7oyGaq6gDf85+itX59jQ/ow /pdYQGuQf8Mvo3R4ATC1Y16YMconQG3qcOMKLoialCVTEBfo2NPYXKkM1JOP4pDenjRe Z12OronYvP7brJKHbkhnF/RSWHM4hmjy46xO+h8FoCCWt7/hOm/S4vtYb5Gk0VTovmwX EYsKRAkEgxxWQDt3OhQCU2CNZH7XlM9LqDLmFX8i95BbjatsN+lbrkB4igsmSxDmNzEq pU9VR82H7delaG6h5gGUzZ0Q3zTjFnCPz/Ff/COOXX5lu6gUJ+3IiVRFpqfPrqKAbM50 SXXg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Eh6QzoSq; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-48484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48484-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCVPiBdlS1PuPWzYVvvmaXYuverWMEF+tK2cb5lJt2c2v6CXFujTkeMenb+hxRcNeKRB6RjP5WcKYfqMkIv9OSBZmMdKaT9sHH5NXtDTPA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f4-20020a50a6c4000000b0055eb0b114d2si5697101edc.386.2024.02.01.08.14.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 08:14:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Eh6QzoSq; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-48484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48484-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 719CD1F2C4CE for ; Thu, 1 Feb 2024 16:14:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58C60626CE; Thu, 1 Feb 2024 16:13:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Eh6QzoSq" Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4E5577A09 for ; Thu, 1 Feb 2024 16:13:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706803997; cv=none; b=MayVfuaeC85Sbi+1qMswENTgIWCRaS6agR1AowJR8j4tejbgR8r0hwP2syN2ayUHkijEUIBlkXXP1zZ95OX0J+J/KTCkEewrmqkfmrskzFjZ6yPcfRDjnmkZVe4sUCYSKvK3CG+4IYZuEcJ6cw1o07Aj177tI9WIyvUGO6rnNds= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706803997; c=relaxed/simple; bh=iB21JC633KeTBy+UMkMipOhAFPyI+D4BRVNQBmbMJTE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YXCfhNEJDQ3R4RNIQFenSfw1iJ1wjtWWuES+8mxZ8Wg4+F9IJSH0o/56S/m4FO5zzrpzgUY6B3oNtZA0V4YcbTO9Kv89E6xnArrVk6MxR2+/mXSpskKviNcJZKZaRqcVALszBpI6P+ENIZTRVLzb1hDRu9r4DnOaI6IxD7jxpiQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Eh6QzoSq; arc=none smtp.client-ip=209.85.208.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-55f15762840so1306287a12.0 for ; Thu, 01 Feb 2024 08:13:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706803994; x=1707408794; darn=vger.kernel.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=R3e/ST4U2wBhhutsLLQy14BiuOoshMmvKqzzyJfq1nY=; b=Eh6QzoSq8y8AwGyBw/Yw0TPesO7rbcFI2Dy1Qb3W6u5BLhyQa/tdZf9PcAWRNxWSe4 5pVinZyBY/LoUoCbCjFD06WSDtITmv45ePM+B99HdogPNFjRM6w8lb5GCcW7QGoM6GF+ P8bbL0rJ+FpLiymyIjnEoB51dTX4YUV1m8kBxo99OyfrCqg43MYT/zYk3BcZ7jJwX+20 zB+s5lmgC2QnMWt6k+dUwG0aplEv649WBZNmI2X3kGgXrP76KYKPbJf0Y63cd/dQJyb9 xFCVGGSEzhloMEE728VZ1qhGIz+2voumBa2tKc5K5PzljF6+RHM1aq9rjOPayb3b6h7b bTbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706803994; x=1707408794; 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=R3e/ST4U2wBhhutsLLQy14BiuOoshMmvKqzzyJfq1nY=; b=iIyNU2pLhw2Q1NtfYRRlxpksKiixSTzhB6IZXf5OB4oJV8lNb34bWQv4BAW0uA7wBl 0Gi1Vw3BnSCI9R8ZXoQ/8pFlmXTieq3CIOL3wDFkDlan+gfSCkDsQXk72kYASjEKTnl+ VJUmD0dmnN+U1yCoI7l/O4oQhkVGdz4bCDP2VW5CzSQh8MPjNNS6+5uemc2loDEENteE txRUuwKx/2269dlPtbigGiIDxOdqfXMEVEWHcRlhMnTCgFbmgkTIddgwk6Q+JDRzuhsn F0C9XfHofWF1fIe4jCU9oZiNYJip9U7UnMNV/aoPKlxn2+oKJp/3eutFfVarBxr0uim7 FvfQ== X-Gm-Message-State: AOJu0YwnuH0FFcJyTaGNDkL82JS4jLiBIBz6zA48R5XJ51wkuGD4urkm ieEyxANv5GbIYQuvFmuzfh6DxhxsuuS5zKvehns3Hd4m7TwGTYiWFum/ZDUJh2aAWpIKlBmvgW7 V9TM= X-Received: by 2002:a17:906:a855:b0:a35:6299:a349 with SMTP id dx21-20020a170906a85500b00a356299a349mr3950503ejb.32.1706803994025; Thu, 01 Feb 2024 08:13:14 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWj6VTnS2OaBlc06Z1q6xX1ptZKAlwrtHkxd0h3rfrSSzzlLKxXZhuhytkML9UUr+cqKHmh0npqFP/xFaHPidYz2SgQ0D++wvkgyfgg8FVKoA4cZBgXQ18JxS3KpMbRBOy7n+b5oHXA+ysrPxieh+dwkBwgbYeG67eviiEeQZewqIEnEcq68bK5eDjiSNwItKFJZErreTc/4kS3pZHbVlJtwlq50kOpaCqfWCR+8Vayo7Ym5NTYvRBSql0OZbXMm9g3brBdi2N6gPC2Uj+D656Qanax+f8hBZqbvJeDE6jvC6vj4JZGjHNVwVUULsJ6Vqp4MdhfWJV/qD7MvAXoBw9tDwbzyfpjdDNGibbG4vnoAHkutxbBx0P4e5+OMtzjyaOes5Nx4CLHDHML7WO9xpjqta6zoGIy7+alN4dbGQQsuAMkwsyMs3yc/1l8Rv0p99qby22fj4HaZAAS+NiVkiRF5aRWsYO5D71hu8nS0T4gPZ2XTJ3ILqWE18kCnQCkiZ+4i3OxVt9D7a2Q9/Y+huVLhjF4Jnz8wZplWVobPs/4UXxayuOv822YeC8vbZ7fUJIA/7Il+tB4vUqBdCLgys7Pky3ZTPb6JsGuwEI+ain/1FzsUlFTAcTTYe2eSTa3GoFfwHMc8OnTfFASmot7NhDWpJkCkRtVs0y+L3liZh/fwoPCLITgYA== Received: from puffmais.c.googlers.com.com (94.189.141.34.bc.googleusercontent.com. [34.141.189.94]) by smtp.gmail.com with ESMTPSA id hw18-20020a170907a0d200b00a3600d7c2fbsm3449288ejc.176.2024.02.01.08.13.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 08:13:13 -0800 (PST) From: =?UTF-8?q?Andr=C3=A9=20Draszik?= To: peter.griffin@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, tudor.ambarus@linaro.org, willmcvicker@google.com, semen.protsenko@linaro.org, alim.akhtar@samsung.com, 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, =?UTF-8?q?Andr=C3=A9=20Draszik?= Subject: [PATCH v3 5/7] arm64: dts: exynos: gs101: enable cmu-peric1 clock controller Date: Thu, 1 Feb 2024 16:11:41 +0000 Message-ID: <20240201161258.1013664-6-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.594.gd9cf4e227d-goog In-Reply-To: <20240201161258.1013664-1-andre.draszik@linaro.org> References: <20240201161258.1013664-1-andre.draszik@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enable the cmu-peric1 clock controller. It feeds additional USI, I3C and PWM interfaces / busses. Note that &sysreg_peric1 needs a clock to be able to access its registers and now that Linux knows about this clock, we need to add it in this commit as well so as to keep &sysreg_peric1 working, so that the clock can be enabled as and when needed. Signed-off-by: André Draszik Reviewed-by: Sam Protsenko Reviewed-by: Peter Griffin Reviewed-by: Tudor Ambarus --- v3: collect Reviewed-by: tags v2: * merge patch #8 from original series version 1 into this patch, i.e. add the clock to &sysreg_peric1 in this commit & update commit message * collect Reviewed-by: tags --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index aaac04df5e65..e1bcf490309a 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -429,9 +429,20 @@ serial_0: serial@10a00000 { }; }; + cmu_peric1: clock-controller@10c00000 { + compatible = "google,gs101-cmu-peric1"; + reg = <0x10c00000 0x4000>; + #clock-cells = <1>; + clocks = <&ext_24_5m>, + <&cmu_top CLK_DOUT_CMU_PERIC1_BUS>, + <&cmu_top CLK_DOUT_CMU_PERIC1_IP>; + clock-names = "oscclk", "bus", "ip"; + }; + sysreg_peric1: syscon@10c20000 { compatible = "google,gs101-peric1-sysreg", "syscon"; reg = <0x10c20000 0x10000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_SYSREG_PERIC1_PCLK>; }; pinctrl_peric1: pinctrl@10c40000 { -- 2.43.0.594.gd9cf4e227d-goog