* [PATCH 0/3] ARM: S3C24XX: s3c2416 build fixes
@ 2013-06-13 22:44 Heiko Stübner
2013-06-13 22:45 ` [PATCH 1/3] gpio: samsung: add PINCTRL_S3C24XX to exclude options Heiko Stübner
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Heiko Stübner @ 2013-06-13 22:44 UTC (permalink / raw)
To: linux-arm-kernel
While testing Tomasz' timer series I came accross some small build problems
in the new code for pinctrl and dt support on s3c24xx.
All 3 patches fix problems in the samsung tree, so should also go thru there.
Heiko Stuebner (3):
gpio: samsung: add PINCTRL_S3C24XX to exclude options
pinctrl: s3c24xx: use correct header for chained_irq functions
ARM: S3C24XX: update uart addresses in s3c2416-dt auxdata
arch/arm/mach-s3c24xx/mach-s3c2416-dt.c | 8 ++++----
drivers/gpio/gpio-samsung.c | 3 ++-
drivers/pinctrl/pinctrl-s3c24xx.c | 3 +--
3 files changed, 7 insertions(+), 7 deletions(-)
--
1.7.10.4
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/3] gpio: samsung: add PINCTRL_S3C24XX to exclude options
2013-06-13 22:44 [PATCH 0/3] ARM: S3C24XX: s3c2416 build fixes Heiko Stübner
@ 2013-06-13 22:45 ` Heiko Stübner
2013-06-17 13:13 ` Kukjin Kim
2013-06-17 13:19 ` Tomasz Figa
2013-06-13 22:45 ` [PATCH 2/3] pinctrl: s3c24xx: use correct header for chained_irq functions Heiko Stübner
2013-06-13 22:46 ` [PATCH 3/3] ARM: S3C24XX: update uart addresses in s3c2416-dt auxdata Heiko Stübner
2 siblings, 2 replies; 13+ messages in thread
From: Heiko Stübner @ 2013-06-13 22:45 UTC (permalink / raw)
To: linux-arm-kernel
When a pinctrl driver is loaded legacy gpio support has to be disabled.
The code checking for the pinctrl presence is contained in an #ifdef
checking for the presence of a valid samsung pinctrl driver.
There the new PINCTRL_S3C24XX was missing resulting in the check never
being run and the gpio being enabled breaking the pinctrl driver.
Fix this by adding the missing CONFIG_PINCTRL_S3C24XX
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
drivers/gpio/gpio-samsung.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c
index a1392f4..c84503e 100644
--- a/drivers/gpio/gpio-samsung.c
+++ b/drivers/gpio/gpio-samsung.c
@@ -2949,7 +2949,8 @@ 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_EXYNOS) || defined(CONFIG_PINCTRL_EXYNOS5440) || \
+ defined(CONFIG_PINCTRL_S3C24XX)
/*
* This gpio driver includes support for device tree support and there
* are platforms using it. In order to maintain compatibility with those
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 2/3] pinctrl: s3c24xx: use correct header for chained_irq functions
2013-06-13 22:44 [PATCH 0/3] ARM: S3C24XX: s3c2416 build fixes Heiko Stübner
2013-06-13 22:45 ` [PATCH 1/3] gpio: samsung: add PINCTRL_S3C24XX to exclude options Heiko Stübner
@ 2013-06-13 22:45 ` Heiko Stübner
2013-06-17 13:16 ` Kukjin Kim
2013-06-13 22:46 ` [PATCH 3/3] ARM: S3C24XX: update uart addresses in s3c2416-dt auxdata Heiko Stübner
2 siblings, 1 reply; 13+ messages in thread
From: Heiko Stübner @ 2013-06-13 22:45 UTC (permalink / raw)
To: linux-arm-kernel
chained_irq_enter and chained_irq_exit moved to a real header under
linux/pinctrl instead of asm/.
Update the pinctrl driver to use the correct header and fix the build
error.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
drivers/pinctrl/pinctrl-s3c24xx.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-s3c24xx.c b/drivers/pinctrl/pinctrl-s3c24xx.c
index c8b0399..24446da 100644
--- a/drivers/pinctrl/pinctrl-s3c24xx.c
+++ b/drivers/pinctrl/pinctrl-s3c24xx.c
@@ -19,12 +19,11 @@
#include <linux/irqdomain.h>
#include <linux/irq.h>
#include <linux/of_irq.h>
+#include <linux/irqchip/chained_irq.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/err.h>
-#include <asm/mach/irq.h>
-
#include "pinctrl-samsung.h"
#define NUM_EINT 24
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 3/3] ARM: S3C24XX: update uart addresses in s3c2416-dt auxdata
2013-06-13 22:44 [PATCH 0/3] ARM: S3C24XX: s3c2416 build fixes Heiko Stübner
2013-06-13 22:45 ` [PATCH 1/3] gpio: samsung: add PINCTRL_S3C24XX to exclude options Heiko Stübner
2013-06-13 22:45 ` [PATCH 2/3] pinctrl: s3c24xx: use correct header for chained_irq functions Heiko Stübner
@ 2013-06-13 22:46 ` Heiko Stübner
2013-06-18 17:39 ` Kukjin Kim
2 siblings, 1 reply; 13+ messages in thread
From: Heiko Stübner @ 2013-06-13 22:46 UTC (permalink / raw)
To: linux-arm-kernel
Commit 9ee51f01eee8 (tty: serial/samsung: make register definitions global)
removed the S3C2410_PA_UARTX defines that the newly merged s3c2416 dt
support still expected.
So update mach-s3c2416-dt.c to use the S3C24XX_PA_UART constant
until we have support for the common clock framework the the s3c2416-dt.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
arch/arm/mach-s3c24xx/mach-s3c2416-dt.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-s3c24xx/mach-s3c2416-dt.c b/arch/arm/mach-s3c24xx/mach-s3c2416-dt.c
index f5c9072..f50454a 100644
--- a/arch/arm/mach-s3c24xx/mach-s3c2416-dt.c
+++ b/arch/arm/mach-s3c24xx/mach-s3c2416-dt.c
@@ -43,13 +43,13 @@
* data from the device tree.
*/
static const struct of_dev_auxdata s3c2416_auxdata_lookup[] __initconst = {
- OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C2410_PA_UART0,
+ OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C24XX_PA_UART,
"s3c2440-uart.0", NULL),
- OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C2410_PA_UART1,
+ OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C24XX_PA_UART + 0x4000,
"s3c2440-uart.1", NULL),
- OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C2410_PA_UART2,
+ OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C24XX_PA_UART + 0x8000,
"s3c2440-uart.2", NULL),
- OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C2443_PA_UART3,
+ OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C24XX_PA_UART + 0xC000,
"s3c2440-uart.3", NULL),
OF_DEV_AUXDATA("samsung,s3c6410-sdhci", S3C_PA_HSMMC0,
"s3c-sdhci.0", NULL),
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 1/3] gpio: samsung: add PINCTRL_S3C24XX to exclude options
2013-06-13 22:45 ` [PATCH 1/3] gpio: samsung: add PINCTRL_S3C24XX to exclude options Heiko Stübner
@ 2013-06-17 13:13 ` Kukjin Kim
2013-06-17 16:49 ` Linus Walleij
2013-06-17 13:19 ` Tomasz Figa
1 sibling, 1 reply; 13+ messages in thread
From: Kukjin Kim @ 2013-06-17 13:13 UTC (permalink / raw)
To: linux-arm-kernel
Heiko St?bner wrote:
>
> When a pinctrl driver is loaded legacy gpio support has to be disabled.
> The code checking for the pinctrl presence is contained in an #ifdef
> checking for the presence of a valid samsung pinctrl driver.
>
> There the new PINCTRL_S3C24XX was missing resulting in the check never
> being run and the gpio being enabled breaking the pinctrl driver.
>
> Fix this by adding the missing CONFIG_PINCTRL_S3C24XX
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
> drivers/gpio/gpio-samsung.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c
> index a1392f4..c84503e 100644
> --- a/drivers/gpio/gpio-samsung.c
> +++ b/drivers/gpio/gpio-samsung.c
> @@ -2949,7 +2949,8 @@ 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_EXYNOS) || defined(CONFIG_PINCTRL_EXYNOS5440)
> || \
> + defined(CONFIG_PINCTRL_S3C24XX)
> /*
> * This gpio driver includes support for device tree support and
> there
> * are platforms using it. In order to maintain compatibility with
> those
> --
> 1.7.10.4
Yeah, this is needed :-)
Linus, shall I take this into samsung tree? Or since the pinctrl-s3c24xx already merged into arm-soc, this could be picked into your tree...
Thanks,
- Kukjin
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 2/3] pinctrl: s3c24xx: use correct header for chained_irq functions
2013-06-13 22:45 ` [PATCH 2/3] pinctrl: s3c24xx: use correct header for chained_irq functions Heiko Stübner
@ 2013-06-17 13:16 ` Kukjin Kim
2013-06-17 15:45 ` Linus Walleij
0 siblings, 1 reply; 13+ messages in thread
From: Kukjin Kim @ 2013-06-17 13:16 UTC (permalink / raw)
To: linux-arm-kernel
Heiko St?bner wrote:
>
> chained_irq_enter and chained_irq_exit moved to a real header under
> linux/pinctrl instead of asm/.
>
> Update the pinctrl driver to use the correct header and fix the build
> error.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
> drivers/pinctrl/pinctrl-s3c24xx.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/pinctrl/pinctrl-s3c24xx.c b/drivers/pinctrl/pinctrl-
> s3c24xx.c
> index c8b0399..24446da 100644
> --- a/drivers/pinctrl/pinctrl-s3c24xx.c
> +++ b/drivers/pinctrl/pinctrl-s3c24xx.c
> @@ -19,12 +19,11 @@
> #include <linux/irqdomain.h>
> #include <linux/irq.h>
> #include <linux/of_irq.h>
> +#include <linux/irqchip/chained_irq.h>
> #include <linux/io.h>
> #include <linux/slab.h>
> #include <linux/err.h>
>
> -#include <asm/mach/irq.h>
> -
> #include "pinctrl-samsung.h"
>
> #define NUM_EINT 24
> --
> 1.7.10.4
Hmm, would be nice if I could take 1st and 2nd into samsung tree :-)
Linus, if any problems, please let me know.
Thanks,
- Kukjin
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/3] gpio: samsung: add PINCTRL_S3C24XX to exclude options
2013-06-13 22:45 ` [PATCH 1/3] gpio: samsung: add PINCTRL_S3C24XX to exclude options Heiko Stübner
2013-06-17 13:13 ` Kukjin Kim
@ 2013-06-17 13:19 ` Tomasz Figa
2013-06-17 15:43 ` Kukjin Kim
1 sibling, 1 reply; 13+ messages in thread
From: Tomasz Figa @ 2013-06-17 13:19 UTC (permalink / raw)
To: linux-arm-kernel
Hi Heiko,
On Friday 14 of June 2013 00:45:27 Heiko St?bner wrote:
> When a pinctrl driver is loaded legacy gpio support has to be disabled.
> The code checking for the pinctrl presence is contained in an #ifdef
> checking for the presence of a valid samsung pinctrl driver.
>
> There the new PINCTRL_S3C24XX was missing resulting in the check never
> being run and the gpio being enabled breaking the pinctrl driver.
>
> Fix this by adding the missing CONFIG_PINCTRL_S3C24XX
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
> drivers/gpio/gpio-samsung.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c
> index a1392f4..c84503e 100644
> --- a/drivers/gpio/gpio-samsung.c
> +++ b/drivers/gpio/gpio-samsung.c
> @@ -2949,7 +2949,8 @@ 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_EXYNOS) || defined(CONFIG_PINCTRL_EXYNOS5440) ||
> \ + defined(CONFIG_PINCTRL_S3C24XX)
I wonder if this wouldn't be simply covered by PINCTRL_SAMSUNG (except
PINCTRL_EXYNOS5440 which doesn't use the common part).
Best regards,
Tomasz
> /*
> * This gpio driver includes support for device tree support and there
> * are platforms using it. In order to maintain compatibility with those
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/3] gpio: samsung: add PINCTRL_S3C24XX to exclude options
2013-06-17 13:19 ` Tomasz Figa
@ 2013-06-17 15:43 ` Kukjin Kim
2013-06-17 15:48 ` Tomasz Figa
0 siblings, 1 reply; 13+ messages in thread
From: Kukjin Kim @ 2013-06-17 15:43 UTC (permalink / raw)
To: linux-arm-kernel
On 06/17/13 22:19, Tomasz Figa wrote:
> Hi Heiko,
>
> On Friday 14 of June 2013 00:45:27 Heiko St?bner wrote:
>> When a pinctrl driver is loaded legacy gpio support has to be disabled.
>> The code checking for the pinctrl presence is contained in an #ifdef
>> checking for the presence of a valid samsung pinctrl driver.
>>
>> There the new PINCTRL_S3C24XX was missing resulting in the check never
>> being run and the gpio being enabled breaking the pinctrl driver.
>>
>> Fix this by adding the missing CONFIG_PINCTRL_S3C24XX
>>
>> Signed-off-by: Heiko Stuebner<heiko@sntech.de>
>> ---
>> drivers/gpio/gpio-samsung.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c
>> index a1392f4..c84503e 100644
>> --- a/drivers/gpio/gpio-samsung.c
>> +++ b/drivers/gpio/gpio-samsung.c
>> @@ -2949,7 +2949,8 @@ 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_EXYNOS) || defined(CONFIG_PINCTRL_EXYNOS5440) ||
>> \ + defined(CONFIG_PINCTRL_S3C24XX)
>
> I wonder if this wouldn't be simply covered by PINCTRL_SAMSUNG (except
> PINCTRL_EXYNOS5440 which doesn't use the common part).
>
Well, not added compatible for 's3c64xx-pinctrl' yet?
- Kukjin
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 2/3] pinctrl: s3c24xx: use correct header for chained_irq functions
2013-06-17 13:16 ` Kukjin Kim
@ 2013-06-17 15:45 ` Linus Walleij
2013-06-17 15:58 ` Kukjin Kim
0 siblings, 1 reply; 13+ messages in thread
From: Linus Walleij @ 2013-06-17 15:45 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jun 17, 2013 at 3:16 PM, Kukjin Kim <kgene.kim@samsung.com> wrote:
> Heiko St?bner wrote:
>>
>> chained_irq_enter and chained_irq_exit moved to a real header under
>> linux/pinctrl instead of asm/.
>>
>> Update the pinctrl driver to use the correct header and fix the build
>> error.
>>
>> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(...)
>
> Hmm, would be nice if I could take 1st and 2nd into samsung tree :-)
>
> Linus, if any problems, please let me know.
No that should work fine. Nothing is touching pinctrl-s3c in my
pinctrl tree so:
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/3] gpio: samsung: add PINCTRL_S3C24XX to exclude options
2013-06-17 15:43 ` Kukjin Kim
@ 2013-06-17 15:48 ` Tomasz Figa
0 siblings, 0 replies; 13+ messages in thread
From: Tomasz Figa @ 2013-06-17 15:48 UTC (permalink / raw)
To: linux-arm-kernel
On Tuesday 18 of June 2013 00:43:41 Kukjin Kim wrote:
> On 06/17/13 22:19, Tomasz Figa wrote:
> > Hi Heiko,
> >
> > On Friday 14 of June 2013 00:45:27 Heiko St?bner wrote:
> >> When a pinctrl driver is loaded legacy gpio support has to be disabled.
> >> The code checking for the pinctrl presence is contained in an #ifdef
> >> checking for the presence of a valid samsung pinctrl driver.
> >>
> >> There the new PINCTRL_S3C24XX was missing resulting in the check never
> >> being run and the gpio being enabled breaking the pinctrl driver.
> >>
> >> Fix this by adding the missing CONFIG_PINCTRL_S3C24XX
> >>
> >> Signed-off-by: Heiko Stuebner<heiko@sntech.de>
> >> ---
> >>
> >> drivers/gpio/gpio-samsung.c | 3 ++-
> >> 1 file changed, 2 insertions(+), 1 deletion(-)
> >>
> >> diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c
> >> index a1392f4..c84503e 100644
> >> --- a/drivers/gpio/gpio-samsung.c
> >> +++ b/drivers/gpio/gpio-samsung.c
> >> @@ -2949,7 +2949,8 @@ 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_EXYNOS) || defined(CONFIG_PINCTRL_EXYNOS5440)
> >> || \ + defined(CONFIG_PINCTRL_S3C24XX)
> >
> > I wonder if this wouldn't be simply covered by PINCTRL_SAMSUNG (except
> > PINCTRL_EXYNOS5440 which doesn't use the common part).
>
> Well, not added compatible for 's3c64xx-pinctrl' yet?
Right, but this shouldn't have any effect on this code. PINCTRL_S3C64XX isn't
selected by anything yet, so PINCTRL_SAMSUNG won't be selected when
ARCH_S3C64XX is used.
As for s3c64xx DT support, I'm planning to finally post patches this week.
Best regards,
Tomasz
> - Kukjin
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc"
> in the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 2/3] pinctrl: s3c24xx: use correct header for chained_irq functions
2013-06-17 15:45 ` Linus Walleij
@ 2013-06-17 15:58 ` Kukjin Kim
0 siblings, 0 replies; 13+ messages in thread
From: Kukjin Kim @ 2013-06-17 15:58 UTC (permalink / raw)
To: linux-arm-kernel
On 06/18/13 00:45, Linus Walleij wrote:
> On Mon, Jun 17, 2013 at 3:16 PM, Kukjin Kim<kgene.kim@samsung.com> wrote:
>> Heiko St?bner wrote:
>>>
>>> chained_irq_enter and chained_irq_exit moved to a real header under
>>> linux/pinctrl instead of asm/.
>>>
>>> Update the pinctrl driver to use the correct header and fix the build
>>> error.
>>>
>>> Signed-off-by: Heiko Stuebner<heiko@sntech.de>
> (...)
>>
>> Hmm, would be nice if I could take 1st and 2nd into samsung tree :-)
>>
>> Linus, if any problems, please let me know.
>
> No that should work fine. Nothing is touching pinctrl-s3c in my
> pinctrl tree so:
> Acked-by: Linus Walleij<linus.walleij@linaro.org>
>
Thanks, applied with Linus' ack.
- Kukjin
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/3] gpio: samsung: add PINCTRL_S3C24XX to exclude options
2013-06-17 13:13 ` Kukjin Kim
@ 2013-06-17 16:49 ` Linus Walleij
0 siblings, 0 replies; 13+ messages in thread
From: Linus Walleij @ 2013-06-17 16:49 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jun 17, 2013 at 3:13 PM, Kukjin Kim <kgene.kim@samsung.com> wrote:
> Linus, shall I take this into samsung tree? Or since the pinctrl-s3c24xx already merged into arm-soc, this could be picked into your tree...
I'm not rebasing pinctrl agains the ARM SoC tree,
I only rebase to Torvalds tree.
So please take it through the Samsung tree...
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 3/3] ARM: S3C24XX: update uart addresses in s3c2416-dt auxdata
2013-06-13 22:46 ` [PATCH 3/3] ARM: S3C24XX: update uart addresses in s3c2416-dt auxdata Heiko Stübner
@ 2013-06-18 17:39 ` Kukjin Kim
0 siblings, 0 replies; 13+ messages in thread
From: Kukjin Kim @ 2013-06-18 17:39 UTC (permalink / raw)
To: linux-arm-kernel
On 06/14/13 07:46, Heiko St?bner wrote:
> Commit 9ee51f01eee8 (tty: serial/samsung: make register definitions global)
> removed the S3C2410_PA_UARTX defines that the newly merged s3c2416 dt
> support still expected.
>
> So update mach-s3c2416-dt.c to use the S3C24XX_PA_UART constant
> until we have support for the common clock framework the the s3c2416-dt.
>
OK, applied.
Thanks,
- Kukjin
> Signed-off-by: Heiko Stuebner<heiko@sntech.de>
> ---
> arch/arm/mach-s3c24xx/mach-s3c2416-dt.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/mach-s3c24xx/mach-s3c2416-dt.c b/arch/arm/mach-s3c24xx/mach-s3c2416-dt.c
> index f5c9072..f50454a 100644
> --- a/arch/arm/mach-s3c24xx/mach-s3c2416-dt.c
> +++ b/arch/arm/mach-s3c24xx/mach-s3c2416-dt.c
> @@ -43,13 +43,13 @@
> * data from the device tree.
> */
> static const struct of_dev_auxdata s3c2416_auxdata_lookup[] __initconst = {
> - OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C2410_PA_UART0,
> + OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C24XX_PA_UART,
> "s3c2440-uart.0", NULL),
> - OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C2410_PA_UART1,
> + OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C24XX_PA_UART + 0x4000,
> "s3c2440-uart.1", NULL),
> - OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C2410_PA_UART2,
> + OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C24XX_PA_UART + 0x8000,
> "s3c2440-uart.2", NULL),
> - OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C2443_PA_UART3,
> + OF_DEV_AUXDATA("samsung,s3c2440-uart", S3C24XX_PA_UART + 0xC000,
> "s3c2440-uart.3", NULL),
> OF_DEV_AUXDATA("samsung,s3c6410-sdhci", S3C_PA_HSMMC0,
> "s3c-sdhci.0", NULL),
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-06-18 17:39 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-13 22:44 [PATCH 0/3] ARM: S3C24XX: s3c2416 build fixes Heiko Stübner
2013-06-13 22:45 ` [PATCH 1/3] gpio: samsung: add PINCTRL_S3C24XX to exclude options Heiko Stübner
2013-06-17 13:13 ` Kukjin Kim
2013-06-17 16:49 ` Linus Walleij
2013-06-17 13:19 ` Tomasz Figa
2013-06-17 15:43 ` Kukjin Kim
2013-06-17 15:48 ` Tomasz Figa
2013-06-13 22:45 ` [PATCH 2/3] pinctrl: s3c24xx: use correct header for chained_irq functions Heiko Stübner
2013-06-17 13:16 ` Kukjin Kim
2013-06-17 15:45 ` Linus Walleij
2013-06-17 15:58 ` Kukjin Kim
2013-06-13 22:46 ` [PATCH 3/3] ARM: S3C24XX: update uart addresses in s3c2416-dt auxdata Heiko Stübner
2013-06-18 17:39 ` Kukjin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).