From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Mon, 27 May 2019 09:13:44 +0200 Subject: [U-Boot] [PATCH] gpio: add gpio-hog support In-Reply-To: <20190527063051.1125534-1-hs@denx.de> References: <20190527063051.1125534-1-hs@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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 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