Skip to contentSkip to conversation

ARM: EXYNOS: Add AUXDATA for DP controller

PATCH Superseded Jingoo Han 2 participants 2 messages Nov 5, 2012 – Nov 24, 2012

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH 1/2 ARM: EXYNOS: Add AUXDATA for DP controller

Use AUXDATA to set the device names for DP controller instance discovered from device tree.

---
 arch/arm/mach-exynos/include/mach/map.h |    2 ++
 arch/arm/mach-exynos/mach-exynos5-dt.c  |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/mach-exynos/include/mach/map.h +2 -0
index ef4958b..c00a72e 100644
@@ -221,6 +221,8 @@
 #define EXYNOS4_PA_TIMER		0x139D0000
 #define EXYNOS5_PA_TIMER		0x12DD0000
 
+#define EXYNOS5_PA_DP			0x145B0000
+
 #define EXYNOS4_PA_SDRAM		0x40000000
 #define EXYNOS5_PA_SDRAM		0x40000000
 
arch/arm/mach-exynos/mach-exynos5-dt.c +1 -0
index ed37273..8cebe12 100644
@@ -86,6 +86,7 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = {
 				"exynos5-hdmi", NULL),
 	OF_DEV_AUXDATA("samsung,exynos5-mixer", 0x14450000,
 				"exynos5-mixer", NULL),
+	OF_DEV_AUXDATA("samsung,exynos5-dp", EXYNOS5_PA_DP, "exynos-dp", NULL),
 	{},
 };
 
Signature · 1 line
1.7.1
#1 lore raw
Quoted 31 lines · Jingoo Han

Use AUXDATA to set the device names for DP controller instance discovered from device tree.

---
 arch/arm/mach-exynos/include/mach/map.h |    2 ++
 arch/arm/mach-exynos/mach-exynos5-dt.c  |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/mach- renamed from arch/arm/mach-exynos/include/mach/map.h +0 -0

exynos/include/mach/map.h
index ef4958b..c00a72e 100644

arch/arm/mach-exynos/include/mach/map.h +2 -0
@@ -221,6 +221,8 @@
 #define EXYNOS4_PA_TIMER		0x139D0000
 #define EXYNOS5_PA_TIMER		0x12DD0000
 
+#define EXYNOS5_PA_DP			0x145B0000
+
 #define EXYNOS4_PA_SDRAM		0x40000000
 #define EXYNOS5_PA_SDRAM		0x40000000
 
arch/arm/mach- renamed from arch/arm/mach-exynos/mach-exynos5-dt.c +0 -0

exynos/mach-exynos5-dt.c
index ed37273..8cebe12 100644

arch/arm/mach-exynos/mach-exynos5-dt.c static const struct of_dev_auxdata · line 91

Quoted 6 lines
arch/arm/mach-exynos/mach-exynos5-dt.c +1 -0
@@ -86,6 +86,7 @@ static const struct of_dev_auxdata
 exynos5250_auxdata_lookup[] __initconst = {
 				"exynos5-hdmi", NULL),
 	OF_DEV_AUXDATA("samsung,exynos5-mixer", 0x14450000,
 				"exynos5-mixer", NULL),
+	OF_DEV_AUXDATA("samsung,exynos5-dp", EXYNOS5_PA_DP, "exynos-dp",
 NULL),

Just following is enough because the EXYNOS5_PA_DP is not used other places, auxdata will be gone away with common clock later though.

+ OF_DEV_AUXDATA("samsung,exynos5-dp", 0x145B0000, "exynos-dp", NULL),

Applied with above modification.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.