From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kuninori Morimoto Subject: Re: [periperi] How to set default GPIO pin ? Date: Sun, 28 Sep 2014 16:58:50 -0700 (PDT) Message-ID: <8738bb9u1a.wl%kuninori.morimoto.gx@gmail.com> References: <8738cc0vx9.wl%kuninori.morimoto.gx@gmail.com> <2862746.g5u9pdpKDi@avalon> <2033766.6tR9OHe7ZC@avalon> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <2033766.6tR9OHe7ZC@avalon> Sender: linux-sh-owner@vger.kernel.org To: Laurent Pinchart Cc: Linus Walleij , "linux-gpio@vger.kernel.org" , "goda (Renesas)" , "linux-sh@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" List-Id: linux-gpio@vger.kernel.org Hi Laurent, Linus > > I have suggested adding GPIO hogs, so that a GPIO node can specify > > that some GPIO's specified on the local ship be hogged high or > > low at probe. Generic DT bindings and generic code in gpiolib.c. > > > > gpios-hog-high = <....>; > > gpios-hog-low = <....>; > > How about just a gpios-hog property, with a list of gpio specifiers + flags ? > That's bikeshedding I suppose. > > Morimoto-san, would you like to implement that ? :-) Thank you for your help OK, I try to implement this method (when I have time :) Thank you Best regards --- Kuninori Morimoto