Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757966Ab3E3STH (ORCPT ); Thu, 30 May 2013 14:19:07 -0400 Received: from mail-ie0-f182.google.com ([209.85.223.182]:60004 "EHLO mail-ie0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750930Ab3E3STC (ORCPT ); Thu, 30 May 2013 14:19:02 -0400 MIME-Version: 1.0 In-Reply-To: <1369206634-6778-9-git-send-email-avinashphilip@ti.com> References: <1369206634-6778-1-git-send-email-avinashphilip@ti.com> <1369206634-6778-9-git-send-email-avinashphilip@ti.com> Date: Thu, 30 May 2013 20:19:01 +0200 Message-ID: Subject: Re: [PATCH 08/11] ARM: davinci: start using gpiolib support From: Linus Walleij To: Philip Avinash Cc: "Nori, Sekhar" , ext Kevin Hilman , Russell King - ARM Linux , Grant Likely , "linux-arm-kernel@lists.infradead.org" , "davinci-linux-open-source@linux.davincidsp.com" , "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: 981 Lines: 26 On Wed, May 22, 2013 at 9:10 AM, Philip Avinash wrote: > - Remove NEED_MACH_GPIO_H config option for Davinci platforms to start > using common gpio library interface. > - Added struct davinci_gpio_controller definitions in platform_data > directory for Davinci gpio devices. > - Removed GPIO_TYPE_DAVINCI enum definition as GPIO Davinci is converted > to Linux device driver model. > > Signed-off-by: Philip Avinash Acked-by: Linus Walleij > +/* Convert GPIO signal to GPIO pin number */ > +#define GPIO_TO_PIN(bank, gpio) (16 * (bank) + (gpio)) Hm not synonymous with pinctrl pins, well I guess I have to live with this... 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/