11 Mar, 2014

3 commits


24 Feb, 2014

2 commits


17 Feb, 2014

4 commits

  • This adds support for ISO-DEP protocol over NFC-A rf technology. The
    port100 already supports NFC-A and ATS request and response for type 4A
    tags are handled at digital level. This patch adds NFC_PROTO_ISO14443
    to the supported protocols and an entry for framing configuration which
    is the same as NFC-A standard frame with CRC handling.

    Signed-off-by: Thierry Escande
    Signed-off-by: Samuel Ortiz

    Thierry Escande
     
  • The arrays for protocols and rf techs must define a number of entries
    corresponding to their maximum possible index values.

    Reported-by: Dan Carpenter
    Signed-off-by: Thierry Escande
    Signed-off-by: Samuel Ortiz

    Thierry Escande
     
  • PN544 C3 firmwares already contain the command frames to be sent, but as
    they may exceed the i2c maximum payload, we need to fragment them into
    secure chunks and send them through the secure write command.

    Signed-off-by: Arron Wang
    Signed-off-by: Samuel Ortiz

    Arron Wang
     
  • Different pn544 hardware variant may use different commands to download
    new firmwares. The C2 does a regular firmware download while the C3 uses
    a more secure protocol.
    As a consequence we need to pass the hardware variant from the HCI SW
    version command reply down to the pn544 i2c layer, in order to use the
    right protocol at run time.

    Signed-off-by: Arron Wang
    Signed-off-by: Samuel Ortiz

    Arron Wang
     

09 Jan, 2014

1 commit


07 Jan, 2014

2 commits

  • Marvell nfc device provides support for external coexistance
    control. It allows Device Host to inhibit the NFCC from polling
    when required by asserting a GPIO pin. A second pin allows the
    DH to have feedback on the current NFCC state.

    The required configuration for this feature is done in setup
    handler.

    Signed-off-by: Amitkumar Karwar
    Signed-off-by: Bing Zhao
    Signed-off-by: Samuel Ortiz

    Amitkumar Karwar
     
  • This patch adds NFC support for Marvell 8897 NFC-over-USB chipset.

    Signed-off-by: Amitkumar Karwar
    Signed-off-by: Bing Zhao
    Signed-off-by: Samuel Ortiz

    Amitkumar Karwar
     

05 Jan, 2014

1 commit

  • port100_probe() calls usb_get_dev(), but there is no usb_put_dev()
    in port100_disconnect(). The patch adds one.

    Found by Linux Driver Verification project (linuxtesting.org).

    Signed-off-by: Alexey Khoroshilov
    Signed-off-by: Samuel Ortiz

    Alexey Khoroshilov
     

04 Jan, 2014

3 commits


11 Dec, 2013

1 commit

  • Several files refer to an old address for the Free Software Foundation
    in the file header comment. Resolve by replacing the address with
    the URL so that we do not have to keep
    updating the header comments anytime the address changes.

    CC: linux-wireless@vger.kernel.org
    CC: Lauro Ramos Venancio
    CC: Aloisio Almeida Jr
    CC: Samuel Ortiz
    Signed-off-by: Jeff Kirsher
    Signed-off-by: John W. Linville

    Jeff Kirsher
     

07 Oct, 2013

4 commits

  • This implements the target NFC digital operations tg_configure_hw(),
    tg_listen(), tg_listen_mdaa(), and tg_send_cmd().

    The target mode supports NFC-A technology at 106kbits/s and NFC-F
    technologies at 212 and 424kbits/s.

    Signed-off-by: Thierry Escande
    Cc: Stephen Tiedemann
    Tested-by: Cho, Yu-Chen
    Signed-off-by: Samuel Ortiz

    Thierry Escande
     
  • This patch implements the initiator NFC operations in_configure_hw()
    and in_send_cmd(). It also implements the switch_rf() operation.

    The initiator mode supports NFC-A technology at 106kbits/s and NFC-F
    technologies at 212 and 424kbits/s.

    Signed-off-by: Thierry Escande
    Cc: Stephen Tiedemann
    Tested-by: Cho, Yu-Chen
    Signed-off-by: Samuel Ortiz

    Thierry Escande
     
  • This patch implements the command handling mechanism. The digital stack
    serializes all commands sent to the driver. This means that the digital
    stack waits for the reply of the current command before sending a new
    one. So there is no command queue managed at driver level.

    All Port-100 commands are asynchronous. If the command has been sent
    successfully to the device, it replies with an ACK frame. Then the
    command response is received (or actually no-response in case of
    timeout or error) and a command complete work on the system workqueue
    is responsible for sending the response (or the error) back to the
    digital stack.

    The digital stack requires some commands to be synchronous, mainly
    hardware configuration ones. These commands use the asynchronous
    command path but are made synchronous by using a completion object.

    Signed-off-by: Thierry Escande
    Cc: Stephen Tiedemann
    Tested-by: Cho, Yu-Chen
    Signed-off-by: Samuel Ortiz

    Thierry Escande
     
  • This adds support for the Sony NFC USB dongle RC-S380, based on the
    Port-100 chip. This dongle is an analog frontend and does not implement
    the digital layer. This driver uses the nfc_digital module which is an
    implementation of the NFC Digital Protocol stack.

    This patch is a skeleton. It only registers the dongle against the NFC
    digital protocol stack. All NFC digital operation functions are stubbed
    out.

    Signed-off-by: Thierry Escande
    Cc: Stephen Tiedemann
    Tested-by: Cho, Yu-Chen
    Signed-off-by: Samuel Ortiz

    Thierry Escande
     

25 Sep, 2013

12 commits


14 Aug, 2013

7 commits