From patchwork Tue Nov 15 13:58:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?K=C3=B6ry_Maincent?= X-Patchwork-Id: 20394 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2743048wru; Tue, 15 Nov 2022 05:59:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf5l4imelJjzqRJSoIv1mnHg3JFE/d1DH0C+jZihHCux8g9uZrTJ2ykYprEKRJH2WkHG/uKq X-Received: by 2002:a17:902:bb8a:b0:17f:7f42:aa25 with SMTP id m10-20020a170902bb8a00b0017f7f42aa25mr4369642pls.51.1668520784148; Tue, 15 Nov 2022 05:59:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668520784; cv=none; d=google.com; s=arc-20160816; b=MIY/F3xYffRusG8gvBlKNqjLUItNSj/OY8X5lsCXGbqBTpjS1Ay7UM0LgBXrGOXdZ3 +cZsBPPUM/8efYSXAgz5vLgEZcM9nWWJHLRyx6Saw88HDrrGj2PShlwTPwjrMFxlnB9T LVN6Eef84EUQFf6/Cf2QPQ9oOAUvcuC9G2CbjrGCEVS9NVV9Q8GcgG1dbg2dNEx9FCL3 wOcZUcTDZpCOSHSKS5Si603ZKsCULBL5A0x73dA8IJIuAKUTGQ0IPERMF+mOsSNm2Weh ObY7/ivxYaL9Aidgjj59jmvCs7Q667Io+vF0LDEse4o33jI2GnnNdlL30pT1KpNm95Nr +WPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lLraTOre/NKFIPvF9c2t40s43oz6eKUAFvet+eTCKV0=; b=RkQUjz3GMy0jEtv8rO+efATmNC5hg4DAdyqUx/qWbVg59fJcdoxUQotEVN9L6Zlhnd lfrzmYyoSJTZsAgcpySdLbwNp9crzxabdDfBMisxTXl6OO633ObQbQRjjqRZK+hUlMYk JBKzYMvF4ZlC8k+QgFja7f5ekGsVP6AcHX5jYL4L7DBKzkoMGBRn207TSl90BLZ5Jh5v UVU6TCLkMNv1xlV+CDQdZTW7BZicXbL0Q9o0Fx0jIpPqjBdO5oosDvEw6wCn6IAnxFSU KAXXYQE75Chg4dr3vFk0dziEK9LeHQd0Yw2tHQ/M9sgSEJ1g5RmxEpL1jxxvRtuKdIIm C7Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=lr2SL03A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a170902b60f00b001768a29b9dfsi11387718pls.68.2022.11.15.05.59.21; Tue, 15 Nov 2022 05:59:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=lr2SL03A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231189AbiKON62 (ORCPT + 99 others); Tue, 15 Nov 2022 08:58:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230172AbiKON6Z (ORCPT ); Tue, 15 Nov 2022 08:58:25 -0500 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 088601039; Tue, 15 Nov 2022 05:58:22 -0800 (PST) Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id D57C11C0013; Tue, 15 Nov 2022 13:58:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1668520701; 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=lLraTOre/NKFIPvF9c2t40s43oz6eKUAFvet+eTCKV0=; b=lr2SL03AiQTqqxTediJvKHEmQwt+GeyJHNy8aCsGyzy8WxrU6buS/k0oCJTk2rP13t6w9I NzcRDCRhGA3D1geqLfPUtNs5vNvdHMGPrIPLofZwEKktUVaiYOcuixJgpCNW00hX568IMI FOUPPslC/JXj7+tAMFkouP7yZIATazPLnZKp3bOTP6V4on+JuTe3c8NgC/otB+CqqQfCi7 ok9X4ZGlZTxa+3Lj8xhWZZvv+LJyP4T6dda+alXpv04C0nJ+IiHVFzXU8HSej8xpwHgDWE 5EI2ybsEDuf9SR6M/Tiw9NskGp4+LiP4KPBXGe9etb15nngkHS0QqCwlL/b1XA== From: =?utf-8?q?K=C3=B6ry_Maincent?= To: Michael Turquette , Stephen Boyd , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Arnd Bergmann , Kory Maincent , Viresh Kumar , thomas.petazzoni@bootlin.com, Viresh Kumar , Shiraz Hashim , soc@kernel.org Subject: [PATCH v3 1/2] clk: spear: Fix CLCD clock definition on SPEAr600 Date: Tue, 15 Nov 2022 14:58:12 +0100 Message-Id: <20221115135814.214388-2-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221115135814.214388-1-kory.maincent@bootlin.com> References: <20221115135814.214388-1-kory.maincent@bootlin.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749570849481555720?= X-GMAIL-MSGID: =?utf-8?q?1749570849481555720?= 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,