Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757479Ab3G2QPp (ORCPT ); Mon, 29 Jul 2013 12:15:45 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:64695 "EHLO mail-ob0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754172Ab3G2QPn (ORCPT ); Mon, 29 Jul 2013 12:15:43 -0400 MIME-Version: 1.0 In-Reply-To: <1374564964-1281-1-git-send-email-ldewangan@nvidia.com> References: <1374564964-1281-1-git-send-email-ldewangan@nvidia.com> Date: Mon, 29 Jul 2013 18:15:42 +0200 Message-ID: Subject: Re: [PATCH V4] gpio: palmas: add dt support From: Linus Walleij To: Laxman Dewangan Cc: Grant Likely , Rob Herring , Rob Landley , "devicetree@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" , kishon@ti.com, j-keerthy@ti.com, Graeme Gregory , Stephen Warren 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: 1446 Lines: 39 On Tue, Jul 23, 2013 at 9:36 AM, Laxman Dewangan wrote: > Add of_device_id table for Palma GPIO to be enable the > driver from DT file. > > The driver can be registered from DT file as: > palmas: tps65913@58 { > ::::::::::: > palmas_gpio: palmas_gpio { > compatible = "ti,palmas-gpio"; > gpio-controller; > #gpio-cells = <2>; > }; > }; > > Signed-off-by: Laxman Dewangan > --- > Long back, I sent the similar patch but it was paused due to the DT binding. > http://lkml.indiana.edu/hypermail/linux/kernel/1304.2/00261.html > > Now, PMIC DT binding is already finalised and as per mfd binding, we can > go ahead with similar approach for gpios. pmic and other palams sub devices > are already following the same approach. > > Sending 3rd version of the change which is same as per code is related but > adding devicetree binding document for gpio also at this time. > > Changes from V3: > - Added description in DT binding document for second arg of gpio cells. Patch applied with Stephen's ACK. 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/