From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754701AbbCRBjZ (ORCPT ); Tue, 17 Mar 2015 21:39:25 -0400 Received: from mail-ob0-f176.google.com ([209.85.214.176]:32939 "EHLO mail-ob0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754099AbbCRBjW (ORCPT ); Tue, 17 Mar 2015 21:39:22 -0400 MIME-Version: 1.0 In-Reply-To: References: <1425933902-20652-1-git-send-email-rjui@broadcom.com> <1425933902-20652-7-git-send-email-rjui@broadcom.com> <54FF306C.7020407@broadcom.com> Date: Wed, 18 Mar 2015 02:39:21 +0100 Message-ID: Subject: Re: [PATCH v6 6/8] pinctrl: cygnus: add gpio/pinconf driver From: Linus Walleij To: Ray Jui Cc: Alexandre Courbot , Stephen Warren , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Grant Likely , Christian Daudt , Matt Porter , Florian Fainelli , Russell King , Arnd Bergmann , Paul Bolle , Scott Branden , Dmitry Torokhov , Anatol Pomazau , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-gpio@vger.kernel.org" , bcm-kernel-feedback-list , "devicetree@vger.kernel.org" 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 Wed, Mar 11, 2015 at 10:15 AM, Linus Walleij wrote: > On Tue, Mar 10, 2015 at 6:57 PM, Ray Jui wrote: >> On 3/10/2015 3:20 AM, Linus Walleij wrote: >>> On Mon, Mar 9, 2015 at 9:45 PM, Ray Jui wrote: >>> >>>> This adds the initial support of the Broadcom Cygnus GPIO/PINCONF driver >>>> that supports all 3 GPIO controllers on Cygnus including the ASIU GPIO >>>> controller, the chipCommonG GPIO controller, and the always-on GPIO >>>> controller. Basic PINCONF configurations such as bias pull up/down, and >>>> drive strength are also supported in this driver. >>>> >>>> Pins from the ASIU GPIO controller can be individually muxed to GPIO >>>> function, through interaction with the Cygnus IOMUX controller >>>> >>>> Signed-off-by: Ray Jui >>>> Reviewed-by: Scott Branden >>>> Tested-by: Dmitry Torokhov >>> >>> Patch applied! But please look at this: >>> >>>> +#include >>> >>> Doesn't just #include work? >>> >> >> I think I need linux/gpio.h for gpiochip_add_pin_range and some related >> APIs. > > OK you're right ... I need to fix this. I sent a patch fixing this now... hope it will work. Yours, Linus Walleij