From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welling Subject: Re: [PATCH 2/2] tools/gpio: add the gpio-hammer tool Date: Wed, 1 Jun 2016 13:09:06 -0500 Message-ID: <20160601180906.GA5286@deathstar> References: <1461660866-18683-1-git-send-email-linus.walleij@linaro.org> <1461660866-18683-2-git-send-email-linus.walleij@linaro.org> <20160427160034.GA20392@deathstar> <20160601034343.GA3749@deathstar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pf0-f193.google.com ([209.85.192.193]:33743 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751624AbcFASJU (ORCPT ); Wed, 1 Jun 2016 14:09:20 -0400 Received: by mail-pf0-f193.google.com with SMTP id b124so4805702pfb.0 for ; Wed, 01 Jun 2016 11:09:20 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Linus Walleij Cc: "linux-gpio@vger.kernel.org" , Alexandre Courbot , Markus Pargmann , Lee Campbell , Bamvor Jian Zhang , Grant Likely , Arnd Bergmann , Mark Brown , Dmitry Torokhov , Johan Hovold On Wed, Jun 01, 2016 at 07:35:28PM +0200, Linus Walleij wrote: > On Wed, Jun 1, 2016 at 5:43 AM, Michael Welling wrote: > > > Did you ever find a solution for the exhausted char dev problem? > > Not really. It seems it turned up that all systems that bugged were randomly > generated QEMU models, not real systems. > > They were also really doing far out stuff already, overwriting existing chardevs > all over the place, which can be seen in logs after commit > 49db08c35887 "chrdev: emit a warning when we go below dynamic major range" > which I got merged. > Yeah I noticed that their config was pretty crazy. > I'm now working on an event ABI so we get feature complete and also surpass > the old sysfs. > Okay I will review and test it when the patch shows up. Is there a way to name a group of GPIOs? It seems you are passing around a byte of data for each GPIO state. Is there a reason why the bits couldn't bit masked into single variable given the max number of handles is 64? > Yours, > Linus Walleij