All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Köry Maincent" <kory.maincent@bootlin.com>
To: viresh.kumar@linaro.org, Bhavna Yadav <bhavna.yadav@st.com>,
	Vijay Kumar Mishra <vijay.kumar@st.com>,
	Rajeev Kumar <rajeev-dlh.kumar@st.com>,
	Deepak Sikri <deepak.sikri@st.com>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org
Cc: Kory Maincent <kory.maincent@bootlin.com>,
	thomas.petazzoni@bootlin.com, Viresh Kumar <vireshk@kernel.org>,
	Shiraz Hashim <shiraz.linux.kernel@gmail.com>,
	soc@kernel.org, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Russell King <linux@armlinux.org.uk>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
	Sudeep Holla <sudeep.holla@arm.com>,
	Gregory CLEMENT <gregory.clement@bootlin.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Alexandre Ghiti <alexandre.ghiti@canonical.com>,
	Vipul Kumar Samar <vipulkumar.samar@st.com>,
	Vipin Kumar <vipin.kumar@st.com>
Subject: [PATCH v2 6/6] clk: spear: Fix SSP clock definition on SPEAr600
Date: Wed,  2 Nov 2022 18:10:10 +0100	[thread overview]
Message-ID: <20221102171012.49150-7-kory.maincent@bootlin.com> (raw)
In-Reply-To: <20221102171012.49150-1-kory.maincent@bootlin.com>

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>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 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


WARNING: multiple messages have this Message-ID (diff)
From: "Köry Maincent" <kory.maincent@bootlin.com>
To: viresh.kumar@linaro.org, Bhavna Yadav <bhavna.yadav@st.com>,
	Vijay Kumar Mishra <vijay.kumar@st.com>,
	Rajeev Kumar <rajeev-dlh.kumar@st.com>,
	Deepak Sikri <deepak.sikri@st.com>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org
Cc: Kory Maincent <kory.maincent@bootlin.com>,
	thomas.petazzoni@bootlin.com, Viresh Kumar <vireshk@kernel.org>,
	Shiraz Hashim <shiraz.linux.kernel@gmail.com>,
	soc@kernel.org, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Russell King <linux@armlinux.org.uk>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
	Sudeep Holla <sudeep.holla@arm.com>,
	Gregory CLEMENT <gregory.clement@bootlin.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Alexandre Ghiti <alexandre.ghiti@canonical.com>,
	Vipul Kumar Samar <vipulkumar.samar@st.com>,
	Vipin Kumar <vipin.kumar@st.com>
Subject: [PATCH v2 6/6] clk: spear: Fix SSP clock definition on SPEAr600
Date: Wed,  2 Nov 2022 18:10:10 +0100	[thread overview]
Message-ID: <20221102171012.49150-7-kory.maincent@bootlin.com> (raw)
In-Reply-To: <20221102171012.49150-1-kory.maincent@bootlin.com>

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>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-11-02 17:11 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-02 17:10 [PATCH v2 0/6] Support new features to the SPEAr600 Köry Maincent
2022-11-02 17:10 ` Köry Maincent
2022-11-02 17:10 ` [PATCH v2 1/6] arm: configs: spear6xx: Refresh defconfig Köry Maincent
2022-11-02 17:10   ` Köry Maincent
2022-11-03  2:51   ` Viresh Kumar
2022-11-03  2:51     ` Viresh Kumar
2022-11-02 17:10 ` [PATCH v2 2/6] arm: dts: spear600: Fix clcd interrupt Köry Maincent
2022-11-02 17:10   ` Köry Maincent
2022-11-02 17:10 ` [PATCH v2 3/6] arm: configs: spear6xx: Enable PL110 display controller Köry Maincent
2022-11-02 17:10   ` Köry Maincent
2022-11-03  2:51   ` Viresh Kumar
2022-11-03  2:51     ` Viresh Kumar
2022-11-03 16:05   ` Linus Walleij
2022-11-03 16:05     ` Linus Walleij
2022-11-02 17:10 ` [PATCH v2 4/6] clk: spear: Fix CLCD clock definition on SPEAr600 Köry Maincent
2022-11-02 17:10   ` Köry Maincent
2022-11-02 17:10 ` [PATCH v2 5/6] arm: dts: spear600: Add ssp controller nodes Köry Maincent
2022-11-02 17:10   ` Köry Maincent
2022-11-02 17:10 ` Köry Maincent [this message]
2022-11-02 17:10   ` [PATCH v2 6/6] clk: spear: Fix SSP clock definition on SPEAr600 Köry Maincent
2022-11-14 15:12 ` [PATCH v2 0/6] Support new features to the SPEAr600 Arnd Bergmann
2022-11-14 15:12   ` Arnd Bergmann
2022-11-14 15:30 ` patchwork-bot+linux-soc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221102171012.49150-7-kory.maincent@bootlin.com \
    --to=kory.maincent@bootlin.com \
    --cc=alexandre.ghiti@canonical.com \
    --cc=arnd@arndb.de \
    --cc=bhavna.yadav@st.com \
    --cc=deepak.sikri@st.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gregory.clement@bootlin.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mturquette@baylibre.com \
    --cc=neil.armstrong@linaro.org \
    --cc=rajeev-dlh.kumar@st.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=shiraz.linux.kernel@gmail.com \
    --cc=soc@kernel.org \
    --cc=sudeep.holla@arm.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=vijay.kumar@st.com \
    --cc=vipin.kumar@st.com \
    --cc=vipulkumar.samar@st.com \
    --cc=viresh.kumar@linaro.org \
    --cc=vireshk@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.