Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933787AbcDFIuc (ORCPT ); Wed, 6 Apr 2016 04:50:32 -0400 Received: from foss.arm.com ([217.140.101.70]:55695 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932189AbcDFIu1 (ORCPT ); Wed, 6 Apr 2016 04:50:27 -0400 Date: Wed, 6 Apr 2016 09:52:57 +0100 From: Lorenzo Pieralisi To: Octavian Purdila Cc: Mark Brown , Linus Walleij , Mark Rutland , Irina Tirdea , "Rafael J. Wysocki" , Len Brown , Mika Westerberg , "linux-gpio@vger.kernel.org" , ACPI Devel Maling List , Rob Herring , Heikki Krogerus , Andy Shevchenko , Cristina Ciocan , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Charles Garcia-Tobin Subject: Re: [RFC PATCH 0/4] Add ACPI support for pinctrl configuration Message-ID: <20160406085257.GA22341@red-moon> References: <1459424685-26965-1-git-send-email-irina.tirdea@intel.com> <20160404225200.GA1615@svinekod> <20160405165935.GA5456@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1604 Lines: 35 On Tue, Apr 05, 2016 at 10:37:14PM +0300, Octavian Purdila wrote: > On Tue, Apr 5, 2016 at 7:59 PM, Mark Brown wrote: [...] > Lets look at this from a different perspective. The proposal is not > about importing the DT model into ACPI but importing the Linux pinctrl > model into ACPI. That will allow us to use the Linux pinctrl drivers > to their full potential. Yes we understood that, and in the process you are bypassing the eg ACPI power management model completely, but since all you are after is using the Linux pinctrl kernel driver with ACPI _today_ without going through the ASWG (and without booting with a device tree instead of ACPI) and define a specification that has a chance to co-exist with the ACPI power management model this proposal is the end result, it is a shortcut fraught with problems. > That doesn't stop the development of other, more OS independent, ACPI > models for pinmuxing. Which we can also support. > > I know that there are some discussions for pinmux configuration in the > ASWG, but it does not match the Linux pinctrl model. So we will end up > with a pinctrl driver that offers groups, functions and pin names and > a totally different ACPI description that we can't map to the pinctrl > driver. If you know that there are some discussions please take place in those discussions and work towards a solution that takes into account other parts of ACPI specifications that can be affected, it may take longer to get you there but that's true for everyone who wants to contribute to ACPI specifications I am afraid. Thank you, Lorenzo