Thread (23 messages) 23 messages, 3 authors, 2012-09-13
STALE5014d

[PATCH 1/4] can: c_can: Adopt pinctrl support

From: AnilKumar, Chimata <hidden>
Date: 2012-09-04 08:34:11
Also in: linux-can, linux-omap

On Tue, Sep 04, 2012 at 13:12:17, Marc Kleine-Budde wrote:
On 09/04/2012 08:14 AM, AnilKumar, Chimata wrote:
quoted
Hi Marc,

On Tue, Sep 04, 2012 at 02:12:04, Marc Kleine-Budde wrote:
quoted
On 09/03/2012 01:52 PM, AnilKumar Ch wrote:
quoted
Adopt pinctrl support to c_can driver based on c_can device
pointer, pinctrl driver configure SoC pins to d_can mode
according to definitions provided in .dts file.

In device specific device tree file 'pinctrl-names = "default";'
and 'pinctrl-0 = <&d_can1_pins>;' needs to add to configure pins
from c_can driver. d_can1_pins node contains the pinmux/config
details of d_can L/H pins.
Looks good, is the pinctrl property documented in the dt bindings already?
Yes, its here Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt
Sorry, I meant not the generic pinctrl, but the c_can/d_can bindings
documentation (Documentation/devicetree/bindings/net/can/).
No, I have not included because those are pinctrl driver specific
bindings. If the SoC supports pinmux/conf feature then those should
be added according to pinctrl driver. If the SoC is not supported pinmux/config then this configuration is not required.

Thanks
AnilKumar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help