From patchwork Fri Jan 26 11:55:17 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: 13532481 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 0C0B7C47DDF for ; Fri, 26 Jan 2024 11:55:52 +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=h/S2BhTSuuBK9r1KGxsqJMp6J+riEnCQAzRCiOhW3G4=; b=GOfJ6xGrFBG1Zo eAxJDmiLzi9w4HzurojoYrMkUCLH2jzXaycFSj1zcQxijAH6r2BI5WMFCK3NeixjRAUXhE7T9L+jK Q9E3utRjCd8zsGTzRxw4fkF5h9hr2KjZXBp+S1CdJIk4VWikXVu6Iliwi9FEM+lNIO4yxqQhf1lkT S3qgnVAdLmt85SNQYoL0QuKg4KA9eIShkE4uW1/cJOJAkMbGssvxkYPyTjjiXjQ9eWQkQFvJz+Dw/ aSYHS0eQbPlVbG5/KLFyGPN78cAtFQo+e5hZVIMSOwBYQHj/6v06nQQNWHn1vRAwaa2pUH8Rj13SW 1Z+ZrwrCwjOZqUQp6Wuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTKo6-000000043Mp-1tvQ; Fri, 26 Jan 2024 11:55:38 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTKnv-000000043HO-3NI0 for linux-arm-kernel@lists.infradead.org; Fri, 26 Jan 2024 11:55:29 +0000 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-55cdaa96f34so3300458a12.1 for ; Fri, 26 Jan 2024 03:55:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706270120; x=1706874920; 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=eIuCTwTLbGr/sa80Mm+YqyHqPAFlQl7O/IQZBEhqjyg=; b=s3iAA0K5hF+ThpfLKO3ZO5fB+5ZagvFQwdRSzpyIcXqJyWNV72b47Vw6hfFVaD8omC PJxqYHPR2ITsCPOgoFvpH7AhWtvN4vulEJfn8jPDQX0BDyQlxMhVGm8bq9p/Gvz6L1n3 kEfi1/lxQq5LR/Yi6tAETTcru7Bk64IYhfESpRuQ68WoY14lm37S9fJMt1Is00F1DLHh wVXpOMcPxLYQ9xXB/K95SUZeLZ37KWJlVsx8aAb6D6vQrTzu6mZ3zf0pjVRtLNb5pfYi XTT7w//v2PNePhpTSlvpK4koqP1zuVClZ+feQMqnPnKjwnj7frJ4yfrUXUiebYPr1YJE Dc5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706270120; x=1706874920; 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=eIuCTwTLbGr/sa80Mm+YqyHqPAFlQl7O/IQZBEhqjyg=; b=TyXOdsllxe80OburCLWiZ4IvYrRC9lRIrwoPXebIn6w2lghFfTsWAriJNgFtN8TWMC 9GMOZ+B9nha8xIPKAE6DQYAHt62PFKaIQG/zWl/b57cMytyMdbHJ1R6H4uBw9lAHjwXH U6jCWYTns5q21BAKWMoGpC6hl7x9Skqvt64wpCi6MixHhxHWSkH4paF8+0P/EjpWhU+W SZ+2X8Ue/7811VDCerhzhtDQFivGcvwKXlVhtO/+es4fDEANPb8oRkMY7ZmX5yIZEWAI 4dH6at9ah14O1ZMQMHKGcNJwKqWpc324RDy7jKj3vWgVoenhdpWq5C4B6f4O1/qroa3e A6CQ== X-Gm-Message-State: AOJu0YxWdoM4RDyCPd1hrIqRtP2vfmV1KIv0wN6G1nvYfg7FPBf5urrO tO70IUU+YZ1HxBU+iYmMxU5O4trZgAMDee8hGqUmza5ImAXMKGnK4c9CBUcyvsI= X-Google-Smtp-Source: AGHT+IGDiKyqss5tTSw5kAnUTZ97L1cX9iwuUjPJTm5l+WPsElIJI3hvhalz52wZGxzb03WFVgmbUg== X-Received: by 2002:a17:906:6442:b0:a31:8c73:f42d with SMTP id l2-20020a170906644200b00a318c73f42dmr1057849ejn.28.1706270120405; Fri, 26 Jan 2024 03:55:20 -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 hw18-20020a170907a0d200b00a2d7f63dd71sm551280ejc.29.2024.01.26.03.55.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 03:55:20 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, alim.akhtar@samsung.com, peter.griffin@linaro.org Cc: linux-kernel@vger.kernel.org, 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 v3 2/2] arm64: dts: exynos: gs101: sysreg_peric0 needs a clock Date: Fri, 26 Jan 2024 11:55:17 +0000 Message-ID: <20240126115517.1751971-2-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240126115517.1751971-1-andre.draszik@linaro.org> References: <20240126115517.1751971-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_035527_887411_8B7F61E1 X-CRM114-Status: GOOD ( 10.72 ) 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 --- v3: no changes, resend as a complete series v2: fix subject line --- 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 {