From mboxrd@z Thu Jan 1 00:00:00 1970 From: Santosh Shilimkar Subject: Re: [PATCH v1] gpio: keystone: add dsp gpio controller driver Date: Thu, 24 Jul 2014 10:21:27 -0400 Message-ID: <53D11667.8050807@ti.com> References: <1405507426-18992-1-git-send-email-grygorii.strashko@ti.com> <53CFD404.7070704@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org To: Linus Walleij Cc: Grygorii Strashko , Suman Anna , Jaswinder Singh , Alexander Shiyan , Alexandre Courbot , "linux-gpio@vger.kernel.org" , ivan.khoronzhuk@ti.com, Muralidharan Karicheri , Rob Herring , Kumar Gala , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" List-Id: devicetree@vger.kernel.org On Thursday 24 July 2014 10:12 AM, Linus Walleij wrote: > On Wed, Jul 23, 2014 at 5:25 PM, Santosh Shilimkar > wrote: > >> I will try to answer this. This IP is indeed a GPIO block >> but the IO's are used just OUTPUT lines from Linux >> HOST perspective. These IOs are connected to the DSPs >> as input/IRQ lines. > > So the DSP is another discrete IC, and could be something > different, so this is board-level information? > > I'm really worrying whether this is general purpose or not :-/ > Am not sure I follow you. This IP is completely controlled by Linux OS to generate output signals. How does it matter whether its connected to a peripheral or a discrete IC. For example instead of DSP if I connected these lines to an external PMIC, which considers these as input lines to perform some actions. Isn't that GPIO usecase as per you ? Given that this IP only output functionality is used but that shouldn't matter. We have seen SOCs where GPIOs are just used as input to form a Matrix Keyboard. May be I am missing your point. Regards, Santosh