Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1220264lqd; Thu, 25 Apr 2024 09:04:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXzlOGv8gP2QFdK4sWiOzKatV3t2Btf3Gq4U7G2uKj6MipUBTN8RTtFj6XhxREc1gUmrJcizHixC9Lv2V9hxGY+GoKxravG0A1p7HE1ZQ== X-Google-Smtp-Source: AGHT+IFUYfXjx0OW2uWwWVapmF0mw5ZPDZcS4ScffSW+jVCnnicO3ohzI2F2BrlppHpjQXahu3su X-Received: by 2002:a17:906:698e:b0:a52:58a7:11d1 with SMTP id i14-20020a170906698e00b00a5258a711d1mr115083ejr.38.1714061059220; Thu, 25 Apr 2024 09:04:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714061059; cv=pass; d=google.com; s=arc-20160816; b=BMQJ2wDt2mCsyCc/ZorqVhcPfhfGJI0wwkoBrX1ET1YlGgLSDxMfVGaohhOmrgYzyH qhCMAsddif7VrAOvM3ZohWyhyTXSy+UT48FxorLJAzKaQyl2lnFlKw3Ql8+Cc82mdG+M cFEOoIqawQo5zCIlV3RFhaN/S9KpUwt4Is90oo+R8dNidqiUBbvdfJbBRT2z0r9NhWRi zOEh0AD4LdFzkKpab4m2vmMbV7sgI1UTibnO8LpYCAwBR3E3tg8/BZRVt2ZuvchXlplo Gczi7p9nOfuqBNrZwNyDJh4YCA7u9TK6uIGdm5/qS0pSJ7g+ibTqvRadqgG4nggBLQks qnvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=kyR9vWPsqsAUgpTsJMpV9yCJydAsWbKkcw3s9RwSvbs=; fh=DT+1QN/vHA5nRrp2IylbuQwit3SoB27BzTHBWmTRBD4=; b=OZLG2THhVTiAMTbYX1/GPPAs4mqnvDUya9rIKMMlGXra/3abJ7zYdXjzJc3hLIVn6J 8PbsFrgbxaAVzdiBk5qW716yq7suLP6iiNcRpbzcMVfoaQ3yQQfxMvJG3ypIFcTXxoDV FLzdYwPKDj+/Lopwm677y6tFzDLafkZnIX2jBOA4z4A19+41iDOAXS2wU886LkEsEFRd 8QhjMbe/KHz0db7UyFubFMKlsXOjQxKF0DHj1wqV72ydSzJ8sArO1V6j6ErZGW2bEu4O QM8tVP7AgZ0y/Zi9dDnV7TOCHzIO7XZm6+1uw+/O2Zc7ZcGFxMgRgYx8jRPOOE/VSZzH fPdw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yAlbA9vd; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-158864-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158864-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id kl10-20020a170907994a00b00a55be94ff35si4597339ejc.1025.2024.04.25.09.04.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 09:04:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158864-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yAlbA9vd; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-158864-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158864-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CB6521F217CA for ; Thu, 25 Apr 2024 16:04:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1621814D43E; Thu, 25 Apr 2024 16:03:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yAlbA9vd" Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.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 192C414D281 for ; Thu, 25 Apr 2024 16:03:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714061034; cv=none; b=JBYIW1tYehiZY0k84IQP4KFWD5U8digL9+Bp5kGcFG22eq2nfbFwpgkObI3okLHBO73KYuZOGyXUrJkYdWt+sXFAbtbfqWzKd1oejRx4Jpj9vSmGKdk94c6ffSf5iiDt2W9e4Eam2XWKzucrM7Pn8+LGa5sDf79v/4WUkWqMbes= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714061034; c=relaxed/simple; bh=qjiLRzQ/LzL957Tztom+GeWOX7MmZNPVIPPVkVPDhT0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PWKIbYGXHvpvdD/aT9bzceZLpExEGyYqz1/JefEarcyeJeOS1hhRo7CukdTKmgeb0BA6wYXirVwKVdV9gylyxQSSze9XCbXi35lad5Y4hQAL/Jgx48Thxic+EvlI97z0YQ8242H5JxRbFHaRJa3xcTAO8flSO0ia1GJDdYOEZ40= 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=yAlbA9vd; arc=none smtp.client-ip=209.85.218.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 Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a55bf737cecso145285066b.0 for ; Thu, 25 Apr 2024 09:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714061030; x=1714665830; 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=kyR9vWPsqsAUgpTsJMpV9yCJydAsWbKkcw3s9RwSvbs=; b=yAlbA9vdpKll8bZrBaNU6rcD8+XAh04F/rFaXX6fvdSYj7XfQyV/lRlX+DS/oB/ZE2 2CdeQJjfrFiOBvbyA2CkJv8fmUbiroEz9Fd3VrZyzRu5Y/GOvkon9oWMLE/xz+giL9FC ExeqkDI/X0Yw88AcsFICWjF2Otw4xvIeWtohxik0UDwo6dwDGLfWTXdicWJQ6b7W2KO8 BAbcG8r3KMVjkw4ps1K/KHydeONaQn/fz6gHqwnSfcXTc7uA0KxhRaTLthbeu0DmW2Cj bjKL34eDFNWECfY3xGewwDGAWj0PTP9ISvKOE0jn6Y0G4xx9Bl4DMLIhLPyql4GGbs0W /i9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714061030; x=1714665830; 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=kyR9vWPsqsAUgpTsJMpV9yCJydAsWbKkcw3s9RwSvbs=; b=TggACDNoZSaq5y8UGVPNfReVQrOXGQh8VQGdjVSuGzIh1ngGClB4+E7EDhVe/sC236 q4oaSra0GRjMnfLWqpRibkotag4eb3TNOJYcoYsFDBOu+7LOXer7uiw/bRDMft6fnB1V hRMssaCGcMmQQ0reRkKAhS6cEkPqzPW/7T231lwIPnXKfajHxBPzdipLcZKqxkMwCQc/ znF4T5FbhjUXKxfMw5FNVKdRgUi84dDWBBe6Dw8u/+ENMmBIV/ZuUxBn5WWz6PC9p952 Pq5LDVuRGOtc1QHmsL8zSR7NBdmb/Bp2bIKLifHKJE8yhXFXut620ofL7Uk3dn+lOwv+ vLKw== X-Forwarded-Encrypted: i=1; AJvYcCUTLBliybImMC5tgWFnnJWSeWdurSuvWb3doW96tvkA8KHeT1Y15NbCDFcXa0Q2EgTwKENrMshiuxQogEPRVeGlnSoAA69uZ8RXiLyW X-Gm-Message-State: AOJu0YxUbDcjUjp5sBcmpjdBylmIk+fkUr4P8BTjJJ7CUCJdbTjXWEiH n9db9XmsjPD50tV2FnUMiUlTA4DeW2oboODoBJvZdr9od020ARdqzvCQMFhK4Zg= X-Received: by 2002:a17:906:6bc6:b0:a52:367b:e4ff with SMTP id t6-20020a1709066bc600b00a52367be4ffmr120217ejs.42.1714061030485; Thu, 25 Apr 2024 09:03:50 -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 mm10-20020a170906cc4a00b00a58a44a4419sm1329562ejb.57.2024.04.25.09.03.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 09:03:50 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Thu, 25 Apr 2024 17:03:31 +0100 Subject: [PATCH 1/2] dt-bindings: pinctrl: samsung: google,gs101-pinctrl needs a clock Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240425-samsung-pinctrl-busclock-v1-1-898a200abe68@linaro.org> References: <20240425-samsung-pinctrl-busclock-v1-0-898a200abe68@linaro.org> In-Reply-To: <20240425-samsung-pinctrl-busclock-v1-0-898a200abe68@linaro.org> To: Krzysztof Kozlowski , Sylwester Nawrocki , Alim Akhtar , Linus Walleij , Rob Herring , Conor Dooley , Tomasz Figa , Peter Griffin Cc: Tudor Ambarus , Will McVicker , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.12.4 The pin controller on Google Tensor gs101 requires a bus clock for register access to work. Add it. Signed-off-by: André Draszik --- As we only have the one clock here, please let me know if the clock-names should be removed. Having it does make /sys/kernel/debug/clk/clk_summary look nicer / more meaningful though :-) --- .../devicetree/bindings/pinctrl/samsung,pinctrl.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml index 118549c25976..49cc36b76fd0 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml @@ -73,6 +73,13 @@ properties: minItems: 1 maxItems: 2 + clocks: + maxItems: 1 + + clock-names: + items: + - const: pclk + wakeup-interrupt-controller: $ref: samsung,pinctrl-wakeup-interrupt.yaml @@ -120,6 +127,16 @@ required: allOf: - $ref: pinctrl.yaml# + - if: + properties: + compatible: + contains: + const: google,gs101-pinctrl + then: + required: + - clocks + - clock-names + - if: properties: compatible: -- 2.44.0.769.g3c40516874-goog