Page MenuHomeFreeBSD

if_dwc add reset-gpio
ClosedPublic

Authored by manu_bidouilliste.com on Mar 1 2016, 11:58 AM.
Tags
Referenced Files
Unknown Object (File)
Mon, Dec 2, 1:51 PM
Unknown Object (File)
Fri, Nov 22, 12:13 PM
Unknown Object (File)
Oct 30 2024, 4:11 AM
Unknown Object (File)
Oct 19 2024, 5:07 PM
Unknown Object (File)
Oct 17 2024, 2:33 AM
Unknown Object (File)
Oct 8 2024, 9:37 AM
Unknown Object (File)
Oct 8 2024, 3:45 AM
Unknown Object (File)
Oct 8 2024, 3:21 AM

Details

Summary

The snps have some optional property for reseting the phy via gpios.
This patch implement the reset.

Test Plan

Apply patch and test on systems with dwc

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu_bidouilliste.com retitled this revision from to if_dwc add reset-gpio.
manu_bidouilliste.com updated this object.
manu_bidouilliste.com edited the test plan for this revision. (Show Details)
manu_bidouilliste.com added a reviewer: ARM.
manu_bidouilliste.com set the repository for this revision to rS FreeBSD src repository - subversion.
manu_bidouilliste.com added a project: ARM.
jmcneill added inline comments.
sys/dev/dwc/if_dwc.c
1027 ↗(On Diff #13928)

Indent 4 spaces instead of a tab for multi-line if condition.

1031 ↗(On Diff #13928)

4 spaces here too

1044 ↗(On Diff #13928)

Instead of active_low = 0/1 it would simplify the GPIO_PIN_SET calls later if you had int value and set it to either GPIO_PIN_LOW/GPIO_PIN_HIGH

1047 ↗(On Diff #13928)

4 spaces here too

br added inline comments.
sys/dev/dwc/if_dwc.c
1041 ↗(On Diff #13937)

line is too long

This revision is now accepted and ready to land.Mar 2 2016, 9:49 PM
andrew added a reviewer: andrew.
adrian added a reviewer: adrian.
This revision was automatically updated to reflect the committed changes.