From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH v2 1/2] of/gpio: Define OF_GPIO_OPEN_DRAIN and OF_GPIO_OPEN_SOURCE flags. Date: Mon, 24 Feb 2014 13:09:34 +0100 Message-ID: References: <1392148200-5393-1-git-send-email-ddaney.cavm@gmail.com> <1392148200-5393-2-git-send-email-ddaney.cavm@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <1392148200-5393-2-git-send-email-ddaney.cavm@gmail.com> Sender: linux-gpio-owner@vger.kernel.org To: David Daney Cc: Grant Likely , Rob Herring , "devicetree@vger.kernel.org" , Alexandre Courbot , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , David Daney List-Id: devicetree@vger.kernel.org On Tue, Feb 11, 2014 at 8:49 PM, David Daney wrote: > From: David Daney > > When we have a GPIO pin connected to an open-drain network, we want a > standard way of specifying this in the device tree. So we choose bit > 1 of the flag field to indicate open drain. Same comments as for v1... Yours, Linus Walleij