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: 793230 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5166D140373 for ; Mon, 29 Apr 2024 20:04:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714421085; cv=none; b=PErusPGf4Fjp1ci/DVVD1HUbbZHCC8dskcQCoUtgenA0E6lC4UArj2EK6QHeFALkv1cdYbm2dmcqCBAQ4s+GQeX1EYXPjvV4olhk3qQu0XpyMGIG/dIPOA9F6HyqQUpEaBOKfHm3k5a/j48rfX2Dgcq6vv0/tzKaxL/+aHDIGZ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714421085; c=relaxed/simple; bh=OHbOYwGssa/uRbe/4TDCDGAgML0a+7L1EyAmdQh+g64=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KNzX4+YjnUl9PtvZKMMvFoWKpa+HwpxA6Oor+dPIxtnR+D+oRB8yM1145dRXY1qy1WwYvJI+yIRUoM9gb0b1gJnLF7G9na+YfLO8G0PAlJSixdqp+MswpkxSpjcLorO8LQhIuWQ7hle6eI+gbryzrRg/OEChkPu6zGf6noKnE9s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=lejVN1pm; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lejVN1pm" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-56e56ee8d5cso6189376a12.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=1714421081; x=1715025881; darn=vger.kernel.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=lejVN1pmdCs9djr/uPulAKWG4nL/LH83NUNGxvkQ1YmnxE1eq3ZoI1rGUekKB/zhM+ he+2gS9YymFw6vCs2g0lH68sdJYSmg7aT3k16yDQ+CNj6OjXB5zlO+PXT85+Y3zMKFtm pYbetVbUvJuOpD5t+9pxz/JKQVxAyuFNImxl6yQrTwt0FcNUJQj5SvSHrhi96dIDtr+m fLptuB8kPidw+7egxjQL0ry4ymlyjVDOD+JYxfixW0MedSUJ7JHQHdvx7+TRA03/4dQ4 oTDYWgF42B7ZtdN2OZd9vQDPLYAv7i7iz+oyP84uAzIqvfBH/jIS9fPBZogdBoRA5bQp XF9Q== 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=tvHSjEmy8PdCatKABxVL523khl5iR2mkZOBtWeQNZpTsxBUCpO81Oo1yuHppcsHVFu Y4lRotbOXMLuwZkGsacp6mZ3uwmdbVtYevdUEUpH2esBTyvMuEt1tXXCW6IDrFue2eQY 4XaLhFtysX+lsD6ji2wf/dfVzvMg+s5K6rt7cj4UDnpjxPkFXI9/1CI/JqE7XFfeVMom /HZR44Mj6jlIvgCcqsoNkpaPwm6oTiBG7DV5mF7GgNbNfjY1EAx5yh/QHvk53YLy4bSP 30FPg+u9bA2zslj7kSQDWdesCNOvWo8iod6NpNABGdVmBPdN3OrjUi3U0ifuIvUvAM2V vE7Q== X-Forwarded-Encrypted: i=1; AJvYcCVm7LgdSZwtTC8RzKX4dAOKCEtjpw2XnZp6yt+bjCxgadcn9uI0HB9t8a5s9xF1gC0wi3O2M6ppC40Tp1PQFH8NeLKC189F1bqCo9sGLNWwdQ4= X-Gm-Message-State: AOJu0YymjGcELmsrQ0xXxeth5gZ4P6YbjApYNuAp8DJ4EbZmKKyKC2R6 0KBqWeJRz9B7Bh1IaqcOC/ISgTKN0JW/x+1W0l/osN9YhmTvJ5PJWkFyLHJhTJE= 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 Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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: 793229 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2FC6140389 for ; Mon, 29 Apr 2024 20:04:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714421085; cv=none; b=jFpjv65WP18Z2EWvkYJ/R4msT2EzZoAQMzgMd1+bzTqUPbZAcUe8GYFcG2iSi7w/xU7B3CYdIX6MDHnyLa4kUTqdPJNIU4RbjlSgfVxkc4AAI8pE/Vst7DBFc9jHQ+GIj/D6ZyJFWoHq2VwOMwbAtRU3qqnWaC0FSOGnkIi+/XM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714421085; c=relaxed/simple; bh=13Fr4UEwIC36RkZaWaqe5teByY2xo8qLUQtGfXoOolQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iLtmxXKuAGR3vwO27XTmnsMzdF712f8ch+qGfMMp2hJkqu5FJwhwzBXdjegCSy7Bp4+1QtuUWcHBVBzhLuiVYNRP/85UacgiUif/7NaZzqzSXLvUhbyM6d89WliNmt7YtMRboEhLFlP6/H1ba482Ex2qJGOqWpBKF0A1TVmMhUY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=tVRWTzwk; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tVRWTzwk" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a58d0aea14cso434678666b.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=vger.kernel.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=tVRWTzwkPhHfvA6ewS4smjKPvB5zj1FuvMR/zH8zi+QVUYOHAYuehtWKMRQEftIq/f m57MbMAdE6qjwukAXdudX/yiKyOED1uGhYcpu8qgqcIVJFf0VvK+Pw2g5aC1moAtyrpD fkdgxvcxb3GqqlcW3elPEH23cGF3FQ5IUZxNOJ92ftECeBarVjMs9AAxVNGV+pxU3jaV JKv0lp/IBe2AkfOex/Zdt2p/f0FdZzzmr1f7eBtJhUor892dVikjhXg6se2ZLyfAT95P goQJxgr1+UrYZk0cLSwf8DKcE88vBhOzDvFDyIGSofDhh6oG7/Ps6EblLI3nGhXonsz6 9ZhA== 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=UbNpWmbqJ/aBdX08uisokjqjaBUYKRFODFESoyNJSgZAQgVpgphFJTqbitFCujWqRE r9RVmS00Z76/lpNKZmzwsjSN2hE26nXi53YJ1xjVkT8jCefu/x81ToZ5VgZVnpRTBPwb MStQzVlYDo1ZtqmNVcmPvY+/R3lP0/SYQY+rlFmh3z9rNuuIK9N8iP5lVn25C/DbFPgK ulbLBw4pkwB1MvJP1nE5K9liQb/SrNHeMhrhr6eacA5kHWQRtg9StRuq6xPMWe6RqR5t pZnWbON5AXDXflvpQjABv03uEYns1Fyy2teWcmUze07ChStbflT32zmt88nTJ3+8m+2+ nzEA== X-Forwarded-Encrypted: i=1; AJvYcCVY93r4euKDXmtX81tyjb7fUm5R2BOYy6z03SnSRsglusRorZbRbjKewP81tNEgkNLe2UNHNz8wC5CCVxPG4ipEYMt6AeHRow9xZ0R+CaCAYl0= X-Gm-Message-State: AOJu0YzXA7hQrsT0IQyF9OYREOCq0yPNjFl3itz6OHaYKpVvz85XIsgB Dg4SmVsJu0WjeoDadh5d9XxxuSbydvd01XFeyH+8wz5lq3uVnMpa6jo9PYuKlB8= 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] Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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: 793638 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C919A1411D6 for ; Mon, 29 Apr 2024 20:04:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714421086; cv=none; b=bIFwPTijvTPVtEesKuXMXc+RXJvBTsJiAMyYsTGJPwvTREiwYoF1Mwvqvnx8NZKat2o/5+IIh4zpCN6Lkg1JbBq7xEV+Q5xGYU/KiXYFC/rlIY4jhNjuiWIwiNzoUc3tcus2mMcxsYUc8yRFcSGEJ7n9rHmIqMX4qU2i0it0j7A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714421086; c=relaxed/simple; bh=6EPfWTqm/lFaZs1kyJ73zKT+bkJLAEfvahvw8Cv8KkU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rKUydqPIJVIKSWygbYx6+j6GiiNaZ5LzC8EgdfpKetkDapzz+V638O6CiJFAiVCMwbiAAeaTWEosu8aIh17RPpglOXxGgTqVBT/eRrSueh+tSmtMsS9NAHITcTuYg2tptHBzk0U5AuFbVCGdHnz2VoffxTfV6uq/65GjX1+2i1w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=CpdCVPYE; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CpdCVPYE" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-51abd9fcbf6so8166338e87.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=vger.kernel.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=CpdCVPYE/frxUrSfNZ3TZH94Snlxm9d500/Tw9mo7gLI4Oi3nCIPy32F1A0Mb7rdmO zLAhGIzjkKHXJ2bWMHe0z/WFIcf6xGuSoPOSMcLJ9uQvHBdXlXMT6CwBiBpIHsFhyB0c Pj6N0QMIwhbsx4Rg1pHJml34k6pZ7lEtbyxqR73D21qoNs05JUENpWB7W4ZPAoji1KHH R2DPCQdzwg+61Fsgqq2nC7Xp7w4ADgctAiNYEq8azZQUYIpJEg7D4uvhzDfZBF9t5Hwc 6eFzZs8u1wcaNcWqbnyIpK2Yh14z+N7aNC5db+2EJRw0qW518WA5NE2B6bLzQVA2BM8D w25w== 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=qtMMQrDvLyV5MEcINJDPRgSZxKvulmvRboLrRpKfwoOb+wBZVz5hC9xaE6tgwE8eZH Xppp3fhmjecQd6jy+7JZNwIwNODZHPq697J9MiyVNcNJ+aFJYc6H8gdNdHVRkUd42ftP +kZ50qmUmAD8+MxixQSuMM8YQrrmvogRv/UJYVV2sjVz4/Ok20VYnPJRiiYtLavn8Mw8 PFbLHj3Sc2PO9Yg+k1QzmPYQlmUiriUtQdfNQhGE3ha8p7aQvzcLTtqP4XrUKyT4GBwR LSpUD+nweeGWN8+n1HrnOmFTtzZBeomyOGaShja0mnYjeR1ORA9IOoLzZGgHKP8w6TIT JN4w== X-Forwarded-Encrypted: i=1; AJvYcCXGs2VEklAKIrWiGu5bHbOnqNdJ2QjuEYQGECmeFZ7tZANm5PjCkYVbzqJX95irUBtCNK7U9fEeEkVk/Ce/cWtXOzHD2SnBlYD7ofzpxQPax6E= X-Gm-Message-State: AOJu0YwflW90XWow/iXxuG88P9x66qky9ff7yxezvn/dYR8LC9JkqUvu 3GlctP4xxIBCHYxygdMQeKUXkU+BN6aD3JpDvSKa4ZkZu67TzDFJmHgfTbBzpmQ= 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 Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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: 793228 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3CC11411C3 for ; Mon, 29 Apr 2024 20:04:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714421086; cv=none; b=lzs6nAztAxcDbTn0W8XIhvIdv+Pl5TrvWpGohA1hrYigS6g7f6vhC0MVxL/3wTPKMrmbGLhq3Eadv3PBhnDuAe21hrVLtdNH+1rY8erjFOZr3j62ti6Udw9Jic7oXwsVzZqLRVgmWlim2sgXDQO40iKGcK0GQEFf/LrH7W1RVVY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714421086; c=relaxed/simple; bh=7Fu6Jlbw13SdHa0XnGxn0I2O9i5djBz4seEVD8va7pU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EBCrnhJBrNBzyS8vjD9oo1Mlh3sIQiuZIbuAprHhFyducnyrxbN1yySVz8YHsOSLDJKgfa7XkQTT22RP40TZKOsniHjORYYDBHLKsoL9iHzhY+OMy+6+k4L6fGFUNP+hU0NemTh4LDR961J3EwVFwOMuUh52fURUDewt5JsJdVw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=fLjdDryL; arc=none smtp.client-ip=209.85.218.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fLjdDryL" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a55ab922260so655928766b.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=vger.kernel.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=fLjdDryLJC5BSNtMI+aETY+xlgYaPErhHhIyVx0C2no4cyXMw1gKTvdaltuj2YxrhX WJtAbo6H4S4+p1MDJIa56SHDOxDl9LOFWuK4dHAo4Y2d9F10f87mvo0jPIWTn4OJQgPq Bq4VomiBAEOa1Pt4fGclFUb6IkeOdEXrMTTVXPrxretdAyv+f+QPD7m1kYR6jf6PiHpq rjIcs17bR50Jb4jDKQtsKzJ6fH7NgVC7Z9ye0ym1cUZUFjy0gzAjdYQPs6KuNH8DRJvG HGBt/XJpT0UKMk1zfg+23Zx39/pV1xeX3Ey3appTBi90fIQcslgeh9gA66W0GOQpD2d+ zvog== 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=U47KrkEj7h2WOTe/UfzyIDArcVt6QyVZQ12rgz+IW7xGoXxMo6ywqDS1Mkn4z0zNYC aqxW/ZRMjnW41nGxfSE/Oow4othYHG4UHTyAoAtWouA+gAYLxRlwC0U0E0roYFJv84jF vahN4l7vA/6qSzT8QjXXf6YIrnaA9D97v2WLVD1y4qcsOVyu7tgtV527RoRT3Ra/EtSj dToVDlFx99QQSnWlU3QKjAkCCFBaDI4S5ZFxe6G4COGRqs3VAW9qOa977smVBzAmCBvR 4Xaa3zZ6rh4C6nfbveXSQYoNqtgAw3s+KSeReEAg9Wbk3yS62JKygw6aKkMviN2kB6Bs 3q8w== X-Forwarded-Encrypted: i=1; AJvYcCW8caB3/ugDRwDyBJmGtQ6uKg4HiADn8oI6FjLKcJzMME6FJo1Rg/o+n+zK3ppg6TUwX41x3Dxq297kksA8TNnZjrD/C/IJE81hfTzLu7A0vTM= X-Gm-Message-State: AOJu0YwGbQtP+jjWtVf00eYle2yPqMrbVD3lPskfBDrNxSXWAg37OdLt qwUXMmwvNTA4MQPL/DHQzzwtwnusr+TighcV7jpQKD+w1YlelHDSDMNtr2S78wI= 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 Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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 {