Linux-Samsung-soc Archive mirror
 help / color / mirror / Atom feed
From: Henrik Grimler <henrik@grimler.se>
To: Rob Herring <robh+dt@kernel.org>,
	 Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Alim Akhtar <alim.akhtar@samsung.com>,
	 Marek Szyprowski <m.szyprowski@samsung.com>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	 linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
	 ~postmarketos/upstreaming@lists.sr.ht
Subject: [PATCH 1/3] ARM: dts: samsung: exynos5420-galaxy-tab-common: sort node properties
Date: Tue, 30 Jan 2024 21:40:39 +0100	[thread overview]
Message-ID: <20240130-galaxy-tab-s-cleanup-v1-1-d4e17857241d@grimler.se> (raw)
In-Reply-To: <20240130-galaxy-tab-s-cleanup-v1-0-d4e17857241d@grimler.se>

Sort all node properties according to dts coding style guidelines, to
make dtsi easier to follow.

Signed-off-by: Henrik Grimler <henrik@grimler.se>
---
 .../dts/samsung/exynos5420-galaxy-tab-common.dtsi  | 23 +++++++++++-----------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi b/arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi
index f525b2f5e4e0..0c1aeafc025b 100644
--- a/arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi
+++ b/arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi
@@ -103,8 +103,8 @@ &cpu4 {
 };
 
 &gpu {
-	status = "okay";
 	mali-supply = <&buck4_reg>;
+	status = "okay";
 };
 
 &hsi2c_7 {
@@ -113,11 +113,10 @@ &hsi2c_7 {
 	pmic@66 {
 		compatible = "samsung,s2mps11-pmic";
 		reg = <0x66>;
-
 		interrupt-parent = <&gpx3>;
 		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
-		pinctrl-names = "default";
 		pinctrl-0 = <&s2mps11_irq>;
+		pinctrl-names = "default";
 
 		s2mps11_osc: clocks {
 			compatible = "samsung,s2mps11-clk";
@@ -605,7 +604,6 @@ &mixer {
 
 /* Internal storage */
 &mmc_0 {
-	status = "okay";
 	bus-width = <8>;
 	cap-mmc-highspeed;
 	card-detect-delay = <200>;
@@ -614,27 +612,28 @@ &mmc_0 {
 	non-removable;
 	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
 	pinctrl-names = "default";
+	vqmmc-supply = <&ldo3_reg>;
 	samsung,dw-mshc-ciu-div = <3>;
 	samsung,dw-mshc-ddr-timing = <0 2>;
 	samsung,dw-mshc-sdr-timing = <0 4>;
-	vqmmc-supply = <&ldo3_reg>;
+	status = "okay";
 };
 
 /* External sdcard */
 &mmc_2 {
-	status = "okay";
 	bus-width = <4>;
 	cap-sd-highspeed;
 	card-detect-delay = <200>;
 	cd-gpios = <&gpx2 4 GPIO_ACTIVE_LOW>;
 	pinctrl-0 = <&sd2_clk &sd2_cmd &mmc2_cd &sd2_bus1 &sd2_bus4>;
 	pinctrl-names = "default";
-	samsung,dw-mshc-ciu-div = <3>;
-	samsung,dw-mshc-ddr-timing = <0 2>;
-	samsung,dw-mshc-sdr-timing = <0 4>;
 	sd-uhs-sdr50;
 	vmmc-supply = <&ldo19_reg>;
 	vqmmc-supply = <&ldo13_reg>;
+	samsung,dw-mshc-ciu-div = <3>;
+	samsung,dw-mshc-ddr-timing = <0 2>;
+	samsung,dw-mshc-sdr-timing = <0 4>;
+	status = "okay";
 };
 
 &pinctrl_0 {
@@ -652,9 +651,9 @@ s2mps11_irq: s2mps11-irq-pins {
 };
 
 &rtc {
-	status = "okay";
 	clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
 	clock-names = "rtc", "rtc_src";
+	status = "okay";
 };
 
 &tmu_cpu0 {
@@ -686,11 +685,11 @@ &usbdrd_dwc3_1 {
 };
 
 &usbdrd3_0 {
-	vdd33-supply = <&ldo9_reg>;
 	vdd10-supply = <&ldo11_reg>;
+	vdd33-supply = <&ldo9_reg>;
 };
 
 &usbdrd3_1 {
-	vdd33-supply = <&ldo9_reg>;
 	vdd10-supply = <&ldo11_reg>;
+	vdd33-supply = <&ldo9_reg>;
 };

-- 
2.30.2


  reply	other threads:[~2024-01-30 20:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-30 20:40 [PATCH 0/3] ARM: dts: samsung: enable wifi and cleanup exynos5420-galaxy-tab dts'es Henrik Grimler
2024-01-30 20:40 ` Henrik Grimler [this message]
2024-01-31  7:19   ` [PATCH 1/3] ARM: dts: samsung: exynos5420-galaxy-tab-common: sort node properties Krzysztof Kozlowski
2024-01-31  8:25     ` Henrik Grimler
2024-01-31  8:32       ` Krzysztof Kozlowski
2024-01-30 20:40 ` [PATCH 2/3] ARM: dts: samsung: exynos5420-galaxy-tab-common: add wifi node Henrik Grimler
2024-02-06 10:16   ` Krzysztof Kozlowski
2024-01-30 20:40 ` [PATCH 3/3] ARM: dts: samsung: exynos5420-galaxy-tab-common: decrease available memory Henrik Grimler
2024-02-06 10:17   ` (subset) " 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=20240130-galaxy-tab-s-cleanup-v1-1-d4e17857241d@grimler.se \
    --to=henrik@grimler.se \
    --cc=alim.akhtar@samsung.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.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=~postmarketos/upstreaming@lists.sr.ht \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).