Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758810Ab2FFVrN (ORCPT ); Wed, 6 Jun 2012 17:47:13 -0400 Received: from mail-qa0-f49.google.com ([209.85.216.49]:40325 "EHLO mail-qa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756307Ab2FFVrL (ORCPT ); Wed, 6 Jun 2012 17:47:11 -0400 MIME-Version: 1.0 In-Reply-To: <4FCE2EC5.2000403@wwwdotorg.org> References: <4FBCF9F0.1010901@wwwdotorg.org> <4FBD01A6.4080807@wwwdotorg.org> <4FCE2EC5.2000403@wwwdotorg.org> Date: Wed, 6 Jun 2012 23:47:10 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: add a pinctrl_mux_group_selected() function From: Linus Walleij To: Stephen Warren Cc: Guennadi Liakhovetski , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1073 Lines: 25 On Tue, Jun 5, 2012 at 6:07 PM, Stephen Warren wrote: > Well, you can't really have different "default" modes - "default" should > be used when there truly is a single state that the device/driver just > wants to get programmed. When the device/driver itself can support > multiple different configurations, "default" isn't the right answer if > the driver needs to derive information from the selected pinctrl state; > there should be different pinctrl states for each possible configuration. This is true... > It's quite unlikely you'd ever want to switch between different states > at runtime, or program the HW to be anything other than what the board > supports, right? I think so too, but I'm not sure if I once heard an argument to the contrary. Anyway, let's assume so. Yours, Linus Walleij -- 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/