RE: [PATCH RESEND] ARM: EXYNOS: no more support non-DT for EXYNOS SoCs

2013-05-14 Thread Kukjin Kim
Kukjin Kim wrote:
> 

[...]

> Note that I will send this removing non-DT exynos support patch to
> arm-soc tree after release v3.10-rc1.

Just note that, as we discussed, this patch will be queued for v3.11.

- Kukjin

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


Re: [PATCH RESEND] ARM: EXYNOS: no more support non-DT for EXYNOS SoCs

2013-04-23 Thread Kukjin Kim

On 04/23/13 04:11, Arnd Bergmann wrote:


I still have hope to get those included.


I agree and I asked Tomasz to re-send universal dt patch.


Hi Arnd and Olof,

Is it possible to send one more pull-request for this and something like
dt patches for exynos?


I think it's too late for that now, let's just fix the broken pieces
now and do the minimum amount of patches on top of what we have:

Agreed, but following has been sent to arm-soc as a name of 'dt-exynos2 
for v3.10' at 4/10, even though its base should be fixed.


8<8<-
Sachin Kamat (5):
  ARM: dts: Remove keypad entries from exynos4x12-pinctrl.dtsi
  ARM: dts: Add keypad entries to Exynos4412 based Origen
  ARM: dts: Add keypad entries to SMDK4412
  ARM: dts: Add MFC clock entries for exynos4
  ARM: dts: Update MFC documentation for clock entries

Vivek Gautam (5):
  ARM: dts: Enabling samsung-usb2phy driver for exynos5250
  ARM: dts: Enabling samsung-usb3phy driver for exynos5250
  ARM: dts: Add device tree bindings for dwc3-exynos
  ARM: dts: Enabling dwc3-exynos driver for exynos5250
  ARM: EXYNOS: Enable XHCI support on exynos5

.../devicetree/bindings/media/s5p-mfc.txt  |  5 ++
 .../devicetree/bindings/usb/exynos-usb.txt | 34 +
 arch/arm/boot/dts/exynos4.dtsi |  2 +
 arch/arm/boot/dts/exynos4412-origen.dts| 62 +++
 arch/arm/boot/dts/exynos4412-smdk4412.dts  | 87 
++

 arch/arm/boot/dts/exynos4x12-pinctrl.dtsi  | 56 --
 arch/arm/boot/dts/exynos5250.dtsi  | 45 +++
 arch/arm/mach-exynos/Kconfig   |  1 +
 8 files changed, 236 insertions(+), 56 deletions(-)
8<8<-

So I'd like to send below you mentioned with above.

Note that I will send this removing non-DT exynos support patch to 
arm-soc tree after release v3.10-rc1.



* Thomas Abraham's fix for the clk code


Included in my late-dt branch for exynos.


* Tomasz Figa's patch to restore Universal C210


If you mean '[PATCH v2 0/3] ARM: EXYNOS: DT-enabled support for 
Universal C210', the series included but as I know, that depends on 
'[PATCH v5 00/14] ARM: samsung-time: Prepare for multiplatform support' 
you asked to postpone for v3.11...



* Whatever is needed to get USB working again on Arndale


Hmm, I'm not sure which patch is needed for this on Arndale, 
unfortunately, I don't have the platform...Probably above Vivek's patches?



* Anything else that comes up that is really a bug fix.


Yes, right.


* Getting the PWM and ADC drivers working with DT, that can
   easily be done.


OK.


* Possibly a patch to mark CONFIG_EXYNOS_ATAGS as broken,
   if you think that helps.


Yes.


but not:

* The entire series to rework the PWM clock from Tomasz


See above comments.


* The entire series to remove ATAGS support on Exynos


OK.


* Any other non-bugfix patches


OK.

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


Re: [PATCH RESEND] ARM: EXYNOS: no more support non-DT for EXYNOS SoCs

2013-04-22 Thread Arnd Bergmann
On Monday 22 April 2013, Kukjin Kim wrote:
> On 04/10/13 23:05, Kukjin Kim wrote:
> > On 04/10/13 22:55, Arnd Bergmann wrote:
> >> On Wednesday 10 April 2013, Sylwester Nawrocki wrote:
> >>> Hmm, it turns out we are still actively using some boards based on
> >>> Exynos4210 EVT0 SoCs. And since it seems unlikely the patches from
> >>> Tomasz [1] adding basic DT support for those will get merged for
> >>> 3.10, it would be a bit inconvenient to remove the ATAGS support
> >>> now, leaving Exynos4210 Rev. 0 not supported at all.
> >>
> >> I still have hope to get those included.
> >>
> > I agree and I asked Tomasz to re-send universal dt patch.
> >
> Hi Arnd and Olof,
> 
> Is it possible to send one more pull-request for this and something like 
> dt patches for exynos?

I think it's too late for that now, let's just fix the broken pieces
now and do the minimum amount of patches on top of what we have:

* Thomas Abraham's fix for the clk code
* Tomasz Figa's patch to restore Universal C210
* Whatever is needed to get USB working again on Arndale
* Anything else that comes up that is really a bug fix.
* Getting the PWM and ADC drivers working with DT, that can
  easily be done.
* Possibly a patch to mark CONFIG_EXYNOS_ATAGS as broken,
  if you think that helps.

but not:

* The entire series to rework the PWM clock from Tomasz
* The entire series to remove ATAGS support on Exynos
* Any other non-bugfix patches

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


Re: [PATCH RESEND] ARM: EXYNOS: no more support non-DT for EXYNOS SoCs

2013-04-22 Thread Kukjin Kim

On 04/10/13 23:05, Kukjin Kim wrote:

On 04/10/13 22:55, Arnd Bergmann wrote:

On Wednesday 10 April 2013, Sylwester Nawrocki wrote:

Hmm, it turns out we are still actively using some boards based on
Exynos4210 EVT0 SoCs. And since it seems unlikely the patches from
Tomasz [1] adding basic DT support for those will get merged for
3.10, it would be a bit inconvenient to remove the ATAGS support
now, leaving Exynos4210 Rev. 0 not supported at all.


I still have hope to get those included.


I agree and I asked Tomasz to re-send universal dt patch.


Hi Arnd and Olof,

Is it possible to send one more pull-request for this and something like 
dt patches for exynos?


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


Re: [PATCH RESEND] ARM: EXYNOS: no more support non-DT for EXYNOS SoCs

2013-04-10 Thread Kukjin Kim

On 04/10/13 22:55, Arnd Bergmann wrote:

On Wednesday 10 April 2013, Sylwester Nawrocki wrote:

Hmm, it turns out we are still actively using some boards based on
Exynos4210 EVT0 SoCs. And since it seems unlikely the patches from
Tomasz [1] adding basic DT support for those will get merged for
3.10, it would be a bit inconvenient to remove the ATAGS support
now, leaving Exynos4210 Rev. 0 not supported at all.


I still have hope to get those included.


I agree and I asked Tomasz to re-send universal dt patch.


Not sure what's others opinion on that, and what would be an advantage
of removing non-dt support for Exynos now, rather than in 3.11, vs. any
possible inconvenience and regressions this could cause.


A multiplatform kernel will not work on an ATAGS based Exynos platform,
but I think we can have it both ways and allow either multiplatform
DT-only or single-platform with both DT and ATAGS in 3.10.


I think, if possible, keeping both way would be nice to us.

Thanks.

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


Re: [PATCH RESEND] ARM: EXYNOS: no more support non-DT for EXYNOS SoCs

2013-04-10 Thread Arnd Bergmann
On Wednesday 10 April 2013, Sylwester Nawrocki wrote:
> Hmm, it turns out we are still actively using some boards based on
> Exynos4210 EVT0 SoCs. And since it seems unlikely the patches from
> Tomasz [1] adding basic DT support for those will get merged for
> 3.10, it would be a bit inconvenient to remove the ATAGS support
> now, leaving Exynos4210 Rev. 0 not supported at all.

I still have hope to get those included.

> Not sure what's others opinion on that, and what would be an advantage
> of removing non-dt support for Exynos now, rather than in 3.11, vs. any
> possible inconvenience and regressions this could cause.

A multiplatform kernel will not work on an ATAGS based Exynos platform,
but I think we can have it both ways and allow either multiplatform
DT-only or single-platform with both DT and ATAGS in 3.10.

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


Re: [PATCH RESEND] ARM: EXYNOS: no more support non-DT for EXYNOS SoCs

2013-04-10 Thread Sylwester Nawrocki
On 04/10/2013 02:59 PM, Arnd Bergmann wrote:
> On Wednesday 10 April 2013, Sylwester Nawrocki wrote:
>> On 04/10/2013 12:34 PM, Kukjin Kim wrote:
>>> Kukjin Kim wrote:

 From: Kukjin Kim 

 As we discussed in mailing list, non-DT for EXYNOS SoCs will not be
 supported from v3.10. This patch removes regarding files for non-DT
 including board files.

 Signed-off-by: Kukjin Kim 
>>
>> It looks OK to me.
> 
> Ok. I am currently rebuilding my exynos multiplatform series on top of the
> branches merged yesterday, but keeping ATAGS support alive there.
> 
> Should I rebase on top of this patch instead?

Hmm, it turns out we are still actively using some boards based on
Exynos4210 EVT0 SoCs. And since it seems unlikely the patches from
Tomasz [1] adding basic DT support for those will get merged for
3.10, it would be a bit inconvenient to remove the ATAGS support
now, leaving Exynos4210 Rev. 0 not supported at all.

Not sure what's others opinion on that, and what would be an advantage
of removing non-dt support for Exynos now, rather than in 3.11, vs. any
possible inconvenience and regressions this could cause.

[1] http://www.spinics.net/lists/arm-kernel/msg235745.html

Thanks,
Sylwester
--
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


Re: [PATCH RESEND] ARM: EXYNOS: no more support non-DT for EXYNOS SoCs

2013-04-10 Thread Arnd Bergmann
On Wednesday 10 April 2013, Sylwester Nawrocki wrote:
> On 04/10/2013 12:34 PM, Kukjin Kim wrote:
> > Kukjin Kim wrote:
> >>
> >> From: Kukjin Kim 
> >>
> >> As we discussed in mailing list, non-DT for EXYNOS SoCs will not be
> >> supported from v3.10. This patch removes regarding files for non-DT
> >> including board files.
> >>
> >> Signed-off-by: Kukjin Kim 
> 
> It looks OK to me.

Ok. I am currently rebuilding my exynos multiplatform series on top of the
branches merged yesterday, but keeping ATAGS support alive there.

Should I rebase on top of this patch instead?

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


Re: [PATCH RESEND] ARM: EXYNOS: no more support non-DT for EXYNOS SoCs

2013-04-10 Thread Sylwester Nawrocki
On 04/10/2013 12:34 PM, Kukjin Kim wrote:
> Kukjin Kim wrote:
>>
>> From: Kukjin Kim 
>>
>> As we discussed in mailing list, non-DT for EXYNOS SoCs will not be
>> supported from v3.10. This patch removes regarding files for non-DT
>> including board files.
>>
>> Signed-off-by: Kukjin Kim 

It looks OK to me.

> I'd like to send this patch for v3.10 in late branch, if possible.
> 
> If any objections, please let me know.
> 
> - Kukjin

Thanks,
Sylwester

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


RE: [PATCH RESEND] ARM: EXYNOS: no more support non-DT for EXYNOS SoCs

2013-04-10 Thread Kukjin Kim
Kukjin Kim wrote:
> 
> From: Kukjin Kim 
> 
> As we discussed in mailing list, non-DT for EXYNOS SoCs will not be
> supported from v3.10. This patch removes regarding files for non-DT
> including board files.
> 
> Signed-off-by: Kukjin Kim 

I'd like to send this patch for v3.10 in late branch, if possible.

If any objections, please let me know.

- Kukjin

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


[PATCH RESEND] ARM: EXYNOS: no more support non-DT for EXYNOS SoCs

2013-04-09 Thread kgene . kim
From: Kukjin Kim 

As we discussed in mailing list, non-DT for EXYNOS SoCs will not be
supported from v3.10. This patch removes regarding files for non-DT
including board files.

Signed-off-by: Kukjin Kim 
---
Recreated as per Arnd's suggestion with using -D option :-)

Thanks, Arnd.

 arch/arm/configs/exynos4_defconfig |   68 --
 arch/arm/mach-exynos/Kconfig   |  303 +-
 arch/arm/mach-exynos/Makefile  |   26 -
 arch/arm/mach-exynos/common.c  |9 +-
 arch/arm/mach-exynos/dev-ahci.c|  255 -
 arch/arm/mach-exynos/dev-ohci.c|   52 --
 arch/arm/mach-exynos/dma.c |  322 ---
 arch/arm/mach-exynos/mach-armlex4210.c |  206 -
 arch/arm/mach-exynos/mach-nuri.c   | 1387 
 arch/arm/mach-exynos/mach-origen.c |  822 -
 arch/arm/mach-exynos/mach-smdk4x12.c   |  395 
 arch/arm/mach-exynos/mach-smdkv310.c   |  443 -
 arch/arm/mach-exynos/mach-universal_c210.c | 1159 ---
 arch/arm/mach-exynos/pm_domains.c  |7 -
 arch/arm/mach-exynos/setup-fimc.c  |   44 -
 arch/arm/mach-exynos/setup-fimd0.c |   43 -
 arch/arm/mach-exynos/setup-i2c1.c  |   23 -
 arch/arm/mach-exynos/setup-i2c2.c  |   23 -
 arch/arm/mach-exynos/setup-i2c3.c  |   23 -
 arch/arm/mach-exynos/setup-i2c4.c  |   23 -
 arch/arm/mach-exynos/setup-i2c5.c  |   23 -
 arch/arm/mach-exynos/setup-i2c6.c  |   23 -
 arch/arm/mach-exynos/setup-i2c7.c  |   23 -
 arch/arm/mach-exynos/setup-keypad.c|   36 -
 arch/arm/mach-exynos/setup-sdhci-gpio.c|  152 ---
 arch/arm/mach-exynos/setup-spi.c   |   45 -
 arch/arm/mach-exynos/setup-usb-phy.c   |  223 -
 27 files changed, 3 insertions(+), 6155 deletions(-)
 delete mode 100644 arch/arm/configs/exynos4_defconfig
 delete mode 100644 arch/arm/mach-exynos/dev-ahci.c
 delete mode 100644 arch/arm/mach-exynos/dev-ohci.c
 delete mode 100644 arch/arm/mach-exynos/dma.c
 delete mode 100644 arch/arm/mach-exynos/mach-armlex4210.c
 delete mode 100644 arch/arm/mach-exynos/mach-nuri.c
 delete mode 100644 arch/arm/mach-exynos/mach-origen.c
 delete mode 100644 arch/arm/mach-exynos/mach-smdk4x12.c
 delete mode 100644 arch/arm/mach-exynos/mach-smdkv310.c
 delete mode 100644 arch/arm/mach-exynos/mach-universal_c210.c
 delete mode 100644 arch/arm/mach-exynos/setup-fimc.c
 delete mode 100644 arch/arm/mach-exynos/setup-fimd0.c
 delete mode 100644 arch/arm/mach-exynos/setup-i2c1.c
 delete mode 100644 arch/arm/mach-exynos/setup-i2c2.c
 delete mode 100644 arch/arm/mach-exynos/setup-i2c3.c
 delete mode 100644 arch/arm/mach-exynos/setup-i2c4.c
 delete mode 100644 arch/arm/mach-exynos/setup-i2c5.c
 delete mode 100644 arch/arm/mach-exynos/setup-i2c6.c
 delete mode 100644 arch/arm/mach-exynos/setup-i2c7.c
 delete mode 100644 arch/arm/mach-exynos/setup-keypad.c
 delete mode 100644 arch/arm/mach-exynos/setup-sdhci-gpio.c
 delete mode 100644 arch/arm/mach-exynos/setup-spi.c
 delete mode 100644 arch/arm/mach-exynos/setup-usb-phy.c

diff --git a/arch/arm/configs/exynos4_defconfig 
b/arch/arm/configs/exynos4_defconfig
deleted file mode 100644
index bffe68e..000
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index a62d979..b93d221 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -80,314 +80,13 @@ config SOC_EXYNOS5440
help
  Enable EXYNOS5440 SoC support
 
-config EXYNOS_DEV_DMA
-   bool
-   help
- Compile in amba device definitions for DMA controller
-
-config EXYNOS4_DEV_AHCI
-   bool
-   help
- Compile in platform device definitions for AHCI
-
-config EXYNOS4_SETUP_FIMD0
-   bool
-   help
- Common setup code for FIMD0.
-
-config EXYNOS4_DEV_USB_OHCI
-   bool
-   help
- Compile in platform device definition for USB OHCI
-
-config EXYNOS4_SETUP_I2C1
-   bool
-   help
- Common setup code for i2c bus 1.
-
-config EXYNOS4_SETUP_I2C2
-   bool
-   help
- Common setup code for i2c bus 2.
-
-config EXYNOS4_SETUP_I2C3
-   bool
-   help
- Common setup code for i2c bus 3.
-
-config EXYNOS4_SETUP_I2C4
-   bool
-   help
- Common setup code for i2c bus 4.
-
-config EXYNOS4_SETUP_I2C5
-   bool
-   help
- Common setup code for i2c bus 5.
-
-config EXYNOS4_SETUP_I2C6
-   bool
-   help
- Common setup code for i2c bus 6.
-
-config EXYNOS4_SETUP_I2C7
-   bool
-   help
- Common setup code for i2c bus 7.
-
-config EXYNOS4_SETUP_KEYPAD
-   bool
-   help
- Common setup code for keypad.
-
-config EXYNOS4_SETUP_SDHCI
-   bool
-   select EXYNOS4_SETUP_SDHCI_GPIO
-   help
- Internal helper functions for EXYNOS4 based SDHCI systems.
-
-config EXYNOS4_SETUP_SDHCI_GPIO
-   bool
-   help
-