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: Kory Maincent X-Patchwork-Id: 13043748 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 A5C6DC4332F for ; Tue, 15 Nov 2022 13:59: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=Y2QNkTsjk3m+xEc5zuWBsF967B+TKUF6lOrzHPVuU8A=; b=THj/grapSfly+4 N7HnLm0c+c2dcdgLtPoGQj4HrV5cwvRNzN8zE1wYqmnPM9x8PwlgrQbAfRAKGV/perfw4nTwCpyTN ak2WnppSVwicld56GBf3i0nItqAAIxNjo5i0xiZNEsB9+i7ByySPNIfY1dwNZrjdQ8Or/9N3EODGZ O8v3uYwUXzNOZIAGkxSeYIAt2ZoWrGUe87PCY1JdUKUtjO93cGTKxIB/T1AJoE4xxCP9Mr4kb+9ux xU2svHXg0Vpcz3cVk0Z2ihuF7Pnjj4tmLw5Psv3sJbyLcfTpWLzl101CLZm3u01sJGF3WLtlfZ1yN ndDha3P/DxY7I2Bz3B+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouwSc-00Bhby-U7; Tue, 15 Nov 2022 13:58:47 +0000 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouwSH-00Bh9x-Lv for linux-arm-kernel@lists.infradead.org; Tue, 15 Nov 2022 13:58:28 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221115_055825_932349_B6A08E9E X-CRM114-Status: GOOD ( 11.31 ) 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, From patchwork Tue Nov 15 13:58:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kory Maincent X-Patchwork-Id: 13043747 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 4C434C4332F for ; Tue, 15 Nov 2022 13:59:35 +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=ulbs/sQ+UXZKVIUYaVkPaNPZaZyRtC8f/Y/XEaXHAn0=; b=dNHhAsz9VqNRr+ CGzyT6tDa6/Ml6GwuKco/nwD9FfrfxTW3P4rTCQkI3uRlOuTAaY1wdMxpIkoODkUNh9E6nzn+8I3b BzhunE+fENkcGARAnje01UZrgzoDmOcnbsxJIMOXVI7XC4dK2qY2wzPBYizaG7kNK8UQiMdOQOt57 /pqZDJiXh9LtyQNoY/xzmUtPYOVAwTz73QX2Ow9Q4mnVlPCM4tEPYRqZPg3q60uALC6pIaTQgv3NM H2EVSXwzFeQbS9gZLfnjUBvWeKeWFdu4TEGnDOGHQhdKB8LeaoR2olN0gKzXJ9z0pmcDCR1g53YSm 6RHbe/BbbZbTcnBHII1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouwSU-00BhVq-DH; Tue, 15 Nov 2022 13:58:38 +0000 Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouwSH-00BhAH-Fw for linux-arm-kernel@lists.infradead.org; Tue, 15 Nov 2022 13:58:28 +0000 Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 4A2AD1C0014; Tue, 15 Nov 2022 13:58:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1668520703; 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=C2xVfnlmooK7Qg1BmLHoWVwjVfzC1dVIJEO1AD5E1VU=; b=FNKVsKjgQzR8g1b6dlfOcwb0WiId/4yqMgDzJut3rJM4x6yG2FgJMm6ID4pfDnE3a7j+f8 Rrfb5yvkFPSuUm6yGwS6JrYvI/y9Om4Wq16mEqJYuH+UoOR9t3Kh9k4ptNRzgM7g1NUJr3 FSaFdyPUt5WinN2eOoRaym8fOUUtsPpGheeXTtQqIkDDHqQF5EOxwSFDy4dsvLD+vxpXEc sY+E3yi+J5GZO5eBCufzgnjSmpNoYxZfddQZBvIIUkI8lhty5r6yKHXj73DfIZ/mNwB8oG 3yUBaR63Unc7skLNPFI5ky+CONAXqo16GOSJf1k7fdFZTKBOY0MOGgW6qu2jsQ== 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 2/2] clk: spear: Fix SSP clock definition on SPEAr600 Date: Tue, 15 Nov 2022 14:58:13 +0100 Message-Id: <20221115135814.214388-3-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221115_055825_844877_9882F81F X-CRM114-Status: GOOD ( 11.09 ) 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 "ssp-pl022.x". Instead, the description of the SSP (Synchronous Serial Port) was recently added to the Device Tree, and the device name is "xxx.spi", so we should associate the SSP gateable clock to these device names. Signed-off-by: Kory Maincent Acked-by: Viresh Kumar --- drivers/clk/spear/spear6xx_clock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c index ee0ed89f2954..adfa118520c3 100644 --- a/drivers/clk/spear/spear6xx_clock.c +++ b/drivers/clk/spear/spear6xx_clock.c @@ -326,13 +326,13 @@ void __init spear6xx_clk_init(void __iomem *misc_base) clk = clk_register_gate(NULL, "ssp0_clk", "apb_clk", 0, PERIP1_CLK_ENB, SSP0_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "ssp-pl022.0"); + clk_register_clkdev(clk, NULL, "d0100000.spi"); clk = clk_register_gate(NULL, "ssp1_clk", "apb_clk", 0, PERIP1_CLK_ENB, SSP1_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "ssp-pl022.1"); + clk_register_clkdev(clk, NULL, "d0180000.spi"); clk = clk_register_gate(NULL, "ssp2_clk", "apb_clk", 0, PERIP1_CLK_ENB, SSP2_CLK_ENB, 0, &_lock); - clk_register_clkdev(clk, NULL, "ssp-pl022.2"); + clk_register_clkdev(clk, NULL, "d8180000.spi"); }