linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [periperi] How to set default GPIO pin ?
Date: Wed, 10 Sep 2014 08:55:31 +0000	[thread overview]
Message-ID: <2862746.g5u9pdpKDi@avalon> (raw)
In-Reply-To: <8738cc0vx9.wl%kuninori.morimoto.gx@gmail.com>

Hi Morimoto-san,

(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:
> 
> 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 ?

-- 
Regards,

Laurent Pinchart


       reply	other threads:[~2014-09-10  8:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8738cc0vx9.wl%kuninori.morimoto.gx@gmail.com>
2014-09-10  8:55 ` Laurent Pinchart [this message]
2014-09-12  7:27   ` [periperi] How to set default GPIO pin ? Kuninori Morimoto
2014-09-23 15:06   ` Linus Walleij
2014-09-28 21:25     ` Laurent Pinchart
2014-09-28 23:58       ` Kuninori Morimoto
2014-09-29  8:58       ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2862746.g5u9pdpKDi@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).