Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115010550
D41896.id127478.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
648 B
Referenced Files
None
Subscribers
None
D41896.id127478.diff
View Options
diff --git a/sys/arm/ti/ti_pinmux.c b/sys/arm/ti/ti_pinmux.c
--- a/sys/arm/ti/ti_pinmux.c
+++ b/sys/arm/ti/ti_pinmux.c
@@ -62,6 +62,12 @@
uint32_t conf;
};
+static struct ofw_compat_data compat_data[] = {
+ {"pinctrl-single", 2},
+ {"pinconf-single", 1},
+ {NULL, 0},
+};
+
static struct resource_spec ti_pinmux_res_spec[] = {
{ SYS_RES_MEMORY, 0, RF_ACTIVE }, /* Control memory window */
{ -1, 0 }
@@ -372,7 +378,7 @@
if (!ofw_bus_status_okay(dev))
return (ENXIO);
- if (!ofw_bus_is_compatible(dev, "pinctrl-single"))
+ if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0)
return (ENXIO);
if (ti_pinmux_sc) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 20, 2:09 PM (4 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17644764
Default Alt Text
D41896.id127478.diff (648 B)
Attached To
Mode
D41896: AM335x: ti_pinmux.c add pinconf-single to set of compatible strings
Attached
Detach File
Event Timeline
Log In to Comment