From patchwork Tue Apr 30 09:49:46 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: 13648648 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 3F7F5C4345F for ; Tue, 30 Apr 2024 09:50:32 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Pwu/zVrV0/Mvjl7PS98Itv3r9PTCeFfvuhAXlVE94I4=; b=kyJHZ4cxtSfeVH PIu1yXZfn0EGettFEvowVJy3Tcwqunam/63oS5Wd7sS7XfpHriXizdb77PlkqO3Sw3CQdigOaLxHL MyZikKoZlvDbCjznu3JSU6kSQTLGQsf8BFIi4A3dyA2GHQAJbupZToIVT3X8+didqpihpON2yH116 +kSF+k/dyvj1+O34bmwuUAxvS1YrnZge3S4TMEVD/wRiayBG/AujjvFl1gLzQhE+Rd8MKLtX+BCJv avvP+F/F+roGXsgm9r1Z5kgxae992R3O2No0H9H1rnN8WjMpV9d6wtwrd4xIr8IGrvL+4vKdIJdEr e637dXFV/q7Pz3FFO4Wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1k7u-00000005uKz-3MNe; Tue, 30 Apr 2024 09:50:18 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1k7V-00000005uAj-168w for linux-arm-kernel@lists.infradead.org; Tue, 30 Apr 2024 09:49:56 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a52223e004dso588536666b.2 for ; Tue, 30 Apr 2024 02:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714470588; x=1715075388; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=RQWtsOUn4uiQZnL3yK4nvk33ev/xiP7OrIVV8S/1ztQ=; b=RWVYw63e276D1hBnv01XJgKvHwt+wXqzFJYzbnxPPdKmAFFsKXCDieErkp1PrVw/Xq 90adNKNG80LJLdYoYPuSB54DmeK9co5iX26eYKrH205ZpNlcqgF0fQEfEJ5yT9naqbma IezWUZ78PiGPGuZ2WZnwbWHH3SdUkZ0wRrRh7xHZKqaC3uAB299B/jfGStFufagYDejX lhrH3OaiCxnua3QyPTIHAo1/Z5NsCyGUbeaV2/SgEP6T4oThNB5oZaou6xQ2QywlS0Ef U2RjfJGd1R9s55KYl3kmr2V9RGV1BexvZlnuzsu7bdcQbogUHc4XIKntuERMqV6YBthR qJLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714470588; x=1715075388; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RQWtsOUn4uiQZnL3yK4nvk33ev/xiP7OrIVV8S/1ztQ=; b=eZz9B83WBKWUFUQSV1LCa2QA4DhVFCFYOmQPN7IzsyBSkexYzXaF9b6kqmiUFTfXbG HbP8MXcTEgZKBOcShxMTzPoLOhgyqGaJ8briuhMxpF2GT1+fFldXEp8ncvJZdtYBeRj8 J5KXbcjbg2CrfOfI/jp6b1F+f33+rU+jbr/hXiKaKGX+ZTxK1BuOe0TiCa4IfEgIEsRk dyT3QhqZ76fXS+QM5SCVxeDo7JmQ4dRr2MALWQzM8CJatgmwuauh89kjXKVtDzKCPnWK 0HwAG/+webVfPTFZ/AXqBWgjIozL6OS24bhgTF5lQAE5mUXYNGunNmcHUsWxuRCAt2dc dhyw== X-Forwarded-Encrypted: i=1; AJvYcCU9QJ97pGti3dfFPOwB2zumJxK1fHBiKiWbrsuP3xGxcPZl8Ipk6y9xnmnWca3Ue1m2MYCXWJmzsYsbGYCBEM3oWT2I85YepMo0iXf8wQDTC2wbwws= X-Gm-Message-State: AOJu0YwQjURGvJlZL9xNfD8l0CVb+ugCvdV5Jw28GapzfREsVKnlxgVW L70uEzX62AYA0GYd9lJQ5ZylAnQop8LRcAdmFT8HRe9yBEXhOr/UKG6U2jYAUOw= X-Google-Smtp-Source: AGHT+IEoom4Vqr7lbv//R3RxM/1laAb6TlYrC1ySF0XtZVJmwN8LfDJIm9U7jADH3cDQk5w64A0ZoQ== X-Received: by 2002:a17:906:1416:b0:a58:7304:9cd6 with SMTP id p22-20020a170906141600b00a5873049cd6mr11074938ejc.24.1714470588009; Tue, 30 Apr 2024 02:49:48 -0700 (PDT) Received: from puffmais.c.googlers.com (8.239.204.35.bc.googleusercontent.com. [35.204.239.8]) by smtp.gmail.com with ESMTPSA id dk21-20020a170907941500b00a55aee4bf74sm10981024ejc.79.2024.04.30.02.49.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 02:49:47 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Tue, 30 Apr 2024 10:49:46 +0100 Subject: [PATCH v2 1/4] arm64: dts: exynos: gs101: specify bus clock for pinctrl (far) alive MIME-Version: 1.0 Message-Id: <20240430-samsung-pinctrl-busclock-dts-v2-1-14fc988139dd@linaro.org> References: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> In-Reply-To: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> To: Peter Griffin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Tudor Ambarus , Will McVicker , Sam Protsenko , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr?= =?utf-8?q?=C3=A9_Draszik?= X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240430_024953_606286_CC793603 X-CRM114-Status: UNSURE ( 9.23 ) 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 This bus clock is needed for pinctrl register access to work. Add it. Signed-off-by: André Draszik Reviewed-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index e3b068c1a2c1..f2c7c2a4ce1c 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1348,6 +1348,8 @@ pmu_system_controller: system-controller@17460000 { pinctrl_gpio_alive: pinctrl@174d0000 { compatible = "google,gs101-pinctrl"; reg = <0x174d0000 0x00001000>; + clocks = <&cmu_apm CLK_GOUT_APM_APBIF_GPIO_ALIVE_PCLK>; + clock-names = "pclk"; wakeup-interrupt-controller { compatible = "google,gs101-wakeup-eint", @@ -1359,6 +1361,8 @@ wakeup-interrupt-controller { pinctrl_far_alive: pinctrl@174e0000 { compatible = "google,gs101-pinctrl"; reg = <0x174e0000 0x00001000>; + clocks = <&cmu_apm CLK_GOUT_APM_APBIF_GPIO_FAR_ALIVE_PCLK>; + clock-names = "pclk"; wakeup-interrupt-controller { compatible = "google,gs101-wakeup-eint", From patchwork Tue Apr 30 09:49:47 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: 13648645 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 00DC5C4345F for ; Tue, 30 Apr 2024 09:50:18 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lBM/V7dDUDWlnAGshmKiM/7NqlRMWJ45VFtj/Um1y68=; b=A4c4XltWCXGENt eY/ZVts1bokMBaD1WuyJK7Vi9re2ORD+V9SWN89Y+ns20CVBArH4EBKFQRq6xAvXDYhUW59pgG4kv RwiSxR39uyCLeLgm9+N5sxLRgX1YvtLu16ZrNvN2qyAQ9NKhab4wQI2cjk1l8LIKSrWK4e3AaPyZV Y/0nqoO35banZUabcrAvw2Rq7d4KHRDf7OfWeKsgJjbeA6NkLjNNz0+0i0sDBtLe2ssezwO8kE5Dk GWaF8yqkQiSgYbclJhx4b86UGDgvf9ZlsmWsekRPGyVCEcmsuFGHB0FXSa5IV1VgWNCFPf2C0/PWN itQycZqJ/JD/uEmiqv5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1k7Z-00000005uCk-0aaA; Tue, 30 Apr 2024 09:49:57 +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 1s1k7V-00000005uAk-0To3 for linux-arm-kernel@lists.infradead.org; Tue, 30 Apr 2024 09:49:54 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a58e787130fso488196866b.0 for ; Tue, 30 Apr 2024 02:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714470588; x=1715075388; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=IW2Cb8PzWQGoPtLIM4Yb+ZUUwep8epdxp3AM6wmQKqM=; b=Xag/V5Nzq8gMXGMlNCxnURUqupGImPuPSWKDQkUgt+xRm/FyNCJtRJFBL2eR4CH5KG nDPsvOk0SZVdhXOPOdcDjvEjnCkcsan5wywTdBgHq/ob8ZhXglF7F83tUAivpiQEaVPa wPsDe71DfHyuMdWF1nbrULXX3Lh3gu2G/SP90RrYRqbK08NV2SVouMgLIPW4XQd4Gzyi k8SecMxyAG/Uwyxi7+8ckvvbbtaVgJBkwk8Uk3e5qGn0BJ26NWON7rnHrkXEqAe0nVaV LWMV+iQ1C0YQKbea88DvSofAjJkieEJ5jSHJKAbo3bFsBNx/0zZ8jqtim+7wQiPRjv6N 2Hyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714470588; x=1715075388; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IW2Cb8PzWQGoPtLIM4Yb+ZUUwep8epdxp3AM6wmQKqM=; b=pMVZo6s4gLnNcDHMXsegomL/8MlioMOqfBL5cNNUdcvEW/hnuGHbHtbvGKJAwQkxnw m18sCCyITLMWaYTgqLi3SANvE6Vj0jrml4Tk8dhzeq2H1RW9wzWMJCOO5GxuktqxbPCW Hb8Y4p3RxHu19xTw7geF1rCw0TvPN0ycicb7Oznv1ncllxN89uDRfH1Pv6DKHP+dAEh+ Zphl+nePqR8McxruEqURnX8w9e9OUQ8LZ2tQ2M+LKQh/Bh5Tg6NR24ls+i2y2tOLK43i OkhdGy7AgzYTErKDu7y//UpLs0mT5ZKvEROIocC+X3jQmcrR3tZLwrdH4EdBH2yoLw13 vubw== X-Forwarded-Encrypted: i=1; AJvYcCW53c41kMEoWe/MZZCLx2E+7fnhH8VbvwOIHn89uSipRTbsadyo4hIuZEGLZadFFYcdd3xoh8yUI0fZ3iq/Tgw6yOtLYnQQ1ZF+UB+3MBc532bPb6E= X-Gm-Message-State: AOJu0YztyBmvUzdLMfxeJGYsql1YFu0QKSLmHCoE0zUrieV+dSjZRcU+ Y1OMQBilIEKhc9fjiHXVlu5Qw/j6boy9mzZx33n1+D/Iw2IivQQ/rthu+8HHgHQ= X-Google-Smtp-Source: AGHT+IGHfVUxz3QjTYfKVaZf1Fxq987xn6bX0DNIr56yMvAIWMlxJqcTpnRu05tSTpmhmv4zQ9O09Q== X-Received: by 2002:a17:907:1ca4:b0:a58:e4df:4d1 with SMTP id nb36-20020a1709071ca400b00a58e4df04d1mr2642701ejc.13.1714470588413; Tue, 30 Apr 2024 02:49:48 -0700 (PDT) Received: from puffmais.c.googlers.com (8.239.204.35.bc.googleusercontent.com. [35.204.239.8]) by smtp.gmail.com with ESMTPSA id dk21-20020a170907941500b00a55aee4bf74sm10981024ejc.79.2024.04.30.02.49.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 02:49:48 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Tue, 30 Apr 2024 10:49:47 +0100 Subject: [PATCH v2 2/4] arm64: dts: exynos: gs101: specify bus clock for pinctrl_peric[01] MIME-Version: 1.0 Message-Id: <20240430-samsung-pinctrl-busclock-dts-v2-2-14fc988139dd@linaro.org> References: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> In-Reply-To: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> To: Peter Griffin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Tudor Ambarus , Will McVicker , Sam Protsenko , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr?= =?utf-8?q?=C3=A9_Draszik?= X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240430_024953_186122_D424E13C X-CRM114-Status: UNSURE ( 8.63 ) 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 This bus clock is needed for pinctrl register access to work. Add it. Signed-off-by: André Draszik Reviewed-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index f2c7c2a4ce1c..8d4216cbab2e 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -370,6 +370,8 @@ sysreg_peric0: syscon@10820000 { pinctrl_peric0: pinctrl@10840000 { compatible = "google,gs101-pinctrl"; reg = <0x10840000 0x00001000>; + clocks = <&cmu_peric0 CLK_GOUT_PERIC0_GPIO_PERIC0_PCLK>; + clock-names = "pclk"; interrupts = ; }; @@ -914,6 +916,8 @@ sysreg_peric1: syscon@10c20000 { pinctrl_peric1: pinctrl@10c40000 { compatible = "google,gs101-pinctrl"; reg = <0x10c40000 0x00001000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_GPIO_PERIC1_PCLK>; + clock-names = "pclk"; interrupts = ; }; From patchwork Tue Apr 30 09:49:48 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: 13648647 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 5F003C10F16 for ; Tue, 30 Apr 2024 09:50:31 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zlJ1/lu75VDZT7+HB/561GSdKtR2mMqJbwcerxAarVY=; b=ev9sjdnBJ8wFAD r082jb0Y/hNXELxRjv/MxSTsWJTxgTKZMTVk8JQktH44Ss12hEnaHg2oPyclJ12Om8bT7zHVWghme GRa2XvM1rLDpKtdvbsBpsPJ09vBcXMDj8M7Tg0l8W2F1jvQScl/iqv2eU1PPsLuYb5SeOvOGEGKu5 9dqyJnCGVHGbxmf2IGeykxTyeWK2/xzGT/mlptY+ZFieAx1IWWEQ4Gq0bbZqeRqnrJ3a9KBC5vWbi VmYVgpJFx+4+sXd60vH+Xyj+g+VoKCX3KI9Sj9N+n8zqheV7c7xYd+kA2uNM+D+Y4h3s+4EOV2VGK HyWE3+BekB4v3wa3TBcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1k7t-00000005uKT-3G2v; Tue, 30 Apr 2024 09:50:17 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1k7V-00000005uAm-0qQl for linux-arm-kernel@lists.infradead.org; Tue, 30 Apr 2024 09:49:55 +0000 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a51a80b190bso351993366b.3 for ; Tue, 30 Apr 2024 02:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714470591; x=1715075391; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=F8gW4wGr4HSLlzWyo25Ekg/cBo+LkQV9cqhppDRnOws=; b=EQLwhNEgnxnJXx4afWhNy0jDMte9ty7nCt2BrHDd/4inwvWtu/y6tsoiXJPONssEaO benqdtmqEuceCh50oIhxuZhAQmUKpignypBSsJUNjrCuUZMB6iRTXNJuioLjTyz1yZaD AybrXwNQShQhRd4j5V8nbPcivLnD7FD6ypowCYG9DUlw9/LANzjwLNPcr/JbRvXC1ivl CnXTYXLuLsUXgbs9/DvATVUq6wtt9AQLZDyRZDKyRsIs2/K7EUOrhILisfWGSQPsoAa/ WmRnnQsFO9nVDSuF4PjxVloJax0ZlkLdCzoxfRMy37ZzQfZXoEObdiLaHhsHSa1SWbLL 6BLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714470591; x=1715075391; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F8gW4wGr4HSLlzWyo25Ekg/cBo+LkQV9cqhppDRnOws=; b=TywNEYaWMCLrDmMCp/BcSS6Ph7axshXDbgY9y6MAqW6hRCDuiPMRDNYmxwc6NnI3bg MfvfprUU84Mw686QKJzqWHHvPfrMJs4c7nvEdYFaE3dkrI2GmpfAyMVl0uvr388GW/zz Skvt74BlJGIHzTDo1VJrI4OPTTKRzKxfKd3BuIazKVEISBl/QNyDehIc33mH9TAYldFb g/2+F09V7Q+AZaVkrgtg1cKebrAR9xGbH0VHIIoq63b2yVoX6pXIAMe+sMUDdmIUQ/lW Dd1Qlx5eqXKpbyO1SBmxhEYoOb8XGMyiAvV73SJRDD3xvf8hTuXEZOrrxhlnwXHjwNi+ /6/A== X-Forwarded-Encrypted: i=1; AJvYcCVJHjsrC5vpo0nLmdNFhPPx9yOM24HB/r/RvU0f+T01e5CgsGCbiwNol4gGwrItBYdu3kZEGo9H2fhCOL0do4nJKbfPIVKngna3ICywrMSPFa/++oM= X-Gm-Message-State: AOJu0YyqThHEu7GLdgbgUkbpUls6P+bjz32rbckDNxu5FbwkldQEfn1K JGtwc2X1EjaAojcqwrO03NsvftOi2hXqRkgvY5WC6uT3Yt7wXUGxLpdpjlKkvCw= X-Google-Smtp-Source: AGHT+IFEPu0i5ueU8PBJF1LFQN690pXMf0YIKw4rNgvmabF16RNW5n71cyetXv/nDePGBSZtm2u4qg== X-Received: by 2002:a05:6402:50c9:b0:572:6aaf:e0d0 with SMTP id h9-20020a05640250c900b005726aafe0d0mr7836085edb.40.1714470588818; Tue, 30 Apr 2024 02:49:48 -0700 (PDT) Received: from puffmais.c.googlers.com (8.239.204.35.bc.googleusercontent.com. [35.204.239.8]) by smtp.gmail.com with ESMTPSA id dk21-20020a170907941500b00a55aee4bf74sm10981024ejc.79.2024.04.30.02.49.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 02:49:48 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Tue, 30 Apr 2024 10:49:48 +0100 Subject: [PATCH v2 3/4] arm64: dts: exynos: gs101: specify bus clock for pinctrl_hsi2 MIME-Version: 1.0 Message-Id: <20240430-samsung-pinctrl-busclock-dts-v2-3-14fc988139dd@linaro.org> References: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> In-Reply-To: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> To: Peter Griffin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Tudor Ambarus , Will McVicker , Sam Protsenko , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr?= =?utf-8?q?=C3=A9_Draszik?= X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240430_024953_452929_7ADAFAEC X-CRM114-Status: UNSURE ( 8.93 ) 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 This bus clock is needed for pinctrl register access to work. Add it. Signed-off-by: André Draszik Reviewed-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index 8d4216cbab2e..f8fcbbb06e7b 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1327,6 +1327,8 @@ cmu_hsi2: clock-controller@14400000 { pinctrl_hsi2: pinctrl@14440000 { compatible = "google,gs101-pinctrl"; reg = <0x14440000 0x00001000>; + clocks = <&cmu_hsi2 CLK_GOUT_HSI2_GPIO_HSI2_PCLK>; + clock-names = "pclk"; interrupts = ; }; From patchwork Tue Apr 30 09:49:49 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: 13648644 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 46283C10F16 for ; Tue, 30 Apr 2024 09:50:12 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kKMEXP0njOiTwYCorzGfM5ybM0vvFUPOw76fzfhmY1w=; b=N8j5CKe+ZUiqiF fyQbfHxFZkq9BjWG303S1N/O58ER4wwX2hHe3l8vNY12oPxQLuRS0m0I9WVT7IKPvYJ5SKvl0EQIv 9mpjZiQtB5qMTxyP/HT5Vovkno43YACx0YyFm/BUIKi6hqDKS7+73I2UDTsMsIqd87UxsbiakJXiW 4kArAjkTz7OHNE483LeTYf/rpCWeO6fM8sK/ocTVbwvCOW90STYeO8GpnCNc/GQHjc7waCiQMAk05 UGquLzDe2Skfof3C1wXpKRrSCKPOJDTR1AzHX2SJD5agFUiAsSlRE1UrLtA/jp8M3zBSFZU2oIAcp G/aI0YN1PPBMIUqCr3Ug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1k7Y-00000005uCQ-26x7; Tue, 30 Apr 2024 09:49:56 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1k7V-00000005uAp-0Tei for linux-arm-kernel@lists.infradead.org; Tue, 30 Apr 2024 09:49:55 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-56e37503115so5853158a12.1 for ; Tue, 30 Apr 2024 02:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714470591; x=1715075391; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=FhJZGevRo1C++Okgeic6/uROn8S2Hxmi7kQowqw5A8g=; b=K9CfkFnllQpPsFGclkhA01mnQ518cYA/79l+0dyS9QrKFXZbO5/AoJTS/2EWKSRBq4 dbj0d6sGNN2+5kghRSzLcG3LfVzXbMsGBT6Mh9Vt2obqAV1lC6RC85fEFmZmS6mveVMu TfEWuzfV+m4aNy13CDWQfByrGDJEVzMhYKCczbrOryBbRxto0Ud5F72L9DE5240qhcYz /qRn1CX30e/4jrYhvzJVbl/NttcyIEzlTdvLuwb8PVHYsvbJsTLjANmk/Y9htPeR4WW9 2nYAMTR0q4nZuNUH2Xma7hHCO6Y08UeNTsHbqooE08+5f7zcL1Kh3Wuf0J/S1UK6lqYX Gx8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714470591; x=1715075391; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FhJZGevRo1C++Okgeic6/uROn8S2Hxmi7kQowqw5A8g=; b=hGu5W43N+g0znPEf3p+DJbsRsQHH1XKpydOCKIWPbzOAN25IamCDGb/BGIuciMXM7B 73Kso+Ifz/ma/os4KeufkgVrd1Lck+wG41k2PvuCs3R3J3sSiPjHqvGFvZo02skFF5Az vKYGteGeOxBynd4PGDaRdYaUoS2oOsQFriolDlsJDhN75GU2J54Upu8hAXhLchQ/EWro vXUT34eZ8KieH3gupswhuX8uVci+cmnSVEJsH2tYGI0gSkxrA/EaYDUAhveq3cCtvs/Y K5HECBYSbg8WEJ5BYZzi0FidnFLemE8V6kC7VMXO3qoFKSflQhbunLGQmRQWBjkL6wdz W6OA== X-Forwarded-Encrypted: i=1; AJvYcCVqRwWzdgs63voBv0SHn18w6N2sU1+V1iMa+aLJs0hogW2quQt4LHpfIwziQEBDhSV+c/1BWoIYNm4lhRScVS9OaaGbOF5MGgAeBJk+MAhxoq5G/X0= X-Gm-Message-State: AOJu0YxtLMg4YlEi3EJ9bcW+tRIRwQn8oEDFzzQrfpNfjG17+ZsTmoeB sXObnHfSuOz4tz3DJjivt3de1anpv9p9Kg/0TN4QD8RBd11QFNQsY9KpbE4nEpI= X-Google-Smtp-Source: AGHT+IHjR4VqbKBno6oOcsP9I88ns4NXyyx0hAoOpEbN6efsrEc8kzTNCaPoS2beYddSSlbI/rWFBA== X-Received: by 2002:a17:906:c352:b0:a55:8820:e8b3 with SMTP id ci18-20020a170906c35200b00a558820e8b3mr1488739ejb.19.1714470591199; Tue, 30 Apr 2024 02:49:51 -0700 (PDT) Received: from puffmais.c.googlers.com (8.239.204.35.bc.googleusercontent.com. [35.204.239.8]) by smtp.gmail.com with ESMTPSA id dk21-20020a170907941500b00a55aee4bf74sm10981024ejc.79.2024.04.30.02.49.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 02:49:50 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Tue, 30 Apr 2024 10:49:49 +0100 Subject: [PATCH v2 4/4] arm64: dts: exynos: gs101: specify empty clocks for remaining pinctrl MIME-Version: 1.0 Message-Id: <20240430-samsung-pinctrl-busclock-dts-v2-4-14fc988139dd@linaro.org> References: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> In-Reply-To: <20240430-samsung-pinctrl-busclock-dts-v2-0-14fc988139dd@linaro.org> To: Peter Griffin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Tudor Ambarus , Will McVicker , Sam Protsenko , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr?= =?utf-8?q?=C3=A9_Draszik?= X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240430_024953_194919_E588ECC3 X-CRM114-Status: GOOD ( 10.33 ) 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 The pinctrl instances hsi1, gsactrl, and gsacore need a clock for register access to work. Since we haven't implemented the relevant CMUs for the clocks required by these instances just add empty clocks for now so as to make the DT pass the validation checks. Once the clocks are implmented in the gs101 clock driver, these should be updated then. Signed-off-by: André Draszik Reviewed-by: Tudor Ambarus --- v2: use empty clock instead of placeholder --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index f8fcbbb06e7b..c8a5eb8c7d45 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1309,6 +1309,9 @@ usbdrd31_dwc3: usb@0 { pinctrl_hsi1: pinctrl@11840000 { compatible = "google,gs101-pinctrl"; reg = <0x11840000 0x00001000>; + /* TODO: update once support for this CMU exists */ + clocks = <0>; + clock-names = "pclk"; interrupts = ; }; @@ -1380,11 +1383,17 @@ wakeup-interrupt-controller { pinctrl_gsactrl: pinctrl@17940000 { compatible = "google,gs101-pinctrl"; reg = <0x17940000 0x00001000>; + /* TODO: update once support for this CMU exists */ + clocks = <0>; + clock-names = "pclk"; }; pinctrl_gsacore: pinctrl@17a80000 { compatible = "google,gs101-pinctrl"; reg = <0x17a80000 0x00001000>; + /* TODO: update once support for this CMU exists */ + clocks = <0>; + clock-names = "pclk"; }; cmu_top: clock-controller@1e080000 {