From patchwork Mon Apr 29 20:04: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: 13647644 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 DB86EC4345F for ; Mon, 29 Apr 2024 20:05: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: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=fqs+rUwPooY5Ow ykK2JqWCOFn/ymp9oDKZJR2w8r2NNKI9xO11NwIHRR3EklerNLXFWeYCUoTv81UON0pOyM06Sawex 2yvHDpes5lPEcEAtZKk3seAiE04AvUuT4J/AxKQcFFmcDRHLsuhiyu5NDkimG0sskef8auEBig4fR c7GzS4nQcmj+SqK/mzJdlk5F86MR1EN39Buu8Y6YoYoEZVy/6LOT25k3oByyAmzho+VKNkuP/M/d9 g0U+vKZplIj2h6AHhdt88IytI/SM/GMud4zq3VFaUxm6Oei1grC5QtNZyTiTKZiazizsdlGkTY8m8 09nLKfcgyB7LyiwncX5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1XFQ-000000047ZB-1wCp; Mon, 29 Apr 2024 20:05:12 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1XEz-000000047Me-2Mwp for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 20:04:47 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5726ccca4c8so2915788a12.3 for ; Mon, 29 Apr 2024 13:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714421081; x=1715025881; 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=b4OiNVXG5JvNRlROGWLVQX5qayGANuWBlcfA5J1uUyq5dpmhqM6JQeSLQ9kovczzwR VOtknCFXrTNJStGOZerDqxFMg3bRIfjYSRE1NPYD/1F81dd7JklEQ9JiuszD7uc8UUH4 dZ/myPRs9cxa2N8YZqKuZdxDqbmlNsulorA8kFUPXjgAchH+K0FUdv5mW34NsJSffTfc tr92ZAl10sBsWHdQj+WFV/EjVs3+8EIX9aP9bW11SP0t5LJMX9/KMmkB8z7PyAHQLUd5 2Zg9CMPoYlRJG10K1UkQPz9tBbIGWGspJcsEnN+sIYbPfTL5bO3IzP1KPrhfG6ecMeqt Q5Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714421081; x=1715025881; 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=reOmveAm7USDpA+FVG+g4yL2eH13m/BLuyElT8/Cm8PTQ/xBlPzmeptUuEYyHHtSyh AvRXqtuBSr/GJQaKD+mT1F7GHrS1gOOyELxmI3Utnlt6f5wo0NR+M8GaiXJqRCm3Rczi jY4K2yKBIS6kTSk3bCQz2H5rRA9WIgZLQDUIRGzsW8b2kD4xmTOZ/CXtrRi0zFXoBnN4 ZaWdq1FswCt7dlPHAuzNYhKSTrp99B8Rev5+hFHxqxkrWDNiuQ5+3zxgsgeD3TynhqNu gjCTz55jCJKrtaIv9zhFi3BEgtbi6I/gJdhbvr95Gd7/TPtfF9MOAV+bQfJjWUa3yN3P PfyA== X-Forwarded-Encrypted: i=1; AJvYcCWP3BW8K3QFUnRqnNI3mMA0l42EjH+urSa9Crzzf9dawlLmlRSaAxb8Jzo1alBHfpwecBF59Ou7PkhPBduoQ9A9D1xkEewnqEh5LAdOP6YKugbh7Ew= X-Gm-Message-State: AOJu0YzKKKvvkdDhk5CfnMyh6ba7dP03SbrqFvoHkvWzkt2HinhbSZHI IegKTQmQ7epSL0j0YT7Y7HU4zZs2htCXaUXxoPb+0xynDjs97N8vZmrhG/wag2Y= X-Google-Smtp-Source: AGHT+IFsmQSYOFVjcKWYh/rZ5pUC4+f3wl6DJmPFZQR9y7Tr1ohZh/1ga/miQdBObNWVEFyvQNtsdg== X-Received: by 2002:a17:906:eb14:b0:a55:63d8:8ab with SMTP id mb20-20020a170906eb1400b00a5563d808abmr7892433ejb.11.1714421081688; Mon, 29 Apr 2024 13:04:41 -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 ld4-20020a170906f94400b00a5906d14c31sm1140887ejb.64.2024.04.29.13.04.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 13:04:41 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Mon, 29 Apr 2024 21:04:38 +0100 Subject: [PATCH 1/4] arm64: dts: exynos: gs101: specify bus clock for pinctrl (far) alive MIME-Version: 1.0 Message-Id: <20240429-samsung-pinctrl-busclock-dts-v1-1-5e935179f3ca@linaro.org> References: <20240429-samsung-pinctrl-busclock-dts-v1-0-5e935179f3ca@linaro.org> In-Reply-To: <20240429-samsung-pinctrl-busclock-dts-v1-0-5e935179f3ca@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-20240429_130445_667777_4996B7CD X-CRM114-Status: UNSURE ( 9.34 ) 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 --- 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 Mon Apr 29 20:04: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: 13647642 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 1F890C4345F for ; Mon, 29 Apr 2024 20:05:00 +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=pdZNxj4CiGfoiR GYzfNAHhTnoxirD3x4tV6VF+2Y0UFu+/2v1frhLr/ojFHgtiYPhPxl3VkdfbBW1+XsgVEWb4NOOta 7lpSc6cdxw5y+jM1/Rt09uHCH7HseurvFE/pQ8rr/WuKbRstdHFtSC72as3atbH6a6igbgLWyxUiN ceV5cI8xW7hr7e8rfUPbyLObhBAuNY1gn4F8dfjpc1uk1gkkGpR11lWgjYhWpjUPZuUsgQ+xGErzh N4TF4a6vvORoI0jNrS8NEg2UeS8h8dR26/m6hz5LZvPEZBNrdc5agA1UEMLDjKIeuB4kI0iDw98dS 9skfNeY09DWb1RT5kwcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1XF2-000000047Oo-1I91; Mon, 29 Apr 2024 20:04:48 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1XEz-000000047Mf-2MIw for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 20:04:46 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a58d0aea14cso434678766b.2 for ; Mon, 29 Apr 2024 13:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714421082; x=1715025882; 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=R2zRBpEFGnSc4+H9LNRjDfew8LadpWnxBY4HqzYnBaPd/dqBK+QMcyXvsatNzq9rni X4kLc7lkw71KpQDRlXZzRFZ8xfxvdMaGdZnyA7wF9SLgGAfI9KK6klptFqnUjbdsomlK lb3uZ7j8ztbyPlqXx5GD1U1wWNOiTio4xJq7BdjcV8/aV3wLupzty2tsh098tVMebw0r 0iUt1BujjM+oR9BSDS5RcM9NgGA5E70kjHlq8DtbeF8qHF+T7XUwkP8gQXpEDKwec5Jd CtHdakB2R4Mekgbcq2pMrR89pGH3XkG00dFEsEQ9b2MAiGI2qpighiHB+n3pDtEPMXYZ uQRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714421082; x=1715025882; 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=BG0VAOOvuPQ1oP/sFQZ6tBHMNo6LGkzk76euaV4XK/9y8Zuzd7f/n6I4u7mIJqlkRN 9JMG+icVi1z8HJxQXiOfTdRV7vbSDRPUYTT7mZSKVsUW3OHmP0B8P8VTSyGxEGWFR82G JL4b96MO3wH/33yVb0aPOiJC3i8CjLoPkhgT4Tq4HGBOSahoHiC4CWf6qF+wfgsZE+Zj oJ3duVjDWskRZUrbDkbTUkCv98uu+GTzmV4RCORbBF2DOTVG+Wfaqn3fdbLIln2z0UAR Jjg/JuBFfbqwfIOFwMd/2jOnCNYF6882G96kEpX5jBP6FQS5mWZ/otHHQ+81MYQXU3f4 AL5g== X-Forwarded-Encrypted: i=1; AJvYcCXuK9zeTpGG0cGxEXaXnwHMZnyLBIJikdaSqYpOpRmhxhWCgMLtw1Z6vGs8g9G55Xf1wsm0LLcw/ExxqTm7NGZbDZBGFZ/ePqq83x8iEjIhHKju8Mg= X-Gm-Message-State: AOJu0YybBZrWq3KltKiIIxPCFqHEvjDykdrj/VX1OMfZ0JTiGwLBhq9l QYFYX+sPKMRCoSOubairTHDoqbcjkw3bTCRF3z7Y/lHALuY4812Qa4n6gGk8tB0= X-Google-Smtp-Source: AGHT+IE14D8OoNzwAbKSNbb5L61qf1k+kwXM1y+Y2LualqXyLuCm1k7MomGB+iu8DonSoJQnLykbpQ== X-Received: by 2002:a17:906:1283:b0:a58:e4d9:618b with SMTP id k3-20020a170906128300b00a58e4d9618bmr414644ejb.19.1714421082255; Mon, 29 Apr 2024 13:04:42 -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 ld4-20020a170906f94400b00a5906d14c31sm1140887ejb.64.2024.04.29.13.04.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 13:04:41 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Mon, 29 Apr 2024 21:04:39 +0100 Subject: [PATCH 2/4] arm64: dts: exynos: gs101: specify bus clock for pinctrl_peric[01] MIME-Version: 1.0 Message-Id: <20240429-samsung-pinctrl-busclock-dts-v1-2-5e935179f3ca@linaro.org> References: <20240429-samsung-pinctrl-busclock-dts-v1-0-5e935179f3ca@linaro.org> In-Reply-To: <20240429-samsung-pinctrl-busclock-dts-v1-0-5e935179f3ca@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-20240429_130445_636248_16C6F0F3 X-CRM114-Status: UNSURE ( 8.82 ) 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 --- 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 Mon Apr 29 20:04:40 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: 13647646 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 08CBDC25B10 for ; Mon, 29 Apr 2024 20:05:27 +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=rD9X7KO0HYyyJu TfmbQ5Ce8EqJJmZ9YpOJy/pDE1bpdmCN5KiFwUYmtljfqMMQY2YiNPomrvH+ezRaSAMelQUmOwffV m4rbiPH/u8ev9MyrifpACDRDiq+gSoWgxgrO3jj8iZmgdMcelNpDSU/8WcKF5Dj0EdwpZN4+ohuIg NxQC1dcANCNzI1fnefOvvvTs8tghQY9twX4E0ZJbmE2FiEnJSTKiGeXpRLLRBWsSdCQy1neZACfan ISu5oiKNCahzH0yKNWinwlyUQvzDY1lNUF0iAikVFEtckGo/ehDkhKnHHGc1AYd4KmR5qxpwHo/9R Jd8ymbjk6kJz+BZ3Sd+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1XFT-000000047ax-1dkb; Mon, 29 Apr 2024 20:05:15 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1XF0-000000047Mg-2n5c for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 20:04:48 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-51d62b0ecb7so3057450e87.3 for ; Mon, 29 Apr 2024 13:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714421083; x=1715025883; 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=cmfcJhW5ho4gLoBL8wSyDj8e0lJg7CiQ3cQxGZlkeB/ITCyiFhFju2CNSUAXtHb1h4 6aqlMRFVP/v2EDfBwyQSCipinznxhp0KYMyBc/8XjWWGFFfV6xe2RsMiLNrfOgYbYsaZ CNIZ3Sg1bl7dJ/uC9yQ7AI4CgaukvmQa/gtlpZpNObYPK8jHGgs5fpnAakpWHdsoJt20 HnDH/n7Jz5jsuNSiGFMnikyfXsQQeDFLajfrmKvTR90MdEBIdpI4MlETUNU0B/vbsSAi PjQiqAS4RMu0ZZGz6lSOSoPE1O3QcGNKWVbxZWzVV4S6U/nG1FO9IG1B1xy4q34TMvuZ LC9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714421083; x=1715025883; 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=AAb0g4RaDrNNdYNwO3PFelVOb6nb1sFuQ+FXqK5fZBdH4id2nMoc+m4YDXiLaWBp2A uRAEohhXvAij22uIZan6V55fK0d+Jc7LygCDOyMC8g/NHcLhpYDK9R3uahPuhKf/IjwK 9XnK+1Po5TUBDNtrsRkfLxDF18hvL+4spwOnW5RJOvMn+oW3RPMs+wp4GNl8VS0U6bBY hNxE/wIhw77DJLElBeczt5MW1IYSgQ98URcD33FgyWQGfBr2deTGnV6D1/xPGODV0U5M nqMHi0U1+WQV82W4jyQtvC5vJ2qPv9KMdJmyrmYnCMljvT7PRoulrRk5DTLn5FheZNhP JewA== X-Forwarded-Encrypted: i=1; AJvYcCVk7yKhTU0X2hS0Xux+U8zBG1L86affQNPxqkdfSliQpZxyyBKTmRLHqXmhazhbnC+39dWJSWvmau/d4G0hIqg/S5Ra8O0YJQMIaVHVfGiSa//nNKM= X-Gm-Message-State: AOJu0Yx35X5RB86YIY/KXDzMoMyrAitLgguxrwRwICL9JjQSwPP8g5gV uRFrnnmFGWn8OlxcEACXMMI7xpxNimoA3ncI8MXGlLU4iJnLr3rx3EVib/EYjjLSzv/zjS+DVl7 yuxg= X-Google-Smtp-Source: AGHT+IHGis5wF8t1ESX8RAjQs/EY1YGbXFP/Qh8xO6fNNNxeWUWMjywlketexpvy9RfUj+AypoUtcQ== X-Received: by 2002:a05:6512:20ce:b0:51c:71cf:efc9 with SMTP id u14-20020a05651220ce00b0051c71cfefc9mr8666331lfr.49.1714421082734; Mon, 29 Apr 2024 13:04:42 -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 ld4-20020a170906f94400b00a5906d14c31sm1140887ejb.64.2024.04.29.13.04.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 13:04:42 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Mon, 29 Apr 2024 21:04:40 +0100 Subject: [PATCH 3/4] arm64: dts: exynos: gs101: specify bus clock for pinctrl_hsi2 MIME-Version: 1.0 Message-Id: <20240429-samsung-pinctrl-busclock-dts-v1-3-5e935179f3ca@linaro.org> References: <20240429-samsung-pinctrl-busclock-dts-v1-0-5e935179f3ca@linaro.org> In-Reply-To: <20240429-samsung-pinctrl-busclock-dts-v1-0-5e935179f3ca@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-20240429_130447_492876_CBA3D8B4 X-CRM114-Status: UNSURE ( 9.08 ) 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 --- 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 Mon Apr 29 20:04:41 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: 13647645 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 EBDF0C4345F for ; Mon, 29 Apr 2024 20:05:25 +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=bh4ZUmKcfAPMEbFggN9BSodzjLdGlq1AEciPrGUU3/0=; b=nsxOtMTtrOk0Vz rWNPAxt46VIA8s4gCyFTawl4M0FQ3e2n4ALeAU1btX/PT1MhMKBhgRdhQhLi4NvPyM4oEgzt3N5oQ Zze/5641089yYkPB3szhWDBdA7yuLAR2aDSrdz2+SXXIzp6FCvLGcbSAGBnu6b6nRhY/Rv6ORoQbD W1Y/sIRXMw+tMwESCB1PKMHhZ8q186xP5aLZ+BY98om5wIuTbLaqiYGzGS6fN1WlzSSFz/r0IKVQm Ja1wayRpiI5Z/m9dQyQ47Hqqlundjh1ooyUw7BcHNgyqFrVy4ttAWvM/XxKS7n/2zcTFhf/UiynxL wsgLnjzdZ4y3kamaTVpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1XFS-000000047aM-1lqA; Mon, 29 Apr 2024 20:05:14 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1XEz-000000047Mh-2LyG for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 20:04:47 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a559b919303so643358166b.1 for ; Mon, 29 Apr 2024 13:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714421083; x=1715025883; 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=kTIyqFBJPzda0VZW9GqKLhD9vkmHPScIkEvgRsFUKyQ=; b=eGVPk2DW//Q4/5lBXgaKnhI2tx1AfbGOfeJSojwWIW/jhFF3JVvSNkHqy/bDYFlOPt 87saSDP6HdERJ5lmbI3Y6pqpjNNx7BC5Qzqx6kZuhyBo6YVgovYkSfBzQQXBW9cRzmiu l6ldPq9pMJ2zfxDT/2sizqQSb2VoG3DUmDqJVBq1h6HRXJIbEaH44PQ5pYVYJ3UqX/sg 7HgUdj5j36lwhuV277TbZDyVxBo6B2F1fQ9mgSVyfGIDOcCkYYijVFAtWNosa8mrKmFD EWBRa+epOlTMW3qwWGpcW8hbARG50hcBcm6au1QD3osLb1UJIlATLtvoj4AtdjtTiVfD G6Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714421083; x=1715025883; 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=kTIyqFBJPzda0VZW9GqKLhD9vkmHPScIkEvgRsFUKyQ=; b=TwloGxkw3Fe+eYRqWniI4iBmEJFX+SIXBQj2PDONVz/QQQmjDgn/3rpOkC70bq3IYV aR5h61fq4TPNLMv412139pdJ+gTt5+xn0BpnkCf0rPcukon4sSH0WpkkXn583jsa8mFL FUi4KR8JEefU7hmjDPVzrATgA1lPwC3veBUifSlMjqg1y93sP7Y7+ZhdFiHt+3EeGFR8 SsAnm5WgY+gZjtJqqsa96660bn+FoMDuUVJ2/35ySYDm62d0dFCy2xnThCqsdgrbkxim lTyQyFp0fIQcuOQ5Uosf7a/d96ivfYqMEdzs6kFngM7BFG28fL2wVEA9NCFt9ExfK8YM 1smw== X-Forwarded-Encrypted: i=1; AJvYcCXS8upMnA59BhW+HJcbCIHIwpsUBFdBMHgT95SsCjXppY9tE36+GT94xkcHIZo6l6d/zcAqPRDpJHzvzQuI/nM6oBSnTkZkeZPPZH1URHinQ9EfQE4= X-Gm-Message-State: AOJu0Yzjaa8/GVEvOaBl666j+TMcSI90Uom/jyiwtBeuA8h4r6kUg3p/ ceqFKyZCKlG+7BWAgzhbhLNKDmgvzvTp7Hi+gPA3MZL7Y1JGqVQMuMK+B1BqV0c= X-Google-Smtp-Source: AGHT+IFrVmD0xJ3K/FTc8IS9J3OWcv2cL/oVB/L45gv/sPVgmJu3g8vcefS7dlTqaz4W8wKmofNoqQ== X-Received: by 2002:a17:906:5811:b0:a55:b12c:6589 with SMTP id m17-20020a170906581100b00a55b12c6589mr7274277ejq.36.1714421083177; Mon, 29 Apr 2024 13:04:43 -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 ld4-20020a170906f94400b00a5906d14c31sm1140887ejb.64.2024.04.29.13.04.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 13:04:42 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Mon, 29 Apr 2024 21:04:41 +0100 Subject: [PATCH 4/4] arm64: dts: exynos: gs101: specify placeholder clocks for remaining pinctrl MIME-Version: 1.0 Message-Id: <20240429-samsung-pinctrl-busclock-dts-v1-4-5e935179f3ca@linaro.org> References: <20240429-samsung-pinctrl-busclock-dts-v1-0-5e935179f3ca@linaro.org> In-Reply-To: <20240429-samsung-pinctrl-busclock-dts-v1-0-5e935179f3ca@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-20240429_130445_651723_97EDF7E2 X-CRM114-Status: GOOD ( 11.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 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 placeholder 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 --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index f8fcbbb06e7b..6db2c9bbb371 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -180,6 +180,14 @@ HERA_CPU_SLEEP: cpu-hera-sleep { }; }; + /* TODO: Remove this once all pinctrl clocks are implemented */ + clk_placeholder: clock-placeholder { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "placeholder_clk"; + }; + /* ect node is required to be present by bootloader */ ect { }; @@ -1309,6 +1317,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 = <&clk_placeholder>; + clock-names = "pclk"; interrupts = ; }; @@ -1380,11 +1391,17 @@ wakeup-interrupt-controller { pinctrl_gsactrl: pinctrl@17940000 { compatible = "google,gs101-pinctrl"; reg = <0x17940000 0x00001000>; + /* TODO: update once support for this CMU exists */ + clocks = <&clk_placeholder>; + clock-names = "pclk"; }; pinctrl_gsacore: pinctrl@17a80000 { compatible = "google,gs101-pinctrl"; reg = <0x17a80000 0x00001000>; + /* TODO: update once support for this CMU exists */ + clocks = <&clk_placeholder>; + clock-names = "pclk"; }; cmu_top: clock-controller@1e080000 {