[PATCH v4 2/4] ARM: dts: Fold exynos5250-cros-common into exynos5250-snow

2014-07-31 Thread Andreas Färber
The remaining common ChromeOS pieces are fairly minor.

Suggested-by: Doug Anderson diand...@chromium.org
Signed-off-by: Andreas Färber afaer...@suse.de
---
 v3 - v4: Unchanged
 
 v2 - v3:
 * Renamed subject to match Kukjin's style
 * Rebased onto MMC pinctrl bug fix (Doug Anderson)
 
 v2: New (Doug Anderson)

 arch/arm/boot/dts/exynos5250-cros-common.dtsi | 164 --
 arch/arm/boot/dts/exynos5250-snow.dts | 164 +++---
 2 files changed, 145 insertions(+), 183 deletions(-)
 delete mode 100644 arch/arm/boot/dts/exynos5250-cros-common.dtsi

diff --git a/arch/arm/boot/dts/exynos5250-cros-common.dtsi 
b/arch/arm/boot/dts/exynos5250-cros-common.dtsi
deleted file mode 100644
index e603e9c70142..
--- a/arch/arm/boot/dts/exynos5250-cros-common.dtsi
+++ /dev/null
@@ -1,164 +0,0 @@
-/*
- * Common device tree include for all Exynos 5250 boards based off of Daisy.
- *
- * Copyright (c) 2012 Google, Inc
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-/ {
-   aliases {
-   };
-
-   memory {
-   reg = 0x4000 0x8000;
-   };
-
-   chosen {
-   };
-
-   pinctrl@1140 {
-   /*
-* Disabled pullups since external part has its own pullups and
-* double-pulling gets us out of spec in some cases.
-*/
-   i2c2_bus: i2c2-bus {
-   samsung,pin-pud = 0;
-   };
-   };
-
-   i2c@12C6 {
-   status = okay;
-   samsung,i2c-sda-delay = 100;
-   samsung,i2c-max-bus-freq = 378000;
-   };
-
-   i2c@12C7 {
-   status = okay;
-   samsung,i2c-sda-delay = 100;
-   samsung,i2c-max-bus-freq = 378000;
-   };
-
-   i2c@12C8 {
-   status = okay;
-   samsung,i2c-sda-delay = 100;
-   samsung,i2c-max-bus-freq = 66000;
-
-   hdmiddc@50 {
-   compatible = samsung,exynos4210-hdmiddc;
-   reg = 0x50;
-   };
-   };
-
-   i2c@12C9 {
-   status = okay;
-   samsung,i2c-sda-delay = 100;
-   samsung,i2c-max-bus-freq = 66000;
-   };
-
-   i2c@12CA {
-   status = okay;
-   samsung,i2c-sda-delay = 100;
-   samsung,i2c-max-bus-freq = 66000;
-   };
-
-   i2c@12CB {
-   status = okay;
-   samsung,i2c-sda-delay = 100;
-   samsung,i2c-max-bus-freq = 66000;
-   };
-
-   i2c@12CD {
-   status = okay;
-   samsung,i2c-sda-delay = 100;
-   samsung,i2c-max-bus-freq = 66000;
-   };
-
-   i2c@12CE {
-   status = okay;
-   samsung,i2c-sda-delay = 100;
-   samsung,i2c-max-bus-freq = 378000;
-
-   hdmiphy: hdmiphy@38 {
-   compatible = samsung,exynos4212-hdmiphy;
-   reg = 0x38;
-   };
-   };
-
-   mmc@1220 {
-   num-slots = 1;
-   supports-highspeed;
-   broken-cd;
-   card-detect-delay = 200;
-   samsung,dw-mshc-ciu-div = 3;
-   samsung,dw-mshc-sdr-timing = 2 3;
-   samsung,dw-mshc-ddr-timing = 1 2;
-   pinctrl-names = default;
-   pinctrl-0 = sd0_clk sd0_cmd sd0_cd sd0_bus4 sd0_bus8;
-
-   slot@0 {
-   reg = 0;
-   bus-width = 8;
-   };
-   };
-
-   mmc@1222 {
-   num-slots = 1;
-   supports-highspeed;
-   card-detect-delay = 200;
-   samsung,dw-mshc-ciu-div = 3;
-   samsung,dw-mshc-sdr-timing = 2 3;
-   samsung,dw-mshc-ddr-timing = 1 2;
-   pinctrl-names = default;
-   pinctrl-0 = sd2_clk sd2_cmd sd2_cd sd2_bus4;
-
-   slot@0 {
-   reg = 0;
-   bus-width = 4;
-   wp-gpios = gpc2 1 0;
-   };
-   };
-
-   mmc@1223 {
-   num-slots = 1;
-   supports-highspeed;
-   broken-cd;
-   card-detect-delay = 200;
-   samsung,dw-mshc-ciu-div = 3;
-   samsung,dw-mshc-sdr-timing = 2 3;
-   samsung,dw-mshc-ddr-timing = 1 2;
-   /* See board-specific dts files for pin setup */
-
-   slot@0 {
-   reg = 0;
-   bus-width = 4;
-   };
-   };
-
-   spi_1: spi@12d3 {
-   status = okay;
-   samsung,spi-src-clk = 0;
-   num-cs = 1;
-   };
-
-   hdmi 

Re: [PATCH v4 2/4] ARM: dts: Fold exynos5250-cros-common into exynos5250-snow

2014-07-31 Thread Tomasz Figa
Please see my comments inline.

On 31.07.2014 18:08, Andreas Färber wrote:
 The remaining common ChromeOS pieces are fairly minor.
 

For people that might stumble upon this patch in future, it would be
nice to specify the reason for this change.

Otherwise feel free to add:

Reviewed-by: Tomasz Figa t.f...@samsung.com

Best regards,
Tomasz
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html