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: =?utf-8?q?K=C3=B6ry_Maincent?= X-Patchwork-Id: 20395 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2743183wru; Tue, 15 Nov 2022 05:59:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf4HeTmgCe0rU9/hp8aQgVYijMbjlSQ5qVNUn9AA+KKp5UMRXELdcJreubRXTsEeflWTPL8J X-Received: by 2002:a17:902:d4d2:b0:186:5f86:da41 with SMTP id o18-20020a170902d4d200b001865f86da41mr4265820plg.73.1668520797007; Tue, 15 Nov 2022 05:59:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668520797; cv=none; d=google.com; s=arc-20160816; b=FLn619EGLD5a89HSPaZ7/E1afXliV6p+oTVAVSSfwl76iJLN/WirKDmR21n2+mzQl0 F7wHxlA5r62uGakFvLlx0YK+Myv4oSgxPvLsqMiEGKGR86gaipG+AFMFbUIr+9wxH+La O5v/PmqBuBQZHoeZRMjxzHnqEW1K3VfJq8qUJbJ+E72mxvxjxB7rSMinSI6KodBImTXc 5hage+SFU3Bwz19Qed1sWKwSSrebHt9qMGn90WIKa7I1+jOegpoe4nwDWxTPhWC9Chd8 iPmeEic8NVsx+5dlJSimzr0kQt0TpVIHuEtL7MbmCz/DQ37pBj7qLAnLwGf89a965Ypd uS1g== 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=C2xVfnlmooK7Qg1BmLHoWVwjVfzC1dVIJEO1AD5E1VU=; b=uXYESHt7tWr0L+cydue73BWHcSXfe+PmclYzxHE6w+IGFxfxVHTr+8EtDCAVzKazfm jYh+AlFkF56WOEm9FOzTsWfLyfofqhFEbZPR0soivnjyZ0NFWaOtBWna4Wz2pScmhvGB TKzSeFX50fDtEpfhJmznVs4Q55OwckE6G5FDNd1t/DxWktcKkN3wxWAmIdGjJ/qW/AgA 0QxhDuMYFdpX8ZBGOSN0tBWcd94RD9Dar+JDzk5jDyHaKSdQU4hHkWb9+OFLuWvsDWDy q/3LwtJY7EDsqPmk+cgORHS4EIkRI3r4uzjDMsmsGIqjVGr4NwSFcKlzA/pwGUy86OLR EX4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FNKVsKjg; 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 h22-20020a056a00231600b0056be3585c3asi13270302pfh.266.2022.11.15.05.59.40; Tue, 15 Nov 2022 05:59:56 -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=FNKVsKjg; 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 S231134AbiKON6e (ORCPT + 99 others); Tue, 15 Nov 2022 08:58:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230393AbiKON61 (ORCPT ); Tue, 15 Nov 2022 08:58:27 -0500 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::225]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E839399; Tue, 15 Nov 2022 05:58:24 -0800 (PST) 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-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?1749570863009855668?= X-GMAIL-MSGID: =?utf-8?q?1749570863009855668?= 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"); }