Skip to contentSkip to conversation

ARM: S5PC210: OneNAND device support

PATCH New Kyungmin Park 2 participants 2 messages Aug 17, 2010 – Aug 30, 2010

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: S5PC210: OneNAND device support

From: Kyungmin Park <[email protected]>

OneNAND device support on s5pc210 SoC.
It's same as s5pc110 controller

---

arch/arm/mach-s5pv310/Kconfig +5 -0
index 331b5bd..6a8427d 100644
@@ -25,6 +25,11 @@ config S5PV310_SETUP_I2C2
 	help
 	  Common setup code for i2c bus 2.
 
+config S5PC210_DEV_ONENAND
+	bool
+	help
+	  Compile in platform device definition for OneNAND controller
+
 # machine support
 
 config MACH_SMDKV310
arch/arm/mach-s5pv310/Makefile +1 -0
index d5b51c7..9e585a3 100644
@@ -28,3 +28,4 @@ obj-$(CONFIG_MACH_UNIVERSAL_C210)	+= mach-universal_c210.o
 
 obj-$(CONFIG_S5PV310_SETUP_I2C1)	+= setup-i2c1.o
 obj-$(CONFIG_S5PV310_SETUP_I2C2)	+= setup-i2c2.o
+obj-$(CONFIG_S5PC210_DEV_ONENAND)	+= dev-onenand.o
arch/arm/mach-s5pv310/dev-onenand.c new file +46 -0

46 lines not on this page · raw message

arch/arm/mach-s5pv310/include/mach/irqs.h +2 -0
index 56885ca..f7fb2b8 100644
@@ -66,6 +66,8 @@
 
 #define IRQ_IIC			COMBINER_IRQ(27, 0)
 
+#define IRQ_ONENAND_AUDI	COMBINER_IRQ(34, 0)
+
 /* Set the default NR_IRQS */
 #define NR_IRQS			COMBINER_IRQ(MAX_COMBINER_NR, 0)
 
arch/arm/mach-s5pv310/include/mach/map.h +3 -0
index 87697c9..f714620 100644
@@ -23,6 +23,9 @@
 
 #include <plat/map-s5p.h>
 
+#define S5PC210_PA_ONENAND		(0x0C000000)
+#define S5PC210_PA_ONENAND_DMA		(0x0C600000)
+
 #define S5PV310_PA_CHIPID		(0x10000000)
 #define S5P_PA_CHIPID			S5PV310_PA_CHIPID
 
#1 lore raw

PATCH 1/1 ARM: S5PC210: OneNAND device support

Quoted 7 lines · Kyungmin Park

From: Kyungmin Park <[email protected]>

OneNAND device support on s5pc210 SoC.
It's same as s5pc110 controller

---

Looks like material for an arm tree/subtree, not for the MTD tree.

Signature · 2 lines
Best Regards,
Artem Bityutskiy (???????? ?????)