From: Alexander Shiyan Subject: Re: [PATCH v4] gpio: Driver for SYSCON-based GPIOs Date: Tue, 18 Feb 2014 18:46:34 +0400 Message-ID: <20140218184634.ae9f28c42c4b9b8a8b9dfa60@mail.ru> References: <1389632203-22806-1-git-send-email-shc_work@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org To: Linus Walleij Cc: Arnd Bergmann , Olof Johansson , Kevin Hilman , "linux-gpio@vger.kernel.org" , Alexandre Courbot , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "devicetree@vger.kernel.org" List-Id: devicetree@vger.kernel.org On Thu, 30 Jan 2014 14:54:36 +0100 Linus Walleij wrote: > On Mon, Jan 13, 2014 at 5:56 PM, Alexander Shiyan wrote: > > > SYSCON driver was designed for using memory areas (registers) > > that are used in several subsystems. There are systems (CPUs) > > which use bits in one register for various purposes and thus > > should be handled by various kernel subsystems. This driver > > allows you to use the individual SYSCON bits as GPIOs. > > ARM CLPS711X SYSFLG1 input lines has been added as first user > > of this driver. > > > > Signed-off-by: Alexander Shiyan > > Oh the pain. I am so ambivalent of this patch as it obfuscates > some stuff about the hardware that the driver should know, > while at the same time being elegant in a way. > > What does the ARM SoC maintainers think about this approach? > > Arnd, Olof, Kevin: is this something you'd like to see deployed? > > Yours, > Linus Walleij Ping. -- Alexander Shiyan