Message ID | 20240130093812.1746512-2-andre.draszik@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-44270-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1102163dyb; Tue, 30 Jan 2024 01:39:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4DLiJvGUmo1fSNd3VG3zjULAVaHSQUj/7D0C0BcMbJef2uv5VkRvrpWzrTDL8lqGRLg+e X-Received: by 2002:a05:622a:34e:b0:42a:b13d:765d with SMTP id r14-20020a05622a034e00b0042ab13d765dmr2390806qtw.84.1706607579329; Tue, 30 Jan 2024 01:39:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706607579; cv=pass; d=google.com; s=arc-20160816; b=McGfLy/rKziohwajeTac8i26JwWEkVHVjMm08iBdWIuGBNedSqzVygLiUcZWm0Mtp7 tdx4EmK4Gq3EC6U+0KTnFNycSp4UayjgDv45D0UWyzAA0fEmUkoTo2DWIGP5I60xjRKO E9OJ+n6v2kp2+h7Ui37fl3cHxBG0oBUiJuo43T1zfr3U0bDyVLhJWnibjrxDb3/xoL4q /ud/+tWf9ayL0UzsQwqdwQS04oepH/fZJKK5qRfsCTgiHWT7liKuIEvc2oyz/fCfSn/U I1c/N1nXzE2GE2F2rzbzccdwCmt0ci5DRQidbn1FTSfXzT9bCn77vUcV3D5vB2fJIy6O WooA== 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=Z705+SHTSj/VSK3FgDpPeHNjW30UFZiT02gadyZNGK8=; fh=ZGadyDwCU5WVzEodYWwk1qgDGMzZjqeJjHUADzctJAI=; b=dRcUnayPeOtGFbjv1A3Hgy1jJjpq+Qfi+tGar6s69xPMdhtlSapVSrK40iTVpkWh6P ApYs+Oogsf+JjU0lUhVFdxrcQorW4wi5LFUiujN3goPsGUJCY2pkewRN84SajreNpwaX 6r9EEdB1MxrVqspTiBMcmAg6r4ImVttgZk57NpLGOSYx6XkM7T610xp3ozoWHCEHeMoj 6Ml45Ei6zeHQqWnH2BSgVdbky02H6qLaD9wvKeXOuIRP2wEMqyHwIeC1ivOMf+NiamhL lwEjd5bhZ8/11vUvmZeMA/NkGotACxp/z2FfzlloATJCOppI1U+LE6jj5zKQrNW/mngA DRXQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nFfKRWJb; 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-44270-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44270-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x17-20020ac85f11000000b0042a9547696asi6713017qta.702.2024.01.30.01.39.39 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 01:39:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44270-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nFfKRWJb; 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-44270-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44270-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 161F01C23FC1 for <ouuuleilei@gmail.com>; Tue, 30 Jan 2024 09:39:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6DD2C66B2F; Tue, 30 Jan 2024 09:38:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nFfKRWJb" Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 60473605B4 for <linux-kernel@vger.kernel.org>; Tue, 30 Jan 2024 09:38:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706607511; cv=none; b=Gz1EC2YQHzsvEda+ifphHtMhtrayJZv1nDmea2d0b05sqeZGprNzIJxV4A5/V6RTtvq0TpgCwzXcLMQ0+cidOTC4VyocUGkipa5+Nm8jKTk8tPLAPH2xKXUQkHaN7mwDIMoJ3kBVeELBQNzaQbSdRLZIDOCjGbfRuiFLhXbwR18= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706607511; c=relaxed/simple; bh=58eLDdc3Mi5y5crU5alxkaqtGm0JqjwC9iMw45+tlD4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pL2Px0t0V5h0iL7Le3oPAGjPjMPAq2z7JM2LvNhg1zRcSVakEMw4wyzRctZ9Lme69h3p8RoveLgsHYTL+HnIk6xOEB/ZzSntEcKKEZTReVtUsvmegFCcL2gS7yF6lSdrFOnztAza/fFxHSrbgVjJZbxjr2aZM+KnQ0Hqw2wzd4A= 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=nFfKRWJb; arc=none smtp.client-ip=209.85.208.53 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-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-55eed368b0bso3880556a12.0 for <linux-kernel@vger.kernel.org>; Tue, 30 Jan 2024 01:38:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706607507; x=1707212307; 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=Z705+SHTSj/VSK3FgDpPeHNjW30UFZiT02gadyZNGK8=; b=nFfKRWJbKgxLWhyUsWV+vSCliacQLQKzi3PAF6Nc8c06DSl8ybFhmKJ47pW11FjBs5 DlaRppflSwrb4LZizsvW+yTFdXtvRnFBI/B+XdaiM/PnXwnu8csCOxbbC7vEL9JSUBLT VNmyevGRClVCGqgZ/ZSTylIQknWEzZ/+G1rkPKIv4EC++KTjUiX0+xcv1eJBX/qmC2jv pWnJh0BoAD4D/PQHyQG8FDKWHk2/Rdts4Msc8zaxPV/g7rNUIbpg4qB00dwlhyf0vKwg iOCbHmvR7IxdIIgH+kmFbj3QBx3HGjBNtvqKpajNoGZK+LrIAIDVkpXoNyivINKN7/Hj ZiUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706607507; x=1707212307; 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=Z705+SHTSj/VSK3FgDpPeHNjW30UFZiT02gadyZNGK8=; b=e7yoTyfGGwW8GiOGyVy97Eivkw63lchIGgSPVF5oH55rckt3FpgBIhjgNXZABBFUio of5PfEMV/kVYSNcAGSe0ADx7Rr20C4gpYCJv7UI2v+11eZjGofKDr9i67KHNE1Lvhl2j 5BzLawr3zsbGkktz0+KtQXffiIeVoT+LEV+TzVWEZjlzGvueuoG3PKB7d9mSPJSgFNLb 5q7/PakU8MKvuHRDvUhdNv4XiB4fW0gXTSwD/nN2fXcc9R7yyQ3Zr0taCXWnTKJlUXoN pbAmLNH56ZhN7RriZ4d/zp+H9lK1rGBR63Ij9cRufK9BsHrMmhknpV1ZcEQY9ME8aU6w jqLQ== X-Gm-Message-State: AOJu0YwZmSijCIUJjZNTxAu437VDc3tRgVWdzx6cngw3cTIhy2CtGRQd 109IstvuFr4Qp3Kok3qZpRLcRcEhnCD+GwWDeurfFIopw1OMFiIweCmZsPJ6zZA= X-Received: by 2002:a05:6402:2054:b0:55f:18fa:eb59 with SMTP id bc20-20020a056402205400b0055f18faeb59mr938270edb.16.1706607507526; Tue, 30 Jan 2024 01:38:27 -0800 (PST) Received: from puffmais.c.googlers.com.com (94.189.141.34.bc.googleusercontent.com. [34.141.189.94]) by smtp.gmail.com with ESMTPSA id q10-20020aa7cc0a000000b0055ef56f4575sm2281225edt.39.2024.01.30.01.38.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 01:38:27 -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, =?utf-8?q?Andr=C3=A9?= =?utf-8?q?_Draszik?= <andre.draszik@linaro.org> Subject: [PATCH v2 1/6] clk: samsung: gs101: gpio_peric0_pclk needs to be kept on Date: Tue, 30 Jan 2024 09:36:40 +0000 Message-ID: <20240130093812.1746512-2-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240130093812.1746512-1-andre.draszik@linaro.org> References: <20240130093812.1746512-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: 1789507749349446109 X-GMAIL-MSGID: 1789507749349446109 |
Series |
gs101 oriole: peripheral block 0 (peric0) fixes
|
|
Commit Message
André Draszik
Jan. 30, 2024, 9:36 a.m. UTC
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é Draszik <andre.draszik@linaro.org> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Peter Griffin <peter.griffin@linaro.org> --- v2: collect Reviewed-by: tags --- drivers/clk/samsung/clk-gs101.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 30/01/2024 10:36, André 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") Dropped fixes tag. The driver looks correct, it's pinctrl issue. I really dislike how these patches are inter-mixed with DTS. Makes applying difficult and confuses about dependencies. I assume there are no dependencies here. I am repeating this and repeating, but in future I will just reject the patches: Your DTS and driver changes cannot depend on each other for new feature submissions. Best regards, Krzysztof
On Tue, 30 Jan 2024 09:36:40 +0000, André 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. > > [...] Applied, thanks! [1/6] clk: samsung: gs101: gpio_peric0_pclk needs to be kept on https://git.kernel.org/krzk/linux/c/8a96d2701f7c794e45102a9cc7fc4a5c4951e699 Best regards,
diff --git a/drivers/clk/samsung/clk-gs101.c b/drivers/clk/samsung/clk-gs101.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 = { 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",