Commit eee44da0 authored by Kishon Vijay Abraham I's avatar Kishon Vijay Abraham I Committed by Felipe Balbi

usb: musb: omap2430: replace *_* with *-* in property names

No functional change. Replace *_* with *-* in property names of otg to
follow the general convention.
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent c3ec830d
...@@ -8,10 +8,10 @@ OMAP MUSB GLUE ...@@ -8,10 +8,10 @@ OMAP MUSB GLUE
and disconnect. and disconnect.
- multipoint : Should be "1" indicating the musb controller supports - multipoint : Should be "1" indicating the musb controller supports
multipoint. This is a MUSB configuration-specific setting. multipoint. This is a MUSB configuration-specific setting.
- num_eps : Specifies the number of endpoints. This is also a - num-eps : Specifies the number of endpoints. This is also a
MUSB configuration-specific setting. Should be set to "16" MUSB configuration-specific setting. Should be set to "16"
- ram_bits : Specifies the ram address size. Should be set to "12" - ram-bits : Specifies the ram address size. Should be set to "12"
- interface_type : This is a board specific setting to describe the type of - interface-type : This is a board specific setting to describe the type of
interface between the controller and the phy. It should be "0" or "1" interface between the controller and the phy. It should be "0" or "1"
specifying ULPI and UTMI respectively. specifying ULPI and UTMI respectively.
- mode : Should be "3" to represent OTG. "1" signifies HOST and "2" - mode : Should be "3" to represent OTG. "1" signifies HOST and "2"
...@@ -29,14 +29,14 @@ usb_otg_hs: usb_otg_hs@4a0ab000 { ...@@ -29,14 +29,14 @@ usb_otg_hs: usb_otg_hs@4a0ab000 {
ti,hwmods = "usb_otg_hs"; ti,hwmods = "usb_otg_hs";
ti,has-mailbox; ti,has-mailbox;
multipoint = <1>; multipoint = <1>;
num_eps = <16>; num-eps = <16>;
ram_bits = <12>; ram-bits = <12>;
ctrl-module = <&omap_control_usb>; ctrl-module = <&omap_control_usb>;
}; };
Board specific device node entry Board specific device node entry
&usb_otg_hs { &usb_otg_hs {
interface_type = <1>; interface-type = <1>;
mode = <3>; mode = <3>;
power = <50>; power = <50>;
}; };
......
...@@ -526,10 +526,10 @@ static int omap2430_probe(struct platform_device *pdev) ...@@ -526,10 +526,10 @@ static int omap2430_probe(struct platform_device *pdev)
} }
of_property_read_u32(np, "mode", (u32 *)&pdata->mode); of_property_read_u32(np, "mode", (u32 *)&pdata->mode);
of_property_read_u32(np, "interface_type", of_property_read_u32(np, "interface-type",
(u32 *)&data->interface_type); (u32 *)&data->interface_type);
of_property_read_u32(np, "num_eps", (u32 *)&config->num_eps); of_property_read_u32(np, "num-eps", (u32 *)&config->num_eps);
of_property_read_u32(np, "ram_bits", (u32 *)&config->ram_bits); of_property_read_u32(np, "ram-bits", (u32 *)&config->ram_bits);
of_property_read_u32(np, "power", (u32 *)&pdata->power); of_property_read_u32(np, "power", (u32 *)&pdata->power);
config->multipoint = of_property_read_bool(np, "multipoint"); config->multipoint = of_property_read_bool(np, "multipoint");
pdata->has_mailbox = of_property_read_bool(np, pdata->has_mailbox = of_property_read_bool(np,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment