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: 13647645 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 EBDF0C4345F for ; Mon, 29 Apr 2024 20:05:25 +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=bh4ZUmKcfAPMEbFggN9BSodzjLdGlq1AEciPrGUU3/0=; b=nsxOtMTtrOk0Vz rWNPAxt46VIA8s4gCyFTawl4M0FQ3e2n4ALeAU1btX/PT1MhMKBhgRdhQhLi4NvPyM4oEgzt3N5oQ Zze/5641089yYkPB3szhWDBdA7yuLAR2aDSrdz2+SXXIzp6FCvLGcbSAGBnu6b6nRhY/Rv6ORoQbD W1Y/sIRXMw+tMwESCB1PKMHhZ8q186xP5aLZ+BY98om5wIuTbLaqiYGzGS6fN1WlzSSFz/r0IKVQm Ja1wayRpiI5Z/m9dQyQ47Hqqlundjh1ooyUw7BcHNgyqFrVy4ttAWvM/XxKS7n/2zcTFhf/UiynxL wsgLnjzdZ4y3kamaTVpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1XFS-000000047aM-1lqA; Mon, 29 Apr 2024 20:05:14 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1XEz-000000047Mh-2LyG for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2024 20:04:47 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a559b919303so643358166b.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=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=kTIyqFBJPzda0VZW9GqKLhD9vkmHPScIkEvgRsFUKyQ=; b=eGVPk2DW//Q4/5lBXgaKnhI2tx1AfbGOfeJSojwWIW/jhFF3JVvSNkHqy/bDYFlOPt 87saSDP6HdERJ5lmbI3Y6pqpjNNx7BC5Qzqx6kZuhyBo6YVgovYkSfBzQQXBW9cRzmiu l6ldPq9pMJ2zfxDT/2sizqQSb2VoG3DUmDqJVBq1h6HRXJIbEaH44PQ5pYVYJ3UqX/sg 7HgUdj5j36lwhuV277TbZDyVxBo6B2F1fQ9mgSVyfGIDOcCkYYijVFAtWNosa8mrKmFD EWBRa+epOlTMW3qwWGpcW8hbARG50hcBcm6au1QD3osLb1UJIlATLtvoj4AtdjtTiVfD G6Yg== 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=TwloGxkw3Fe+eYRqWniI4iBmEJFX+SIXBQj2PDONVz/QQQmjDgn/3rpOkC70bq3IYV aR5h61fq4TPNLMv412139pdJ+gTt5+xn0BpnkCf0rPcukon4sSH0WpkkXn583jsa8mFL FUi4KR8JEefU7hmjDPVzrATgA1lPwC3veBUifSlMjqg1y93sP7Y7+ZhdFiHt+3EeGFR8 SsAnm5WgY+gZjtJqqsa96660bn+FoMDuUVJ2/35ySYDm62d0dFCy2xnThCqsdgrbkxim lTyQyFp0fIQcuOQ5Uosf7a/d96ivfYqMEdzs6kFngM7BFG28fL2wVEA9NCFt9ExfK8YM 1smw== X-Forwarded-Encrypted: i=1; AJvYcCXS8upMnA59BhW+HJcbCIHIwpsUBFdBMHgT95SsCjXppY9tE36+GT94xkcHIZo6l6d/zcAqPRDpJHzvzQuI/nM6oBSnTkZkeZPPZH1URHinQ9EfQE4= X-Gm-Message-State: AOJu0Yzjaa8/GVEvOaBl666j+TMcSI90Uom/jyiwtBeuA8h4r6kUg3p/ ceqFKyZCKlG+7BWAgzhbhLNKDmgvzvTp7Hi+gPA3MZL7Y1JGqVQMuMK+B1BqV0c= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240429_130445_651723_97EDF7E2 X-CRM114-Status: GOOD ( 11.23 ) 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 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 {