Thread (6 messages) 6 messages, 3 authors, 2014-09-29

[periperi] How to set default GPIO pin ?

From: Kuninori Morimoto <hidden>
Date: 2014-09-12 07:27:15
Also in: linux-sh

Hi Laurent, Linus (Walleij)

Thank you for your help
(Moving this thread to linux-sh and linux-arm and CC'ing Linus Walleij)

On Sunday 31 August 2014 22:08:52 Kuninori Morimoto wrote:
quoted
I know we can use "defalt" PFC settings on DT.
But, how to use "defalt" GPIO pin settings on DT ?

We would like to use GPIO 7-17 as Low output,
and do nothing after boot.
From a DT point of view I believe this is supposed to be done by specifying 
the output-low or output-high properties in the pinctrl configuration node. 
However, these properties are not supported by the PFC driver, and there's no 
easy way for the PFC driver to configure GPIOs handled by a different driver 
such as the gpio-rcar driver for instance.

Linus, do you have any hindsight on how this should be implemented ?
I'm happy if we can use this "defalt" GPIO on DT.
Linus, we need your opinion

Best regards
---
Kuninori Morimoto
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help