Message ID | 20221019133208.319626-7-kory.maincent@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp338135wrs; Wed, 19 Oct 2022 06:51:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ShsGBKG9eRT0TLEScAwZmX7lhw99KYNnYnH5tRAjCno5LyZfCPN3W2w/jV2ojD28AijGI X-Received: by 2002:a17:902:f693:b0:17f:6974:cf90 with SMTP id l19-20020a170902f69300b0017f6974cf90mr8779962plg.62.1666187468027; Wed, 19 Oct 2022 06:51:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666187468; cv=none; d=google.com; s=arc-20160816; b=O5E6HU+dh13Absnw767PJ2K82C7G8x889Y0y35MQMoXfBwWX9cy9wD+PMDkv7ARb/w G4chWWXRj+fCb4rp1JveHk5xVS20vIcVJ2yjkb6PKyIiUNjBCeGOLZ0gfPp2yys+J5ch mtu6Q+ioMQ1WyHUCmyIqxYHEDeOZ3CSjgN19LmwtvvOEJreMGnf/d/i0hPfIJPeGbwBd oCk+KjWRjCEMqg3rMXSbA4jlo5gWmh488aH/HxmZplt4gSlqs99S52RZ2WsWyJXgBkgX 07MGpQI3Jk+q8WQHoo893klI0EKOjZy3GVfSgdO4J/P0kVgpLH0TSBLdp/iKMtBfkwiP aObQ== 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=B4WZT0ijc4vr+yQWHuy8C2QHY5BLhRbeTNROpcFndPc=; b=R72BD9i/lgNFcnsRU/jNCKbHFP3GLzEZTk0McdwEA8a83J72ngKONuSrh5WaKtUBBV WeOMzeOpVyUOPeZ8MJPfHz8utTtW3mi8UaNbM4bmrEEitEEHijjx/ysm8nNSg6EShIAI h8LVhkZ27rTOJaS2UwxMeT4dxmi+Iy2wPze5OlyutoFncOr8YHRQTVSMtj2jmQZvTYZT YTDFf5JoS0bgaL35zH/8AqHQF9c7dDygw2M9BS5L76BLamDXJfNkysANtdRLqpPtluDb beFbmdqGwsuWTqYPiZR8zjjrnQTA1W3XNRXKKZjm0l+1xCBJFlMkHvb0cSnttWY6H2av BuTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=o3EnyrFn; 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 v71-20020a63894a000000b0046b42fe67f9si8861104pgd.506.2022.10.19.06.50.55; Wed, 19 Oct 2022 06:51:08 -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=o3EnyrFn; 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 S233676AbiJSNuM (ORCPT <rfc822;samuel.l.nystrom@gmail.com> + 99 others); Wed, 19 Oct 2022 09:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233691AbiJSNs5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 19 Oct 2022 09:48:57 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A32711BBEE2; Wed, 19 Oct 2022 06:32:53 -0700 (PDT) Received: (Authenticated sender: kory.maincent@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 86302E0018; Wed, 19 Oct 2022 13:32:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1666186345; 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=B4WZT0ijc4vr+yQWHuy8C2QHY5BLhRbeTNROpcFndPc=; b=o3EnyrFn/BZ9wLYgskdr/Yz5E2HEnUC5VDVvCSe8kK/Cb+eCeTeiAOXfBVDsZsyN2MVyQP aqWJDiXVy3b5y0ur4ojErVDDM0D3m8bfwbjaCEHHBJ8VV9y/DX627pFzvk9FWqgcKtkQWT OcfkX6R5VEinSeWGSkfxXjIOUq7MKK9saWMOiVwa5i7TPWWfLWn90phJNE8Q89LlqYW9Yi MgzEjUAObg+mIs6a31IHZljlVNygBUTGZXfjUwiDCjG1prvKn+jBd6ePiwCgyDTmPZNlWj q0/18vCqFMUhdMyinLWf0/IoM3/pVCqOAKiulwoxmp264zzK09+50pSJoQOpkg== From: =?utf-8?q?K=C3=B6ry_Maincent?= <kory.maincent@bootlin.com> To: linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: thomas.petazzoni@bootlin.com, Kory Maincent <kory.maincent@bootlin.com>, Viresh Kumar <vireshk@kernel.org>, Shiraz Hashim <shiraz.linux.kernel@gmail.com>, soc@kernel.org, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> Subject: [PATCH 6/6] clk: spear: Fix SSP clock definition on SPEAr600 Date: Wed, 19 Oct 2022 15:32:08 +0200 Message-Id: <20221019133208.319626-7-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 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_H3,RCVD_IN_MSPIKE_WL,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747124190283065037?= X-GMAIL-MSGID: =?utf-8?q?1747124190283065037?= |
Series |
[1/6] arm: configs: spear6xx: Refresh defconfig
|
|
Commit Message
Köry Maincent
Oct. 19, 2022, 1:32 p.m. UTC
From: Kory Maincent <kory.maincent@bootlin.com> 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 <kory.maincent@bootlin.com> --- drivers/clk/spear/spear6xx_clock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On 19-10-22, 15:32, Köry Maincent wrote: > From: Kory Maincent <kory.maincent@bootlin.com> > > 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 <kory.maincent@bootlin.com> > --- > drivers/clk/spear/spear6xx_clock.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Hello Stephen, On Thu, 27 Oct 2022 17:22:17 -0700 Stephen Boyd <sboyd@kernel.org> wrote: > Quoting Köry Maincent (2022-10-19 06:32:08) > > From: Kory Maincent <kory.maincent@bootlin.com> > > > > 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 <kory.maincent@bootlin.com> > > Does this need a Fixes tag? The old commits on SEAr6xx clock names definition update did not have it, therefore I don't think so. Regards,
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"); }