On Tue, Jul 23, 2013 at 9:36 AM, Laxman Dewangan <ldewangan@xxxxxxxxxx> 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 <ldewangan@xxxxxxxxxx> > --- > 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-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html