Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756463Ab0H3RzG (ORCPT ); Mon, 30 Aug 2010 13:55:06 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:39623 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756445Ab0H3RzC convert rfc822-to-8bit (ORCPT ); Mon, 30 Aug 2010 13:55:02 -0400 MIME-Version: 1.0 In-Reply-To: <838632.57445.qm@web180307.mail.gq1.yahoo.com> References: <1283154702-23008-1-git-send-email-myungjoo.ham@samsung.com> <838632.57445.qm@web180307.mail.gq1.yahoo.com> From: Grant Likely Date: Mon, 30 Aug 2010 11:54:41 -0600 X-Google-Sender-Auth: Ji4XxrSIBaIpyeSVoqDTVA2AWeo Message-ID: Subject: Re: [RFC PATCH] GPIO: add control of powerdown modes and pull-up/down configurations. To: David Brownell Cc: linux-kernel@vger.kernel.org, MyungJoo Ham , Kyungmin Park , David Brownell , Andrew Morton , Jani Nikula , Greg Kroah-Hartman , MyungJoo Ham Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1167 Lines: 40 On Mon, Aug 30, 2010 at 11:35 AM, David Brownell wrote: > > > --- On Mon, 8/30/10, MyungJoo Ham wrote: > >> From: MyungJoo Ham >> Subject: [RFC PATCH] GPIO: add control of powerdown modes and pull-up/down configurations. > > NAK. Seconded. I completely agree with David's comments. g. > > Note that Documentation/gpio.txt specifies such > pinmux/configuration as out of scope. ?There isn't > even uniformity of models about such things between > SOCs (and ASICs etc). > > Put these kinds of things in arch-specific code, > which has good reason to know about all the ways > each platform differs from others, and to cope. > > Look at OMAP and AT91 for some examples of SOCs > which have addressed these issues cleanly, and > without committing mayhem on the GPIO framework. > > -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/