From patchwork Sat Jan 27 00:19:12 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: 13533822 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 E96BCC48286 for ; Sat, 27 Jan 2024 00:20:20 +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=louo3JJTn0looziM+rKRDFw5ku16lhviQDkt6fgqoQw=; b=U5qdwgz7YpC1iM dcktoblxleQ0wKsq8Pw3NfkvO6Ec03H201Q0ryTmGCpiHzUf5vjdkpofIakuhk54wGxfN10Hn5Bh2 adAzMO7kVvWs/aKlmwKen88F5A6/EqNNz/1bdVJl1ZqPZN09VsZiwc9IeNAMkpj0fhlrZSnVS/goj G7ftHRmRUlYgmOyGjK/Mp/A5tTx7lri80JCtHHjRULNVJ8wXNmHdIaHTWtzRKxqSIwp3dUmFusC7+ cBvG+Ya+R2EdjKBkeUiEVphCTmtCOpwTTG9aX+vvjvgF1pFk0YuwpGDCYZf2ypBXj3Oq64N30Uv0i V62YFclPQm1cObDuILcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTWQc-00000005wti-1tXg; Sat, 27 Jan 2024 00:20:10 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTWQD-00000005wg4-0OdX for linux-arm-kernel@lists.infradead.org; Sat, 27 Jan 2024 00:19:48 +0000 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a30e445602cso441538066b.0 for ; Fri, 26 Jan 2024 16:19:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706314783; x=1706919583; 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=7w4L0mqufSzU15zjl7tBBkfOR0buhpP2p1+Inj0xzEM=; b=Z1YFGZ3dLHJmZxjyHsWCie5dNZpOgOHhlqg1XEsLwD9xtrB510rKI2FzyV+RdblHIC JaLWl/UjiEYVpJzG4ZxAb4utp/plIyNgahewkbht5mVWTogCCeh3HajVyOgRRv2t7faD iYObzwBWKV/pxachj5lLJIyZUxSnvYxW84gIGPv7Ni2mcPg9f4wrBLhAIlcPwJjZfEpg Qea2Wqp1ytGan6KvFX8joAUcxyAGLsali7/+xyQUy6shG91qOrljoSfCL8rWJ+5fOdLd IWgV0NvuRvMmUnkAg6RP9VOdtiMzmQy2K5ejxKbxfgrmVZb6cEaR5zE805hkT2gWPLbb 4DSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706314783; x=1706919583; 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=7w4L0mqufSzU15zjl7tBBkfOR0buhpP2p1+Inj0xzEM=; b=QdrJ5/I+2Q68s6qR986dRaXiEBYeMj6SYzgp89EFQSwxxDfuBK/5fPFJqFiVr6r/97 vKer8Yu0/wUo2kTbCHlmFOnyjIOj56xQArdTFcJDLrLL66CJwaS9xuzDqJmdam7xPPlU kR2u+qUPpoHTa4PmIJ6ZICMw4gUlSNLLL6D+ZnSuM/53aegnsSAsw0YlVaXNm/SP8Gbr R/ffubtR4QHipKKEiec/KPWoS2tQ5sdLLpo8/TfNyU1tmHRq9sJMtMAgNfJlh2ExWm3S E45KmVWGCLPCh0ZQeOBJ0OId3XiZ4G+jywyOaxE4qgb/f58sK1neFZFYZyXVxlobV74V h6OA== X-Gm-Message-State: AOJu0YzRuy6Sa9eqQwefusCiego2LTnBE99eQkZx0S2VEPX5o8fNZG3V rmGrTuQkY86mT2+aSrg8zUVhgZTlBJaDOP6lJmc4wPBBLbAURQBHsvx9CPec+9g= X-Google-Smtp-Source: AGHT+IGrd6vWvE4htrMX3z9fiqR6UVxWCdpQm4K847D2umr9PYDOfpqCtrdtDupfNZWZuV4EK8wqrA== X-Received: by 2002:a17:907:c705:b0:a34:d009:26c3 with SMTP id ty5-20020a170907c70500b00a34d00926c3mr3499843ejc.31.1706314783697; Fri, 26 Jan 2024 16:19:43 -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 x16-20020a170906135000b00a339d705a10sm1141359ejb.80.2024.01.26.16.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 16:19:43 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= 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 Message-ID: <20240127001926.495769-9-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240127001926.495769-1-andre.draszik@linaro.org> References: <20240127001926.495769-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-20240126_161945_157426_F4712B56 X-CRM114-Status: GOOD ( 10.23 ) 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 Reviewed-by: Sam Protsenko --- 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 {