From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: Configure standalone GPIO in device tree? Date: Mon, 11 Jun 2012 09:21:35 -0500 Message-ID: <4FD5FEEF.70606@gmail.com> References: <4FD5F8F7.1020901@grid-net.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FD5F8F7.1020901-4jo+YWezP1RWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Subodh Nijsure Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: devicetree@vger.kernel.org On 06/11/2012 08:56 AM, Subodh Nijsure wrote: > Hello, > > I am working with a hardware that has couple of GPIOs that are not tied > to any specific device one to indicate board status, other to indicate > presence of this hardware to some other 'independent' hardware. > > I have been going through some of the device tree files and I haven't > come across way to represent a GPIO independent of a specific device, is > it possible to do so using DT? How would I specify such a GPIO? > > I am working on MX28 (MXS for linux) based platform but if there are > some other platforms already doing that would appreciate pointer to that > dt file. How do you program that gpio line? It has to be controlled from somewhere. Rob