23 Sep, 2009

1 commit

  • This makes it consistent with other buses (platform, i2c, vio, ...). I'm
    not sure why we use the prefixes, but there must be a reason.

    This was easy enough to do it, and I did it.

    Signed-off-by: Anton Vorontsov
    Cc: David Brownell
    Cc: David Woodhouse
    Cc: Grant Likely
    Cc: Jean Delvare
    Cc: Ben Dooks
    Cc: Benjamin Herrenschmidt
    Cc: Dmitry Torokhov
    Cc: Samuel Ortiz
    Cc: "John W. Linville"
    Acked-by: Mike Frysinger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Anton Vorontsov
     

22 Sep, 2009

2 commits

  • Signed-off-by: Daniel Mack
    Acked-by: Pavel Machek
    Cc: Eric Piel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Mack
     
  • This enabled power management functions for the SPI transport layer of the
    lis3 devices. The device's suspend mode is only entered in case no wakeup
    threshold has been given. In this case, the device is supposed to wake up
    the system and must thus not be put to deep sleep.

    [randy.dunlap@oracle.com: fix lis3-spi for CONFIG_PM=n]
    Signed-off-by: Daniel Mack
    Acked-by: Pavel Machek
    Cc: Eric Piel
    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Mack
     

17 Jun, 2009

1 commit

  • The LIS302DL accelerometer chip has a 'click' feature which can be used to
    detect sudden motion on any of the three axis. Configuration data is
    passed via spi platform_data and no action is taken if that's not
    specified, so it won't harm any existing platform.

    To make the configuration effective, the IRQ lines need to be set up
    appropriately. This patch also adds a way to do that from board support
    code.

    The DD_* definitions were factored out to an own enum because they are
    specific to LIS3LV02D devices.

    Signed-off-by: Daniel Mack
    Acked-by: Pavel Machek
    Acked-by: Eric Piel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Mack
     

01 Apr, 2009

1 commit

  • Make use of the new abstraction layer and add a new transport layer for
    spi. Works fine on a PXA based board.

    Signed-off-by: Daniel Mack
    Acked-by: Pavel Machek
    Acked-by: Eric Piel
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Mack