From patchwork Tue Jan 30 09:36:40 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: 13537094 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 14A90C46CD2 for ; Tue, 30 Jan 2024 09:38:51 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5oRt8258DkiBYMAMBz+PLZaJ6R1KFr8nLCfkibAPwWQ=; b=bOv2LfSDUeOiqy bW//DzeSErWguVcgjgRWPLH2WPyqzQgJL+bndU03wSw56nsmGrELgvU/Ndvyy732pMfIJ3w44WKgg xVCdKAKJYoWoGFp7vV92EaQKWXOz3QOXzM6rSF05NW+FW5Ihid7rLB2bYF3OAPKh6JhKVd42UHk0L PuYH0ColbBOcG9rG7O/htv5JGMGyPnM2lP4rKlrI2K7El/PhFoTNNARvFQar2nO3dU3QfLzdyxgLA 3R9TEhtlHWOjK0/kQwXyoVvZ0FU2W8xq3PttTtkA6qKa+y6CzLY4+VQ2T6cbY5cr1fVk5VcgRHZBc C+vA5DX8uKkKM6I45OEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUkZl-0000000FyKl-466q; Tue, 30 Jan 2024 09:38:41 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUkZZ-0000000FyCr-1OYX for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2024 09:38:30 +0000 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-55a9008c185so6483765a12.1 for ; Tue, 30 Jan 2024 01:38:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706607507; x=1707212307; darn=lists.infradead.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=ltrV8Ti3dwYmveD5f2u07+SCNxZ7da+bSXh5P1r/aNbYpKoPdMOiFwi0k4MPJtweZR QbOV6r+Tpy2lcpuBnzlHtbRtqB+vneAnjP95yHCncGhygNRR4QAGwy46BeQD6G03zE28 JLfgfQS0davkyScu/SrON09jQ1ER+188F5pGAlwMYkBIhfDd5c7as/QRlPpgBV32cMSb IUWnjOP98LgC58qgyNbTtVrd6DjP94YsZp9RSjWbtVE8cPTWKDHyYYa7FRrGyVAYkFZd GOOc6kV/A3/fAuB86KTcTHu93AbQks8wawOQODTIMkIbSXhg5EWmn+ITU0UdLf2hRfv9 pR9A== 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=qTxcTSUazZEKi6ZVQP+AuLbyKFhdkGMdhudZjIrScKqSPdquXByy6U+LX1O6ce2k/L 1MW6qlVUqDIFKG544fPL0CC6zyKMZYWeF+ouLgUGKMcfO6vjpgyBmlliSEKPWtgrD8GT PIZ+3Xsw7VqosN1ToOPhW+5nM0oAAOzqk8hYZaELag/wmJ/NrkNQBXlvh6Fpjb5miLKm tfL6jRM3anL8Y8Y4Ab6lOUUkNqExPbIXQK1tIGTqdAJzpbDSpAjTjVHTBErxHyQRgCFH sYCdIoJTgwltjUBfzX0ghLaCC8WnuWeHh6YKEhsMCBUoZFtR2IwsyVhoOheKNupu6hPD ReTg== X-Gm-Message-State: AOJu0YyGJwd9yFcgMch/qdL51rgbqDb1clu1UtkuRvtujEFzsxGtYbPp iBCpH3/kcmOIg38V4Vcj8XrrNQnJtdBteeP/jhKmMxMJsEK8cww/wleTn68gxv8= X-Google-Smtp-Source: AGHT+IFi7R6rGOIyVBaQx5RvUZ9n04l0vwkfwKqczrdhe8L2eBuu/DQhZhkDLCMWnDTWBH6N8cffeA== 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?= 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?= 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240130_013829_391997_F440E5D2 X-CRM114-Status: GOOD ( 14.15 ) 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 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 Reviewed-by: Sam Protsenko Reviewed-by: Tudor Ambarus Reviewed-by: Peter Griffin --- v2: collect Reviewed-by: tags --- 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-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",