Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: sdr-spi-driver
Commits on Aug 26, 2009
  1. spisdr : Read is working, likely lots of cleanup needed.

    Philip Balister authored
Commits on Jul 28, 2009
  1. Configure pinmux for MCSPI2 and 4 for beagle.

    Philip Balister authored
  2. Add pinmux definitions for MCSPI3 and MCSPI4.

    Philip Balister authored
    Add pinmux definitions for MCSPI3 and MCSPI4. There are also functions
    to configure the pinmux added teh the beagle board file.
    i# Please enter the commit message for your changes. Lines starting
Commits on May 24, 2009
  1. MCSPI3 used by spisdr driver

    Philip Balister authored
Commits on May 20, 2009
  1. spisdr : Add spi driver probe

    Philip Balister authored
  2. spisdr : Basic module skeleton loads and unloads repeatedly.

    Philip Balister authored
  3. spisdr: Basic driver skeleton and init code.

    Philip Balister authored
  4. [config] Add option for SPISDR device

    Philip Balister authored
  5. Enable MCSPI3 and MCSPI4 for the BeagleBoard.

    Philip Balister authored
    This patch enables support for MCSPI3 and 4 for the Beagle Board. They
    are configured for use with the spidev driver. The pins for these SPI
    interfaces are available on teh expansion connector. MUX changes will be
    done in u-boot.
    Signed-off-by: Philip Balister <>
Commits on Mar 26, 2009
  1. @tmlind

    OMAP: McBSP: Do not enable or disable clocks on failed path

    Eero Nurkkala authored tmlind committed
    McBSP clocks are being double enabled in the event the
    McBSP is already active. Also, they are unnecessarily
    disabled when there's no active McBSP in use. Fix this
    phenomenom by enabling and disabling the clocks at the
    proper location.
    Signed-off-by: Eero Nurkkala <>
    Acked-by: Jarkko Nikula <>
    Signed-off-by: Tony Lindgren <>
  2. @tmlind

    OMAP: McBSP: Always maintain McBSP fclk while active

    Eero Nurkkala authored tmlind committed
    McBSP fclk must be maintained for the duration of
    audio playback or recording. Otherwise the fclk
    may get autogated when the PER96M clk is no longer
    required by other modules. This results in audio
    activity being hang. Also, if the McBSP is run
    as a slave, it is possible that words are
    randomly missed from the playback. Fix all this
    phenomenom by enabling the McBSP fclk
    clockactivity bit for the entire active duration
    of the McBSP usage.
    Signed-off-by: Eero Nurkkala <>
    Acked-by: Jarkko Nikula <>
    Signed-off-by: Tony Lindgren <>
Commits on Mar 25, 2009
  1. @tmlind

    ARM: OMAP: N8x0: Remove board-n800-audio.c

    Jarkko Nikula authored tmlind committed
    This file is needless since there is no anymore omap specific sound drivers.
    Drivers got removed by the commit 9fa298d.
    Signed-off-by: Jarkko Nikula <>
    Signed-off-by: Tony Lindgren <>
  2. @tmlind

    ARM: OMAP: N8x0: Add retu-headset platform data

    Jarkko Nikula authored tmlind committed
    This was earlier in board-n800-audio.c but got removed by the commit
    Signed-off-by: Jarkko Nikula <>
    Signed-off-by: Tony Lindgren <>
  3. @tmlind

    board H2: simplify MMC setup

    Ladislav Michl authored tmlind committed
    Signed-off-by: Ladislav Michl <>
    Signed-off-by: Tony Lindgren <>
  4. @tmlind

    SDRC: prevent null pointer dereference if sdrc_init_params is null

    Paul Walmsley authored tmlind committed
    omap2_sdrc_get_params() should check to see if a board-*.c file has
    called omap2_init_common_hw() with a null pointer for the
    omap_sdrc_params argument, rather than attempting to dereference it.
    Otherwise, boot will fail after the "Reprogramming SDRC" boot message.
    Problem found by Peter Barada <>.
    Signed-off-by: Paul Walmsley <>
    Tested-by: Peter Barada <>
    Signed-off-by: Tony Lindgren <>
  5. @tmlind

    OMAP3: MMC needs CONFIG_REGULATOR{,_TWL4030} now in defconfigs

    Paul Walmsley authored tmlind committed
    MMC doesn't work after 3fe3265 unless
    CONFIG_REGULATOR, CONFIG_REGULATOR_TWL4030 are present in the .config.
    Add those in for all OMAP3 defconfigs.  Tested on BeagleBoard, but this is
    presumably needed for anything with MMC and TWL4030.
    Signed-off-by: Paul Walmsley <>
    Cc: David Brownell <>
    Acked-by: David Brownell <>
    Signed-off-by: Tony Lindgren <>
  6. @tmlind

    RX51: connect VAUX3 to MMC2

    Adrian Hunter authored tmlind committed
    Signed-off-by: Adrian Hunter <>
    Signed-off-by: Tony Lindgren <>
  7. @tmlind

    OMAP: mmc_twl4030 nicely disable vmmc_aux

    Adrian Hunter authored tmlind committed
    The MMC driver turns the power off before it turns it
    on. To avoid regulator warnings, vmmc_aux must only be
    disabled if it has previously been enabled.
    Signed-off-by: Adrian Hunter <>
    Acked-by: David Brownell <>
    Signed-off-by: Tony Lindgren <>
Commits on Mar 24, 2009
  1. @tmlind

    omap mmc: Remove power_pin

    Ladislav Michl authored tmlind committed
    On Tue, Jan 13, 2009 at 03:43:44PM +0200, Tony Lindgren wrote:
    > > diff --git a/arch/arm/plat-omap/include/mach/mmc.h b/arch/arm/plat-omap/include/mach/mmc.h
    > > index 031250f..1129e97 100644
    > > --- a/arch/arm/plat-omap/include/mach/mmc.h
    > > +++ b/arch/arm/plat-omap/include/mach/mmc.h
    > > @@ -51,7 +51,6 @@ struct omap_mmc_platform_data {
    > >  	 * not supported */
    > >  	int (* init)(struct device *dev);
    > >  	void (* cleanup)(struct device *dev);
    > > -	void (* shutdown)(struct device *dev);
    > >
    > >  	/* To handle board related suspend/resume functionality for MMC */
    > >  	int (*suspend)(struct device *dev, int slot);
    > > @@ -77,10 +76,6 @@ struct omap_mmc_platform_data {
    > >
    > >  		/* use the internal clock */
    > >  		unsigned internal_clock:1;
    > > -		s16 power_pin;
    > > -
    > > -		int switch_pin;			/* gpio (card detect) */
    > > -		int gpio_wp;			/* gpio (write protect) */
    > >
    > >  		int (* set_bus_mode)(struct device *dev, int slot, int bus_mode);
    > >  		int (* set_power)(struct device *dev, int slot, int power_on, int vdd);
    > Hmm, aren't switch_pin and gpio_wp  used at least in the
    > mmc-twl4030.c?
    Yes, they are. I missed them completely. Sorry.
    > I guess they could be internal to mmc-twl4030.c if not used
    > in the drivers directly.
    They could, but that's a bit more complicated. Will look at it later.
    > > diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
    > > index 67d7b7f..84de289 100644
    > > --- a/drivers/mmc/host/omap.c
    > > +++ b/drivers/mmc/host/omap.c
    > > @@ -157,8 +157,6 @@ struct mmc_omap_host {
    > >  	struct timer_list	dma_timer;
    > >  	unsigned		dma_len;
    > >
    > > -	short			power_pin;
    > > -
    > >  	struct mmc_omap_slot    *slots[OMAP_MMC_MAX_SLOTS];
    > >  	struct mmc_omap_slot    *current_slot;
    > >  	spinlock_t              slot_lock;
    > >
    > Looks like power_pin could go though.
    Updated patch follows
    Signed-off-by: Ladislav Michl <>
    Signed-off-by: Tony Lindgren <>
  2. @tmlind

    Merge current mainline tree into linux-omap tree

    tmlind authored
    Merge branches 'master' and 'linus'
Commits on Mar 23, 2009
  1. @torvalds

    Linux 2.6.29

    torvalds authored
  2. @torvalds

    Build with -fno-dwarf2-cfi-asm

    Kyle McMartin authored torvalds committed
    With a sufficiently new compiler and binutils, code which wasn't
    previously generating .eh_frame sections has begun to.  Certain
    architectures (powerpc, in this case) may generate unexpected relocation
    formats in response to this, preventing modules from loading.
    While the new relocation types should probably be handled, revert to the
    previous behaviour with regards to generation of .eh_frame sections.
    (This was reported against Fedora, which appears to be the only distro
    doing any building against gcc-4.4 at present: RH bz#486545.)
    Signed-off-by: Kyle McMartin <>
    Acked-by: Roland McGrath <>
    Cc: Alexandre Oliva <>
    Cc: Sam Ravnborg <>
    Signed-off-by: Linus Torvalds <>
  3. @torvalds

    trivial: fix orphan dates in ext2 documentation

    Jody McIntyre authored torvalds committed
    Revert the change to the orphan dates of Windows 95, DOS, compression.
    Add a new orphan date for OS/2.
    Signed-off-by: Jody McIntyre <>
    Acked-by: Pavel Machek <>
    Signed-off-by: Linus Torvalds <>
  4. @tmlind

    Updates to the mmc-twl4030 code

    David Brownell authored tmlind committed
    Updates to the mmc-twl4030 code:
     - Partial workaround for the bug fixed more comprehensively
       by f4223ec ... workaround
       applies only to MMC devs using this code.
     - Fix a cut'n'paste bug as noted by Adrian Hunter:  the intent
       was to "disable" not (re)"enable".
    The reason to want this workaround is lack of faith that any
    sane fix for that regulator framework bug will ever merge,
    while still wanting to see things work in mainline.
    Signed-off-by: David Brownell <>
    Signed-off-by: Tony Lindgren <>
  5. @tmlind

    sdp regulator init updates

    David Brownell authored tmlind committed
    Hook up VPLL2 regulator on 3430 SDP.  Link that and VDAC to the
    framebuffer device, supporting eventual conversion to use the
    regulator framework.
    Signed-off-by: David Brownell <>
    Signed-off-by: Tony Lindgren <>
  6. @tmlind

    ARM: OMAP: Fix mmc_set_power GPIO usage

    Ladislav Michl authored tmlind committed
    Simple simplification...
    Signed-off-by: Ladislav Michl <>
    Signed-off-by: Tony Lindgren <>
  7. @torvalds

    Merge git://

    torvalds authored
    * git:// (32 commits)
      ucc_geth: Fix oops when using fixed-link support
      dm9000: locking bugfix
      net: update dnet.c for bus_id removal
      dnet: DNET should depend on HAS_IOMEM
      dca: add missing copyright/license headers
      nl80211: Check that function pointer != NULL before using it
      sungem: missing net_device_ops
      be2net: fix to restore vlan ids into BE2 during a IF DOWN->UP cycle
      be2net: replenish when posting to rx-queue is starved in out of mem conditions
      bas_gigaset: correctly allocate USB interrupt transfer buffer
      smsc911x: reset last known duplex and carrier on open
      sh_eth: Fix mistake of the address of SH7763
      sh_eth: Change handling of IRQ
      netns: oops in ip[6]_frag_reasm incrementing stats
      net: kfree(napi->skb) => kfree_skb
      net: fix sctp breakage
      ipv6: fix display of local and remote sit endpoints
      net: Document /proc/sys/net/core/netdev_budget
      tulip: fix crash on iface up with shirq debug
      virtio_net: Make virtio_net support carrier detection
  8. @torvalds

    Merge git://

    torvalds authored
    * git://
      sparc64: Fix crash with /proc/iomem
      sparc64: Reschedule KGDB capture to a software interrupt.
      sbus: Auto-load openprom module when device opened.
  9. @torvalds

    fix ptrace slowness

    Miklos Szeredi authored torvalds committed
    This patch fixes bug #12208:
      Bug-Entry       :
      Subject         : uml is very slow on 2.6.28 host
    This turned out to be not a scheduler regression, but an already
    existing problem in ptrace being triggered by subtle scheduler
    The problem is this:
     - task A is ptracing task B
     - task B stops on a trace event
     - task A is woken up and preempts task B
     - task A calls ptrace on task B, which does ptrace_check_attach()
     - this calls wait_task_inactive(), which sees that task B is still on the runq
     - task A goes to sleep for a jiffy
     - ...
    Since UML does lots of the above sequences, those jiffies quickly add
    up to make it slow as hell.
    This patch solves this by not rescheduling in read_unlock() after
    ptrace_stop() has woken up the tracer.
    Thanks to Oleg Nesterov and Ingo Molnar for the feedback.
    Signed-off-by: Miklos Szeredi <>
    Signed-off-by: Linus Torvalds <>
  10. @torvalds

    Merge branch 'merge' of git://…

    torvalds authored
    * 'merge' of git://
      powerpc/mm: Fix Respect _PAGE_COHERENT on classic ppc32 SW TLB load machines
  11. @kumargala

    powerpc/mm: Fix Respect _PAGE_COHERENT on classic ppc32 SW TLB load m…

    kumargala authored
    Grant picked up the wrong version of "Respect _PAGE_COHERENT on classic
    ppc32 SW" (commit a4bd6a9)
    It was missing the code to actually deal with the fixup of
    _PAGE_COHERENT based on the CPU feature.
    Signed-off-by: Kumar Gala <>
  12. @davem330

    ucc_geth: Fix oops when using fixed-link support

    Anton Vorontsov authored davem330 committed
    commit b1c4a9d ("ucc_geth: Change
    uec phy id to the same format as gianfar's") introduced a regression
    in the ucc_geth driver that causes this oops when fixed-link is used:
    Unable to handle kernel paging request for data at address 0x00000000
    Faulting instruction address: 0xc0151270
    Oops: Kernel access of bad area, sig: 11 [#1]
    NIP: c0151270 LR: c0151270 CTR: c0017760
    REGS: cf81fa60 TRAP: 0300   Not tainted  (2.6.29-rc8)
    MSR: 00009032 <EE,ME,IR,DR>  CR: 24024042  XER: 20000000
    DAR: 00000000, DSISR: 20000000
    TASK = cf81cba0[1] 'swapper' THREAD: cf81e000
    GPR00: c0151270 cf81fb10 cf81cba0 00000000 c0272e20 c025f354 00001e80
    GPR08: d1068200 cffffb74 06000000 d106c200 42024042 10085148 0fffd000
    GPR16: 00000001 00000001 00000000 007ffeb0 00000000 0000c000 cf83f36c
    GPR24: 00000030 cf83f360 cf81fb20 00000000 d106c200 20000000 00001e80
    NIP [c0151270] ucc_geth_open+0x330/0x1efc
    LR [c0151270] ucc_geth_open+0x330/0x1efc
    Call Trace:
    [cf81fb10] [c0151270] ucc_geth_open+0x330/0x1efc (unreliable)
    [cf81fba0] [c0187638] dev_open+0xbc/0x12c
    [cf81fbc0] [c0187e38] dev_change_flags+0x8c/0x1b0
    This patch fixes the issue by removing offending (and somewhat
    duplicate) code from init_phy() routine, and changes _probe()
    function to use uec_mdio_bus_name().
    Also, since we fully construct phy_bus_id in the _probe() routine,
    we no longer need ->phy_address and ->mdio_bus fields in
    ucc_geth_info structure.
    I wish the patch would be a bit shorter, but it seems like the only
    way to fix the issue in a sane way. Luckily, the patch has been
    tested with real PHYs and fixed-link, so no further regressions
    Reported-by: Joakim Tjernlund <>
    Signed-off-by: Anton Vorontsov <>
    Tested-by: Joakim Tjernlund <>
    Signed-off-by: David S. Miller <>
  13. @davem330

    dm9000: locking bugfix

    David Brownell authored davem330 committed
    This fixes a locking bug in the dm9000 driver.  It calls
    request_irq() without setting IRQF_DISABLED ... which is
    correct for handlers that support IRQ sharing, since that
    behavior is not guaranteed for shared IRQs.  However, its
    IRQ handler then wrongly assumes that IRQs are blocked.
    So the fix just uses the right spinlock primitives in the
    IRQ handler.
    NOTE:  this is a classic example of the type of bug which
    lockdep currently masks by forcibly setting IRQF_DISABLED
    on IRQ handlers that did not request that flag.
    Signed-off-by: David Brownell <>
    Signed-off-by: David S. Miller <>
  14. @davem330

    net: update dnet.c for bus_id removal

    Stephen Rothwell authored davem330 committed
    Signed-off-by: Stephen Rothwell <>
    Signed-off-by: David S. Miller <>
Commits on Mar 22, 2009
  1. @torvalds

    Merge git://

    torvalds authored
    * git://
      kconfig: improve seed in randconfig
      kconfig: fix randconfig for choice blocks
Something went wrong with that request. Please try again.