Again the series of small moves of common code from the plat-s3c24xx to the
mach-s3c24xx directory.
This time without the wrong handled irq.c . Hopefully I'll get time to do it
properly later.
As the dev-uart.c move breaks the resource patch by Tushar Behera, I updated
the patch to fix the
Following the model of s3c64xx cpu.c becomes common.c in mach-s3c24xx,
to got more common code added later on.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |2 ++
.../{plat-s3c24xx/cpu.c = mach-s3c24xx/common.c} |2 +-
The uart devices are used on all s3c24xx machines, so they can reside
in the common code for all machines.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/common.c | 73 +++
arch/arm/plat-s3c24xx/Makefile |1 -
This is the basic power-management code used by all s3c24xx machines.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |4
arch/arm/{plat-s3c24xx = mach-s3c24xx}/irq-pm.c |0
arch/arm/{plat-s3c24xx = mach-s3c24xx}/pm.c |0
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/common.c | 18
arch/arm/plat-s3c24xx/Makefile |1 -
arch/arm/plat-s3c24xx/clock.c | 59
3 files changed, 18 insertions(+), 60 deletions(-)
delete mode 100644
From: Tushar Behera tushar.beh...@linaro.org
CC: Ben Dooks ben-li...@fluff.org
CC: Kukjin Kim kgene@samsung.com
Signed-off-by: Tushar Behera tushar.beh...@linaro.org
Signed-off-by: Heiko Stuebner he...@sntech.de
---
changes since v1: update the patch to apply against the moved dev-uart
Am Mittwoch, 9. Mai 2012, 10:56:17 schrieb Mark Brown:
On Wed, May 09, 2012 at 03:34:50AM +0530, Thomas Abraham wrote:
+ s3c64xx_spi0_set_platdata(s3c6410-spi, NULL, 0, 1);
Shouldn't we just set the name in the struct platform_device rather than
requiring the machine to pass it through by
Am Mittwoch, 9. Mai 2012, 00:04:51 schrieb Thomas Abraham:
The set_level callback in the controller data, which is used to configure
the slave select line, cannot be supported when migrating the driver to
device tree based discovery. Since all the platforms currently use gpio
as the slave
Hi Kgene,
Am Mittwoch 25 April 2012, 15:11:25 schrieb Heiko Stübner:
Am Montag, 2. April 2012, 21:28:09 schrieb Heiko Stübner:
Am Samstag 03 März 2012, 22:19:45 schrieb Heiko Stübner:
The S3C2416 has a separate second interrupt register-set to support
additional irqs. This patch adds
Am Montag, 14. Mai 2012, 01:51:00 schrieb Daniel Lezcano:
On 05/09/2012 04:08 PM, Daniel Lezcano wrote:
These couple of patches use the new cpuidle core api to refactor
some part of the code. The first one declares the states directly
in the driver declaration and the second one use the
Fix a boot regression in existing kernels causing:
genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq XXX
caused by 1c6c6952 (genirq: Reject bogus threaded irq requests).
Signed-off-by: Heiko Stuebner he...@sntech.de
---
Witnessed on a s3c2416 with 3.5-rc1
Am Montag 25 Juni 2012, 12:11:52 schrieb Paul Bolle:
Commit 85fd6d63bf2927b9da7ab1b0d46723bfdb13808c (ARM: S3C2410: move
mach-s3c2410/* into mach-s3c24xx/) orphaned
arch/arm/mach-s3c2410/Kconfig: currently no other Kconfig file sources
that file. This means that the Kconfig symbols
Am Mittwoch, 4. Juli 2012, 18:07:24 schrieb Mark Brown:
Make it easier to switch to the common clock API by making the existing
clock API implementation depend on a Kconfig symbol which is enabled when
the common clock API is disabled. This means that we can have some SoCs
using the common
Hi Thomas,
Am Donnerstag, 16. August 2012, 17:49:29 schrieb Thomas Abraham:
Add device tree based discovery support for Samsung's sdhci controller
Cc: Ben Dooks ben-li...@fluff.org
Cc: Kukjin Kim kgene@samsung.com
Cc: Chris Ball c...@laptop.org
Signed-off-by: Thomas Abraham
Hi Thomas,
thanks for your review:
Am Montag, 27. August 2012, 06:20:49 schrieb Thomas Abraham:
Hi Heiko,
On 26 August 2012 03:23, Heiko Stübner he...@sntech.de wrote:
Until now the Exynos-SoC was the only Samsung-SoC supporting the GPIOs
via the device tree. This patch implements dt
Hi Vasily,
Am Montag, 27. August 2012, 10:57:04 schrieb Vasily Khoruzhick:
Hi,
On Mon, Aug 27, 2012 at 11:01 AM, Heiko Stübner he...@sntech.de wrote:
Hi Thomas,
thanks for your review:
Hmmm, but the logic to drive the gpio controller is the same for all
arches. The only
Until now the Exynos-SoC was the only Samsung-SoC supporting the GPIOs
via the device tree. This patch implements dt-support for the
s3c24xx arches.
The controllers contain only 3 cells, as the underlying gpio controller
does not support controlling the drive strength on a gpio level.
Tested
Am Mittwoch, 29. August 2012, 01:09:37 schrieb Kukjin Kim:
On 08/28/12 14:55, Heiko Stübner wrote:
Until now the Exynos-SoC was the only Samsung-SoC supporting the GPIOs
via the device tree. This patch implements dt-support for the
s3c24xx arches.
The controllers contain only 3 cells
Hi José,
Am Montag, 1. Oktober 2012, 19:32:15 schrieb José Miguel Gonçalves:
I'm trying to use the HSSPI controller on a S3C2416 based board but I'm
having some problems.
I've added s3c64xx_device_spi0 to my array of platform devices and added
a call to s3c64xx_spi0_set_platdata(NULL, 0, 1)
Commit a5238e360b71 (spi: s3c64xx: move controller information into driver
data) introduced separate device names for the different subtypes of the
spi controller but forgot to set these in the relevant machines.
To fix this introduce a s3c64xx_spi_setname function and populate all
Samsung arches
Am Dienstag, 9. Oktober 2012, 13:48:50 schrieb Vasanth Ananthan:
This patch adds polling mode support for i2c s3c-2410 driver.
The I2C_SATAPHY controller lacks an interrupt line but the s3c-2410 driver
is interrupt driven. Hence this support is required for functioning
of the I2C_SATAPHY
Hi,
Am Freitag, 14. September 2012, 11:08:51 schrieb Chander Kashyap:
Perform clock disable/enable in runtime suspend/resume.
Signed-off-by: Chander Kashyap chander.kash...@linaro.org
It seems this patch breaks my S3C2416 based machine with 3.7-rc1. I'm not
yet sure why, but the only
code, it's probably right to revert it for now. Or you see a easy fix :-) .
Heiko
Best Regards,
Jaehoon Chung
On 10/17/2012 06:15 PM, Heiko Stübner wrote:
Hi,
Am Freitag, 14. September 2012, 11:08:51 schrieb Chander Kashyap:
Perform clock disable/enable in runtime suspend/resume
Am Donnerstag, 18. Oktober 2012, 11:36:03 schrieb Seungwon Jeon:
On Thursday, October 18, 2012, Heiko Stübner he...@sntech.de wrote:
Hi,
Am Donnerstag, 18. Oktober 2012, 04:04:42 schrieb Jaehoon Chung:
Sorry, i didn't check this patch with s3c2416.
(i didn't have the s3c2416 board
On the way back from Barcelona I've started the move of the common
s3c24xx irq-code to drivers/irqchip and also modifications to enable
using it in a devicetree context at some point.
So, as I'm also missing the now probably famous tail-lights in this, it
would be cool to have some feedback if
Removes another part from plat-s3c24xx and also enables further
improvements happening in the correct location.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/Kconfig |1 +
arch/arm/plat-s3c24xx/Makefile |1 -
Add irqdomains for the three register sets in use for base, external
and sub-interrupts. This also pouplates the hwirq value for further
improvements.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
drivers/irqchip/Kconfig |1 +
drivers/irqchip/irq-s3c24xx.c | 14 ++
2
Don't strip off the rest of the irq_data struct when calling one of
the s3c_irqsub_* functions. This enables using its hwirq field
later on.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/irq-s3c2412.c |6 +++---
arch/arm/mach-s3c24xx/irq-s3c2416.c | 24
Use the newly introduced irq_domains to let the basic ack, mask and unmask
functions use its hwirq field. This also includes the external irq sources
and removes all offset calculations based on the static irq numbers from
these parts.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
Am Montag, 12. November 2012, 18:05:39 schrieb Stephen Warren:
On 11/12/2012 06:47 AM, Heiko Stübner wrote:
Removes another part from plat-s3c24xx and also enables further
improvements happening in the correct location.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm
All S3C24XX arches share the same interrupt registers and basic handling
principles but the individual interrupts differ quite a lot between all
the arches.
This series therefore tries to unify this a bit by abstracting the irq
handling and enabling the arches to simply provide a structure
The irqs available on the machine and even the bit settings in the
irq registers differ a lot through all the s3c24xx subarchitectures.
This results in each subarch having its own irq init which adds its
specific irqs to the base ones created in plat-s3c24xx/irq.c.
This of course makes a future
With this change, it's possible to make more elements static
and also reduce the number of .h elements further down the road.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |2 +-
arch/arm/mach-s3c24xx/irq-pm.c | 95
This patch integrates the irq-pm functions we moved in the previous patch.
This includes some static attributes and the removal of the irq suspend
and resume declaratons from the plat-samsung/pm.h header.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/common.h |
This is needed to further clean up the irq init.
The only change made during the move is the renaming of the
possibly conflicting irq_save to irq2_save
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |2 +-
arch/arm/mach-s3c24xx/irq-s3c2416.c | 348
Previously the irq init used s3c24xx_init_irq and an additional
arch_initcall to add the cpu specific irqs.
To be able to simplyfy the irq init later, create a new function
s3c416_init_irq, which then calls s3c24xx_init_irq but also adds
the cpu specific irqs.
Signed-off-by: Heiko Stuebner
The contents of the base interrupt register is identical for
s3c2443 and s3c2416/2450, so keep it separate already.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/plat-s3c24xx/irq.c | 257 ---
1 files changed, 72 insertions(+), 185
The interrupt ack,mask and unmask functions for the main interrupt
register are also able to handle the second one of the s3c2416.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/plat-s3c24xx/irq.c | 118 ---
1 files changed, 43 insertions(+),
Prequisite for further optimizations.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |2 +-
arch/arm/mach-s3c24xx/irq-s3c2443.c | 281 ---
arch/arm/plat-s3c24xx/irq.c | 243 ++
3
Previously the irq init used s3c24xx_init_irq and an additional
arch_initcall to add the cpu specific irqs.
To be able to simplyfy the irq init later, create a new function
s3c2443_init_irq, which then calls s3c24xx_init_irq but also adds
the cpu specific irqs.
Signed-off-by: Heiko Stuebner
The contents of the base irq-register are shared between the s3c2443
and s3c2416/s3c2450.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/plat-s3c24xx/irq.c | 252 ++-
1 files changed, 34 insertions(+), 218 deletions(-)
diff --git
Hi Alexander,
first of all could you elaborate a bit more on the error you experience,
because I currently have problems to understand it from the code alone :-) .
More inline.
Am Donnerstag, 22. November 2012, 14:00:01 schrieb Alexander Varnin:
S3C2443 CPU has a problem with incorrect
Am Freitag, 23. November 2012, 08:10:15 schrieb Alexander Varnin:
Please take a look at this document. It describes the problem with
EXTINTn registers on 2443.
In fact, the irqext_set function for s3c2443 differs from common
starting from //Hack for 2443 error workaround comment.
wow ... this
Am Samstag, 24. November 2012, 12:24:49 schrieb Heiko Stübner:
Am Samstag, 24. November 2012, 10:01:31 schrieb Alexander Varnin:
I've done it within another function, because otherwise users of other
chips would pay for a one more runtime check, which they don't need. On
the other hand
This series builts on my not-yet-accepted irq rework and provides the
last bits to use devicetree on s3c2416 boards. It also requires the
patch serial: samsung: add devicetree properties for non-Exynos SoCs
which adds the missing device names to the mapping table.
Thanks to the work of other
This adds devicetree parsing of the controller-data for the
interrupt controllers on S3C24XX architectures.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
.../interrupt-controller/samsung,s3c24xx-irq.txt | 57 ++
arch/arm/mach-s3c24xx/common.h |1 +
This adds a board file and the devicetree source files to support boards
using the Samsung S3C2416 SoC.
The dt source files contain the definitions generic to all S3C24XX SoCs
in the s3c24xx.dtsi file which then gets extendes with S3C2416 specific
definitions.
Signed-off-by: Heiko Stuebner
Am Montag, 26. November 2012, 09:40:02 schrieb Alexander Varnin:
Signed-off-by: Alexander Varnin fenix...@mail.ru
Acked-by: Heiko Stuebner he...@sntech.de
---
arch/arm/plat-samsung/include/plat/cpu.h | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git
Hi Alexander,
I think this patch needs a bit more love :-) .
Please run scripts/checkpatch.pl on it and fix all the reported problems.
And I'd change the comment to something like:
/*
* S3C2443 CPU has a problem with EXTINTn registers.
* Essentially register-reads return transformed data,
: Workaround for 2443 EXTINT error
to denote the most recent version and include a short summary of the changes
_after_ the --- of the main commit message.
26.11.2012 13:12, Heiko Stübner пишет:
Hi Alexander,
I think this patch needs a bit more love :-) .
Please run scripts/checkpatch.pl
Am Montag, 26. November 2012, 10:43:21 schrieb Alexander Varnin:
S3C2443 CPU has a problem with incorrect reading from EXTINTn
registers. So s3c_irqext_type function wrongly modifies them.
So add special check to s3c_irqext_type, to handle this case.
Signed-off-by: Alexander Varnin
Hi Thomas,
Am Montag, 26. November 2012, 12:03:22 schrieb Thomas Abraham:
Hi Heiko,
On 25 November 2012 06:17, Heiko Stübner he...@sntech.de wrote:
This adds devicetree parsing of the controller-data for the
interrupt controllers on S3C24XX architectures.
Signed-off-by: Heiko
Hi Thomas,
Am Montag, 26. November 2012, 16:23:00 schrieb Thomas Abraham:
On 26 November 2012 17:43, Heiko Stübner he...@sntech.de wrote:
Hi Thomas,
Am Montag, 26. November 2012, 12:03:22 schrieb Thomas Abraham:
Hi Heiko,
On 25 November 2012 06:17, Heiko Stübner he...@sntech.de
Am Dienstag, 27. November 2012, 07:12:52 schrieb Thomas Abraham:
On 26 November 2012 21:34, Heiko Stübner he...@sntech.de wrote:
Hi Thomas,
Am Montag, 26. November 2012, 16:23:00 schrieb Thomas Abraham:
On 26 November 2012 17:43, Heiko Stübner he...@sntech.de wrote:
Hi Thomas
Hi Romain,
Am Mittwoch, 28. November 2012, 00:27:36 schrieb Romain Naour:
Hi Tomasz, Kgene
I would also suggest splitting this huge patch into a series of several
smaller, possibly:
1) Rename s5p-time to samsung-time (and correct any platforms using it
currently)
2) Add samsung-time
Hi Romain,
Am Freitag, 30. November 2012, 00:18:08 schrieb Romain Naour:
Hi Heiko,
Le 28/11/2012 00:57, Heiko Stübner a écrit :
Hi Romain,
Am Mittwoch, 28. November 2012, 00:27:36 schrieb Romain Naour:
Hi Tomasz, Kgene
I would also suggest splitting this huge patch into a series
Am Sonntag, 2. Dezember 2012, 20:44:22 schrieb Romain Naour:
Since all Samsung devices use clocksource/clockevent API, we can remove
unused sys_timer s3c24xx-timer (plat-samsung/time.c)
The patch is corrupted, as it contains wrapped lines and does not apply
against the current linux-next tree
Am Sonntag, 2. Dezember 2012, 20:44:01 schrieb Romain Naour:
This patch rename s5p-time to samsung-time.
There is no functional change.
Signed-off-by: Naour Romain romain.na...@openwide.fr
The patch does not apply to current linux-next, because it has some problem
with the
Am Donnerstag, 20. Dezember 2012, 17:56:23 schrieb Woody Wu:
Hi, List
Does the current kernel 3.7.1 support S3C2416 (it's *6* not 0) LCD and
touch screen? I saw the help text of the CONFIG_FB_S3C says it only
supports S3C6400 and S3C6410.
if you look in the mach-smd2416.c file you'll see
The irqs available on the machine and even the bit settings in the
irq registers differ a lot through all the s3c24xx subarchitectures.
This results in each subarch having its own irq init which adds its
specific irqs to the base ones created in plat-s3c24xx/irq.c.
This of course makes a future
This patch integrates the irq-pm functions we moved in the previous patch.
This includes some static attributes and the removal of the irq suspend
and resume declaratons from the plat-samsung/pm.h header.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/common.h |
This is needed to further clean up the irq init.
The only change made during the move is the renaming of the
possibly conflicting irq_save to irq2_save
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |2 +-
arch/arm/mach-s3c24xx/irq-s3c2416.c | 348
The contents of the base interrupt register is identical for
s3c2443 and s3c2416/2450, so keep it separate already.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/plat-s3c24xx/irq.c | 257 ---
1 files changed, 72 insertions(+), 185
The interrupt ack,mask and unmask functions for the main interrupt
register are also able to handle the second one of the s3c2416.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/plat-s3c24xx/irq.c | 106 ---
1 files changed, 30 insertions(+),
Prequisite for further optimizations.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |2 +-
arch/arm/mach-s3c24xx/irq-s3c2443.c | 281 ---
arch/arm/plat-s3c24xx/irq.c | 243 ++
3
Previously the irq init used s3c24xx_init_irq and an additional
arch_initcall to add the cpu specific irqs.
To be able to simplyfy the irq init later, create a new function
s3c2443_init_irq, which then calls s3c24xx_init_irq but also adds
the cpu specific irqs.
Signed-off-by: Heiko Stuebner
The contents of the base irq-register are shared between the s3c2443
and s3c2416/s3c2450.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/plat-s3c24xx/irq.c | 252 ++-
1 files changed, 34 insertions(+), 218 deletions(-)
diff --git
In the past level irqs provided a special ack handler that also masked
the interrupt. But handle_level_irq also does mask-ack the interrupt
itself, so there is no need to keep this special ack function around.
We therefore can simplyfy the number of irq-chips again.
Signed-off-by: Heiko Stuebner
Am Donnerstag, 3. Januar 2013, 00:34:36 schrieb Kukjin Kim:
Heiko Stübner wrote:
Second version of redoing the s3c24xx irqs in a generic way by using a
declarative approach.
Changes include further generalizations resulting only in common
irq-type declarations being needed and thus
Third version of redoing the s3c24xx irqs in a generic way by using a
declarative approach.
Main change is the different approach to the init. Moved the
s3c24xx_init_intc function from the dt patchset here, so that both init types
(dt and non-dt) can use a similar init scheme.
As in the second
The irqs available on the machine and even the bit settings in the
irq registers differ a lot through all the s3c24xx subarchitectures.
This results in each subarch having its own irq init which adds its
specific irqs to the base ones created in plat-s3c24xx/irq.c.
This of course makes a future
With this the definition of s3c24xx_irq_syscore_ops can also move to
common.h from plat/pm.h and the definitions of s3c24xx_irq_suspend
and s3c24xx_irq_resume are also not necessary anymore in plat/pm.h
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/common.h |
This gets rid of the use of static irq mappings there.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/irq-pm.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-s3c24xx/irq-pm.c b/arch/arm/mach-s3c24xx/irq-pm.c
index
This is needed to further clean up the irq init.
The only change made during the move is the renaming of the
conflicting irq_save to s3c2416_irq_save
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |2 +-
arch/arm/mach-s3c24xx/irq-pm.c | 23 +++
Previously the irq init used s3c24xx_init_irq and an additional
arch_initcall to add the cpu specific irqs.
To be able to simplyfy the irq init later, create a new function
s3c416_init_irq, which then calls s3c24xx_init_irq but also adds
the cpu specific irqs.
Signed-off-by: Heiko Stuebner
Share the common irq code by simply defining a correct mapping declaration
for the s3c2416.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/plat-s3c24xx/irq.c | 342 +++
1 files changed, 87 insertions(+), 255 deletions(-)
diff --git
Prequisite for further optimizations.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |2 +-
arch/arm/mach-s3c24xx/irq-s3c2443.c | 281 ---
arch/arm/plat-s3c24xx/irq.c | 243 ++
3
Previously the irq init used s3c24xx_init_irq and an additional
arch_initcall to add the cpu specific irqs.
To be able to simplyfy the irq init later, create a new function
s3c2443_init_irq, which then calls s3c24xx_init_irq but also adds
the cpu specific irqs.
Signed-off-by: Heiko Stuebner
Share the common irq code by simply defining a correct mapping declaration
for the s3c2443.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/plat-s3c24xx/irq.c | 289 +++
1 files changed, 75 insertions(+), 214 deletions(-)
diff --git
Am Freitag, 25. Januar 2013, 19:59:18 schrieb Kukjin Kim:
Heiko Stübner wrote:
Third version of redoing the s3c24xx irqs in a generic way by using a
declarative approach.
Main change is the different approach to the init. Moved the
s3c24xx_init_intc function from the dt patchset here
The irqs available on the machine and even the bit settings in the
irq registers differ a lot through all the s3c24xx subarchitectures.
This results in each subarch having its own irq init which adds its
specific irqs to the base ones created in plat-s3c24xx/irq.c.
This of course makes a future
With this the definition of s3c24xx_irq_syscore_ops can also move to
common.h from plat/pm.h and the definitions of s3c24xx_irq_suspend
and s3c24xx_irq_resume are also not necessary anymore in plat/pm.h
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/common.h |
This gets rid of the use of static irq mappings there.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/irq-pm.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-s3c24xx/irq-pm.c b/arch/arm/mach-s3c24xx/irq-pm.c
index
This is needed to further clean up the irq init.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |2 +-
arch/arm/mach-s3c24xx/irq-pm.c | 23 +++
arch/arm/mach-s3c24xx/irq-s3c2416.c | 348 ---
Previously the irq init used s3c24xx_init_irq and an additional
arch_initcall to add the cpu specific irqs.
To be able to simplyfy the irq init later, create a new function
s3c416_init_irq, which then calls s3c24xx_init_irq but also adds
the cpu specific irqs.
Signed-off-by: Heiko Stuebner
Share the common irq code by simply defining a correct mapping declaration
for the s3c2416.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/plat-s3c24xx/irq.c | 342 +++
1 file changed, 87 insertions(+), 255 deletions(-)
diff --git
Prequisite for further optimizations.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |2 +-
arch/arm/mach-s3c24xx/irq-s3c2443.c | 281 ---
arch/arm/plat-s3c24xx/irq.c | 243 ++
3
Share the common irq code by simply defining a correct mapping declaration
for the s3c2443.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/plat-s3c24xx/irq.c | 289 +++
1 file changed, 75 insertions(+), 214 deletions(-)
diff --git
This v4 does not change any code part. The patches are merely rebased
to apply to the next/cleanup-s3c24xx branch as requested.
Heiko Stuebner (9):
ARM: S3C24XX: transform irq handling into a declarative form
ARM: S3C24XX: Move irq syscore-ops to irq-pm
ARM: S3C24XX: Modify s3c_irq_wake to
The missing include led to a implcit declaration warning.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/mach-osiris.c |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-s3c24xx/mach-osiris.c
b/arch/arm/mach-s3c24xx/mach-osiris.c
index c2dc032..7d73626
The code to enter sleep is used by both the s3c2412 and s3c2416 and
was thus factored out into an extra config option.
But it seems it was forgotten to add the appropriate select to the
s3c2412 pm option, resulting in breakage when only compiling s3c2412
support.
Signed-off-by: Heiko Stuebner
Base for further modifications.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |2 +-
arch/arm/mach-s3c24xx/irq-s3c244x.c | 142 ---
arch/arm/mach-s3c24xx/irq.c | 105 ++
3 files changed,
Will be integrated in the following patch.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/Makefile |2 +-
arch/arm/mach-s3c24xx/irq-s3c2440.c | 128 ---
arch/arm/mach-s3c24xx/irq.c | 88
3 files
Now all the arch_initcalls for s3c244x are gone.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/irq.c | 46 --
1 files changed, 13 insertions(+), 33 deletions(-)
diff --git a/arch/arm/mach-s3c24xx/irq.c
Simply declare a correct mapping structure to use the common irq code.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/irq.c | 78 ++
1 files changed, 63 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-s3c24xx/irq.c
As always a mapping structure is everything needed.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/irq.c | 196 +-
1 files changed, 61 insertions(+), 135 deletions(-)
diff --git a/arch/arm/mach-s3c24xx/irq.c
This series moves the contents of the plat/s3c24XX.h headers into
common.h, as their content does not need to be global anymore, now that
everything lives in mach-s3c24xx.
Heiko Stuebner (2):
ARM: S3C24XX: move plat-samsung/s3c24XX headers to local common.h
ARM: S3C24XX: cleanup the included
Only the _init, _init_clocks, _init_uarts and _map_io functions need
NULL defines, as they are used in the cpu map.
Further integrate the two restart functions already in common.h in
their respective soc part and compact the numerous empty lines.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
The register definitions are only used in the driver itself.
This also removes the last dependency on plat/ includes from the
i2c driver.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
arch/arm/mach-s3c24xx/mach-rx1950.c |1 -
arch/arm/plat-samsung/devs.c |1
Make them conform more to established standards.
Signed-off-by: Heiko Stuebner he...@sntech.de
---
drivers/i2c/busses/i2c-s3c2410.c | 50 ++---
1 files changed, 24 insertions(+), 26 deletions(-)
diff --git a/drivers/i2c/busses/i2c-s3c2410.c
1 - 100 of 716 matches
Mail list logo