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",