All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] gpio: add gpio-hog support
Date: Mon, 27 May 2019 09:13:44 +0200	[thread overview]
Message-ID: <c0db12c7-dbea-8c49-3930-91459a951d20@xilinx.com> (raw)
In-Reply-To: <20190527063051.1125534-1-hs@denx.de>

On 27. 05. 19 8:30, Heiko Schocher wrote:
> add gpio-hog support. GPIO hogging is a mechanism
> providing automatic GPIO request and configuration
> as part of the gpio-controller's driver probe function.
> 
> for more infos see:
> doc/device-tree-bindings/gpio/gpio.txt
> 
> Signed-off-by: Heiko Schocher <hs@denx.de>

I have tested it on zcu102 where I use gpio hogs for gt muxes.
gpio hogs are handled and setup only when gpio controller is probed.
Do we have a way how to say that controllers with gpio hogs should be
probed automatically?

Right now you are calling it in post_probe which make sense but on the
other hand if you find gpio hog in bind you should probe the whole
driver without asking for request.

Thanks,
Michal

  reply	other threads:[~2019-05-27  7:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-27  6:30 [U-Boot] [PATCH] gpio: add gpio-hog support Heiko Schocher
2019-05-27  7:13 ` Michal Simek [this message]
2019-05-27  9:36   ` Heiko Schocher
2019-05-27 11:15     ` Michal Simek

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=c0db12c7-dbea-8c49-3930-91459a951d20@xilinx.com \
    --to=michal.simek@xilinx.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.