From: Tomasz Figa <tomasz.figa@gmail.com> To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, kgene.kim@samsung.com, broonie@opensource.wolfsonmicro.com, kwangwoo.lee@gmail.com, jacmet@sunsite.dk, augulis.darius@gmail.com, mcuelenaere@gmail.com, linux@arm.linux.org.uk, Rob Herring <robherring2@gmail.com>, Mark Rutland <mark.rutland@arm.com>, Tomasz Figa <tomasz.figa@gmail.com> Subject: [PATCH v5 3/6] gpio: samsung: Skip legacy GPIO registration if pinctrl-s3c64xx is present Date: Mon, 15 Apr 2013 23:14:40 +0200 [thread overview] Message-ID: <1366060483-20342-4-git-send-email-tomasz.figa@gmail.com> (raw) In-Reply-To: <1366060483-20342-1-git-send-email-tomasz.figa@gmail.com> The new driver handles GPIO on DT-enabled platforms. Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com> --- drivers/gpio/gpio-samsung.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c index 99e0fa4..dc06a6f 100644 --- a/drivers/gpio/gpio-samsung.c +++ b/drivers/gpio/gpio-samsung.c @@ -3012,7 +3012,7 @@ static __init int samsung_gpiolib_init(void) int i, nr_chips; int group = 0; -#if defined(CONFIG_PINCTRL_EXYNOS) || defined(CONFIG_PINCTRL_EXYNOS5440) +#if defined(CONFIG_PINCTRL_SAMSUNG) || defined(CONFIG_PINCTRL_EXYNOS5440) /* * This gpio driver includes support for device tree support and there * are platforms using it. In order to maintain compatibility with those @@ -3026,10 +3026,12 @@ static __init int samsung_gpiolib_init(void) */ struct device_node *pctrl_np; static const struct of_device_id exynos_pinctrl_ids[] = { + { .compatible = "samsung,s3c64xx-pinctrl", }, { .compatible = "samsung,exynos4210-pinctrl", }, { .compatible = "samsung,exynos4x12-pinctrl", }, { .compatible = "samsung,exynos5250-pinctrl", }, { .compatible = "samsung,exynos5440-pinctrl", }, + { }, }; for_each_matching_node(pctrl_np, exynos_pinctrl_ids) if (pctrl_np && of_device_is_available(pctrl_np)) -- 1.8.1.5
WARNING: multiple messages have this Message-ID (diff)
From: tomasz.figa@gmail.com (Tomasz Figa) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 3/6] gpio: samsung: Skip legacy GPIO registration if pinctrl-s3c64xx is present Date: Mon, 15 Apr 2013 23:14:40 +0200 [thread overview] Message-ID: <1366060483-20342-4-git-send-email-tomasz.figa@gmail.com> (raw) In-Reply-To: <1366060483-20342-1-git-send-email-tomasz.figa@gmail.com> The new driver handles GPIO on DT-enabled platforms. Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com> --- drivers/gpio/gpio-samsung.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c index 99e0fa4..dc06a6f 100644 --- a/drivers/gpio/gpio-samsung.c +++ b/drivers/gpio/gpio-samsung.c @@ -3012,7 +3012,7 @@ static __init int samsung_gpiolib_init(void) int i, nr_chips; int group = 0; -#if defined(CONFIG_PINCTRL_EXYNOS) || defined(CONFIG_PINCTRL_EXYNOS5440) +#if defined(CONFIG_PINCTRL_SAMSUNG) || defined(CONFIG_PINCTRL_EXYNOS5440) /* * This gpio driver includes support for device tree support and there * are platforms using it. In order to maintain compatibility with those @@ -3026,10 +3026,12 @@ static __init int samsung_gpiolib_init(void) */ struct device_node *pctrl_np; static const struct of_device_id exynos_pinctrl_ids[] = { + { .compatible = "samsung,s3c64xx-pinctrl", }, { .compatible = "samsung,exynos4210-pinctrl", }, { .compatible = "samsung,exynos4x12-pinctrl", }, { .compatible = "samsung,exynos5250-pinctrl", }, { .compatible = "samsung,exynos5440-pinctrl", }, + { }, }; for_each_matching_node(pctrl_np, exynos_pinctrl_ids) if (pctrl_np && of_device_is_available(pctrl_np)) -- 1.8.1.5
next prev parent reply other threads:[~2013-04-15 21:14 UTC|newest] Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-04-15 21:14 [PATCH v5 0/6] Initial Device Tree support for S3C64xx Tomasz Figa 2013-04-15 21:14 ` Tomasz Figa 2013-04-15 21:14 ` [PATCH v5 1/6] ARM: common: vic: Parse interrupt and resume masks from device tree Tomasz Figa 2013-04-15 21:14 ` Tomasz Figa 2013-04-15 21:14 ` [PATCH v5 2/6] ARM: s3c64xx: Skip legacy EINT setup if pinctrl-s3c64xx driver is present Tomasz Figa 2013-04-15 21:14 ` Tomasz Figa 2013-04-16 16:26 ` Mark Brown 2013-04-16 16:26 ` Mark Brown 2013-04-16 22:31 ` Tomasz Figa 2013-04-16 22:31 ` Tomasz Figa 2013-04-16 22:43 ` [PATCH v6 " Tomasz Figa 2013-04-16 22:43 ` Tomasz Figa 2013-04-15 21:14 ` Tomasz Figa [this message] 2013-04-15 21:14 ` [PATCH v5 3/6] gpio: samsung: Skip legacy GPIO registration if pinctrl-s3c64xx " Tomasz Figa 2013-04-16 16:27 ` Mark Brown 2013-04-16 16:27 ` Mark Brown 2013-04-16 22:35 ` Tomasz Figa 2013-04-16 22:35 ` Tomasz Figa 2013-04-17 13:06 ` Mark Brown 2013-04-17 13:06 ` Mark Brown 2013-04-23 14:33 ` Kukjin Kim 2013-04-23 14:33 ` Kukjin Kim 2013-04-15 21:14 ` [PATCH v5 4/6] ARM: s3c64xx: Add board file for boot using Device Tree Tomasz Figa 2013-04-15 21:14 ` Tomasz Figa 2013-04-15 21:14 ` [PATCH v5 5/6] ARM: dts: Add basic dts include files for Samsung S3C64xx SoCs Tomasz Figa 2013-04-15 21:14 ` Tomasz Figa 2013-04-16 13:09 ` Rob Herring 2013-04-16 13:09 ` Rob Herring 2013-04-16 13:19 ` Tomasz Figa 2013-04-16 13:19 ` Tomasz Figa 2013-04-17 17:46 ` Rob Herring 2013-04-17 17:46 ` Rob Herring 2013-04-23 14:29 ` Kukjin Kim 2013-04-23 14:29 ` Kukjin Kim 2013-04-23 14:44 ` Tomasz Figa 2013-04-23 14:44 ` Tomasz Figa 2013-04-23 14:48 ` Kukjin Kim 2013-04-23 14:48 ` Kukjin Kim 2013-04-15 21:14 ` [PATCH v5 6/6] ARM: dts: Add dts file for S3C6410-based Mini6410 board Tomasz Figa 2013-04-15 21:14 ` Tomasz Figa 2013-04-16 16:33 ` [PATCH v5 0/6] Initial Device Tree support for S3C64xx Mark Brown 2013-04-16 16:33 ` Mark Brown 2013-04-16 22:23 ` [PATCH 1/2] pinctrl: s3c64xx: Fix build error caused by undefined chained_irq_enter Tomasz Figa 2013-04-16 22:23 ` Tomasz Figa 2013-04-16 22:24 ` [PATCH 2/2] pinctrl: samsung: Fix link error with CONFIG_PINCTRL_EXYNOS disabled Tomasz Figa 2013-04-16 22:24 ` Tomasz Figa 2013-04-23 12:03 ` Linus Walleij 2013-04-23 12:03 ` Linus Walleij 2013-04-23 12:09 ` Tomasz Figa 2013-04-23 12:09 ` Tomasz Figa 2013-04-24 14:27 ` Linus Walleij 2013-04-24 14:27 ` Linus Walleij 2013-04-24 14:47 ` Tomasz Figa 2013-04-24 14:47 ` Tomasz Figa 2013-04-25 13:26 ` Linus Walleij 2013-04-25 13:26 ` Linus Walleij 2013-04-16 22:29 ` [PATCH RESEND " Tomasz Figa 2013-04-16 22:29 ` Tomasz Figa 2013-04-23 12:00 ` [PATCH 1/2] pinctrl: s3c64xx: Fix build error caused by undefined chained_irq_enter Linus Walleij 2013-04-23 12:00 ` Linus Walleij 2013-04-17 13:08 ` [PATCH v5 0/6] Initial Device Tree support for S3C64xx Mark Brown 2013-04-17 13:08 ` Mark Brown
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1366060483-20342-4-git-send-email-tomasz.figa@gmail.com \ --to=tomasz.figa@gmail.com \ --cc=augulis.darius@gmail.com \ --cc=broonie@opensource.wolfsonmicro.com \ --cc=devicetree-discuss@lists.ozlabs.org \ --cc=jacmet@sunsite.dk \ --cc=kgene.kim@samsung.com \ --cc=kwangwoo.lee@gmail.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=linux@arm.linux.org.uk \ --cc=mark.rutland@arm.com \ --cc=mcuelenaere@gmail.com \ --cc=robherring2@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.