gpio: palmas: add dt support
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 23 Jul 2013 07:36:04 +0000 (13:06 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 Jul 2013 16:14:33 +0000 (18:14 +0200)
commit5763318f562fc0b30f729dce531b2982e29db463
tree46b70613856f2ae34eb8a9e80ff09f3237e5e7e2
parent5e0dd400461410e3e3f97f53f1521337e2e0ce6e
gpio: palmas: add dt support

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@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-palmas.txt [new file with mode: 0644]
drivers/gpio/gpio-palmas.c