Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp154263rwi; Wed, 2 Nov 2022 10:20:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM74oZMHkLIBkKGIf3mNHPhJPK2ho7/HXan+9brCzq8usMHxCESDjiZ6b4wwo+dePub2rKUK X-Received: by 2002:a17:906:dac3:b0:780:a242:2f14 with SMTP id xi3-20020a170906dac300b00780a2422f14mr24301719ejb.668.1667409604017; Wed, 02 Nov 2022 10:20:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667409604; cv=none; d=google.com; s=arc-20160816; b=LX/SidP5LCybN/MXEsZOvd9DPcXQywd9bFjBE+Z61C3kPMQOCaP8gY1/UM7PjnM2ym 23ycpOG6ER35++5hWt93m1aVwW6dy17Ak/YVxUMvnJ9cJNTiMp0FwXoIzGVcThL0eQ8B SZile27h+aSlulIrJDo5U6JY4VZWhlhWzBkvG9W6m1QRDTMex1pRUAtEYizh0gSGlqbh L0I3u9Jx+Lqjj58hrlyfXXUwnVj3d8sdBIKZcSmBgC64oeowEWDSne1jAEAOys2q6Tir o6RoeTX/0aNL+wkSqZ+5nbfd4/hCULkIOH74ThZPkyGLlcQzaRIuU2rN+JNt4R3JJaGt pZSA== 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=BCOzB9D8I2motz293TNHt8IBumtbZKY3M0IJXZJrjyDeAsikONo3oMUy7zwIJk15PE hSosdRoJ6jz2uXqKFQCh5KJCH/yxn/65huL6qUklPnh0gdjm0puGcv0gdAc72yJSHuYf wA2uWoYU39CgWm9oMwmi6vQliAEe4MPqgBtwXX3jNsbuaeN9/2N6NOTnXYEykAo8icuE Ux4rhQZ0l5V2a+vT3Zkno6eW3hCaBw7WH1Or9CcMpWF6enP/1d2exGoydn/XozlmSwLI /40Qqpe5Z1aCqBgBw5InhlILW+1x9jbb2RPo7uzfRsIHZVPsZrp43cFgV8KRb6114yZe fxEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FwF9YkUV; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b20-20020a056402351400b00461d28ac266si352123edd.579.2022.11.02.10.19.38; Wed, 02 Nov 2022 10:20:04 -0700 (PDT) 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=FwF9YkUV; 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 S230045AbiKBRLr (ORCPT + 98 others); Wed, 2 Nov 2022 13:11:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231255AbiKBRLF (ORCPT ); Wed, 2 Nov 2022 13:11:05 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4056E17E38; Wed, 2 Nov 2022 10:11:04 -0700 (PDT) Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 957D3100009; Wed, 2 Nov 2022 17:10:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667409063; 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=FwF9YkUVYzUrCoshasYZIRNKboNo6j1i0R4ypo9aBEDT5lyrnQWloO6wdIb3IXD9Hc0KGA bLyFCSbR9kqnEUDp2so6a7Pxk/ablv5ycwC91CsTv+Vh5mpBxPfC/hx4QRMi6sy5ZtR9hB AZMqkdZAdt/N6zVYqACerzJvn8yxIke3Ou+HN9V38aAv6MDbkfJtqulndK4Ib1xwE2Z6x6 R7lYDSFPvQU/SPcZQAb7hv1fP1qvDWzYZDT2W2G32zNyUyZm8WoaiaVQx5Heas1TB5NXr4 358zV1riX4xRPxQr82Jag2b6IEUy8q6hB6/vPA8gd93Db4f1mQKmHiAXe/0+/w== From: =?UTF-8?q?K=C3=B6ry=20Maincent?= To: viresh.kumar@linaro.org, Bhavna Yadav , Vijay Kumar Mishra , Rajeev Kumar , Deepak Sikri , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Cc: Kory Maincent , thomas.petazzoni@bootlin.com, Viresh Kumar , Shiraz Hashim , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Russell King , Michael Turquette , Stephen Boyd , Arnd Bergmann , Sudeep Holla , Gregory CLEMENT , Neil Armstrong , Alexandre Ghiti , Vipul Kumar Samar , Vipin Kumar Subject: [PATCH v2 6/6] clk: spear: Fix SSP clock definition on SPEAr600 Date: Wed, 2 Nov 2022 18:10:10 +0100 Message-Id: <20221102171012.49150-7-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221102171012.49150-1-kory.maincent@bootlin.com> References: <20221102171012.49150-1-kory.maincent@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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, RCVD_IN_MSPIKE_H2,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 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"); } -- 2.25.1