Skip to contentSkip to conversation

EXYNOS5: SNOW: Add initial dts and config file

PATCH Superseded Rajeshwari Shinde 4 participants 7 messages Feb 21, 2013 – Feb 27, 2013 Arm Samsung Exynos

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v2 cover EXYNOS5: SNOW: Add initial dts and config file

This patch set adds initial dts and configuration file for snow.

Changes in V2:
- Added Maintainer.

Rajeshwari Shinde (2):
EXYNOS5: Add initial DTS file for Snow.
EXYNOS5: Snow: Add a configuration file

 MAINTAINERS                           |    4 ++
 board/samsung/dts/exynos5250-snow.dts |   69 +++++++++++++++++++++++++++++++++
 boards.cfg                            |    1 +
 include/configs/snow.h                |   33 ++++++++++++++++
 4 files changed, 107 insertions(+), 0 deletions(-)
 create mode 100644 board/samsung/dts/exynos5250-snow.dts
 create mode 100644 include/configs/snow.h
Signature · 1 line
1.7.4.4
#1 lore raw

PATCH v2 1/2 EXYNOS5: Add initial DTS file for Snow.

This patch adds the DTS file for Snow Board.

---
Changes in V2:
- None

 board/samsung/dts/exynos5250-snow.dts |   69 +++++++++++++++++++++++++++++++++
 1 files changed, 69 insertions(+), 0 deletions(-)
 create mode 100644 board/samsung/dts/exynos5250-snow.dts
board/samsung/dts/exynos5250-snow.dts new file +69 -0
new file mode 100644
index 0000000..360d3bd
@@ -0,0 +1,69 @@
+/*
+ * SAMSUNG Snow 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 at 12c60000";
+		i2c1 = "/i2c at 12c70000";
+		i2c2 = "/i2c at 12c80000";
+		i2c3 = "/i2c at 12c90000";
+		i2c4 = "/i2c at 12ca0000";
+		i2c5 = "/i2c at 12cb0000";
+		i2c6 = "/i2c at 12cc0000";
+		i2c7 = "/i2c at 12cd0000";
+		spi0 = "/spi at 12d20000";
+		spi1 = "/spi at 12d30000";
+		spi2 = "/spi at 12d40000";
+		spi3 = "/spi at 131a0000";
+		spi4 = "/spi at 131b0000";
+	};
+
+	sromc at 12250000 {
+		bank = <1>;
+		srom-timing = <1 9 12 1 6 1 1>;
+		width = <2>;
+		lan at 5000000 {
+			compatible = "smsc,lan9215", "smsc,lan";
+			reg = <0x5000000 0x100>;
+			phy-mode = "mii";
+		};
+	};
+
+	sound at 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 at 12cd0000 {
+		soundcodec at 22 {
+			reg = <0x22>;
+			compatible = "maxim,max98095-codec";
+		};
+	};
+
+	i2c at 12c60000 {
+		pmic at 9 {
+			reg = <0x9>;
+			compatible = "maxim,max77686_pmic";
+		};
+	};
+};
Signature · 1 line
1.7.4.4
#2 lore raw

PATCH v2 1/2 EXYNOS5: Add initial DTS file for Snow.

Hi Rajeshwari,

Quoted 51 lines · Rajeshwari Shinde

This patch adds the DTS file for Snow Board.

---
Changes in V2:
- None

 board/samsung/dts/exynos5250-snow.dts |   69 +++++++++++++++++++++++++++++++++
 1 files changed, 69 insertions(+), 0 deletions(-)
 create mode 100644 board/samsung/dts/exynos5250-snow.dts
board/samsung/dts/exynos5250-snow.dts new file +34 -0
new file mode 100644
index 0000000..360d3bd
@@ -0,0 +1,69 @@
+/*
+ * SAMSUNG Snow 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 at 12c60000";
+               i2c1 = "/i2c at 12c70000";
+               i2c2 = "/i2c at 12c80000";
+               i2c3 = "/i2c at 12c90000";
+               i2c4 = "/i2c at 12ca0000";
+               i2c5 = "/i2c at 12cb0000";
+               i2c6 = "/i2c at 12cc0000";
+               i2c7 = "/i2c at 12cd0000";
+               spi0 = "/spi at 12d20000";
+               spi1 = "/spi at 12d30000";
+               spi2 = "/spi at 12d40000";
+               spi3 = "/spi at 131a0000";
+               spi4 = "/spi at 131b0000";
+       };
+

board/samsung/dts/exynos5250-snow.dts line 44

Quoted 10 lines
board/samsung/dts/exynos5250-snow.dts new file +10 -0
+       sromc at 12250000 {
+               bank = <1>;
+               srom-timing = <1 9 12 1 6 1 1>;
+               width = <2>;
+               lan at 5000000 {
+                       compatible = "smsc,lan9215", "smsc,lan";
+                       reg = <0x5000000 0x100>;
+                       phy-mode = "mii";
+               };
+       };

I don't think snow has Ethernet.

Quoted 26 lines
board/samsung/dts/exynos5250-snow.dts new file +25 -1
+
+       sound at 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 at 12cd0000 {
+               soundcodec at 22 {
+                       reg = <0x22>;
+                       compatible = "maxim,max98095-codec";
+               };
+       };
+
+       i2c at 12c60000 {
+               pmic at 9 {
+                       reg = <0x9>;
+                       compatible = "maxim,max77686_pmic";
+               };
+       };
+};
--
Quoted 2 lines

1.7.4.4

Regards,
Simon

#3 lore raw

PATCH v2 2/2 EXYNOS5: Snow: Add a configuration file

In reply to Rajeshwari Shinde

This patch adds the configuration file for Snow Board and defines the same in boards.cfg.

---
Changes in V2:
- Added Maintainer

 MAINTAINERS            |    4 ++++
 boards.cfg             |    1 +
 include/configs/snow.h |   33 +++++++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 include/configs/snow.h
MAINTAINERS +4 -0
index 45e2dd4..5fc5b4d 100644
@@ -736,6 +736,10 @@ Chander Kashyap <[email protected]>
 	SMDKV310		ARM ARMV7 (EXYNOS4210 SoC)
 	SMDK5250		ARM ARMV7 (EXYNOS5250 SoC)
 
+Rajeshwari Shinde <[email protected]>
+
+	snow			ARM ARMV7 (EXYNOS5250 SoC)
+
 Lukasz Majewski <[email protected]>
 
 	trats			ARM ARMV7 (EXYNOS4210 SoC)
boards.cfg +1 -0
index b1319aa..54357eb 100644
@@ -286,6 +286,7 @@ s5p_goni                     arm         armv7       goni                samsung
 smdkc100                     arm         armv7       smdkc100            samsung        s5pc1xx
 origen			     arm	 armv7	     origen		 samsung	exynos
 s5pc210_universal            arm         armv7       universal_c210      samsung        exynos
+snow			     arm	 armv7	     smdk5250		 samsung	exynos
 smdk5250		     arm	 armv7	     smdk5250		 samsung	exynos
 smdkv310		     arm	 armv7	     smdkv310		 samsung	exynos
 trats                        arm         armv7       trats               samsung        exynos
include/configs/snow.h new file +33 -0
new file mode 100644
index 0000000..b8460fd
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2013 Samsung Electronics
+ *
+ * Configuration settings for the SAMSUNG EXYNOS5 Snow board.
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#ifndef __CONFIG_SNOW_H
+#define __CONFIG_SNOW_H
+
+#include <configs/exynos5250-dt.h>
+
+#undef CONFIG_DEFAULT_DEVICE_TREE
+#define CONFIG_DEFAULT_DEVICE_TREE	exynos5250-snow
+
+#endif	/* __CONFIG_SNOW_H */
Signature · 1 line
1.7.4.4
#4 lore raw

PATCH v2 2/2 EXYNOS5: Snow: Add a configuration file

Dear Rajeshwari,

Quoted 18 lines · Rajeshwari Shinde

This patch adds the configuration file for Snow Board and defines the same in boards.cfg.

---
Changes in V2:
- Added Maintainer

 MAINTAINERS            |    4 ++++
 boards.cfg             |    1 +
 include/configs/snow.h |   33 +++++++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 include/configs/snow.h
MAINTAINERS +0 -0
index 45e2dd4..5fc5b4d 100644

MAINTAINERS Chander Kashyap <[email protected]> · line 739

Quoted 4 lines
MAINTAINERS +1 -0
@@ -736,6 +736,10 @@ Chander Kashyap <[email protected]>
 	SMDKV310		ARM ARMV7 (EXYNOS4210 SoC)
 	SMDK5250		ARM ARMV7 (EXYNOS5250 SoC)
 
+Rajeshwari Shinde <[email protected]>

Please keep this list to alphabetically.
your name should be moved to "S" section.

Quoted 48 lines
MAINTAINERS +3 -0
+
+	snow			ARM ARMV7 (EXYNOS5250 SoC)
+
 Lukasz Majewski <[email protected]>
 
 	trats			ARM ARMV7 (EXYNOS4210 SoC)
boards.cfg +1 -0
index b1319aa..54357eb 100644
@@ -286,6 +286,7 @@ s5p_goni                     arm         armv7       goni                samsung
 smdkc100                     arm         armv7       smdkc100            samsung        s5pc1xx
 origen			     arm	 armv7	     origen		 samsung	exynos
 s5pc210_universal            arm         armv7       universal_c210      samsung        exynos
+snow			     arm	 armv7	     smdk5250		 samsung	exynos
 smdk5250		     arm	 armv7	     smdk5250		 samsung	exynos
 smdkv310		     arm	 armv7	     smdkv310		 samsung	exynos
 trats                        arm         armv7       trats               samsung        exynos
include/configs/snow.h new file +23 -0
new file mode 100644
index 0000000..b8460fd
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2013 Samsung Electronics
+ *
+ * Configuration settings for the SAMSUNG EXYNOS5 Snow board.
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */

include/configs/snow.h line 33

Quoted 10 lines
include/configs/snow.h new file +10 -0
+
+#ifndef __CONFIG_SNOW_H
+#define __CONFIG_SNOW_H
+
+#include <configs/exynos5250-dt.h>
+
+#undef CONFIG_DEFAULT_DEVICE_TREE
+#define CONFIG_DEFAULT_DEVICE_TREE	exynos5250-snow
+
+#endif	/* __CONFIG_SNOW_H */

Thanks,
Minkyu Kang.

#5 lore raw

PATCH v2 2/2 EXYNOS5: Snow: Add a configuration file

Hi Minkyu Kang,

Thank you for comments.

Quoted 25 lines · Minkyu Kang

Dear Rajeshwari,

Quoted 21 lines · Rajeshwari Shinde

This patch adds the configuration file for Snow Board and defines the same in boards.cfg.

---
Changes in V2:
- Added Maintainer

 MAINTAINERS            |    4 ++++
 boards.cfg             |    1 +
 include/configs/snow.h |   33 +++++++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 include/configs/snow.h
MAINTAINERS +0 -0
index 45e2dd4..5fc5b4d 100644
@@ -736,6 +736,10 @@ Chander Kashyap <[email protected]>
      SMDKV310                ARM ARMV7 (EXYNOS4210 SoC)
      SMDK5250                ARM ARMV7 (EXYNOS5250 SoC)
 
Quoted 4 lines

MAINTAINERS Chander Kashyap <[email protected]> · line 739

Quoted 1 line
MAINTAINERS +1 -0
+Rajeshwari Shinde <[email protected]>

Please keep this list to alphabetically.
your name should be moved to "S" section.

I am sorry but I did not find any alphabetical order in MAINTAINERS, had placed it there because all exynos based board are mentioned there.

Quoted 63 lines
Quoted 49 lines
MAINTAINERS +3 -0
+
+     snow                    ARM ARMV7 (EXYNOS5250 SoC)
+
 Lukasz Majewski <[email protected]>
 
      trats                   ARM ARMV7 (EXYNOS4210 SoC)
boards.cfg +1 -0
index b1319aa..54357eb 100644
@@ -286,6 +286,7 @@ s5p_goni                     arm         armv7       goni                samsung
 smdkc100                     arm         armv7       smdkc100            samsung        s5pc1xx
 origen                            arm         armv7       origen              samsung        exynos
 s5pc210_universal            arm         armv7       universal_c210      samsung        exynos
+snow                      arm         armv7       smdk5250            samsung        exynos
 smdk5250                  arm         armv7       smdk5250            samsung        exynos
 smdkv310                  arm         armv7       smdkv310            samsung        exynos
 trats                        arm         armv7       trats               samsung        exynos
include/configs/snow.h new file +23 -0
new file mode 100644
index 0000000..b8460fd
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2013 Samsung Electronics
+ *
+ * Configuration settings for the SAMSUNG EXYNOS5 Snow board.
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */

include/configs/snow.h line 33

Quoted 10 lines
include/configs/snow.h new file +10 -0
+
+#ifndef __CONFIG_SNOW_H
+#define __CONFIG_SNOW_H
+
+#include <configs/exynos5250-dt.h>
+
+#undef CONFIG_DEFAULT_DEVICE_TREE
+#define CONFIG_DEFAULT_DEVICE_TREE   exynos5250-snow
+
+#endif       /* __CONFIG_SNOW_H */

Thanks,
Minkyu Kang.

Quoted 4 lines

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

--
Regards,
Rajeshwari Shinde

#6 lore raw

PATCH v2 2/2 EXYNOS5: Snow: Add a configuration file

Quoted 30 lines · Rajeshwari Birje

Hi Minkyu Kang,

Thank you for comments.

Quoted 25 lines · Minkyu Kang

Dear Rajeshwari,

Quoted 21 lines · Rajeshwari Shinde

This patch adds the configuration file for Snow Board and defines the same in boards.cfg.

---
Changes in V2:
- Added Maintainer

 MAINTAINERS            |    4 ++++
 boards.cfg             |    1 +
 include/configs/snow.h |   33 +++++++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 include/configs/snow.h
MAINTAINERS +0 -0
index 45e2dd4..5fc5b4d 100644
@@ -736,6 +736,10 @@ Chander Kashyap <[email protected]>
      SMDKV310                ARM ARMV7 (EXYNOS4210 SoC)
      SMDK5250                ARM ARMV7 (EXYNOS5250 SoC)
 
Quoted 8 lines
Quoted 4 lines

MAINTAINERS Chander Kashyap <[email protected]> · line 739

Quoted 1 line
MAINTAINERS +1 -0
+Rajeshwari Shinde <[email protected]>

Please keep this list to alphabetically.
your name should be moved to "S" section.

I am sorry but I did not find any alphabetical order in MAINTAINERS, had placed it there because all exynos based board are mentioned there.

Quoted 1 line

sorted by last name. (Kang -> Kashyap -> Koschorrek...) Lukasz's position is wrong also.
"Rajeshwari Shinde" should be positioned next to "Bo Shen".

Thanks.
Minkyu Kang.