Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spi driver #83

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Spi driver #83

wants to merge 14 commits into from

Commits on May 24, 2016

  1. spi: spilib: first draft

    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 24, 2016
    Configuration menu
    Copy the full SHA
    4a8b96e View commit details
    Browse the repository at this point in the history
  2. spi: spilib: No read/write functions, just transfer

    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 24, 2016
    Configuration menu
    Copy the full SHA
    62a3097 View commit details
    Browse the repository at this point in the history
  3. spi: parallella_spi: Fix pin directions

    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 24, 2016
    Configuration menu
    Copy the full SHA
    8eeb5a7 View commit details
    Browse the repository at this point in the history
  4. spi: spilib: working (w/ wrong register addresses)

    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 24, 2016
    Configuration menu
    Copy the full SHA
    cabc359 View commit details
    Browse the repository at this point in the history
  5. spi: spilib: Go back to original register offsets

    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 24, 2016
    Configuration menu
    Copy the full SHA
    e3d7e9b View commit details
    Browse the repository at this point in the history
  6. spi: spilib: upate uio-test

    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 24, 2016
    Configuration menu
    Copy the full SHA
    697361e View commit details
    Browse the repository at this point in the history
  7. spi: spilib: Add __spi prefix to convenience macros

    Add __spi prefix to __unused / __packed / __aligned to avoid name
    clashes with system headers.
    
    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 24, 2016
    Configuration menu
    Copy the full SHA
    c21d5b1 View commit details
    Browse the repository at this point in the history
  8. spi: spilib: Update generic spi_transfer

    Support up to 8 byte transfers.
    Wait for RX to complete before reading from deserializer regs.
    
    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 24, 2016
    Configuration menu
    Copy the full SHA
    352573b View commit details
    Browse the repository at this point in the history
  9. spi: spilib: Update uio-test

    - Add test for slave address auto-increment.
    - Add test for the 2 MSB in every byte.
    
    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 24, 2016
    Configuration menu
    Copy the full SHA
    cd9fe76 View commit details
    Browse the repository at this point in the history
  10. spi: Connect nreset of oh_rise2pulse

    Solves issue with master STATUS[0] always high.
    
    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 24, 2016
    Configuration menu
    Copy the full SHA
    987f8df View commit details
    Browse the repository at this point in the history
  11. spi: fpga: Add constraint for master slave clock out

    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 24, 2016
    Configuration menu
    Copy the full SHA
    31c0593 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2016

  1. spi: spilib: Add slave address increment test to uio-test

    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 27, 2016
    Configuration menu
    Copy the full SHA
    ff8ad4e View commit details
    Browse the repository at this point in the history

Commits on May 31, 2016

  1. spi: spilib: Add Makefile

    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 31, 2016
    Configuration menu
    Copy the full SHA
    48f95ef View commit details
    Browse the repository at this point in the history
  2. spi: linux-uio: Add files and instructions for uio

    Signed-off-by: Ola Jeppsson <ola@adapteva.com>
    olajep committed May 31, 2016
    Configuration menu
    Copy the full SHA
    4b9e555 View commit details
    Browse the repository at this point in the history