Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp61867rdb; Fri, 26 Jan 2024 19:07:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsyg5qRdMpGnFRGusvva4KtwkFTJNqPu/KQCo/y0uhfL8d+fQHfsd38ft2/neWK0HvlQmf X-Received: by 2002:a05:6a20:4028:b0:19c:935a:215a with SMTP id z40-20020a056a20402800b0019c935a215amr909299pze.33.1706324871311; Fri, 26 Jan 2024 19:07:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706324871; cv=pass; d=google.com; s=arc-20160816; b=e87NJwQ3EG5R+F1KEwLN1jpVET0QS6r2bfljpU9svu80VR28h7SYFsu2X1SFDePpGO zseJxAgSxu4kb/zo09bFkbVNueSBbpAEIB+aJiJzCBqL0Phm0q6eiQ2CLelQsckpPND0 wyXDvUBhaegScLati4GxlAo8Wo0ZTeIeBz8i0h1pOwZWQL7sdfAimujC7PJU+v6NHWJU Th81P1FlRWEhLiLLG42haUFLYWEJzdK2PZBdK14UFvbZ4x5/hkaICMDBwTVl2ACJcrQI bcElxAle8WtQaL5t20INgWIDsCPUbX9YBqNoXW0MiHG9+WzwwIT3uO05bdiz7uKY8Hac Ma+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=0HX6o7x5Qrawh4BTKJNdUmx4kLCDr1p1JB3TqBPFmMw=; fh=LAXBCLR4Vgr9qp8+l93df9h18gIUU/JyJLh+kTOR+2U=; b=wRaTBrbWasiZbmxpGUo4XLbGJAuBr6vOU2awA6/hpzdlMpMUL4n2g2nW3RtP2b17uf f4jF6UYkDAE9NkPdItBE8HCZolbVvKWfZQ4ofWHeUpxJft6t49wjUWT72VBTYxdGHCoD JZSIoVPbGgbf3fSyeeQWH7JUwFpWk44/+t/ihYkISjtpiand6jR+cnUIc1reSOriX/wi PrC/7tkNqJCxJYGm8ZihhQypF8Ekkd5Z/nIQW1BEyxlTrL6v8lGLGZlklGy9Cvb4WHCM 9r+haXcxz4CbzlJ8ivvry0bj7iKDqrYrrxg/zu6C8WkiLY5tsM9Vb0kOWuS2VYmz89am Ux9g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ckk4zVxj; 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-41033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41033-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 q65-20020a632a44000000b005d6a0068c1csi2145063pgq.95.2024.01.26.19.07.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 19:07:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41033-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=ckk4zVxj; 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-41033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41033-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 79ED32818A3 for ; Sat, 27 Jan 2024 03:07:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0640DD51B; Sat, 27 Jan 2024 03:06:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ckk4zVxj" Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (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 C8B8EBA5F for ; Sat, 27 Jan 2024 03:06:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706324817; cv=none; b=fEHKB1LYLtNdHD4VqPcNey0SEQj9XNUJBlGWELH6RBVrawEzRpQYP4lacCRVNTa0JVNAahhvPy3x57RYk9oZGRwAVTElNs49SDCN4dKv6umPybiC87rkESh4Wns8V49NYfvgG/FMc11hbjbifi1kB2UEbAdtDlBCPkhK55QcR0s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706324817; c=relaxed/simple; bh=c/RwtjauwLz4QtK/LswNL3XoIzV8VGsHkn+HiYtZhsA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HXtMKi05PCcBizxoN1ALnSrif5MDK6xLDxm7qGhHacToXPPQ6uWphdLaW5MSBj9yNf9KNpCgIxuGRgcfsK+ICmO3Fxr7zvT7Mk6Fqz6GRKlRvru+sljWuyZNEeQ6wyj06IGxa9UFJkFiOMHTPlmrLH+cnuASmBdhaaeyF+I0wuI= 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=ckk4zVxj; arc=none smtp.client-ip=209.85.216.41 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-pj1-f41.google.com with SMTP id 98e67ed59e1d1-290b1e19101so1792663a91.0 for ; Fri, 26 Jan 2024 19:06:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706324815; x=1706929615; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0HX6o7x5Qrawh4BTKJNdUmx4kLCDr1p1JB3TqBPFmMw=; b=ckk4zVxjvf2SYkEW6fY7cjCieaBl6wTkQh4PCFDzqZK4KY7vQAyt0HsckjVzz+H9Vz OPYYblCavxaj5Wj96M1vZzPdSLjTImkcIztYIs0Z1YkOZeK0JPGPvFs+XxrzyE/efH0a aHCJDUgz+G4MDyi/R7pEWiHAqfZvjUAHSf6wYRgSzOFeZSG6V4mvmQL8JtBFLJmUzZpR aCwsbStb4ZTddBElA2fx6Wen6tDVv4EgSC7Y5GQmucdeA5X1mnaVI/7T8DHXN4mSPpRZ 5Pb7OF3wS5GKZPFFVafeaCqDjd6IVGsoJ5jztZTBcuKm4t1fTzky5xUyAnc62HDcOLar 2OWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706324815; x=1706929615; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0HX6o7x5Qrawh4BTKJNdUmx4kLCDr1p1JB3TqBPFmMw=; b=cb89nMxIkrgHcxxgXJ/BwLfmKwAVdj7AEmlbkipEj/65+IU9yO3epxF8pi4i6+bJ0b aqPxgS6Y/e2OAFnN4DSWce3Sdlq6xrWN5T0HZWAuawrWR8i13cJozZl49j1b3FRcxaXm lba27Q5hwcpzxFCDpaZSIiI9em+pYbpAgAGh+T1K0CIeD6/GSD9S8Wcam794fGxzXwaJ cf2u9SSy9AOoHWO8/E75R+zQFYs0MKIQfVkwEEic2TbbCzAcbxx4QpKB//VErGqGP9NG MyOD4JTe1KO88dn0Hn2exMaCuh+SoID5l/X3HaklCM8hBFmTlO9WKCGIdEGRkWlw823X b70Q== X-Gm-Message-State: AOJu0YzF3nhOBLzVnSCudrB80QhjS8BqsxXwzU6pioVH+ZDfgkZcCq9Y nYp8dskfxTd8XGfn7ZOM6QoM9AAY4gxqJcB8E375rHCJ9hmfdUaFH6mDTSvokqk/oAUVJIyBGTb laIll4v6SeGldR82LBlWGYdSfjnDXxYHxseq8WQ== X-Received: by 2002:a17:90a:4a85:b0:28d:34bf:fe09 with SMTP id f5-20020a17090a4a8500b0028d34bffe09mr2419171pjh.4.1706324815024; Fri, 26 Jan 2024 19:06:55 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240127003607.501086-1-andre.draszik@linaro.org> <20240127003607.501086-2-andre.draszik@linaro.org> In-Reply-To: <20240127003607.501086-2-andre.draszik@linaro.org> From: Sam Protsenko Date: Fri, 26 Jan 2024 21:06:43 -0600 Message-ID: Subject: Re: [PATCH 1/5] clk: samsung: gs101: gpio_peric0_pclk needs to be kept on To: =?UTF-8?Q?Andr=C3=A9_Draszik?= Cc: peter.griffin@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com, tudor.ambarus@linaro.org, willmcvicker@google.com, alim.akhtar@samsung.com, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, mturquette@baylibre.com, sboyd@kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jan 26, 2024 at 6:37=E2=80=AFPM Andr=C3=A9 Draszik wrote: > > This pclk clock is required any time we access the pinctrl registers of > this block. > > Since pinctrl-samsung doesn't support a clock at the moment, we just > keep the kernel from disabling it at boot, until we have an update for > pinctrl-samsung to handle this required clock, at which point we'll be > able to drop the flag again. > > Fixes: 893f133a040b ("clk: samsung: gs101: add support for cmu_peric0") > Signed-off-by: Andr=C3=A9 Draszik > --- Reviewed-by: Sam Protsenko > drivers/clk/samsung/clk-gs101.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/samsung/clk-gs101.c b/drivers/clk/samsung/clk-gs= 101.c > index 4a0520e825b6..61bb0dcf84ee 100644 > --- a/drivers/clk/samsung/clk-gs101.c > +++ b/drivers/clk/samsung/clk-gs101.c > @@ -2848,7 +2848,7 @@ static const struct samsung_gate_clock peric0_gate_= clks[] __initconst =3D { > GATE(CLK_GOUT_PERIC0_GPIO_PERIC0_PCLK, > "gout_peric0_gpio_peric0_pclk", "mout_peric0_bus_user", > CLK_CON_GAT_GOUT_BLK_PERIC0_UID_GPIO_PERIC0_IPCLKPORT_PCLK, > - 21, 0, 0), > + 21, CLK_IGNORE_UNUSED, 0), > /* Disabling this clock makes the system hang. Mark the clock as = critical. */ > GATE(CLK_GOUT_PERIC0_LHM_AXI_P_PERIC0_I_CLK, > "gout_peric0_lhm_axi_p_peric0_i_clk", "mout_peric0_bus_user"= , > -- > 2.43.0.429.g432eaa2c6b-goog >