From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dDwHi-0003eL-Gx for barebox@lists.infradead.org; Thu, 25 May 2017 17:10:52 +0000 Received: by mail-pf0-x244.google.com with SMTP id f27so40466958pfe.0 for ; Thu, 25 May 2017 10:10:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <38ca9996-beb8-19a2-99ee-2a4fa7a82232@cogentembedded.com> References: <20170522152420.14443-1-andrew.smirnov@gmail.com> <20170522152420.14443-2-andrew.smirnov@gmail.com> <1495649778.5146.219.camel@kymetacorp.com> <38ca9996-beb8-19a2-99ee-2a4fa7a82232@cogentembedded.com> From: Andrey Smirnov Date: Thu, 25 May 2017 10:10:28 -0700 Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 2/4] gpiolib: Add code to support "active low" GPIOs To: Nikita Yushchenko Cc: "barebox@lists.infradead.org" , "cphealy@gmail.com" , Trent Piepho On Wed, May 24, 2017 at 11:36 PM, Nikita Yushchenko wrote: >> IMHO, whether any of likes it or not, OF_GPIO_ACTIVE_LOW is an >> existing feature and the only technical question is if it should be >> supported by Barebox on per-driver basis or if there should be a >> central API for it. >> >> Sascha, are you still OK with me proceeding with making and using an >> API, or should I just scrap that and handle this as a part of my >> "usb-no-xcev"? > > Is support for case when this usb-no-xcev's gpio is active high needed? > > If yes, then your questions above are valid. > > If no, then there is third option, completely ignore this aspect of > device tree and just assume that gpio is active low. That is a trivial/easily testable feature to implement, and I am not interested in pursuing "third option" you propose. Thanks, Andrey Smirnov _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox