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

Atmel SAM E70 USB driver #10977

Merged
merged 2 commits into from
Nov 6, 2018
Merged

Conversation

aurel32
Copy link
Collaborator

@aurel32 aurel32 commented Oct 31, 2018

No description provided.

@aurel32 aurel32 added area: USB Universal Serial Bus platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM) labels Oct 31, 2018
@codecov-io
Copy link

codecov-io commented Oct 31, 2018

Codecov Report

Merging #10977 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #10977   +/-   ##
=======================================
  Coverage   53.22%   53.22%           
=======================================
  Files         217      217           
  Lines       26733    26733           
  Branches     5926     5926           
=======================================
  Hits        14228    14228           
  Misses      10086    10086           
  Partials     2419     2419

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d83ade7...00f03d3. Read the comment docs.

@galak
Copy link
Collaborator

galak commented Nov 1, 2018

The dts bits look good to me.

Copy link
Contributor

@dbkinder dbkinder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for docs, thanks.

Copy link
Collaborator

@galak galak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for dt

This patch adds a USB device driver for the USBHS device that can be
found on Atmel SAM E70 SoC family. Only the FIFO mode is supported
(as opposed to DMA). It supports LS, FS and HS modes, but defaults to
FS mode as Zephyr does not fully support HS mode yet.

Tested examples on an Atmel SMART SAM E70 Xplained Board:
* usb/cdc_acm
* usb/hid-mouse
* usb/mass

Signed-off-by: Aurelien Jarno <[email protected]>
This enables the USBHS interface on the Atmel SMART SAM E70 Xplained
Board, by adding an entry to the DTS. It also updates the documentation
and mark usb_device as supported for the tests.

Signed-off-by: Aurelien Jarno <[email protected]>
@aurel32
Copy link
Collaborator Author

aurel32 commented Nov 3, 2018

I have just pushed a rebased version of the patchset, due to the conflicts introduced when merging the watchdog driver.

@nashif nashif merged commit db94cef into zephyrproject-rtos:master Nov 6, 2018
@aurel32 aurel32 deleted the same70-usb branch November 6, 2018 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: USB Universal Serial Bus platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants