Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
74a36e4a
Commit
74a36e4a
authored
Jun 12, 2019
by
Linus Walleij
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ib-snps-reset-gpio' into devel
parents
9d373aca
edc1ef3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
drivers/gpio/gpiolib-of.c
drivers/gpio/gpiolib-of.c
+6
-0
No files found.
drivers/gpio/gpiolib-of.c
View file @
74a36e4a
...
@@ -158,6 +158,12 @@ static void of_gpio_flags_quirks(struct device_node *np,
...
@@ -158,6 +158,12 @@ static void of_gpio_flags_quirks(struct device_node *np,
}
}
}
}
}
}
/* Legacy handling of stmmac's active-low PHY reset line */
if
(
IS_ENABLED
(
CONFIG_STMMAC_ETH
)
&&
!
strcmp
(
propname
,
"snps,reset-gpio"
)
&&
of_property_read_bool
(
np
,
"snps,reset-active-low"
))
*
flags
|=
OF_GPIO_ACTIVE_LOW
;
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment