From patchwork Thu Jan 25 14:06:44 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: 13530869 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 648E0C48260 for ; Thu, 25 Jan 2024 14:07:34 +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=qoCWncfLZn5s4jNni5C720mwuuYK4TCS9JSwnSW4484=; b=k68fwjGN1N8zke qIN6niIV7gZXnBEvAX4VpdOwFAHOOQwiwoV9Bkyv5hSsto6dS33h5eN/AYsjD2e23NMbrRVwo8Nt1 cWk5PjQ2nxiStoXlplUmvhdFzTlSENR378sc+VVVxLD1+Q/GNNZd+SNuFUpzrTEeqEPXyZIP+1J75 9SII3ds4k3cRgVlg8l1fEXKQA6hoZiG8nX09DvPah2qH7gMJy3zCFLJIaqXzi8UhWnK8bPGGWvzuJ d6JEZOFIGv6hm7NzN5Yr2StCRdgPI21M6jFVivq/al7+vPgc/gspG1L3hXZxLK1EFqHEdQWU2SdnE khkuwH0X/tp4VBxMChxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT0Ny-00000000EPl-1Izu; Thu, 25 Jan 2024 14:07:18 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT0Np-00000000EJo-2FKF for linux-arm-kernel@lists.infradead.org; Thu, 25 Jan 2024 14:07:11 +0000 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-51021d2399aso195649e87.2 for ; Thu, 25 Jan 2024 06:07:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706191627; x=1706796427; 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=WwJ9LZ2cw3a5KQSrNOlRxJLZjD3460dcBT/9JVrzxHs=; b=JfwK+Q+xplz/y3B9bBdS/3i16rKnNL2GGT9Zuuh19CbTBMwXo/wkpY8XMz4LfkPjJg 5d59khylsWtt9sBTDpPaImV2yLDY1FbW0Z6V0bdR9aT2zWJDCBes0nTdYkLi3RCNeJE2 rYXgxtbwxZ9yt7xAp6MvQnxEkiqlxh6aSbNfeAh/MGw3yFfnFgo3TIjaXZ5wXAsp8iz5 xwYhf2oNuh5QlYbbEV+0aIcndTqbHxoxO/vom82ddBzNTaSJWV3KohoBopnBDlE4K6ax kcAFrEiOpjnrmNwELegh9dfm7O112FewN/YqiCsLk/3463vwUFkAQGrgyjOevDJgcaj6 aSBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706191627; x=1706796427; 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=WwJ9LZ2cw3a5KQSrNOlRxJLZjD3460dcBT/9JVrzxHs=; b=ciZotS5uJvBanjnZoFNSJl3XVOyOqvvH7Tp/2y6U4/oUhxCz690s0h0CE4QzA4oolJ d5kVaoPkbMZKsq7vgpFumo3dcPiAYWh/cRNhcV1e8Ng1lzRj+5etyP48MJpPdN76C6mF AkQIAMv2SuVjVEjkfAIM6hW7bGE1ojJuTSpCFlV+aM/v6dOD9HzE96PKiBuxMA6emG0N vQAfQq3IGogomcXsnSLE79fN/3t+iYEWCT6vav/RR2TWYQjCSJ3FQD76QUYPqAAmgqzR S8zJb/Yh6bY6rcJxBsIZ9lIp8tRTPL55BpeGAUlFxZzSFVxccfuuMNrGJcd7QvZamEDL weew== X-Gm-Message-State: AOJu0YyhbcvqCa8UJDKma2yVAEHYM6y7liWI0msKGUItgZEGACOSGWkp VnZ4E1G7HY+vUaYbnCBJtuQuUq54+MtnaUgQMSAwnWEXKd7N3vbrwISDnuqwRZo= X-Google-Smtp-Source: AGHT+IHDLdWAqT+26X6zklelfsY1utLIeysKoCEK/sUCxbZZqTR4mecGOTUthh4jQmkqePF94oQcKg== X-Received: by 2002:a19:ae13:0:b0:50e:9eaf:98ec with SMTP id f19-20020a19ae13000000b0050e9eaf98ecmr516026lfc.54.1706191626763; Thu, 25 Jan 2024 06:07:06 -0800 (PST) Received: from puffmais.c.googlers.com.com (229.112.91.34.bc.googleusercontent.com. [34.91.112.229]) by smtp.gmail.com with ESMTPSA id tj3-20020a170907c24300b00a2fde3a8097sm366740ejc.74.2024.01.25.06.06.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 06:06:52 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= To: linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, alim.akhtar@samsung.com, peter.griffin@linaro.org Cc: kernel-team@android.com, tudor.ambarus@linaro.org, willmcvicker@google.com, daniel.lezcano@linaro.org, tglx@linutronix.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v2] arm64: dts: exynos: gs101: sysreg_peric0 needs a clock Date: Thu, 25 Jan 2024 14:06:44 +0000 Message-ID: <20240125140644.3617587-1-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240125140139.3616119-2-andre.draszik@linaro.org> References: <20240125140139.3616119-2-andre.draszik@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240125_060709_687452_A63855FF X-CRM114-Status: GOOD ( 10.95 ) 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 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 --- 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 412d2866dca7..aaac04df5e65 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -364,6 +364,7 @@ cmu_peric0: clock-controller@10800000 { sysreg_peric0: syscon@10820000 { compatible = "google,gs101-peric0-sysreg", "syscon"; reg = <0x10820000 0x10000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_SYSREG_PERIC0_PCLK>; }; pinctrl_peric0: pinctrl@10840000 {