Michael Williamson | 1 Feb 2011 01:05

[PATCH 2/4] davinci: add spi devices support for MityDSP-L138/MityARM-1808 platform

This patch adds support for accessing the on board SPI NOR FLASH
device for MityDSP-L138 and MityARM-1808 SoMs.

Signed-off-by: Michael Williamson <michael.williamson <at> criticallink.com>
Tested-by: Michael Williamson <michael.williamson <at> criticallink.com>
---
 arch/arm/mach-davinci/board-mityomapl138.c |  104 ++++++++++++++++++++++++++++
 1 files changed, 104 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/board-mityomapl138.c b/arch/arm/mach-davinci/board-mityomapl138.c
index 0ea5932..9dd88d7 100644
--- a/arch/arm/mach-davinci/board-mityomapl138.c
+++ b/arch/arm/mach-davinci/board-mityomapl138.c
 <at>  <at>  -17,6 +17,8  <at>  <at> 
 #include <linux/i2c.h>
 #include <linux/i2c/at24.h>
 #include <linux/etherdevice.h>
+#include <linux/spi/spi.h>
+#include <linux/spi/flash.h>

 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 <at>  <at>  -25,6 +27,7  <at>  <at> 
 #include <mach/da8xx.h>
 #include <mach/nand.h>
 #include <mach/mux.h>
+#include <mach/spi.h>

 #define MITYOMAPL138_PHY_ID		"0:03"

(Continue reading)

Michael Williamson | 1 Feb 2011 01:05

[PATCH 3/4] davinci: add spi devices support for da850/omap-l138/am18x evm

From: Sekhar Nori <nsekhar <at> ti.com>

This patch adds the on-board SPI flash device to the
DA850/OMAP-L138/AM18x EVM. It also registers the SPI flash
device to the MTD subsystem.

Based on SPI flash device support for MityDSP-L138F platform.

Signed-off-by: Michael Williamson <michael.williamson <at> criticallink.com>
---
 arch/arm/mach-davinci/board-da850-evm.c |   88 +++++++++++++++++++++++++++++++
 1 files changed, 88 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index 11f986b..6eb6cf2 100644
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
 <at>  <at>  -29,6 +29,8  <at>  <at> 
 #include <linux/regulator/machine.h>
 #include <linux/regulator/tps6507x.h>
 #include <linux/input/tps6507x-ts.h>
+#include <linux/spi/spi.h>
+#include <linux/spi/flash.h>

 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 <at>  <at>  -38,6 +40,7  <at>  <at> 
 #include <mach/nand.h>
 #include <mach/mux.h>
 #include <mach/aemif.h>
(Continue reading)

Michael Williamson | 1 Feb 2011 01:05

[PATCH 1/4] davinci: da8xx/omap-l1: add support for SPI

Add SPI registration routines, clocks, and driver resources for
DA850/OMAP-L138/AM18x and DA830/OMAP-L137/AM17x platforms.

Signed-off-by: Michael Williamson <michael.williamson <at> criticallink.com>
---
 arch/arm/mach-davinci/da850.c              |   16 +++++
 arch/arm/mach-davinci/devices-da8xx.c      |   88 ++++++++++++++++++++++++++++
 arch/arm/mach-davinci/include/mach/da8xx.h |    2 +
 3 files changed, 106 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index 3443d97..68fe4c2 100644
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
 <at>  <at>  -359,6 +359,20  <at>  <at>  static struct clk usb20_clk = {
 	.gpsc		= 1,
 };

+static struct clk spi0_clk = {
+	.name		= "spi0",
+	.parent		= &pll0_sysclk2,
+	.lpsc		= DA8XX_LPSC0_SPI0,
+};
+
+static struct clk spi1_clk = {
+	.name		= "spi1",
+	.parent		= &pll0_sysclk2,
+	.lpsc		= DA8XX_LPSC1_SPI1,
+	.gpsc		= 1,
+	.flags		= DA850_CLK_ASYNC3,
(Continue reading)

Michael Williamson | 1 Feb 2011 01:05

[PATCH 4/4] davinci: add spi devices support for da830/omap-l137/am17x evm

From: Sekhar Nori <nsekhar <at> ti.com>

This patch adds the on-board SPI flash device to the
DA830/OMAP-L137/AM17x EVM. It also registers the SPI flash
device to the MTD subsystem.

Based on SPI flash device support for MityDSP-L138F platform.

Signed-off-by: Michael Williamson <michael.williamson <at> criticallink.com>
---
 arch/arm/mach-davinci/board-da830-evm.c |   82 +++++++++++++++++++++++++++++++
 1 files changed, 82 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/board-da830-evm.c b/arch/arm/mach-davinci/board-da830-evm.c
index b52a3a1..15077a0 100644
--- a/arch/arm/mach-davinci/board-da830-evm.c
+++ b/arch/arm/mach-davinci/board-da830-evm.c
 <at>  <at>  -20,6 +20,8  <at>  <at> 
 #include <linux/i2c/at24.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
+#include <linux/spi/spi.h>
+#include <linux/spi/flash.h>

 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 <at>  <at>  -30,6 +32,7  <at>  <at> 
 #include <mach/da8xx.h>
 #include <mach/usb.h>
 #include <mach/aemif.h>
(Continue reading)

Mika Westerberg | 1 Feb 2011 09:41
Picon
Picon
Favicon

Re: FW: [linux-cirrus] Fwd: Re: More about SD-Card problems

On Tue, Feb 01, 2011 at 09:45:37AM +1300, Ryan Mallon wrote:
> On 02/01/2011 05:45 AM, H Hartley Sweeten wrote:
> > *From:* linux-cirrus-bounce <at> freelists.org
> > [mailto:linux-cirrus-bounce <at> freelists.org] *On Behalf Of *Martin Guy
> > *Sent:* Sunday, January 30, 2011 5:40 PM
> > *To:* sim1 <at> googlegroups.com; linux-cirrus <at> freelists.org
> > *Subject:* [linux-cirrus] Fwd: Re: More about SD-Card problems
> 
> The Cirrus mailing lists are effectively dead now. Can we please keep
> EP93xx related discussions on the Linux ARM kernel list (Cc'ed).

I'm confused - how did a private email to Martin end up in some Cirrus related
mailing list?

> > Da: "Mika Westerberg" <mika.westerberg <at> iki.fi
[...]
> > 
> > The M2M DMA patches are attached. Note that it is still in "hack" phase so
> > error handling etc. are not finalized at all. M2M DMA currently only
> > supports
> > SPI but I'm going to add that memory-to-memory support and possibly IDE,
> > let's
> > see. It currently doesn't use double buffering but that is going to be
> > added at
> > some point.
> > 
> > I've been developing on .38-rc2 kernel but since these patches touch
> > only ep93xx
> > stuff I believe that they should apply pretty easily to .36.
> 
(Continue reading)

Anand Gadiyar | 1 Feb 2011 10:25
Picon
Favicon

RE: linux-next-20100201 - OMAP2+ defconfig broken withCONFIG_DEBUG_LL

Russell King - ARM Linux wrote:
> On Tue, Feb 01, 2011 at 11:09:52AM +0530, Gadiyar, Anand wrote:
> > Hi all,
> >
> > I tried to build linux-next as of 20100201 with omap2plus_defconfig.
In addition
> > I turned on CONFIG_DEBUG_LL and hit the following error.
>
> No need to bisect.  Tony knows about it.  It's the OMAP debug code using
> what was a macro in assembly, which becomes a C function with the
dynamic
> P2V patches.
>

Okay, thanks!

- Anand
Santosh Shilimkar | 1 Feb 2011 10:26
Picon
Favicon

RE: linux-next-20100201 - OMAP2+ defconfig broken with CONFIG_DEBUG_LL

> -----Original Message-----
> From: linux-arm-kernel-bounces <at> lists.infradead.org [mailto:linux-
> arm-kernel-bounces <at> lists.infradead.org] On Behalf Of Anand Gadiyar
> Sent: Tuesday, February 01, 2011 2:54 PM
> To: linux-arm-kernel <at> lists.infradead.org; linux-
> next <at> vger.kernel.org; Russell King - ARM Linux
> Subject: RE: linux-next-20100201 - OMAP2+ defconfig broken with
> CONFIG_DEBUG_LL
>
> Gadiyar, Anand wrote:
> > Hi all,
> >
> > I tried to build linux-next as of 20100201 with
> > omap2plus_defconfig. In addition
> > I turned on CONFIG_DEBUG_LL and hit the following error.
> >
> >   AS      arch/arm/kernel/debug.o
> > arch/arm/kernel/debug.S: Assembler messages:
> > arch/arm/kernel/debug.S:174: Error: garbage following instruction
> --
> > `ldreq r1,=
> > __virt_to_phys(omap_uart_phys)'
> > arch/arm/kernel/debug.S:174: Error: garbage following instruction
> --
> > `ldrne r1,=
> > __phys_to_virt((0x80000000+0x3ffc))'
> > arch/arm/kernel/debug.S:174: Error: garbage following instruction
> --
> > `ldreq r2,=
> > __virt_to_phys(omap_uart_phys)'
(Continue reading)

Hendrik Sattler | 1 Feb 2011 10:38
Picon

Re: [PATCH v2 2/6] arm/dt: Allow CONFIG_OF on ARM

Zitat von "Grant Likely" <grant.likely <at> secretlab.ca>:
> +config USE_OF
> +	bool "Flattened Device Tree support"
> +	select OF
> +	select OF_EARLY_FLATTREE
> +	help
> +	  Include support for flattened device tree machine descriptions.
> +

Arm doesn't have something called OpenFirmware, still new config  
entries that refer to that name are added. Why no keep _one_ name for  
what you add? I find the random mix of "OF" and "Device Tree" rather  
confusing.

HS
Will Deacon | 1 Feb 2011 10:52
Favicon

RE: [PATCH] ARM: add Versatile Express defconfig

Hey Linus,

> > This will probably cause a compile-time error with a mainline kernel
> > because the necessary hotplug functions aren't implemented for vexpress.
> 
> Does compile for me on 2.6.38-rc1 (after I avoid an compiler ICE
> on the NOR flash driver by deselecting it, I don't blame the kernel
> for that one tho):

Is the ICE similar to this? :

drivers/mtd/maps/integrator-flash.c: In function 'armflash_probe':
drivers/mtd/maps/integrator-flash.c:262: internal compiler error: in remove_insn, at emit-rtl.c:3803
Please submit a full bug report,
with preprocessed source if appropriate.

If so, I reported that to the compiler guys in ARM and I think it
got fixed in the 2010q3 codesourcery toolchain (not sure where it
is upstream).

> Might this have something to do with it:
> 
> git log arch/arm/mach-vexpress/hotplug.c
> commit e9882777d992b76e0b80deadd66ad886c25f5d1f
> Author: Russell King <rmk+kernel <at> arm.linux.org.uk>
> Date:   Sun Dec 19 11:33:12 2010 +0000
> 
>     ARM: CPU hotplug: add Versatile Express hotplug CPU support
> 
>     Signed-off-by: Russell King <rmk+kernel <at> arm.linux.org.uk>
(Continue reading)

Sascha Hauer | 1 Feb 2011 11:01
Picon
Favicon

i.MX Pull request for -rc

Hi Russell,

Please pull the following for -rc.

Sascha

The following changes since commit 1bae4ce27c9c90344f23c65ea6966c50ffeae2f5:

  Linux 2.6.38-rc2 (2011-01-21 19:01:34 -0800)

are available in the git repository at:
  git://git.pengutronix.de/git/imx/linux-2.6.git for-rmk

Fabio Estevam (2):
      ARM: imx: Add VPR200 and MX51_3DS entries to uncompress.h
      ARM: mach-imx/mach-mx25_3ds: Fix section type

Sascha Hauer (4):
      ARM i.MX28: fix bit operation
      ARM i.MX28: use correct register for setting the rate
      ARM i.MX23/28: remove secondary field from struct clk. It's unused
      ARM i.MX23: use correct register for setting the rate

Shawn Guo (1):
      ARM: mxs: fix clock base address missing

Uwe Kleine-König (2):
      ARM: mxs: acknowledge gpio irq
      ARM: mxs/imx28: remove now unused clock lookup "fec.0"

(Continue reading)


Gmane