diff mbox

[6/7,V3] EXYNOS5: Add initial DTS file for Snow.

Message ID 1359697182-18843-7-git-send-email-rajeshwari.s@samsung.com
State New
Headers show

Commit Message

Rajeshwari Shinde Feb. 1, 2013, 5:39 a.m. UTC
This patch adds the DTS file for Snow Board.

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
---
Changes in V2:
	-None
Changes in V3:
	- None
 board/samsung/dts/exynos5250-snow.dts |   69 +++++++++++++++++++++++++++++++++
 1 files changed, 69 insertions(+), 0 deletions(-)
 create mode 100644 board/samsung/dts/exynos5250-snow.dts

Comments

Simon Glass Feb. 2, 2013, 4:24 p.m. UTC | #1
Hi Rajeshwari,

On Thu, Jan 31, 2013 at 9:39 PM, Rajeshwari Shinde
<rajeshwari.s@samsung.com> wrote:
> This patch adds the DTS file for Snow Board.
>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>

Acked-by: Simon Glass <sjg@chromium.org>

Somewhat unrelated to this patch: Assuming I am correct in thinking
that the kernel uses maxim,max77686-pmic instead of
maxim,max77686_pmic, can you please prepare a patch at some point to
move U-Boot over to using the same compatible string?

Regards,
Simon

> ---
> Changes in V2:
>         -None
> Changes in V3:
>         - None
>  board/samsung/dts/exynos5250-snow.dts |   69 +++++++++++++++++++++++++++++++++
>  1 files changed, 69 insertions(+), 0 deletions(-)
>  create mode 100644 board/samsung/dts/exynos5250-snow.dts
>
> diff --git a/board/samsung/dts/exynos5250-snow.dts b/board/samsung/dts/exynos5250-snow.dts
> new file mode 100644
> index 0000000..af788a6
> --- /dev/null
> +++ b/board/samsung/dts/exynos5250-snow.dts
> @@ -0,0 +1,69 @@
> +/*
> + * SAMSUNG SMDK5250 board device tree source
> + *
> + * Copyright (c) 2012 Samsung Electronics Co., Ltd.
> + *             http://www.samsung.com
> + *
> + * 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.
> +*/
> +
> +/dts-v1/;
> +/include/ ARCH_CPU_DTS
> +
> +/ {
> +       model = "Google Snow";
> +       compatible = "google,snow", "samsung,exynos5250";
> +
> +       aliases {
> +               i2c0 = "/i2c@12c60000";
> +               i2c1 = "/i2c@12c70000";
> +               i2c2 = "/i2c@12c80000";
> +               i2c3 = "/i2c@12c90000";
> +               i2c4 = "/i2c@12ca0000";
> +               i2c5 = "/i2c@12cb0000";
> +               i2c6 = "/i2c@12cc0000";
> +               i2c7 = "/i2c@12cd0000";
> +               spi0 = "/spi@12d20000";
> +               spi1 = "/spi@12d30000";
> +               spi2 = "/spi@12d40000";
> +               spi3 = "/spi@131a0000";
> +               spi4 = "/spi@131b0000";
> +       };
> +
> +       sromc@12250000 {
> +               bank = <1>;
> +               srom-timing = <1 9 12 1 6 1 1>;
> +               width = <2>;
> +               lan@5000000 {
> +                       compatible = "smsc,lan9215", "smsc,lan";
> +                       reg = <0x5000000 0x100>;
> +                       phy-mode = "mii";
> +               };
> +       };
> +
> +       sound@12d60000 {
> +               samsung,i2s-epll-clock-frequency = <192000000>;
> +               samsung,i2s-sampling-rate = <48000>;
> +               samsung,i2s-bits-per-sample = <16>;
> +               samsung,i2s-channels = <2>;
> +               samsung,i2s-lr-clk-framesize = <256>;
> +               samsung,i2s-bit-clk-framesize = <32>;
> +               samsung,codec-type = "max98095";
> +       };
> +
> +       i2c@12cd0000 {
> +               soundcodec@22 {
> +                       reg = <0x22>;
> +                       compatible = "maxim,max98095-codec";
> +               };
> +       };
> +
> +       i2c@12c60000 {
> +               pmic@9 {
> +                       reg = <0x9>;
> +                       compatible = "maxim,max77686_pmic";
> +               };
> +       };
> +};
> --
> 1.7.4.4
>
Minkyu Kang Feb. 12, 2013, 8:51 a.m. UTC | #2
Dear Rajeshwari,

On 01/02/13 14:39, Rajeshwari Shinde wrote:
> This patch adds the DTS file for Snow Board.
> 
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
> ---
> Changes in V2:
> 	-None
> Changes in V3:
> 	- None
>  board/samsung/dts/exynos5250-snow.dts |   69 +++++++++++++++++++++++++++++++++
>  1 files changed, 69 insertions(+), 0 deletions(-)
>  create mode 100644 board/samsung/dts/exynos5250-snow.dts
> 

I think, patch 6 and 7 should be separated with another patch.

Thanks,
Minkyu Kang.
Rajeshwari Birje Feb. 13, 2013, 5:40 a.m. UTC | #3
Hi Minkyu Kang,

Thank you foe comments,

On Tue, Feb 12, 2013 at 2:21 PM, Minkyu Kang <mk7.kang@samsung.com> wrote:
> Dear Rajeshwari,
>
> On 01/02/13 14:39, Rajeshwari Shinde wrote:
>> This patch adds the DTS file for Snow Board.
>>
>> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
>> ---
>> Changes in V2:
>>       -None
>> Changes in V3:
>>       - None
>>  board/samsung/dts/exynos5250-snow.dts |   69 +++++++++++++++++++++++++++++++++
>>  1 files changed, 69 insertions(+), 0 deletions(-)
>>  create mode 100644 board/samsung/dts/exynos5250-snow.dts
>>
>
> I think, patch 6 and 7 should be separated with another patch.
Will do so and re submit the patch set.
>
> Thanks,
> Minkyu Kang.
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
diff mbox

Patch

diff --git a/board/samsung/dts/exynos5250-snow.dts b/board/samsung/dts/exynos5250-snow.dts
new file mode 100644
index 0000000..af788a6
--- /dev/null
+++ b/board/samsung/dts/exynos5250-snow.dts
@@ -0,0 +1,69 @@ 
+/*
+ * SAMSUNG SMDK5250 board device tree source
+ *
+ * Copyright (c) 2012 Samsung Electronics Co., Ltd.
+ *		http://www.samsung.com
+ *
+ * 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.
+*/
+
+/dts-v1/;
+/include/ ARCH_CPU_DTS
+
+/ {
+	model = "Google Snow";
+	compatible = "google,snow", "samsung,exynos5250";
+
+	aliases {
+		i2c0 = "/i2c@12c60000";
+		i2c1 = "/i2c@12c70000";
+		i2c2 = "/i2c@12c80000";
+		i2c3 = "/i2c@12c90000";
+		i2c4 = "/i2c@12ca0000";
+		i2c5 = "/i2c@12cb0000";
+		i2c6 = "/i2c@12cc0000";
+		i2c7 = "/i2c@12cd0000";
+		spi0 = "/spi@12d20000";
+		spi1 = "/spi@12d30000";
+		spi2 = "/spi@12d40000";
+		spi3 = "/spi@131a0000";
+		spi4 = "/spi@131b0000";
+	};
+
+	sromc@12250000 {
+		bank = <1>;
+		srom-timing = <1 9 12 1 6 1 1>;
+		width = <2>;
+		lan@5000000 {
+			compatible = "smsc,lan9215", "smsc,lan";
+			reg = <0x5000000 0x100>;
+			phy-mode = "mii";
+		};
+	};
+
+	sound@12d60000 {
+		samsung,i2s-epll-clock-frequency = <192000000>;
+		samsung,i2s-sampling-rate = <48000>;
+		samsung,i2s-bits-per-sample = <16>;
+		samsung,i2s-channels = <2>;
+		samsung,i2s-lr-clk-framesize = <256>;
+		samsung,i2s-bit-clk-framesize = <32>;
+		samsung,codec-type = "max98095";
+	};
+
+	i2c@12cd0000 {
+		soundcodec@22 {
+			reg = <0x22>;
+			compatible = "maxim,max98095-codec";
+		};
+	};
+
+	i2c@12c60000 {
+		pmic@9 {
+			reg = <0x9>;
+			compatible = "maxim,max77686_pmic";
+		};
+	};
+};