From patchwork Thu Jan 25 14:01:39 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: 13530861 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 644C5C47258 for ; Thu, 25 Jan 2024 14:02:07 +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=AOCRVcU0yPNrwy XYm8ibA7+NBCsZbId74JTwBZgmZfPe6Wgyuv8q6wH5VO9mVj6G1DKKteuJw0y1OV7t1gozt+PISx3 x8QshEjCdrntF2S2O3QvWyaxqkFiI3sNVPa3gJ2kJhu29wqHSpjsg47InYN+bJrDAcqg/pn2d1N7M HbrXf3BIn+UPOUcxQOx7Bh62EQ0mESE7bSSk4cYWiVvpe2V2mhzuaI8+AVFek2SDaZCPXJzl2bfyz ieD+/d84O8ldXxYy1ns5JFbbVU3+cyg9LtrqF+vzBeso7wGYlcc9CJfqNmLwbEKgghn0jKZH4zsY1 AYXWycV6QxqDSmGczoqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT0Ik-00000000CB6-3LtK; Thu, 25 Jan 2024 14:01:54 +0000 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT0Ib-00000000C7p-2TSi for linux-arm-kernel@lists.infradead.org; Thu, 25 Jan 2024 14:01:46 +0000 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-55a6833c21eso5232207a12.2 for ; Thu, 25 Jan 2024 06:01:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706191303; x=1706796103; 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=iN7TMNOW81X8y/oGEfUUUys6yF60q9tMWVpImA8IG6FcuJvZwfNDsPdr/V0QQ/V19K xEGxcbTe1HmjUSDsBijxbOqWjLVpjpVR/8ovJFp5vDPfUJ2Owg/8wj77/dog5x+kG9eX gr2Ed/e7MrXU/vq1rtdTbzZXs2D5B9eCL36GE9/WmsScgQRr1gJp7zmsEJMjIeKhp3la O/po0dMTFyumHHCKohDf0fcLcqdw5eYyQAKBtTvttY7M0o0EVSAUfheYE1Hro74yZ5qA v+xZTTdZeQv0W+y7HxRXLdSWu3jBJywg3h02b7Ro+caJyIpctq3d44LMhQ/CSnjim/uV FZRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706191303; x=1706796103; 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=Drdh2xo2fdVmk7q8iHjGeKDmXBGyqBq11gXshlSEEmjnRAjEvurNf1Aldp2isYUCqJ 5PzWe7zOUZ1YLfZR0kdon1immAYj9YW0UHQ+QIquBH2dBrBwImtHLdMFDnQfQ1l5l88e v0HrN0aMIU+xcQicv+ltMPv8GLKRPwuu9vBGm1/Km4bsWYivnj4fsjVnVOX5DCaQ4GZA 59u3dxniaTkJ93aXLpHQz9ZCPL5HGR9L8pIRxLOFl3QVMYjQ92X0MttcJRQMMtRLXVoP dOB3IH0Uc1d3YWrdD6eBH5jL6C19xEQO40PwAQEJNGmv9rdOQJLd5TztOrO/OF9s3vWB eyqA== X-Gm-Message-State: AOJu0Yz3yBGww2M7AQfuyrasAqdPXfqrbFCibNp2umHMOcsVkbPNKnaK NhZMD56x7DeTbwLmjP/q3m0ciArHRGC2gqKkvts5KfKDnbhAS1CHbPKn22vM1kM= X-Google-Smtp-Source: AGHT+IH1Ly+Ije5EF60Sv9Ag9cguIboXYkkLHRFsIOuKq7QuJ/2bZMfnSdOXsrWMbaqAC7Cd6YvmmA== X-Received: by 2002:a17:906:e2ce:b0:a30:b156:50e4 with SMTP id gr14-20020a170906e2ce00b00a30b15650e4mr586764ejb.42.1706191302914; Thu, 25 Jan 2024 06:01:42 -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 r17-20020a1709067fd100b00a2c7d34157asm1048170ejs.180.2024.01.25.06.01.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 06:01:42 -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 2/2] arm64: dts: exynos: gs101: sysreg_peric1 needs a clock Date: Thu, 25 Jan 2024 14:01:39 +0000 Message-ID: <20240125140139.3616119-2-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240125140139.3616119-1-andre.draszik@linaro.org> References: <20240125140139.3616119-1-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_060145_651053_E6EA877A 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 {