Thread (30 messages) 30 messages, 4 authors, 2013-11-26

[PATCH 5/9] ARM: at91/dt: add mmc0 slot0 support to at91rm9200ek board

From: Linus Walleij <hidden>
Date: 2013-11-21 09:48:42
Also in: linux-devicetree, lkml

On Wed, Nov 20, 2013 at 5:14 PM, boris brezillon
[off-list ref] wrote:
On 20/11/2013 15:59, Jean-Christophe PLAGNIOL-VILLARD wrote:
quoted
On 13:06 Wed 28 Aug     , Boris BREZILLON wrote:
quoted
quoted
mmc0_slot0_switch-0 {
+                                               atmel,pins =
+                                                       <AT91_PIOB 22
AT91_PERIPH_GPIO (AT91_PINCTRL_OUTPUT | AT91_PINCTRL_OUTPUT_VAL(1))>;
+                                       };
nack this is a regulator the pinctrl API is not done for gpio default
value
I know this can be represented as a regulator, but looking at the datasheet,
this looks more like a switch than a regulator.
No matter whether it's a switch or a GPIO regulator it seems we
are in violent agreement that it should not be controlled by the
pin control states at least.

Start with making it a GPIO then you can figure out whether
a GPIO regulator or drivers/extcon/extcon-gpio.c should be
used.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help