From patchwork Thu Apr 25 16:03:31 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: 13643520 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 01311C4345F for ; Thu, 25 Apr 2024 16:04:21 +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=J5OPy+DtSMP2nwcYtC+sXFlNUXxzQWbky7yjigc7W3E=; b=2W8zAI4kFuGV60 EB4hYVyrMnIB6b0nZwK0SCirPjoQ2EwDEft6GMl/PX8fb+rifn1w95AvrvRO7EpiJREIoES4gTidL O358ZCf3QlMDwl7getd/rGOETw3B6EjQJwdWXwbLFWaWJfg80FeXKQ/oaVvVFDPkCJ72wjbMRM8xK lTBWlWuAx/yTafKSYL9hprQhjP2EL5guYdFwCaQmjkxk/W7dtz0RyEbRyrNLaRDPfaJrkqgaCxu/Y VvE01UZ3c6wtN7BNwDHsTqcWx4LXU0E15SX/8Y6fQeot9d99l9cdiV6Bmfn8t1Jyz7y9tTPv4mwE3 L/l2DIImLPjPBnOsKJgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s01Zt-00000009HlC-39wj; Thu, 25 Apr 2024 16:04:05 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s01Zh-00000009HeD-48rA for linux-arm-kernel@lists.infradead.org; Thu, 25 Apr 2024 16:03:55 +0000 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a587fac79e5so164871866b.3 for ; Thu, 25 Apr 2024 09:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714061031; x=1714665831; 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=kyR9vWPsqsAUgpTsJMpV9yCJydAsWbKkcw3s9RwSvbs=; b=LVDEi7Vl3QFnon3oGN1zp+4C81aP/BukNGs/MAk8N56CIPkTsAMsyfwzg3iKV4VtcE 6IOnoW0ivJ6deFyV1iOP8KgtKeSD4xrO3mFpo11rn4BFvrqM1WBUMl4tibqktsgH8nml 5OR1uNmVLYKiqTL4w46mWDcP3Cg8LOrdqTM3Y/fd06y/18aAKQe0JdwOD++3ySuUo3gZ rXAo7OZgKTi5YX1wgqs/e2GMM0+L6+OrVCizJR6VfgYkhGbCvXEXpFAqVzTKFfnEAA+G V9gxZ5k0Izrs60+/+zSa+X4cUhOOtPGd+ZUat774OdulYmGr9Os1zed85dlqHr40L9zA IfPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714061031; x=1714665831; 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=XLdNSOpp10dBmAlDNpIiw3h392gH/IJAdyiVvIsmKCBkNHvkjqgB9lehsBnMMByz/N V372hc87CgsL/DKvwDD15CTS2JEvJU3Y2rOAUM9QJD0TIWnOv2EdkNNf4p8Btg3ZHII4 YpRZ/P1exCAajxj7wnRpqSK5y68ZM5HDnJhz3KTyafthAHXXaSm/3UVkYQOGBufnCtSG mDFdtOLjulcNBsZqTd4b3YCUAZVSPm6Gj0GUIGMrubbprw7c/p+ffRBvWVJcLZypKXyf l0LHz7oYlooYhaFWYR/uApf6toDpZvxaz/DdcUjMSxiO5Zr6GCmA0UhfYefxD44Iw83C Znfg== X-Forwarded-Encrypted: i=1; AJvYcCXX3ZoBhkCnc7Y0m1YDmDQRT9AC4Hf9GuCNyHzXSrGdnXHdACWX/nRrbBcya1aLzx8F991gqJ1sg64DngLkmsBoiKtCBdgtX6zreztpqrnJQGm0dwk= X-Gm-Message-State: AOJu0YyJ0KeSn3OEm/OwwnlNAyyG6IoA93kWbD9rj0kqBslhyhQ4Gj0v f3bSbIOxe1yVn2E++EUnVuotzc/ZRjpYthV/8uq7nHmNIJ2env3vs6u3XA86xUE= X-Google-Smtp-Source: AGHT+IHWlzXObnhoIYoQz5NBCn2aut5u9/VWIBSK4AfPvrhlCDjNKP1pLhTffJGnUYMckpFjpwyP/g== 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 MIME-Version: 1.0 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240425_090354_045669_EBB0CEB0 X-CRM114-Status: GOOD ( 10.38 ) 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 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: