gpio-mxc gpio get always returns 0 for outputs for IMX6

Shawn Guo shawn.guo at freescale.com
Wed Jul 16 19:41:04 PDT 2014


On Wed, Jul 16, 2014 at 09:14:23PM +0200, Benoît Thébaudeau wrote:
> > Instead of specifying SION setup in the config cell case by case, I
> > think we can do that directly in pin function ID for all cases where
> > GPIO mode is selected.  I just sent a patch to do that.  Please take
> > a look to see if it works for you.
> 
> I don't find this patch on the ML.

The patch is too big to hit the list.

> 
> Note that enabling SION for all pads in GPIO mode will have some
> impact on the power consumption. That's why SION is designed to be
> used on a per-pad basis, only when an output GPIO needs to be sensed.

Okay, in that case, we will have to leave the configuration option to
board DTS author.

Shawn



More information about the linux-arm-kernel mailing list