Message ID | 20240127001926.495769-9-andre.draszik@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-40931-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp231015dyb; Fri, 26 Jan 2024 16:22:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IHG9Pwh6CNnxoln0YBcaGdjfqmmurpnzDsWonLEli7TFqGgSrvLBvZNiQ+QCxXFogRVm8MA X-Received: by 2002:ac8:7d41:0:b0:42a:88d:1a5c with SMTP id h1-20020ac87d41000000b0042a088d1a5cmr898006qtb.62.1706314930122; Fri, 26 Jan 2024 16:22:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706314930; cv=pass; d=google.com; s=arc-20160816; b=xfXHMEUtmzCFBRpdUsXeaJr0ekQEMNMDwBqt94TTzN/4QJ9wMM+lfooAMiOJB+5nGJ tOJ75QUTBDCpoViOGAuMLJWz9vBZsooiBw2WRKMGpZgR5anKA3sGToqcjs5MhknCk/9Q RfGpOuilLCGP9FXvXI9Igk5V3P8XMZb1EQJfKpM68krp/TmjJWzEgQJSbdgGZ2uJ4Qw7 XGp7ZuDlg8DI6FWqBt4qaaqARgR6uG3/n2jvRAV6zdlwbJ9zMP5HIq3onKdDGYkrs/EV qTNC5iAekgiZAUIQAszvbt8aR7/7p/3Qa/UTeYcKwx8QrDRt9yBk7WwR49MDLoIfSzpf +GmQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=7w4L0mqufSzU15zjl7tBBkfOR0buhpP2p1+Inj0xzEM=; fh=TOy9P9R4dw7gQuS6erfsRq6Bs2QGsqU+Z4u7pVJui9w=; b=zj1Fji+aNBiC+YWUJdGuSGwOSzQ48nsZxJQQfxxpPXhMPYDD1TM1swZ3KZ//1qn5Ys wZHhWgeCMmxeL5QJw0JJZF5G0YezUpM+laZtGqq2p6oFxAij5xANy3w+qDPx1NAIcti6 qXMTNSAawex3Je3FcGbRjWRdpa4qoNoZ26QnIeAg2tbDgCcsplzdn9lGB6gG0q7Htw0l rhe7TmekBN2f//nDLDjMljQxS/btUHxHn9W3EjolQ+MATmYz7tgmxBuM2X5zTN3/Ac24 OKLD2e5Q9SthwDxbLL/8rePIbbSYQxRprDhwltPG6F2H8VEUlNev+PYg7iSg7Ew44gkd 1I3Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dm36f6Ls; 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-40931-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40931-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o16-20020a05622a139000b004286ffdb9bdsi2384195qtk.684.2024.01.26.16.22.10 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 16:22:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40931-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dm36f6Ls; 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-40931-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40931-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E45841C20D8D for <ouuuleilei@gmail.com>; Sat, 27 Jan 2024 00:22:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C175F14A8E; Sat, 27 Jan 2024 00:19:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dm36f6Ls" Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.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 75EBB187E for <linux-kernel@vger.kernel.org>; Sat, 27 Jan 2024 00:19:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706314789; cv=none; b=tVJRNICcvmoxbotnAVxw/BI7REgd2wmftA864SZ2y3CN+zS/DW5+TGJ6vf64R2huES6APZW7NQ1NQAeWsXjhTeFNLXoqq1rejsT3dvXh9cPvpPeAZfrC5WiOqAuZrUNFpRs5VYyhV5Afuqdlc6EitkrVs9anaxyI1NrcIC2pjbE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706314789; c=relaxed/simple; bh=xrAW2n0wQYUEYIPRxmxnP7PLumZPUrSFePZs633YXdQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=biW9gD6GPdn+mc2bcvuhNVCupo4AN5Ejz7IR9rGOpxHtYHdqCMZwWmhJS9Y3k8RzmkWELARjPWWdFzDZG1R+Dmed+wfIPYvws/gNQFa4z+x+4q3Fyqbclp0qLQnq7UwgfOZ8az5hB9Vo3N5i2dSkdCJ3iQKCvDmq7kQxEqpFuks= 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=dm36f6Ls; arc=none smtp.client-ip=209.85.218.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 Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a30e445602cso441537966b.0 for <linux-kernel@vger.kernel.org>; Fri, 26 Jan 2024 16:19:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706314783; x=1706919583; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7w4L0mqufSzU15zjl7tBBkfOR0buhpP2p1+Inj0xzEM=; b=dm36f6LsN97xPDgagydZVmXgr/bL3MoYz1Zfxyr1/M+8YNqMx8BEuNHkODccm83ZdN UM+xYGrGb9xnl+ttF39JCPr5r487XUxpEubnjiGBCkaqfv8rBER7QHfSXj+W2CQ9CMKf XfTsIzYRYpmKD4kiNGrQj7Slyoz72F4XE0He/pCEYmV+lud7XdS51fIyc4MH0jRagXLs a7m6ynOYO0c6UeOY+46VKyX5w9G6+DjK2ZPMpDxgFGCF6IVFAAaQP4j/VbYjsp7L14Dy R6N07agUakM7TIzDdIJ1o5zzqJBB0fWgwZ3EJmYdQXS2HNhYDqwIA5Lkb4WzgsQ8t99J PqpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706314783; x=1706919583; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7w4L0mqufSzU15zjl7tBBkfOR0buhpP2p1+Inj0xzEM=; b=nvLAVfoI7h1K73h9LzGnzsixomAY8XOFQ+O/UisD78g2ahnN4uBSt+iXWydeBnAdEy VfOlBLv/NDzF0qAvEujD+GofAJlc+fOilB3UqxrQWQH9mTrJDN9NbHpQTOkknctOVYCx GZgwEGL04o7OGAceQ08/PiXOaEtKN/FfnisP/2pIpSW2bhrxJ6dW/r/fBUtBTEX2TiNJ /VG5qP02WguuRirW/L+us35syt4sCwPYDcCE0SSBkIFIH9UcM+BVtsgD6JKF6mr1DKoY +TNSAi+6nuHSrsbkV4KZYdW+TKNPavsti/15+t4glKc+vhns5YJzfuNRR+3IZk59NCg5 gYZQ== X-Gm-Message-State: AOJu0YwzDgHVYfwCmSl8Lkz1fH7U15tOhvq6TfOyXI/jfsQEPz+ZuQxW PI+IMz8g1ktzpEtvmJp5aQjlngwsGiEraZSPfautLq/3mPrWicu5pqCkd7rKCrA= X-Received: by 2002:a17:907:c705:b0:a34:d009:26c3 with SMTP id ty5-20020a170907c70500b00a34d00926c3mr3499843ejc.31.1706314783697; Fri, 26 Jan 2024 16:19:43 -0800 (PST) Received: from puffmais.c.googlers.com.com (229.112.91.34.bc.googleusercontent.com. [34.91.112.229]) by smtp.gmail.com with ESMTPSA id x16-20020a170906135000b00a339d705a10sm1141359ejb.80.2024.01.26.16.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 16:19:43 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= <andre.draszik@linaro.org> To: peter.griffin@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, tudor.ambarus@linaro.org, willmcvicker@google.com, semen.protsenko@linaro.org, alim.akhtar@samsung.com, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 8/9] arm64: dts: exynos: gs101: sysreg_peric1 needs a clock Date: Sat, 27 Jan 2024 00:19:12 +0000 Message-ID: <20240127001926.495769-9-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240127001926.495769-1-andre.draszik@linaro.org> References: <20240127001926.495769-1-andre.draszik@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789200883927345093 X-GMAIL-MSGID: 1789200883927345093 |
Series |
[1/9] clk: samsung: gs-101: drop extra empty line
|
|
Commit Message
André Draszik
Jan. 27, 2024, 12:19 a.m. UTC
Without the clock running, we can not access its registers, and now
that we have it, we should add it here so that it gets enabled as
and when needed.
Update the DTSI accordingly.
Signed-off-by: André Draszik <andre.draszik@linaro.org>
---
arch/arm64/boot/dts/exynos/google/gs101.dtsi | 1 +
1 file changed, 1 insertion(+)
Comments
On Fri, Jan 26, 2024 at 6:19 PM André Draszik <andre.draszik@linaro.org> wrote: > > Without the clock running, we can not access its registers, and now > that we have it, we should add it here so that it gets enabled as > and when needed. > That sounds like this patch deserves "Fixes:" tag :) Other than that: Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> > Update the DTSI accordingly. > > Signed-off-by: André Draszik <andre.draszik@linaro.org> > --- > arch/arm64/boot/dts/exynos/google/gs101.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi > index d66590fa922f..ac9cb46d8bc9 100644 > --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi > +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi > @@ -442,6 +442,7 @@ cmu_peric1: clock-controller@10c00000 { > sysreg_peric1: syscon@10c20000 { > compatible = "google,gs101-peric1-sysreg", "syscon"; > reg = <0x10c20000 0x10000>; > + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_SYSREG_PERIC1_PCLK>; > }; > > pinctrl_peric1: pinctrl@10c40000 { > -- > 2.43.0.429.g432eaa2c6b-goog >
Hi Sam, On Fri, 2024-01-26 at 21:00 -0600, Sam Protsenko wrote: > On Fri, Jan 26, 2024 at 6:19 PM André Draszik <andre.draszik@linaro.org> wrote: > > > > Without the clock running, we can not access its registers, and now > > that we have it, we should add it here so that it gets enabled as > > and when needed. > > > > That sounds like this patch deserves "Fixes:" tag :) Other than that: I didn't add it, because at the time &sysreg_peric1 was added, the clock macro CLK_GOUT_PERIC1_SYSREG_PERIC1_PCLK didn't exist and &sysreg_peric1 wasn't in use until this series here anyway. If this patch here gets backported to some older kernel due to the Fixes: tag, without the whole peric1 series, it wouldn't build. Therefore I left it out. Should it still be added? Cheers, Andre'
On 29/01/2024 11:45, André Draszik wrote: > Hi Sam, > > On Fri, 2024-01-26 at 21:00 -0600, Sam Protsenko wrote: >> On Fri, Jan 26, 2024 at 6:19 PM André Draszik <andre.draszik@linaro.org> wrote: >>> >>> Without the clock running, we can not access its registers, and now >>> that we have it, we should add it here so that it gets enabled as >>> and when needed. >>> >> >> That sounds like this patch deserves "Fixes:" tag :) Other than that: > > I didn't add it, because at the time &sysreg_peric1 was added, the clock > macro CLK_GOUT_PERIC1_SYSREG_PERIC1_PCLK didn't exist and &sysreg_peric1 > wasn't in use until this series here anyway. > If this patch here gets backported to some older kernel due to the Fixes: tag, > without the whole peric1 series, it wouldn't build. Therefore I left it out. Clk patches don't have fixes tag, so Fixes for this alone would be confusing. Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index d66590fa922f..ac9cb46d8bc9 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -442,6 +442,7 @@ cmu_peric1: clock-controller@10c00000 { sysreg_peric1: syscon@10c20000 { compatible = "google,gs101-peric1-sysreg", "syscon"; reg = <0x10c20000 0x10000>; + clocks = <&cmu_peric1 CLK_GOUT_PERIC1_SYSREG_PERIC1_PCLK>; }; pinctrl_peric1: pinctrl@10c40000 {