From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by ozlabs.org (Postfix) with ESMTP id A2BA1DDFB3 for ; Tue, 14 Oct 2008 00:40:01 +1100 (EST) Received: by qw-out-2122.google.com with SMTP id 9so460105qwb.15 for ; Mon, 13 Oct 2008 06:40:00 -0700 (PDT) Message-ID: Date: Mon, 13 Oct 2008 15:40:00 +0200 From: "Leon Woestenberg" To: "Bill Gatliff" Subject: Re: Floating inputs on unused GPIO pins In-Reply-To: <48F34922.503@billgatliff.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <200810131156.59477.laurentp@cse-semaphore.com> <200810131304.41435.laurentp@cse-semaphore.com> <48F34922.503@billgatliff.com> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello Laurent, On Mon, Oct 13, 2008 at 3:12 PM, Bill Gatliff wrote: > At least until someone plugs in that expansion module! > Bill's remark made a neuron connection in my head: Can you detect if the module is inserted or not? (By reading a known state of some pin)? You could then configure the pins dynamically in your driver. Regards, -- Leon