From patchwork Wed Oct 19 13:32:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kory Maincent X-Patchwork-Id: 13011761 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 49A8EC433FE for ; Wed, 19 Oct 2022 13:33:44 +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=Yr55n/wChNlu/75Z2jPvclyR2zhBKokNCnSdQ++X65s=; b=pUEBP2PFWuttrP DO3H/h7BBQyzi4yHSGlL87n+bYUcFfXCnXV8aJ3FgtViP7vKz/v56BeIqn3WYhvHGtwg989LSCVfo PskFj/mHjgjPfkXZaqMTRL8lpmvdqtVpdy2HMhyGAA/dvSyWIQ2e/vV/NvIl/Z/Bw3VU0KB2E302i yDviEsX4RbckikVgJ4hf7g6rtffvER/qkbU8pDHLMwcVez/6hSXIa2E7msKs0PM4R3X0hqhb/eRHu LvFOg9Y+93O3NrmGQtOeTnspyBFn1py09rZONK0Lz7lMK+w/8whtGDrcDsE1T/JpUIu+dOZPHux2w 4KK0dbh+NzsAVPvaPWvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ol9Bh-00290G-NZ; Wed, 19 Oct 2022 13:32:49 +0000 Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ol9BF-0028rx-NP for linux-arm-kernel@lists.infradead.org; Wed, 19 Oct 2022 13:32:23 +0000 Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id C4C70E0002; Wed, 19 Oct 2022 13:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1666186340; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PNevX7Gw1xrDZvzmJ6+jrL3rUSR/hzQIzfoZ7oOdAgA=; b=IEjy2/p2jMCGD899pJlMWlxsbTXTJGzNi2Qkh7QpqyRu07FseRrGy/mnynOyLVOqA7GVv/ gRIuUJN5RhQvkfPtxcEd/+xhCs+aggLIsl9et7Gzym8RSbbWVwpMhkLUglN7cz+xF8LDGX IUtqr88iYmP5RQ2bdphzPAkiAu6/79gY8UeIqhHRAVuimlgdCgnD262+qIgBbZL8InbAlR zsQnnHhw6QzLSGDhI9qbYeLKONUQvnh5caocO8/a4FPmXHycZ/1LVU/xsNkXg4PP5rgraD UD8JFYp78p4pl/TiEFnu2O/I15xAzu09/kNz7bHVgtYdP5/n1/CyLzi3WCcmow== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: thomas.petazzoni@bootlin.com, Kory Maincent , Viresh Kumar , Shiraz Hashim , soc@kernel.org, Michael Turquette , Stephen Boyd Subject: [PATCH 4/6] clk: spear: Fix CLCD clock definition on SPEAr600 Date: Wed, 19 Oct 2022 15:32:06 +0200 Message-Id: <20221019133208.319626-5-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019133208.319626-1-kory.maincent@bootlin.com> References: <20221019133208.319626-1-kory.maincent@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221019_063221_918379_E5941A48 X-CRM114-Status: GOOD ( 10.87 ) 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 From: Kory Maincent There is no SPEAr600 device named "clcd". Instead, the description of the CLCD (color liquid crystal display controller) name is "fc200000.clcd", so we should associate the CLCD gateable clock to this device name. Signed-off-by: Kory Maincent Acked-by: Viresh Kumar --- drivers/clk/spear/spear6xx_clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c index c192a9141b86..ee0ed89f2954 100644 --- a/drivers/clk/spear/spear6xx_clock.c +++ b/drivers/clk/spear/spear6xx_clock.c @@ -207,7 +207,7 @@ void __init spear6xx_clk_init(void __iomem *misc_base) clk = clk_register_gate(NULL, "clcd_clk", "clcd_mclk", 0, PERIP1_CLK_ENB, CLCD_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "clcd"); + clk_register_clkdev(clk, NULL, "fc200000.clcd"); /* gpt clocks */ clk = clk_register_gpt("gpt0_1_syn_clk", "pll1_clk", 0, PRSC0_CLK_CFG,