arm: exynos: config exynos5 hdmi-hpd gpio
Sure Mr. park,
I will correct this in v2.
I want to request you for reviewing the other patches in the set.
regards,
Rahul Sharma
Quoted 63 lines · Kyungmin Park
Quoted 31 lines · Rahul Sharma
This patch adds support for the configuration of exynos5 hdmi-hpd gpio. It sets the gpio fucntion to EINT which is required for recieving external hpd interrupt in drm hdmi driver.
Signed-off-by Rahul Sharma <[email protected]>--- arch/arm/mach-exynos/mach-exynos5-dt.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)arch/arm/mach-exynos/mach-exynos5-dt.c +2
-0@@ -11,6 +11,7 @@#include <linux/of_platform.h> #include <linux/serial_core.h> +#include <linux/gpio.h> #include <asm/mach/arch.h> #include <asm/hardware/gic.h> @@ -18,6 +19,7 @@#include <plat/cpu.h> #include <plat/regs-serial.h> +#include <plat/gpio-cfg.h> #include "common.h" arch/arm/mach-exynos/mach-exynos5-dt.c static void __init exynos5250_dt_map_io(void) · line 90
Quoted 8 lines
arch/arm/mach-exynos/mach-exynos5-dt.c +5
-0@@ -81,10 +83,17 @@ static void __init exynos5250_dt_map_io(void)s3c24xx_init_clocks (24000000 ); } +static void smdk_hpd_setup (void ) +{ +s3c_gpio_cfgpin (EXYNOS5_GPX3 (7 ),S3C_GPIO_SFN (0xf )); +s3c_gpio_setpull (EXYNOS5_GPX3 (7 ),S3C_GPIO_PULL_DOWN ); +}these should be described at dts file instead of here. and name is not good. smdk...
Thank you,
Kyungmin ParkQuoted 18 lines
arch/arm/mach-exynos/mach-exynos5-dt.c +2
-1+static void __init exynos5250_dt_machine_init (void ) {of_platform_populate (NULL , of_default_bus_match_table, exynos5250_auxdata_lookup,NULL ); +smdk_hpd_setup (); }static char const *exynos5250_dt_compat[]__initdata = { --1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html