26 Feb, 2011

1 commit

  • The regulator framework is used for power management. The regulators are
    only named in the driver code, the actual control stuff is in the board
    file for each architecture or use case.

    The PN544 chip has three regulators that can be controlled or not -
    depending on the architecture where the chip is being used. So some of
    the regulators may not be controllable. In our current case the third
    regulator, which was missing from the code, went unnoticed because we
    didn't need to control it. To be as general as possible - in this respect
    - the driver needs to list all regulators. Then the board file can be
    used to actually set the usage.

    Signed-off-by: Matti J. Aaltonen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matti J. Aaltonen
     

17 Jan, 2011

1 commit

  • Fix these:

    drivers/nfc/pn544.c: In function 'pn544_read':
    drivers/nfc/pn544.c:356: warning: comparison of distinct pointer types lacks a cast
    drivers/nfc/pn544.c:377: warning: comparison of distinct pointer types lacks a cast
    drivers/nfc/pn544.c: In function 'pn544_write':
    drivers/nfc/pn544.c:463: warning: comparison of distinct pointer types lacks a cast
    drivers/nfc/pn544.c:485: warning: comparison of distinct pointer types lacks a cast

    Cc: "Matti J. Aaltonen"
    Cc: Stephen Rothwell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     

14 Jan, 2011

1 commit

  • Creates a new "Near Field Communication" subsystem in drivers/nfc.
    http://en.wikipedia.org/wiki/Near_Field_Communication is useful ;)

    This is a driver for the pn544 NFC device. The driver transfers
    ETSI messages between the device and the user space.

    Signed-off-by: Matti J. Aaltonen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matti J. Aaltonen