Re: [PATCH V4] gpio: palmas: add dt support

From: Linus Walleij
Date: Mon Jul 29 2013 - 12:16:01 EST

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.
> 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.

Linus Walleij
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at