From patchwork Sat Jan 27 00:35:50 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: 13533846 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 DFF78C48285 for ; Sat, 27 Jan 2024 00:37:27 +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=h4Flvk4GqgnATT2GBzcwG0dDc92eAaC2wshXLT5kRu8=; b=zxA4AoqDmHB91W Yav0S50vW22IQNeNEEpWjk2cCeA1tRLjaxV51e+TIIhjzG8M9DPcodQyKK87R8ZoSlceN0g7f4RSx CMK/PoCXFjrvp25BbzO2+oiY2krzVKM53YwUBJjMP4vfMB5Zk6FEyVXLIRYjRRgBLGkJkVIzJGV1l lNAwOi9rjXGB8xlQTXSdR9mfQ1sLysb5i4YwI4jCMOuUOeznyeOZEPhMiNPdrcVsOBKMnzg1Qm3S5 O+6N1wrgRz+WeDqoYrRGHn6jBMSvN1izGj1/jCfjLqxLzsJ5ZX9H6zJcITUXgR+vQnvdKHvfdnc71 mi2M62rz013w1dWkJIDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTWhA-00000005zDz-2fvv; Sat, 27 Jan 2024 00:37:16 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTWh1-00000005zB5-2yi2 for linux-arm-kernel@lists.infradead.org; Sat, 27 Jan 2024 00:37:08 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40e86a9fc4bso17069385e9.2 for ; Fri, 26 Jan 2024 16:37:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706315825; x=1706920625; 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=RTtyOoMvI5/Gh43pPNKlry47E9NXmSJ8tqA/H0tsxRY=; b=dhvloHFN2fi7vO/PDowIGRmYOqOHL3gZ7vm206c0mBC34I8VyYI++hLSyJ8EM7Fn5a WT41x2zVYAX59C+bESoYSDPN5q2p8A8uPSw4VCjDGBtYBdhV36NA8Z/qJhX9EzHlRro1 NSocc7yvEs+7wCmYlcxfYoLpo7vgruUJE831GAgxj1fsCZkV/549nsaKUMZG7y2tF/cf vK/RwAknmVlrf+2YRBs8zXUe2L0PJNi/3tXS0LSSWkFadCLRphHxd1AFb3IlIUARuGk7 MuP+Dp+eiKMWN/RLqAFq1c9uhBDLEPHrthwMsW1PnCu+SjZLuFO+v93vp5VvDUeY8v0z NEzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706315825; x=1706920625; 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=RTtyOoMvI5/Gh43pPNKlry47E9NXmSJ8tqA/H0tsxRY=; b=MfbK4mv7WVef+5xmA1vToDCCVUo/rlaK0Gxgx2+RjOLKulP+eo2m5oQ7YPiwmI5bWT 9tR6NKWTReWOXL46dRaSIPJLOWFtTrzv1j3fYHkSbUSoJW7Tystf5/ilTXEOUxWjVdtP 7HhbJpU7o8zUC2eIIdxNJiaLDKEBibjH1w8LbqpS+ofIoAPMFjWQqoJD1FvTTFJQfgWP kwbQztke8daQQJfvEY6aZdT2WI8Y7c2qS0JVkSDcdtnrrf6bW90NX6qPKZstkutkNhZg LTXWHcee+v5vK+an67tYtacNJsXfssABqjrFVH1KQyYvPwzuRd6fDFOSWzH7MGlOTNCG s6gQ== X-Gm-Message-State: AOJu0YyOCNyOr+75hNPtT1AXeq7s/xW+WM+1Ys0tylOVSFKjsmtvjcFJ TgchwvXb4dTBvZ2lPlvYzyOAB49Vx9LMxa+ddGdei0U2zlekQtwnmj6P9Ecxh34= X-Google-Smtp-Source: AGHT+IEqhBCkPxBNM5yN/bsGN5bmEvcY2rByUECx6W6OGKyFKLAR68SPfXkpZIRtnmsO6KTR1r2mtA== X-Received: by 2002:a05:600c:a03:b0:40e:b107:9e16 with SMTP id z3-20020a05600c0a0300b0040eb1079e16mr394989wmp.230.1706315825219; Fri, 26 Jan 2024 16:37:05 -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 vi1-20020a170907d40100b00a2f48a43c3esm1152235ejc.7.2024.01.26.16.37.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 16:37:04 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= To: peter.griffin@linaro.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, 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 Subject: [PATCH 1/5] clk: samsung: gs101: gpio_peric0_pclk needs to be kept on Date: Sat, 27 Jan 2024 00:35:50 +0000 Message-ID: <20240127003607.501086-2-andre.draszik@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240127003607.501086-1-andre.draszik@linaro.org> References: <20240127003607.501086-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-20240126_163707_800527_E1578B63 X-CRM114-Status: GOOD ( 13.39 ) 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 --- 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",