From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752570AbbCGUD5 (ORCPT ); Sat, 7 Mar 2015 15:03:57 -0500 Received: from mail-ob0-f171.google.com ([209.85.214.171]:42715 "EHLO mail-ob0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752363AbbCGUDz (ORCPT ); Sat, 7 Mar 2015 15:03:55 -0500 MIME-Version: 1.0 In-Reply-To: <20150220204049.GF15303@psi-dev26.jf.intel.com> References: <1419288217-19262-1-git-send-email-david.a.cohen@linux.intel.com> <1424375984-26241-1-git-send-email-david.a.cohen@linux.intel.com> <54E6D721.9070107@samsung.com> <20150220191700.GB15303@psi-dev26.jf.intel.com> <20150220193606.GA12522@saruman.tx.rr.com> <20150220195927.GE15303@psi-dev26.jf.intel.com> <20150220200025.GC12522@saruman.tx.rr.com> <20150220204049.GF15303@psi-dev26.jf.intel.com> Date: Sat, 7 Mar 2015 21:03:54 +0100 Message-ID: Subject: Re: [PATCH v2] extcon: otg_gpio: add driver for USB OTG port controlled by GPIO(s) From: Linus Walleij To: David Cohen Cc: Felipe Balbi , Robert Baldyga , Heikki Krogerus , MyungJoo Ham , Chanwoo Choi , "linux-kernel@vger.kernel.org" , "linux-usb@vger.kernel.org" , baolu.lu@linux.intel.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 20, 2015 at 9:40 PM, David Cohen wrote: > On Fri, Feb 20, 2015 at 02:00:26PM -0600, Felipe Balbi wrote: >> On Fri, Feb 20, 2015 at 11:59:27AM -0800, David Cohen wrote: >> > I'd need to lookup GPIOs via ACPI without requesting them on mfd driver >> > and then give them to children devices. >> > Heikki proposed a way to do that on [1], but it got nack'ed by community. >> >> you missed [1] :-) > > Oops. Looks like it went away during your past reply :) > > [1] https://lkml.org/lkml/2014/12/18/82 We don't want to do that in generic code since it's an ACPI problem, not a generic GPIO problem. So the solution must be confined to the GPIO ACPI portions of the GPIO code, not altering central mechanisms. Yours, Linus Walleij