All of lore.kernel.org
 help / color / mirror / Atom feed
From: "André Draszik" <andre.draszik@linaro.org>
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
Subject: [PATCH 8/9] arm64: dts: exynos: gs101: sysreg_peric1 needs a clock
Date: Sat, 27 Jan 2024 00:19:12 +0000	[thread overview]
Message-ID: <20240127001926.495769-9-andre.draszik@linaro.org> (raw)
In-Reply-To: <20240127001926.495769-1-andre.draszik@linaro.org>

Without the clock running, we can not access its registers, and now
that we have it, we should add it here so that it gets enabled as
and when needed.

Update the DTSI accordingly.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
---
 arch/arm64/boot/dts/exynos/google/gs101.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi
index d66590fa922f..ac9cb46d8bc9 100644
--- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi
+++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi
@@ -442,6 +442,7 @@ cmu_peric1: clock-controller@10c00000 {
 		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.429.g432eaa2c6b-goog


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: "André Draszik" <andre.draszik@linaro.org>
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
Subject: [PATCH 8/9] arm64: dts: exynos: gs101: sysreg_peric1 needs a clock
Date: Sat, 27 Jan 2024 00:19:12 +0000	[thread overview]
Message-ID: <20240127001926.495769-9-andre.draszik@linaro.org> (raw)
In-Reply-To: <20240127001926.495769-1-andre.draszik@linaro.org>

Without the clock running, we can not access its registers, and now
that we have it, we should add it here so that it gets enabled as
and when needed.

Update the DTSI accordingly.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
---
 arch/arm64/boot/dts/exynos/google/gs101.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi
index d66590fa922f..ac9cb46d8bc9 100644
--- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi
+++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi
@@ -442,6 +442,7 @@ cmu_peric1: clock-controller@10c00000 {
 		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.429.g432eaa2c6b-goog


  parent reply	other threads:[~2024-01-27  0:20 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-27  0:19 gs101 oriole: peripheral block 1 (peric1) and i2c12 support André Draszik
2024-01-27  0:19 ` André Draszik
2024-01-27  0:19 ` [PATCH 1/9] clk: samsung: gs-101: drop extra empty line André Draszik
2024-01-27  0:19   ` André Draszik
2024-01-27  2:42   ` Sam Protsenko
2024-01-27  2:42     ` Sam Protsenko
2024-01-29  9:14   ` Peter Griffin
2024-01-29  9:14     ` Peter Griffin
2024-01-29 12:44   ` Tudor Ambarus
2024-01-29 12:44     ` Tudor Ambarus
2024-01-27  0:19 ` [PATCH 2/9] dt-bindings: clock: google,gs101-clock: add PERIC1 clock management unit André Draszik
2024-01-27  0:19   ` André Draszik
2024-01-27  2:48   ` Sam Protsenko
2024-01-27  2:48     ` Sam Protsenko
2024-01-29  9:18   ` Peter Griffin
2024-01-29  9:18     ` Peter Griffin
2024-01-29 16:46   ` Tudor Ambarus
2024-01-29 16:46     ` Tudor Ambarus
2024-01-27  0:19 ` [PATCH 3/9] clk: samsung: gs101: add support for cmu_peric1 André Draszik
2024-01-27  0:19   ` André Draszik
2024-01-27  1:40   ` André Draszik
2024-01-27  1:40     ` André Draszik
2024-01-27  3:48   ` Sam Protsenko
2024-01-27  3:48     ` Sam Protsenko
2024-01-29 12:53   ` Peter Griffin
2024-01-29 12:53     ` Peter Griffin
2024-01-29 17:12   ` Tudor Ambarus
2024-01-29 17:12     ` Tudor Ambarus
2024-01-27  0:19 ` [PATCH 4/9] arm64: dts: exynos: gs101: enable cmu-peric1 clock controller André Draszik
2024-01-27  0:19   ` André Draszik
2024-01-27  2:49   ` Sam Protsenko
2024-01-27  2:49     ` Sam Protsenko
2024-01-29  9:20   ` Peter Griffin
2024-01-29  9:20     ` Peter Griffin
2024-01-27  0:19 ` [PATCH 5/9] arm64: dts: exynos: gs101: define USI12 with I2C configuration André Draszik
2024-01-27  0:19   ` André Draszik
2024-01-27  2:55   ` Sam Protsenko
2024-01-27  2:55     ` Sam Protsenko
2024-01-29 10:26     ` André Draszik
2024-01-29 10:26       ` André Draszik
2024-01-27  0:19 ` [PATCH 6/9] arm64: dts: exynos: gs101: enable i2c bus 12 on gs101-oriole André Draszik
2024-01-27  0:19   ` André Draszik
2024-01-27  2:58   ` Sam Protsenko
2024-01-27  2:58     ` Sam Protsenko
2024-01-29 10:40     ` André Draszik
2024-01-29 10:40       ` André Draszik
2024-01-29 16:34       ` Sam Protsenko
2024-01-29 16:34         ` Sam Protsenko
2024-01-29 17:35         ` André Draszik
2024-01-29 17:35           ` André Draszik
2024-01-29  9:28   ` Peter Griffin
2024-01-29  9:28     ` Peter Griffin
2024-01-29 17:35     ` André Draszik
2024-01-29 17:35       ` André Draszik
2024-01-27  0:19 ` [PATCH 7/9] dt-bindings: samsung: exynos-sysreg: gs101-peric1 requires a clock André Draszik
2024-01-27  0:19   ` André Draszik
2024-01-27  2:59   ` Sam Protsenko
2024-01-27  2:59     ` Sam Protsenko
2024-01-29  9:33   ` Peter Griffin
2024-01-29  9:33     ` Peter Griffin
2024-01-27  0:19 ` André Draszik [this message]
2024-01-27  0:19   ` [PATCH 8/9] arm64: dts: exynos: gs101: sysreg_peric1 needs " André Draszik
2024-01-27  3:00   ` Sam Protsenko
2024-01-27  3:00     ` Sam Protsenko
2024-01-29 10:45     ` André Draszik
2024-01-29 10:45       ` André Draszik
2024-01-29 11:01       ` Krzysztof Kozlowski
2024-01-29 11:01         ` Krzysztof Kozlowski
2024-01-27  0:19 ` [PATCH 9/9] clk: samsung: gs101: don't CLK_IGNORE_UNUSED peric1_sysreg clock André Draszik
2024-01-27  0:19   ` André Draszik
2024-01-27  3:01   ` Sam Protsenko
2024-01-27  3:01     ` Sam Protsenko
2024-01-29  9:33   ` Peter Griffin
2024-01-29  9:33     ` Peter Griffin
2024-01-29 11:03   ` Krzysztof Kozlowski
2024-01-29 11:03     ` Krzysztof Kozlowski
2024-01-29 13:47     ` André Draszik
2024-01-29 13:47       ` André Draszik
2024-01-29 14:08       ` Krzysztof Kozlowski
2024-01-29 14:08         ` Krzysztof Kozlowski
2024-01-29 15:21         ` André Draszik
2024-01-29 15:21           ` André Draszik
2024-01-29 15:39           ` Krzysztof Kozlowski
2024-01-29 15:39             ` Krzysztof Kozlowski
2024-01-27  2:43 ` gs101 oriole: peripheral block 1 (peric1) and i2c12 support Sam Protsenko
2024-01-27  2:43   ` Sam Protsenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240127001926.495769-9-andre.draszik@linaro.org \
    --to=andre.draszik@linaro.org \
    --cc=alim.akhtar@samsung.com \
    --cc=conor+dt@kernel.org \
    --cc=cw00.choi@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel-team@android.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=peter.griffin@linaro.org \
    --cc=robh+dt@kernel.org \
    --cc=s.nawrocki@samsung.com \
    --cc=sboyd@kernel.org \
    --cc=semen.protsenko@linaro.org \
    --cc=tomasz.figa@gmail.com \
    --cc=tudor.ambarus@linaro.org \
    --cc=willmcvicker@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.