devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Kukjin Kim <kgene@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Lihua Yao <ylhuajnu@outlook.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: Marek Szyprowski <m.szyprowski@samsung.com>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	Sylwester Nawrocki <snawrocki@kernel.org>,
	Tomasz Figa <tomasz.figa@gmail.com>
Subject: [PATCH 02/11] ARM: dts: s3c6410: move fixed clocks under root node in Mini6410
Date: Mon,  7 Sep 2020 20:33:04 +0200	[thread overview]
Message-ID: <20200907183313.29234-3-krzk@kernel.org> (raw)
In-Reply-To: <20200907183313.29234-1-krzk@kernel.org>

The fixed clocks are kept under dedicated 'clocks' node but this causes
multiple dtschema warnings:

  clocks: $nodename:0: 'clocks' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
  clocks: #size-cells:0:0: 0 is not one of [1, 2]
  clocks: oscillator@0:reg:0: [0] is too short
  clocks: oscillator@1:reg:0: [1] is too short
  clocks: 'ranges' is a required property
  oscillator@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 arch/arm/boot/dts/s3c6410-mini6410.dts | 30 ++++++++++----------------
 1 file changed, 11 insertions(+), 19 deletions(-)

diff --git a/arch/arm/boot/dts/s3c6410-mini6410.dts b/arch/arm/boot/dts/s3c6410-mini6410.dts
index 1aeac33b0d34..75067dbcf7e8 100644
--- a/arch/arm/boot/dts/s3c6410-mini6410.dts
+++ b/arch/arm/boot/dts/s3c6410-mini6410.dts
@@ -28,26 +28,18 @@
 		bootargs = "console=ttySAC0,115200n8 earlyprintk rootwait root=/dev/mmcblk0p1";
 	};
 
-	clocks {
-		compatible = "simple-bus";
-		#address-cells = <1>;
-		#size-cells = <0>;
-
-		fin_pll: oscillator@0 {
-			compatible = "fixed-clock";
-			reg = <0>;
-			clock-frequency = <12000000>;
-			clock-output-names = "fin_pll";
-			#clock-cells = <0>;
-		};
+	fin_pll: oscillator-0 {
+		compatible = "fixed-clock";
+		clock-frequency = <12000000>;
+		clock-output-names = "fin_pll";
+		#clock-cells = <0>;
+	};
 
-		xusbxti: oscillator@1 {
-			compatible = "fixed-clock";
-			reg = <1>;
-			clock-output-names = "xusbxti";
-			clock-frequency = <48000000>;
-			#clock-cells = <0>;
-		};
+	xusbxti: oscillator-1 {
+		compatible = "fixed-clock";
+		clock-output-names = "xusbxti";
+		clock-frequency = <48000000>;
+		#clock-cells = <0>;
 	};
 
 	srom-cs1@18000000 {
-- 
2.17.1


  parent reply	other threads:[~2020-09-07 18:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07 18:33 [PATCH 00/11] ARM: dts: s3c: dtschema fixes Krzysztof Kozlowski
2020-09-07 18:33 ` [PATCH 01/11] ARM: dts: s5pv210: Correct ethernet unit address in SMDKV210 Krzysztof Kozlowski
2020-09-11 14:36   ` Krzysztof Kozlowski
2020-09-07 18:33 ` Krzysztof Kozlowski [this message]
2020-09-07 18:33 ` [PATCH 03/11] ARM: dts: s3c6410: move fixed clocks under root node in SMDK6410 Krzysztof Kozlowski
2020-09-07 18:33 ` [PATCH 04/11] ARM: dts: s3c6410: align node SROM bus node name with dtschema in Mini6410 Krzysztof Kozlowski
2020-09-07 18:33 ` [PATCH 05/11] ARM: dts: s3c6410: align node SROM bus node name with dtschema in SMDK6410 Krzysztof Kozlowski
2020-09-07 18:33 ` [PATCH 06/11] ARM: dts: s3c6410: remove additional CPU compatible Krzysztof Kozlowski
2020-09-07 18:33 ` [PATCH 07/11] ARM: dts: s3c24xx: fix number of PWM cells Krzysztof Kozlowski
2020-09-07 18:33 ` [PATCH 08/11] ARM: dts: s3c24xx: override nods by label Krzysztof Kozlowski
2020-09-07 18:33 ` [PATCH 09/11] ARM: dts: s3c24xx: align PWM/timer node name with dtschema Krzysztof Kozlowski
2020-09-07 18:33 ` [PATCH 10/11] ARM: dts: s3c24xx: add address to CPU node Krzysztof Kozlowski
2020-09-07 18:33 ` [PATCH 11/11] ARM: dts: s3c24xx: move fixed clocks under root node in SMDK2416 Krzysztof Kozlowski
2020-09-11 14:38 ` [PATCH 00/11] ARM: dts: s3c: dtschema fixes Krzysztof Kozlowski

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=20200907183313.29234-3-krzk@kernel.org \
    --to=krzk@kernel.org \
    --cc=b.zolnierkie@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kgene@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=robh+dt@kernel.org \
    --cc=snawrocki@kernel.org \
    --cc=tomasz.figa@gmail.com \
    --cc=ylhuajnu@outlook.com \
    /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).