From patchwork Thu Jan 25 14:01:38 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: 13530860 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 2B9F9C48285 for ; Thu, 25 Jan 2024 14:01:59 +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=ykNk3PjqRmM926bwtX9vZAjOt73iEZaUjSio0Oydv1c=; b=xnYAavYzRS3sv2 ujaFaC4HYZxKd/rn4HVgvgETQI7I990dL4COYR0zGZFFju/HU2oR/AoIIGdutz1jxytRNcvAw77pv TX0iEC0rsY4PrMDs5sLX5hudjRyAySONQDybROj9/H4lUKg/Uc85uZwCZGhpVaWGastH0iNHuYZpA nanmYl5Jh4iUNnma5p4l8rPPo2YO5nFbGNiO/3o8cLbFmWvrbBUoZyozO+E5huZwyTjGuz4aCW0QR 5XT3w21xRtaetg4/OCIOylfz4RLcCiehOVxpqJF3u6LR1hF1p9DXKzFGK62kI5aT3x82BJWQ/FXkh 15JmdMtjoRnwbmw+Tnew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT0Ic-00000000C8o-3nrR; Thu, 25 Jan 2024 14:01:46 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rT0Ia-00000000C7f-2kVM for linux-arm-kernel@lists.infradead.org; Thu, 25 Jan 2024 14:01:45 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-51005675963so4839928e87.0 for ; Thu, 25 Jan 2024 06:01:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706191302; x=1706796102; 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=1KvKCRCBN449rio/DKI464Fncv3o1DnaiUByEc969UA=; b=pJmq5syDIsGPMMcQ0o/ApG4l7JA0sUjdACkrXSDBagTkSSpCorcRAJLBLhtruTNno0 8rIEJhNsiWpW2pWm596GnyUR1L+DPjLVdJRMkWfC4z8FPbyLAbrFvxdsjqZke0oaQmH+ IAUNSxLyw/SdStVQq/344vuh1fsO84Y0PCLRJW28ZtSjjojVZ8MgWma8hulc087HvGvy v8Jzut3kyP4kVl+6WxxB0SYzvy+02EJjzy1YRNIV6mUycEdOnddEbQZLJDykxouTxTUd ZnQq/F3tgpf8W30cY5zgZuKNNpxE/CYe/EAX7SeAqIdDdiO4oYjRCJvK7vv29UWh9mIx aEXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706191302; x=1706796102; 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=1KvKCRCBN449rio/DKI464Fncv3o1DnaiUByEc969UA=; b=aCvAMvzi5COIXBO5JNLqkT4mKEhdgc2VJ34yzaIMT7fqcdpmu7rL8MxLu/7uVhpm+H gSuKMJYvwywwcL6blPD2H8hUuVNvDAEOpj3361oSiOv3n3JXgPXx1knQJlHitVftxnjR SxS1sphI/ZSXzFr1A4F3MXEXwX23gG/7ge1ZmGFt2F02BzVSAOYwzusw26cYem4kNYgT g4ngYk9BPFWqKiVz4c39l9jwDqCfTzxLUE5Ut6P4EVz77T4AK8sZBTZ9BUketvH8A/4e Z8L1i3OJ6Dk6iIiQ3P6qkBerwl3IxwPPAvWYEyaG0MUnvtKGVdsHYHWtyrTRqs6H8kqV PuUw== X-Gm-Message-State: AOJu0Yz3Hfy/8EDtybGH0HhZBgO3iulA2C1aJrh6Dbu9FUpEFuxc+QWT WicNKn95Y/AocV19IEOOlcY01hqWER/1H7ynaYpwECJQFSD9WJIT3DzSC3w0lfg= X-Google-Smtp-Source: AGHT+IEUSuckZSbp7+7LJ/KMKFB8cmOCZlQnHH9oeU4dOPU6vGxMnuPXXl5wbqmBe4kz+uw5KVF/4g== X-Received: by 2002:ac2:5e66:0:b0:510:bbd:6de1 with SMTP id a6-20020ac25e66000000b005100bbd6de1mr329846lfr.204.1706191302478; 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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 06:01:41 -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 1/2] dt-bindings: samsung: exynos-sysreg: gs101-peric0 requires a clock Date: Thu, 25 Jan 2024 14:01:38 +0000 Message-ID: <20240125140139.3616119-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-20240125_060144_722630_5BDBD479 X-CRM114-Status: UNSURE ( 8.48 ) 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 --- .../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 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 {