devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: linux-omap@vger.kernel.org
Cc: "Benoît Cousson" <bcousson@baylibre.com>,
	devicetree@vger.kernel.org, "Stephen Boyd" <sboyd@kernel.org>,
	"Tero Kristo" <kristo@kernel.org>,
	linux-clk@vger.kernel.org
Subject: [PATCH 2/5] ARM: dts: Drop custom clkctrl compatible and update omap4 l4per
Date: Fri,  4 Feb 2022 10:43:36 +0200	[thread overview]
Message-ID: <20220204084339.12341-3-tony@atomide.com> (raw)
In-Reply-To: <20220204084339.12341-1-tony@atomide.com>

We can now use the clock-output-names and don't need custom compatible
values for each clkctrl instance. And we can use a generic name also for
the clock manager instance.

Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/boot/dts/omap44xx-clocks.dtsi | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/omap44xx-clocks.dtsi b/arch/arm/boot/dts/omap44xx-clocks.dtsi
--- a/arch/arm/boot/dts/omap44xx-clocks.dtsi
+++ b/arch/arm/boot/dts/omap44xx-clocks.dtsi
@@ -1424,7 +1424,7 @@ l3_init_clkctrl: clk@20 {
 		};
 	};
 
-	l4_per_cm: l4_per_cm@1400 {
+	l4_per_cm: clock@1400 {
 		compatible = "ti,omap4-cm";
 		clock-output-names = "l4_per_cm";
 		reg = <0x1400 0x200>;
@@ -1433,13 +1433,15 @@ l4_per_cm: l4_per_cm@1400 {
 		ranges = <0 0x1400 0x200>;
 
 		l4_per_clkctrl: clock@20 {
-			compatible = "ti,clkctrl-l4-per", "ti,clkctrl";
+			compatible = "ti,clkctrl";
+			clock-output-names = "l4_per_clkctrl";
 			reg = <0x20 0x144>;
 			#clock-cells = <2>;
 		};
 
 		l4_secure_clkctrl: clock@1a0 {
-			compatible = "ti,clkctrl-l4-secure", "ti,clkctrl";
+			compatible = "ti,clkctrl";
+			clock-output-names = "l4_secure_clkctrl";
 			reg = <0x1a0 0x3c>;
 			#clock-cells = <2>;
 		};
-- 
2.35.1

  parent reply	other threads:[~2022-02-04  8:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-04  8:43 [PATCH 0/5] Unify omap4/5 clocks with clock-output-names Tony Lindgren
2022-02-04  8:43 ` [PATCH 1/5] ARM: dts: Add clock-output-names for omap4 Tony Lindgren
2022-03-11  3:34   ` Stephen Boyd
2022-03-12  8:12     ` Tony Lindgren
2022-03-15 21:25       ` Stephen Boyd
2022-02-04  8:43 ` Tony Lindgren [this message]
2022-02-04  8:43 ` [PATCH 3/5] ARM: dts: Add clock-output-names for omap5 Tony Lindgren
2022-02-04  8:43 ` [PATCH 4/5] ARM: dts: Drop custom clkctrl compatible and update omap5 l4per Tony Lindgren
2022-02-04  8:43 ` [PATCH 5/5] clk: ti: Stop using legacy clkctrl names for omap4 and 5 Tony Lindgren

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=20220204084339.12341-3-tony@atomide.com \
    --to=tony@atomide.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kristo@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=sboyd@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).