Thread (1 message) 1 message, 1 author, 2013-05-26

Re: [net-next PATCH v2 1/6] net: cpsw: enhance pinctrl support

From: Mugunthan V N <hidden>
Date: 2013-05-26 07:19:14
Also in: linux-devicetree, linux-omap

On 5/26/2013 12:12 PM, David Miller wrote:
From: Mugunthan V N <redacted>
Date: Thu, 23 May 2013 18:00:23 +0530
quoted
From: Hebbar Gururaja <redacted>

Amend cpsw controller to optionally take a pin control handle and set
the state of the pins to:

- "default" on boot, resume
- "sleep" on suspend()

This should make it possible to optimize energy usage for the pins
for the suspend/resume cycle.

If any of the above pin states are missing in dt, a warning message
about the missing state is displayed.
If certain pin-states are not available, to remove this warning message
pass respective state name with null phandler.

Signed-off-by: Hebbar Gururaja <redacted>
Signed-off-by: Mugunthan V N <redacted>
This still needs some work:
quoted
+		/*
+		* Since we continue even when pinctrl node is not found,
+		* Invalidate pins as not available. This is to make sure that
+		* IS_ERR(pins_xxx) results in failure when used.
+		*/
The second, third, fourth, and fifth lines are not tabbed correctly.  They
should all be two TABs and a SPACE.

Secondly, comments in the networking are to be formatted:

	/* Like
	 * this.
	 */
Will fix this and will resubmit the next version today.

Regards
Mugunthan V N
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help