From patchwork Fri Jan 26 11:55:16 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: 13532480 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 179B3C47422 for ; Fri, 26 Jan 2024 11:55:48 +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: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:In-Reply-To:References: List-Owner; bh=pwilPvRuvIwOcp1976fttm27qaMXrmMS6MPpVO1WuZ8=; b=qk3zPZJ25Ft8Uo TdXXwWyuATaoH4zFfNNecF5jLyocJyl0JRCLs920N+OtOkpbIcxUrFq6BKcjR+Ouca0rb77N16bEW KrvjSVAd/3bCYD7iXk56hrPjLegSGWM4YWTaAFtrX44ZiVqKgFwtfunM5VmrkqBbzsldiBpcTl338 2NWtqwzmhr8t2Ac1lnfKCiW8V7o7PziNRSprdIUI9oK23hC1unUvL4coaDVbTElbQ38UoogIGg66N secWoMYxKI6YX+1NfDDzRLDAmPCC1moyGli0FZwkr2kbRokWbdDvcdU20RWZ+5BUOjiDq1ELMKYSd ryBeIlGSfejIHnbtNFHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTKnx-000000043Kd-3wVw; Fri, 26 Jan 2024 11:55:30 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTKnu-000000043HN-2AdT for linux-arm-kernel@lists.infradead.org; Fri, 26 Jan 2024 11:55:27 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a277339dcf4so27793566b.2 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:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=1LVcqUTXP/P2WsnP6Y5tfw0AY+HXGkieDjmGHyFGDKA=; b=VnaZU3qBBbmDAH6dXUhXnAbinn66QHEM7/teemPXkgagwJ095uAo9m9HfHrZplEo0G ejWGymKb3prRbM40WHbR+pu5B1lamxeYIGfKAPLYlrVczeJH7Yq3cHHg64l7p4c3tfuT /Xywkl1qZSR5WaYKBuWf6fT6OlwR2tq56LRj4yYNySZvSMiP8mjrlglIQBp00oK9+oGt a/MoDLmcqDgDX9Yjd5ZnQDzA9HFswSRsaJgJ/T5PWaJzFKIUbTYBI4Jd9H7tECNRIYIe jUoDCam7ex5iLO5VoWg3pRDpIZePEdIAmLYNo8LVWeE56ZLlwU4VQYCr63T8ZvppOS+J HV3g== 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:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1LVcqUTXP/P2WsnP6Y5tfw0AY+HXGkieDjmGHyFGDKA=; b=mwXCRgDt+Q+9guTz+o+FyleMe38wyulM2w2spF6Vsf9ACNPeV4YFwhFNMquigAAqNE uvlNC3Nb65/pbG+8C0D4TxjnO3nnlKE6nOOFAPYo7ZFJGv8iGnaDzODSZ7kYHaXRTw71 qSdQYsfJCbedAK8P8SCit/g8GiD++UnUzUif1sBsfUChfHn0nZ98rDqUhx4RCPB6Bm5/ pzkaQzN6DhvtP0u5Rz/P60p6S6slryqPHsZUWDbbpGNk2jZRZjPyIKLuB4O9uYdesZ1y zAGKQACCcIMOd/yQTXHXm+6oO70feGgX4dvYYYk7QBXq5EQ0P3DO56xYvj8jas44KEpj ariw== X-Gm-Message-State: AOJu0YwmNF5MemAgYcTCxdgrmwEzs8bhJP6/WqqxzvbOoSOoRmP8E7IO 3iWmKrDOGlNFety2IAmShzlnnKET+a6zX/meKMyUPCT4acxZjSm1zYm1+081bbg= X-Google-Smtp-Source: AGHT+IFRkMZKCLree9XUXLoFwO0IzzGB3sFNqGLLWGA4sB0l0tlaNsDMLiafgrhUecbTMmtb+SjOFQ== X-Received: by 2002:a17:906:16cb:b0:a2f:b9bf:3955 with SMTP id t11-20020a17090616cb00b00a2fb9bf3955mr628553ejd.21.1706270119990; Fri, 26 Jan 2024 03:55:19 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 03:55:19 -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 1/2] dt-bindings: samsung: exynos-sysreg: gs101-peric0 requires a clock Date: Fri, 26 Jan 2024 11:55:16 +0000 Message-ID: <20240126115517.1751971-1-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240126_035526_614636_5A7B0394 X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. 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 ... otherwise it won't be accessible. Update the schema to make this obvious. Signed-off-by: André Draszik --- v3: no changes, resend as a complete series v2: no changes --- .../devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml index 1794e3799f21..33d837ae4f45 100644 --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml @@ -72,6 +72,7 @@ allOf: compatible: contains: enum: + - google,gs101-peric0-sysreg - samsung,exynos850-cmgp-sysreg - samsung,exynos850-peri-sysreg - samsung,exynos850-sysreg 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 {