Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1596601lqa; Mon, 29 Apr 2024 13:05:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwXogt40X+6DMfsGWRVBkPEXwE7Vym8JyW7zyKuGb1XmU+sQFmLxwi5t9BgWKtXOF46I+1Hwx4+YpRVgR2zLTGed44hf58y+lDldtNBQ== X-Google-Smtp-Source: AGHT+IGMN9mlhAlq2kZ7k8BiGacIwPXzIDTFzDrjpJh/aOjCGLXT/YTXGXz86iVHMmKFpSEoQhiU X-Received: by 2002:a17:902:da8c:b0:1eb:acff:63ba with SMTP id j12-20020a170902da8c00b001ebacff63bamr5468770plx.67.1714421151083; Mon, 29 Apr 2024 13:05:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714421151; cv=pass; d=google.com; s=arc-20160816; b=LkUX0bjajGhyWELeYmfodlah2gOeefgSLu/dBWBWbVdel+YP5/VAOxJWZ17cXHKJ/u kvWXFgRiVlHc82E8pCT+QFID6K1k9vYNaVpXiQlGEcvwK3jVi7N/u/Q2LtnaVH028a3L 5sYLmCzMuAejjqCRfMOl+ehrXROMK8NsSCCWYRsIOsrDH2Jz+cVvPjY4BrmxnG/dZtop Cgr3turS7J3IQbt8wvMrNBc/TA+dQdyPWo99kNa9Tr751AO20DI2t2qVGxqET21SfkrQ J0PuL62lyPE1gRb2agYAy9SHu6f9C6uE1vUm87wzssQwdcsxzZKqvU3af8MBfW9zW+ka oD7g== 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=kTIyqFBJPzda0VZW9GqKLhD9vkmHPScIkEvgRsFUKyQ=; fh=+gwsEoFuiIm6mIOMYKkeHpOhz8rF5DUCdbvdYydLZAY=; b=ZI8k2yXtqXU9ZMUqzU5wPfA6Sj/sfaE4RRMU3JO7JZLuRzm5MFiG+UMZCgdfutGv68 iLvFtjOKaI5X26gL4c0G4iAO2hBFZShF0WweEF5AXaF3pMec3FP5NqnJpERPhAAf5YI5 uXS6KXe0nKIIrWkNY3XhYURp0yumPINjyUdaysnBxpMA1tWZT6+iXjuHbwzLcTxkOdSr s7FR3gLUh1Vfexf81COaY5bAB2rkYcdEAWSj+/dq9BWg2E+B68WwC9wKT6TLWwvKQNyM rGmB3fqC03M9K7++K5BllUk047R/P0tE1ClgQ4gamAi419GT2Y2PHD9uS50fCDNbXEjm JfmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fLjdDryL; 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-162998-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162998-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id l13-20020a170903120d00b001e6401bc084si20454111plh.568.2024.04.29.13.05.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 13:05:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162998-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fLjdDryL; 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-162998-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162998-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5DBDE28420A for ; Mon, 29 Apr 2024 20:05:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73343143C5D; Mon, 29 Apr 2024 20:04:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fLjdDryL" 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 C35021411D3 for ; Mon, 29 Apr 2024 20:04:44 +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=1714421086; cv=none; b=oKniUH+BPqped5EbiIa6HkCf33XC0AYzXHCYKxq7l3bjXInvPl8jAVph9rErgj3phjc0p2zgNv6xM0Mjzme7unZnE8oqf9AUZZ8aoh/xV4F0tKypW5nwIdhPcJYwPilM6jkamnaWQEFIIvMGLJeVcYsqOWgEfd4i3QJOZxB6egM= 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.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 Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a559b919303so643358066b.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=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=gCbVCDXB4hvK/dJMCUsJkfMMx1+pWqD9QBTF1FKf/R+4yeh3XNg+uvnbavK69Dd4Gw xfIieXQxAduHENAeyIo/ZHpY4cHExxjRVwVyIqyHdJOpFpJQoBqyxFGvaf+zBe0Em109 nMonG1nDKggVSV6KktcQ9qK76aSrOmlR83WYnW/YJz4DtW7yxUC/aNdEoZcFuqv/6i5g LPHo6YT2C8E6zAevAm+2aC/lUBI9p7Ag3myi4AXvx01cnI9JobFU+3MveuQxniwZ9AFm 5Veqq9c0Jo3GKduRbOEeKEAfLPNUpkxpty85IUlE5GDsvzlHhOMcZKfbNPIoHjz9iufb YhmA== X-Forwarded-Encrypted: i=1; AJvYcCWaFgsDZsBscQSJPKMSOkaV/OZ+IeUXbOlu3F7iePQP+hv7D02GnR6abwEXiHBG/o6WMClJp2lFmX2xoD+8LNRuYg2BAvF1m0WLXKvK X-Gm-Message-State: AOJu0YwYb6k+1Qdw1dmBYcYku2/2JWjnsvj7MBJO6/7S58vEvPf2N0Dg mn10iNIBoyZQdl02P0petQMQjeuXZKJVFRnigaEg0HtUFRXP4jExdmQHpfJSAmM= 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-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: <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=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 { -- 2.44.0.769.g3c40516874-goog