Jingoo Han wrote:
> 
> Use AUXDATA to set the device names for DP controller instance
> discovered from device tree.
> 
> Signed-off-by: Ajay Kumar <ajaykumar...@samsung.com>
> Signed-off-by: Jingoo Han <jg1....@samsung.com>
> ---
>  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(-)
> 
> diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-
> exynos/include/mach/map.h
> index ef4958b..c00a72e 100644
> --- a/arch/arm/mach-exynos/include/mach/map.h
> +++ b/arch/arm/mach-exynos/include/mach/map.h
> @@ -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
> 
> diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-
> exynos/mach-exynos5-dt.c
> index ed37273..8cebe12 100644
> --- a/arch/arm/mach-exynos/mach-exynos5-dt.c
> +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
> @@ -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 <kgene....@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

--
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

Reply via email to