in the device tree before writing to the reset
module.
Heh, my patch looks quite similar :)
From: Wolfram Sang w.s...@pengutronix.de
Subject: mpc5121: add restart capability
Hack? Not intended for upstream yet.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
arch/powerpc/platforms/512x
Hi,
continuing the quest to clean up and ultimately remove the drivers/i2c/chips
directory, this patch series removes three drivers for GPIO-expanders which are
obsoleted and marked as deprecated for more than a year. The newer (and better)
drivers can be found in drivers/gpio.
As it is ensured
The deprecated pcf8574 driver is going to be removed. Make sure this
replacement-driver inherits all i2c_device_ids for a smooth transition.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: David Brownell dbrown...@users.sourceforge.net
Cc: Jean Delvare kh...@linux-fr.org
---
drivers/gpio
The pcf8575-driver in drivers/i2c/chips which just exports its register to
sysfs is superseeded by drivers/gpio/pcf857x.c which properly uses the gpiolib.
As this driver has been deprecated for more than a year, finally remove it.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Bart Van
The pca9539-driver in drivers/i2c/chips which just exports its registers to
sysfs is superseeded by drivers/gpio/pca953x.c which properly uses the gpiolib.
As this driver has been deprecated for more than a year, finally remove it.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Ben Gardner
The pcf8574-driver in drivers/i2c/chips which just exports its register to
sysfs is superseeded by drivers/gpio/pcf857x.c which properly uses the gpiolib.
As this driver has been deprecated for more than a year, finally remove it.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Aurelien
the Blackfin defconfigs refer to an input driver for the PCF8574, not
the I2C client driver
Yup, I am aware of that. With the exception of:
blackfin/configs/PNAV-10_defconfig:773:CONFIG_SENSORS_PCF8574=m
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang
part (Detection) and 4th part (sysfs-interface) are obsolete for the new
drivers. The gpiolib interface again is covered in Documentation/gpio.txt
So I concluded to simply drop the documentation.
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang
Not sure about the patch to drivers/gpio/pcf857x.c, as there is no gpio
tree and no maintainer either AFAIK, I guess I shall pick it too?
I'd say so. An Ack from David Brownell would be nice, though.
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang
The 'fsl5200-clocking'-property was dropped since
0d1cde235874b00905bce23f659690d060ebf475. Remove all occurences in dts-files.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Grant Likely grant.lik...@secretlab.ca
---
arch/powerpc/boot/dts/cm5200.dts |1 -
arch/powerpc/boot/dts
The OF helpers look like nanodoc but are missing the header. Fix this and a
typo (s/nad/and/) while we are here.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
---
arch/powerpc/include/asm/irq.h |7 ---
1 files changed, 4 insertions
;
Please drop the clocking-line. It became obsolete.
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
*/
+ out_be32(psc-ccr, 0x0713); /* default SPI Clk 1MHz */
/* Set 2ms DTL delay */
out_8(psc-ctur, 0x00);
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de
query the device tree for 'fsl,mpc5200-psc-spi'
or 'fsl,mpc5200b-psc-spi' and make the driver use the proper function.
(BTW I haven't checked for further differences between 5200 and 5200B; there
may be more)
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang
+bcom_gen_bd_set_microcode(struct bcom_task *tsk, u32 *microcode);
+
/* PSC support utility wrappers */
struct bcom_task * bcom_psc_gen_bd_rx_init(unsigned psc_num, int
queue_len,
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http
submitted a while ago make
it into the stock kernel? I have some pending extra work (16-bit LPB
RAM access) building on top of it...
Yup, since -rc1. (git log --grep=mtd-ram)
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux
:
- add comments from Grant Likely grant.lik...@secretlab.ca
use mpc5200_defconfig as default configuration
- add comments from Wolfram Sang w.s...@pengutronix.de
- rebase against current next
arch/powerpc/boot/dts/uc101.dts | 317
++
arch/powerpc
it later this day. The we can hopefully
work out something.
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
On Thu, Sep 10, 2009 at 09:05:46AM -0600, Grant Likely wrote:
On Thu, Sep 10, 2009 at 8:55 AM, Wolfram Sang w.s...@pengutronix.de wrote:
The 'fsl5200-clocking'-property was dropped since
0d1cde235874b00905bce23f659690d060ebf475. Remove all occurences in
dts-files.
Signed-off
However, I've completely devoted to this work for at least the next
two months, so there are plenty more patches to follow. Once I've
\o/ Thanks, Grant! A seperate tree would be great. Patches look good to me:
Acked-by: Wolfram Sang w.s...@pengutronix.de
--
Pengutronix e.K
this is sorted out, you could add my:
Reviewed-by: Wolfram Sang w.s...@pengutronix.de
---
- based on:
git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git next
- checked with:
$ ./scripts/checkpatch.pl
0002-mpc5200-support-for-the-MAN-mpc5200-based-board-muc.patch
total: 0 errors, 0
to the hardware and I
have seen devices with equal name and still having different pagesizes. Not too
sure about 'read-only' though, I just copied it from flash-partitions :)
Tested on a phyCORE-MPC5200-IO and build-tested on x86.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Grant Likely
, it can be
easily extended to any arch, because there is no arch-specific stuff,
but a get/put pattern for platform data.
Will check this tomorrow.
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de
to come up with the best form for
the pdata fetching function, but it will be better contained if it is
all at a single place.
I might have a try :)
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de
,
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
___
Linuxppc-dev mailing list
Linuxppc-dev
approach is
proposed.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Joe Perches j...@perches.com
Cc: Grant Likely grant.lik...@secretlab.ca
Cc: Anton Vorontsov avoront...@ru.mvista.com
---
scripts/get_maintainer.pl | 24
1 files changed, 16 insertions(+), 8 deletions
. The archdata surely helps for this
issue, it just seems that a bit more generalization is needed.
Kind regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
this will not so easily happen again (thus the
get_maintainer-patch on lkml).
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
OF.
+K: of_get_property
F: drivers/of/
Will check the script later this weekend.
Thanks,
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital
? Or is V4 still 'status quo'?
Genki de ;)
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
you fixed a few things
according to my review and couldn't find an updated patch for that.
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
Hello,
after having to deal with NO_IRQ confusion more than once, I decided to start a
bit of janitorial work and remove it from the i2c-subsystem. Detail for better
using 0 as no irq can be found here: http://lkml.org/lkml/2005/11/21/221
Regards,
Wolfram
Drop NO_IRQ as 0 is the preferred way to describe 'no irq'
(http://lkml.org/lkml/2005/11/21/221). This change is safe, as the driver is
only used on powerpc, where NO_IRQ is 0 anyhow.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Grant Likely grant.lik...@secretlab.ca
Cc: Ben Dooks ben-li
Drop NO_IRQ as 0 is the preferred way to describe 'no irq'
(http://lkml.org/lkml/2005/11/21/221). This change is safe, as the driver is
only used on powerpc, where NO_IRQ is 0 anyhow.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Jochen Friedrich joc...@scram.de
Cc: Ben Dooks ben-li
Drop NO_IRQ as 0 is the preferred way to describe 'no irq'
(http://lkml.org/lkml/2005/11/21/221). This change is safe, as the driver is
only used on powerpc, where NO_IRQ is 0 anyhow.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Sean MacLennan smaclen...@pikatech.com
Cc: Ben Dooks ben-li
Add checks to allow only PSCs capable of SPI.
Also turn printk to dev_err while we are here.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Grant Likely grant.lik...@secretlab.ca
Cc: David Brownell dbrown...@users.sourceforge.net
---
Grant, if the patch is OK, maybe it can also go via
in
the web.
Thanks,
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
___
Linuxppc-dev mailing list
We saw
PVR/SVR = 0x80862010 / 0x80180010 for MPC5121
and
PVR/SVR = 0x80862010 / 0x80180030 for MPC5123
Thanx a lot!
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de
is the unique identifier)
- dev need not be given; if NULL, it will match any device.
if given, it has to match the dev of the clock
- using the above rules, both fields need to match in order to claim the clock
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Wolfgang Denk w...@denx.de
Cc
On Fri, Oct 30, 2009 at 10:54:14AM +, Mark Brown wrote:
On Fri, Oct 30, 2009 at 10:17:14AM +0100, Wolfram Sang wrote:
The matching logic returns a clock even if only the dev-part matches. This
is
wrong as devices may utilize more than one clock, so the wrong clock may be
returned due
). The proposed
new method will:
- return -EINVAL if both arguments are NULL
- skip the relevant check if one argument is NULL (first match wins)
- otherwise both arguments need to match
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Mark Brown broo...@sirena.org.uk
Cc: Roel Kluin roel.kl...@gmail.com
Cc
, yet uncommented, patch
from me has been incorporated to improve the checks if the selected PSC is
valid:
http://patchwork.ozlabs.org/patch/36780/
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Kári Davíðsson kari.davids...@marel.com
Cc: Grant Likely grant.lik...@secretlab.ca
---
drivers/spi
= DRIVER_NAME,
.owner = THIS_MODULE,
},
};
I am hoping that we can remove the owner and name fields from struct
of_platform_driver sometime.
Sounds good! :)
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux
the final decision to you maintainers, of course.
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
merge
it immediately into -next.
One minor comment, but works in general:
Acked-by: Wolfram Sang w.s...@pengutronix.de
Also, I'm resistant to changing the probe layout on this driver at
this time. With the work being done to generalize the OF support
code, there is a strong possibility
This driver calls mpc52xx_set_psc_clkdiv() but doesn't check its return value
to see if the PSC is actually valid for SPI use. Add the check and a hint for
the user.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Grant Likely grant.lik...@secretlab.ca
---
drivers/spi/mpc52xx_psc_spi.c | 12
Sure I don't have major objections against your patch (though who is
formally mpc512x maintainer to ack it ?),
Grant is maintainer for MPC5xxx.
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de
Signed-off-by: John Rigby jri...@freescale.com
Signed-off-by: Chen Hongjun hong-jun.c...@freescale.com
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Wolfgang Denk w...@denx.de
Cc: Grant Likely grant.lik...@secretlab.ca
---
Should come after the fix for clk_get to be usable
are still very handy to bring up a board ;)
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
___
Linuxppc
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
To easily identify which device has problems.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Grant Likely grant.lik...@secretlab.ca
---
drivers/spi/mpc52xx_psc_spi.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/spi/mpc52xx_psc_spi.c b/drivers/spi
. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
sure to clear the flag.
Signed-off-by: Luotao Fu l...@pengutronix.de
Nit below, otherwise:
Acked-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/spi/mpc52xx_spi.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/drivers/spi/mpc52xx_spi.c b/drivers/spi
On Tue, Nov 10, 2009 at 10:12:08AM +0100, Luotao Fu wrote:
Signed-off-by: Luotao Fu l...@pengutronix.de
SPI_CS_HIGH should be dropped, otherwise:
Reviewed-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/spi/mpc52xx_spi.c |2 ++
1 files changed, 2 insertions(+), 0 deletions
. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
-$(CONFIG_MV64X60_WDT) += mv64x60_wdt.o
obj-$(CONFIG_PIKA_WDT) += pika_wdt.o
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
--
Pengutronix e.K. | Wolfram Sang
On Thu, Nov 12, 2009 at 09:36:42PM +0100, Albrecht Dreß wrote:
Hi Wolfram:
Am 12.11.09 20:56 schrieb(en) Wolfram Sang:
Note: The file drivers/watchdog/mpc5200_wdt.c is now obsolete and should
be removed.
Ehrm, this is possible within a patch :)
Ummm, I tried that (removed the file from
...
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
while error or removing.
Signed-off-by: Luotao Fu l...@pengutronix.de
Just the kfree-comment, otherwise:
Acked-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/spi/mpc52xx_spi.c | 64
++---
1 files changed, 60 insertions(+), 4 deletions(-)
diff
Taken from socketcan-svn, fixed remaining todos, cleaned up, tested with a
phyCORE-MPC5200B-IO and a custom board.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Wolfgang Grandegger w...@grandegger.com
Cc: Grant Likely grant.lik...@secretlab.ca
Cc: David Miller da...@davemloft.net
David,
Taken from socketcan-svn, fixed remaining todos, cleaned up, tested with a
phyCORE-MPC5200B-IO and a custom board.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Applied.
Unfortunately too early. I will send my review tomorrow. Sorry for the
delay.
So, I'd assume
have to find out if it is
supported on that board in general.
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
-terminated, or what do you mean?
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
___
Linuxppc-dev mailing list
on pengutronix.de
tomorrow, I seem to have issues when trying that from home :(^
Regards,
Wolfram
Wolfram Sang (11):
net/can/mscan: move defines into .h file
net/can/mscan: trivial fixes
net/can/mscan: drop support for CAN_MODE_{SLEEP|STOP}
net/can/mscan: use {clr|set
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/net/can/mscan/mscan.c | 29 -
drivers/net/can/mscan/mscan.h | 29 +
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/drivers/net/can/mscan/mscan.c b/drivers
- remove whitespaces
- use ! and ?: when apropriate
- make braces consistent
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/net/can/mscan/mpc52xx_can.c | 16 +---
drivers/net/can/mscan/mscan.c | 25 +
2 files changed, 18 insertions
The upper layer does not support it yet.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/net/can/mscan/mscan.c |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c
index 6394de8..839b471 100644
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/net/can/mscan/mscan.c | 19 +++
1 files changed, 7 insertions(+), 12 deletions(-)
diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c
index 839b471..ca8b556 100644
--- a/drivers/net/can/mscan
- use extern where apropriate
- don't export symbols
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/net/can/mscan/mscan.c |3 ---
drivers/net/can/mscan/mscan.h |2 +-
2 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net
As suggested by Wolfgang Grandegger.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/net/can/mscan/mscan.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c
index 76e413e..20d1991 100644
Merge two functions into one. The result is smaller as they can now share some
variables.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/net/can/mscan/mpc52xx_can.c | 45 --
1 files changed, 16 insertions(+), 29 deletions(-)
diff --git a/drivers
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: devicetree-disc...@ozlabs.org
---
Documentation/powerpc/dts-bindings/fsl/mpc5200.txt |9 +
drivers/net/can/mscan/mpc52xx_can.c|3 +--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Documentation
Not all hardcoded values have been replaced as this made the code quite
unreadable. IMHO this compromise serves the purpose of readability.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/net/can/mscan/mscan.c | 15 ++-
drivers/net/can/mscan/mscan.h |5 +
2
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/net/can/mscan/mscan.c | 16 +++-
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c
index 263d1a9..bb06dfb 100644
--- a/drivers/net/can/mscan
- move Kconfig entries to the subdirectory
- do remaining renames of mpc52xx to mpc5xxx
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/net/can/Kconfig | 19 +---
drivers/net/can/mscan/Kconfig | 23 +++
drivers/net/can/mscan/Makefile |4 +-
drivers
I will also update my branch on pengutronix.de tomorrow,
Done.
===
The following changes since commit a0a9020c1725cd5c9a13a7aab65831f3c85ea9ca:
Wolfram Sang (1):
net/can/mscan: final checkpatch cleanups
are available in the git repository at:
git://git.pengutronix.de/git/wsa
- drop own, obsolete include-file
- drop IRQF_SAMPLE_RANDOM (deprecated feature)
- drop 'if' above kfree()
- typos, braces whitespaces
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
Cc: Luotao Fu l...@pengutronix.de
Cc: Grant Likely grant.lik...@secretlab.ca
---
This goes ontop of Grant's
And it turned out that the only sane solution is to write
OF-pdata-hooks for the each driver (that we do for many drivers
already):
Or to support Grant in getting rid of of_platform :)
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions
. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc
On Sun, Nov 22, 2009 at 11:01:31PM +0100, Albert Herranz wrote:
The following patches add the base support for the Nintendo GameCube
and Wii video game consoles on the powerpc arch.
Cool stuff! \o/
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux
) platform.
test-devicetree as of today also works fine on my phyCORE-MPC5200B-IO.
Tested-by: Wolfram Sang w.s...@pengutronix.de
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
that the most
interesting features are simply switched off.
Regrads,
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
.
Also, there are a few printk without loglevel. As probe has access to
a device structure, dev_* should be a nice option here.
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de
on a new release for both, the pcm030 and
pcm032 having 2.6.28 for non-RT and 2.6.26 for RT.
Kind regards,
Wolfram
--
Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
signature.asc
Description: Digital signature
Hello,
as we needed an of-mtd-ram driver to support SRAM on the
phyCORE-MPC5200B-IO, I did the following:
Patch 1:
refactor plat-ram.c to have generic probe and remove
routines
Patch 2:
use the new routines for an of-driver
Looking forward to comments. (Sidenote: Converting all these
Refactor the probe and remove routines of the mtd-ram driver to export
a generic part which can later be accessed by an of-counterpart of this
driver. Tested with a phyCORE-MPC5200B-IO.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/mtd/maps/plat-ram.c | 123
.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/mtd/maps/Kconfig |6 ++
drivers/mtd/maps/Makefile |1 +
drivers/mtd/maps/of-ram.c | 120 +
3 files changed, 127 insertions(+), 0 deletions(-)
create mode 100644 drivers/mtd/maps
Hello,
found one question thing myself...
On Wed, Jan 21, 2009 at 06:41:25PM +0100, Wolfram Sang wrote:
Create an of-aware driver using the now exported generic functions from
plat-ram.c. A typical oftree snipplet for it looks like this:
s...@04e0 {
compatible = mtd-ram
described elsewhere.
Signed-off-by: Grant Likely grant.lik...@secretlab.ca
CC: devtree-disc...@ozlabs.org
CC: Wolfram Sang w.s...@pengutronix.de
---
Documentation/powerpc/dts-bindings/fsl/mpc5200.txt | 181 +
.../powerpc/mpc52xx-device-tree-bindings.txt | 277
Hi Grant,
I chose to line them up because in my opinion it is easier to follow
the pattern with them written in horizontal columns instead of in
vertical blocks.
I also think the original coding style is easier to read.
Kind regards,
Wolfram
--
Dipl.-Ing. Wolfram Sang | http
that it is in Hz?
Yes, like in the frequency next to it.
Kind regards,
Wolfram
PS: The other patches look good to me, too. I just want to test them on
a real phyCORE-tiny this week.
--
Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
...
Signed-off-by: Grant Likely grant.lik...@secretlab.ca
CC: Sascha Hauer s.ha...@pengutronix.de
CC: Wolfram Sang w.s...@pengutronix.de
CC: linuxppc-dev@ozlabs.org
---
arch/powerpc/platforms/52xx/Makefile |2
arch/powerpc/platforms/52xx/mpc52xx_gpio.c | 85 --
arch
described elsewhere.
Signed-off-by: Grant Likely grant.lik...@secretlab.ca
CC: devtree-disc...@ozlabs.org
CC: Wolfram Sang w.s...@pengutronix.de
Can you please send the updated version so I could add an reviewed-by?
Regards,
Wolfram
--
Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de
the other devices). Userspace can query sysfs to determine what
ttyPSC number is assigned to each PSC instance.
Signed-off-by: Grant Likely grant.lik...@secretlab.ca
CC: Wolfram Sang w.s...@pengutronix.de
I like it. One more optimization below, but it's also good for now...
Reviewed
audited, not tested on real hardware.
Signed-off-by: Grant Likely grant.lik...@secretlab.ca
Reviewed-by: Wolfram Sang w.s...@pengutronix.de
CC: Wolfram Sang w.s...@pengutronix.de
CC: Wolfgang Grandegger w...@grandegger.com
CC: Sascha Hauer s.ha...@pengutronix.de
CC: Marian Balakowicz m
the IRQF_DISABLED
is not guaranteed on shared IRQs warning message from the console
output.
Signed-off-by: Grant Likely grant.lik...@secretlab.ca
What do I give here? Acked-by? Reviewed? Tested? :D I'll make a guess:
Reviewed-by: Wolfram Sang w.s...@pengutronix.de
---
drivers/serial/mpc52xx_uart.c
.
Signed-off-by: Grant Likely grant.lik...@secretlab.ca
Yup!
Reviewed-by: Wolfram Sang w.s...@pengutronix.de
---
arch/powerpc/platforms/52xx/mpc52xx_pic.c | 23 ---
1 files changed, 0 insertions(+), 23 deletions(-)
diff --git a/arch/powerpc/platforms/52xx
). The simplification is due to
splitting off the handling of external IRQs into a separate block
so they don't need to be handled as exceptions in the normal
CRIT, MAIN and PERP paths.
Signed-off-by: Grant Likely grant.lik...@secretlab.ca
CC: Wolfram Sang w.s...@pengutronix.de
Can't say much about this one
.
Without this patch, PCI appears to work correctly until a PCI
device is inserted which DMAs into memory.
Signed-off-by: Grant Likely grant.lik...@secretlab.ca
No regression with a phyCORE-MPC5200B-tiny. U-Boot did probably the
right thing here...
Tested-by: Wolfram Sang w.s...@pengutronix.de
elsewhere.
Signed-off-by: Grant Likely grant.lik...@secretlab.ca
One minor nit, then you can add
Reviewed-by: Wolfram Sang w.s...@pengutronix.de
CC: devicetree-disc...@ozlabs.org
CC: Wolfram Sang w.s...@pengutronix.de
---
Documentation/powerpc/dts-bindings/fsl/mpc5200.txt | 180
1 - 100 of 609 matches
Mail list logo