for experimenting with, but I tried for
_years_ (literally) and never got anywhere...
Consequently, I do not have any enthusiasm for 950 support.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux
responding to the same old
patches over and over again.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia
-io_size);
+
+ kfree(cf);
+
+ return 0;
+}
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia
memorystick, so it actually works.
If so, send me your mailing address privately.
Before you do, it might help to build the ide-disk module and insert that
as well?
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer
)
+ release_region(link-io.BasePort1, link-io.NumPorts1);
+
if (info-flags USE_SHMEM) {
iounmap(info-base);
pcmcia_release_window(link-win);
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer
On Sun, Oct 21, 2007 at 10:46:17AM -0700, Kristoffer Ericson wrote:
On Fri, 19 Oct 2007 23:40:22 +0100
Russell King [EMAIL PROTECTED] wrote:
The list is still around, but Dominik seems to have vanished.
Ive tried to subscribbe to the list, but with no luck.
You might want to talk to David
that
happening, which sucks for at least embedded devices.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia
On Fri, Oct 26, 2007 at 05:47:06PM +0200, Rodolfo Giometti wrote:
On Fri, Oct 26, 2007 at 04:11:41PM +0100, Russell King wrote:
On Fri, Oct 26, 2007 at 12:51:25PM +0200, Rodolfo Giometti wrote:
If a socket has been ejected before sleeping, at resume time it
shouldn't be awaked
On Fri, Oct 26, 2007 at 06:27:06PM +0200, Rodolfo Giometti wrote:
On Fri, Oct 26, 2007 at 05:02:06PM +0100, Russell King wrote:
When you bring the battery device out of resume, and you've inserted a
card, you want it to be detected. Your change means you have to wait
until the system has
On Fri, Oct 26, 2007 at 06:54:00PM +0200, Rodolfo Giometti wrote:
On Fri, Oct 26, 2007 at 05:36:51PM +0100, Russell King wrote:
On Fri, Oct 26, 2007 at 06:27:06PM +0200, Rodolfo Giometti wrote:
On Fri, Oct 26, 2007 at 05:02:06PM +0100, Russell King wrote:
When you bring the battery
On Thu, Nov 01, 2007 at 06:37:41PM +, Russell King wrote:
On Thu, Nov 01, 2007 at 03:53:59PM +0100, Rodolfo Giometti wrote:
On Mon, Oct 29, 2007 at 07:24:15PM +, Pavel Machek wrote:
On Fri 2007-10-26 19:18:57, Rodolfo Giometti wrote:
On Fri, Oct 26, 2007 at 06:00:31PM +0100
*VOLUNTEERED* to be a part of the kernel
bugzilla, and really *WISH* I could pull out of that function.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA reimplementation list
http
as reported in bugzilla had
been reported on the correct mailing list would've been solved earlier;
I doubt there'd be much difference. However, the probability of a
question being asked of the reporter would've been much higher, and
_that_ might have led to an earlier resolution.)
--
Russell King
and wonderfully exciting technologies, to
churn out more patches for me to merge (and eventually provide a free
to them bug fixing service for.)
That's less inclined, not won't.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer
can
somehow spend infinite amounts of time solving lots and lots of
bugs.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo
On Tue, Nov 13, 2007 at 12:52:22PM -0800, Andrew Morton wrote:
On Tue, 13 Nov 2007 19:32:19 + Russell King [EMAIL PROTECTED] wrote:
There's another issue I want to raise concerning bugzilla. We have the
classic case of not enough people reading bugzilla bugs - which is one
sure
sufficient would do.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia
On Tue, Nov 13, 2007 at 09:13:19PM +0100, Adrian Bunk wrote:
On Tue, Nov 13, 2007 at 07:32:19PM +, Russell King wrote:
...
There's another issue I want to raise concerning bugzilla. We have the
classic case of not enough people reading bugzilla bugs - which is one
of the biggest
On Tue, Nov 13, 2007 at 03:18:07PM -0500, Mark Lord wrote:
Russell King wrote:
On Tue, Nov 13, 2007 at 09:08:32AM -0500, Mark Lord wrote:
Ingo Molnar wrote:
..
This is all QA-101 that _cannot be argued against on a rational basis_,
it's just that these sorts of things have been largely
On Tue, Nov 13, 2007 at 05:55:51PM -0800, David Miller wrote:
From: Andrew Morton [EMAIL PROTECTED]
Date: Tue, 13 Nov 2007 14:32:01 -0800
On Tue, 13 Nov 2007 22:18:01 + Russell King [EMAIL PROTECTED] wrote:
Find some other mailing list; I'm not hosting *nor* am I willing to run
9229 has been solved, and the reporter of that
bug now says that:
If I unset NO_TZ suspend/resume works.
If I set it suspend/resume doesn't works.
So I think this guy is now suffering from bug #9275
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer
(question is if he knows this :)
Not quite sure what the point of putting it in an email he hasn't seen
is either.
Adding Ben as a CC.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA
what architecture
or platform or chipset.
The only time you get DMA on such an interface is with Cardbus cards which
effectively extend the PCI programming interface direct to the card.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer
,
.wakeup = quirk_wakeup_oxsemi,
+ .setup = quirk_setup_oxsemi,
}, {
.manfid = MANFID_POSSIO,
.prodid = PRODID_POSSIO_GCC,
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer
On Mon, Feb 18, 2008 at 09:00:34PM +, Russell King wrote:
On Mon, Apr 16, 2007 at 12:54:58AM -0400, Brian Walsh wrote:
I have a CDMA wireless card which I am trying to bring up. However it does
not seem to be responding properly. When trying to minicom to the device
to get
On Tue, Feb 19, 2008 at 01:35:54AM +0100, Peter Stuge wrote:
On Mon, Feb 18, 2008 at 09:00:34PM +, Russell King wrote:
However, I'm not sure if its worth submitting into the kernel tree
or not - are these cards current technology?
Better working support for old technology than broken
the drivers from
the card, so you can't do it from your driver.
I have searched other drivers but could nto find anything that seemed to
have a similar need.
That's because you seem to have non-standard requirements.
--
Russell King
Linux kernel2.6 ARM Linux - http
reporting IOCTL. Eg, it now thinks there's
always a wireless card plugged in.
TBH I've given up trying to fight this continue lets remove these
IOCTLs which no one uses crap. Obviously, _I_ use them.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer
On Thu, Feb 28, 2008 at 01:24:57AM +0100, Peter Stuge wrote:
(Really cross-post like this?)
On Wed, Feb 27, 2008 at 08:44:07PM +, Russell King wrote:
TBH I've given up trying to fight this continue lets remove these
IOCTLs which no one uses crap. Obviously, _I_ use them.
I suppose
in hell for me to be able to track these kinds of
dependencies.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia
it should have fixed should be fixed properly.
I'd suggest backing out the entire change which introduced HAVE_IDE then -
rather than doing it piecemeal and bringing up questions about it which
are unanswerable (which is the case of Bart's question of me.)
--
Russell King
Linux kernel2.6 ARM
On Tue, Apr 15, 2008 at 10:28:22PM +0100, Russell King wrote:
On Wed, Apr 16, 2008 at 12:23:26AM +0300, Adrian Bunk wrote:
On Tue, Apr 15, 2008 at 10:15:34PM +0200, Bartlomiej Zolnierkiewicz wrote:
On Monday 14 April 2008, Sam Ravnborg wrote:
On Mon, Apr 14, 2008 at 05:16:59PM +0300
On Wed, Apr 16, 2008 at 12:52:23AM +0300, Adrian Bunk wrote:
On Tue, Apr 15, 2008 at 10:42:03PM +0100, Russell King wrote:
On Tue, Apr 15, 2008 at 10:28:22PM +0100, Russell King wrote:
On Wed, Apr 16, 2008 at 12:23:26AM +0300, Adrian Bunk wrote:
On Tue, Apr 15, 2008 at 10:15:34PM +0200
On Wed, Apr 16, 2008 at 01:10:02AM +0300, Adrian Bunk wrote:
On Tue, Apr 15, 2008 at 11:03:45PM +0100, Russell King wrote:
On Wed, Apr 16, 2008 at 12:52:23AM +0300, Adrian Bunk wrote:
...
So this is a only impacting ARM wrt. PCMCIA, and given that ARM supplies
an asm/ide.h, it's _entirely_
at least one of my platforms is now dead as far as
building new kernels for it, and nothing I can do about that. Ho hum.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA reimplementation
On Tue, Apr 29, 2008 at 01:59:02PM -0700, Randy Dunlap wrote:
On Tue, 29 Apr 2008 21:17:04 +0100 Russell King wrote:
On Tue, Apr 29, 2008 at 09:27:10PM +0300, Adrian Bunk wrote:
Commit 9c37066d888bf6e1b96ad12304971b3ddeabbad0 (proc: remove proc_bus)
came through -mm that contains
it gets to Linus ASAP. Hind sight is always a wonderful
thing.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia
[] = {
.prodid = ~0,
.multi = -1,
.wakeup = quirk_wakeup_oxsemi,
+ .setup = quirk_setup_oxsemi,
}, {
.manfid = MANFID_POSSIO,
.prodid = PRODID_POSSIO_GCC,
--
Russell King
Linux kernel2.6 ARM
),
+ .suspend= pcmcia_socket_dev_suspend,
+ .resume = pcmcia_socket_dev_resume,
+};
NAK. All platform device drivers must be of type 'struct platform_driver'.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer
.
That means I've no problem with this patch to remove IN_CARD_SERVICES.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux
sockets... Maybe that's a misunderstanding because of the loseness of
the patch description.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA reimplementation list
http://lists.infradead.org
with Linux PCMCIA anymore, please
refrain from copying him on emails on this subject.
--
Russell King
Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman
Add GPIO-based PCMCIA driver for LX platform.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
CC: linux-pcmcia@lists.infradead.org
---
drivers/pcmcia/Kconfig |2 +-
drivers/pcmcia/Makefile|1 +
drivers/pcmcia/pxa2xx_lx.c | 227
The 'dev' member is now only ever written, so we can safely remove it.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/pxa2xx_base.c |1 -
drivers/pcmcia/sa11xx_base.c |1 -
drivers/pcmcia/soc_common.h |1 -
3 files changed, 0 insertions(+), 3 deletions
skt-irq is a mere duplication of pcmcia_socket's pci_irq member.
Get rid of it.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/pxa2xx_base.c |2 +-
drivers/pcmcia/pxa2xx_cm_x255.c |2 +-
drivers/pcmcia/pxa2xx_cm_x270.c |2 +-
drivers/pcmcia
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/pxa2xx_base.c | 19 +++
drivers/pcmcia/pxa2xx_base.h |3 ++
drivers/pcmcia/pxa2xx_lubbock.c| 10 --
drivers/pcmcia/sa1100_badge4.c |7 -
drivers/pcmcia/sa1100_jornada720.c
Factor out the functionality for adding and removing a single
socket, thereby allowing SoCs to individually register each
socket. The advantage of this approach is that SoCs can then
extend soc_pcmcia_socket as they wish.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers
Convert soc_common.c to be a stand alone module, rather than wrapping
it up into the individual SoC specific base modules. In doing this,
we need to add init/exit functions for soc_common to register/remove
the cpufreq notifier.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
Move the individual socket probing and initialization down into the
SoC specific support files, thereby allowing soc_common_drv_pcmcia_probe
to be eliminated. soc_common.c now no longer deals with distinct groups
of sockets.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers
Mechanically transplant the removal code from soc_common into each
SoC specific base support file, thereby allowing
soc_common_drv_pcmcia_remove to be removed. No other changes.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/pxa2xx_base.c| 11
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/pxa2xx_lubbock.c|4
drivers/pcmcia/sa1100_badge4.c |6 --
drivers/pcmcia/sa1100_jornada720.c | 28 +++-
drivers/pcmcia/sa1100_neponset.c |4
drivers/pcmcia
No one should modify the ops structure supplied to soc_pcmcia_socket
so make it const.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/soc_common.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/pcmcia/soc_common.h b/drivers/pcmcia
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
include/pcmcia/ss.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h
index 9a3b498..d5a741e 100644
--- a/include/pcmcia/ss.h
+++ b/include/pcmcia/ss.h
@@ -172,7 +172,7
On Sat, May 15, 2010 at 04:06:36PM +0200, Dominik Brodowski wrote:
do you prefer to push this patch upstream via your ARM tree? Alternatively,
I could take it via PCMCIA -- it's your call.
I haven't had any visibility of the patch in question, so I can't give
a view.
--
Russell King
Linux
On Sat, May 15, 2010 at 04:37:05PM +0200, Dominik Brodowski wrote:
Russell,
On Sat, May 15, 2010 at 03:24:10PM +0100, Russell King wrote:
On Wed, Mar 03, 2010 at 09:00:48AM +0100, Dominik Brodowski wrote:
Furthermore, the last legitimate use of the ioctl to be reported
relates
Convert the pxa2xx socket driver memory allocation to use devm_kzalloc()
to simplify the cleanup path.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/pxa2xx_base.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/pcmcia/pxa2xx_base.c
Update the pxa2xx socket driver to use the devm_clk_get() API so that
the cleanup paths are simplified.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/pxa2xx_base.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/pcmcia
We no longer need to store the clk pointer in struct skt_dev_info as we
no longer need to remember the clk pointer for the cleanup paths.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/pxa2xx_base.c | 1 -
drivers/pcmcia/sa11xx_base.c | 1 -
drivers/pcmcia
Update the pxa2xx socket driver to use the devm_clk_get() API so that
the cleanup paths are simplified.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/sa_generic.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/pcmcia
Fix the lack of clk_put() in sa11xx_base.c's error cleanup paths by
converting the driver to the devm_* API.
Fixes: 86d88bfca475 (ARM: 8247/2: pcmcia: sa1100: make use of device clock)
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/sa1100_generic.c | 1 -
drivers
Convert the sa11x0 socket driver memory allocation to use devm_kzalloc()
to simplify the cleanup path.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/sa1100_generic.c | 1 -
drivers/pcmcia/sa11xx_base.c| 3 +--
2 files changed, 1 insertion(+), 3 deletions(-)
diff
clk_get(dev, NULL) will always refer to the same clock, so it's
pointless calling this multiple times for the same device. As we no
longer have to worry about the cleanup (via use of devm_clk_get()) we
can simplify sa_pcmcia_add() too.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
A library module is not required to have module init/exit functions.
Get rid of these unnecessary functions.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/sa11xx_base.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/pcmcia/sa11xx_base.c b
We no longer need to store the clk pointer in struct skt_dev_info as we
no longer need to remember the clk pointer for the cleanup paths.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/pxa2xx_base.c | 1 -
drivers/pcmcia/sa11xx_base.c | 1 -
drivers/pcmcia
A library module is not required to have module init/exit functions.
Get rid of these unnecessary functions.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/sa11xx_base.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/pcmcia/sa11xx_base.c b
Update the pxa2xx socket driver to use the devm_clk_get() API so that
the cleanup paths are simplified.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/sa_generic.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/pcmcia
Fix the lack of clk_put() in sa11xx_base.c's error cleanup paths by
converting the driver to the devm_* API.
Fixes: 86d88bfca475 (ARM: 8247/2: pcmcia: sa1100: make use of device clock)
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/sa1100_generic.c | 1 -
drivers
Convert the pxa2xx socket driver memory allocation to use devm_kzalloc()
to simplify the cleanup path.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/pxa2xx_base.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/pcmcia/pxa2xx_base.c
Update the pxa2xx socket driver to use the devm_clk_get() API so that
the cleanup paths are simplified.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/pxa2xx_base.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/pcmcia
Convert the sa11x0 socket driver memory allocation to use devm_kzalloc()
to simplify the cleanup path.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
---
drivers/pcmcia/sa1100_generic.c | 1 -
drivers/pcmcia/sa11xx_base.c| 3 +--
2 files changed, 1 insertion(+), 3 deletions(-)
diff
clk_get(dev, NULL) will always refer to the same clock, so it's
pointless calling this multiple times for the same device. As we no
longer have to worry about the cleanup (via use of devm_clk_get()) we
can simplify sa_pcmcia_add() too.
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk
ot;PM / sleep: Go direct_complete if driver has no
callbacks")
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/ds.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 489ea1098c96..69b
cards after a S2RAM cycle.
Fixes: d7646f7632549 ("pcmcia: use dev_pm_ops for class pcmcia_socket_class")
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
arch/arm/common/sa.c | 22 +-
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a
ldmib r3, {r2, r3}<-- trapping instruction
Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr>
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/pxa2xx_base.c| 9 +
drivers/pcmcia/pxa2xx_base.h| 2 +-
drivers/pcmcia/sa111
<robert.jarz...@free.fr>
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/sa_badge4.c | 22 --
drivers/pcmcia/sa_generic.c| 22 +-
drivers/pcmcia/sa_jornada720.c | 25 ++---
dr
this must not be copied into DT.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
arch/arm/mach-pxa/lubbock.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c
index 7245f3359564..d6159f8ef0c2 100644
--- a/a
SA forgets to call clk_disable() in the probe error cleanup path.
Add the necessary call.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
arch/arm/common/sa.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/common/sa.c b/arch/arm/
Ensure that we propagate the platform_get_irq() error code out of the
probe function. This allows probe deferrals to work correctly should
platform_get_irq() not be able to resolve the interrupt in a DT
environment at probe time.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
The polarity of the high IRQs was being calculated using
SA_IRQMASK_HI(), but this assumes a Linux interrupt number, not a
hardware interrupt number. Hence, the resulting mask was incorrect.
Fix this.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
arch/arm/common/sa
When testing Lubbock, it was noticed that the sa pcmcia driver bound
but was not functional due to no sockets being registered. This is
because the return code from the lowlevel board initialisation was not
being propagated out of the probe function. Fix this.
Signed-off-by: Russell King
Switch to a per-socket cpufreq notifier rather than a global notifier.
This allows each socket to be self-contained.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/soc_common.c | 77 ++---
drivers/pcmcia/soc_common.h | 3
Constify the pcmcia_low_level operation pointer to soc_pcmcia_init_one()
which has no need to modify it.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/soc_common.c | 2 +-
drivers/pcmcia/soc_common.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Add a driver-data pointer so that low level drivers can add additional
data to the soc_common pcmcia socket structure.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/soc_common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pcmcia/soc_comm
Request the legacy card detect signal with the active low property and
remove our own negation of the detection value. This allows us to use
the firmware-defined polarities rather than hard-coding it into the
driver.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/
Add a helper to get the voltage state of CF sockets, where the voltage
sense pins are not wired up. Switch assabet and cerf to use this
helper.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/sa1100_assabet.c | 9 +
drivers/pcmcia/sa1100_cerf.c
If gpiod_to_irq() returns an invalid interrupt, we should not try to use
it as an interrupt number.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/soc_common.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/pcmcia/soc_co
Use the MAX1600 power switch driver for Neponset.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/Kconfig | 1 +
drivers/pcmcia/sa_neponset.c | 79 ++--
2 files changed, 20 insertions(+), 60 deletions(-)
diff
Convert the low level PCMCIA driver to gpiod APIs for controlling
the socket power.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
arch/arm/mach-sa1100/jornada720.c | 12 ++
drivers/pcmcia/sa_jornada720.c | 81 +-
2 files chang
Provide generic non-voltage sensing socket support for StrongARM
platforms using the gpiolib and regulator subsystems to obtain the
resources to control the socket.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/sa1100_generic.c
Switch to a per-socket cpufreq notifier rather than a global notifier.
This allows each socket to be self-contained.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/soc_common.c | 77 ++---
drivers/pcmcia/soc_common.h | 3
Now that we have migrated all users of the legacy private SA gpio
interfaces, we can remove these redundant interfaces.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
arch/arm/common/sa.c | 59 --
arch/arm/include/asm/ha
)
common : 300 (316)
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/sa11xx_base.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pcmcia/sa11xx_base.c b/drivers/pcmcia/sa11xx_base.c
index 9f6ec87b9f9e..af37b7ec1c73 100644
--- a/drivers/
Add units to the timing information, so we know that the numbers are
nanoseconds. The output changes from:
I/O : 165 (172)
attribute: 300 (316)
common : 300 (316)
to:
I/O : 165ns (172ns)
attribute: 300ns (316ns)
common : 300ns (316ns)
Signed-off-by: Russell King <rmk+
SS_STSCHG should be set for an IO card when the BVD1 signal is asserted
low, not high.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/soc_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pcmcia/soc_common.c b/drivers/
Add a simple, generic, single register fixed-direction GPIO driver.
This is able to support a single register where a fixed number of
bits are used for input and a fixed number of bits used for output.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/gpio/Kconfig
Add a GPIO driver for the board control register/board status register
for the sa1100/assabet platform. This allows us to transition a range
of drivers to use the gpiod APIs rather than the platform private
ASSABET_BCR_* interfaces.
Signed-off-by: Russell King <rmk+ker...@armlinux.org
Add a gpio driver for the lubbock miscellaneous write IO register so we
can take advantage of subsystems modelled around gpiolib, rather than
having to provide platform specific callbacks.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
arch/arm/mach-pxa/Kconfig | 1 +
ar
Switch to using the gpiod_* consumer API rather than the legacy API.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/pcmcia/soc_common.c | 57 +
drivers/pcmcia/soc_common.h | 3 +++
2 files changed, 45 insertions(+), 15 del
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/gpio/gpio-sa1100.c | 199 -
1 file changed, 124 insertions(+), 75 deletions(-)
diff --git a/drivers/gpio/gpio-sa1100.c b/drivers/gpio/gpio-sa1100.c
index fb9d52a57d78..bad016
Use sa11x0_gpio_set_wake() to set the PWER register, as provided by
Dmitry some time back.
Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>
---
drivers/gpio/gpio-sa1100.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/drivers/gpio/gpio-sa11
1 - 100 of 195 matches
Mail list logo