From: Ian Lartey <ian@slimlogic.co.uk>
To: linux-kernel@vger.kernel.org
Cc: linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-leds@vger.kernel.org, linux-watchdog@vger.kernel.org,
devicetree-discuss@lists.ozlabs.org, swarren@wwwdotorg.org,
grant.likely@secretlab.ca, broonie@opensource.wolfsonmicro.com,
rob.herring@calxeda.com, rob@landley.net, mturquette@linaro.org,
linus.walleij@linaro.org, cooloney@gmail.com,
sfr@canb.auug.org.au, rpurdie@rpsys.net,
akpm@linux-foundation.org, sameo@linux.intel.com, wim@iguana.be,
lgirdwood@gmail.com, gg@slimlogic.co.uk, j-keerthy@ti.com,
ldewangan@nvidia.com, t-kristo@ti.com
Subject: [PATCH v9 06/11] gpio: palmas: Enable DT support for palmas gpio.
Date: Fri, 22 Mar 2013 13:36:08 +0000 [thread overview]
Message-ID: <1363959373-10671-7-git-send-email-ian@slimlogic.co.uk> (raw)
In-Reply-To: <1363959373-10671-1-git-send-email-ian@slimlogic.co.uk>
From: J Keerthy <j-keerthy@ti.com>
Enable DT support for palmas gpio.
Signed-off-by: J Keerthy <j-keerthy@ti.com>
Signed-off-by: Ian Lartey <ian@slimlogic.co.uk>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/gpio/gpio-palmas.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/drivers/gpio/gpio-palmas.c b/drivers/gpio/gpio-palmas.c
index 636648c..04da57a 100644
--- a/drivers/gpio/gpio-palmas.c
+++ b/drivers/gpio/gpio-palmas.c
@@ -208,9 +208,22 @@ static int palmas_gpio_remove(struct platform_device *pdev)
return gpiochip_remove(&palmas_gpio->gpio_chip);
}
+static struct of_device_id of_palmas_match_tbl[] = {
+ { .compatible = "ti,palmas-gpio", },
+ { .compatible = "ti,palmas-charger-gpio", },
+ { .compatible = "ti,twl6035-gpio", },
+ { .compatible = "ti,twl6036-gpio", },
+ { .compatible = "ti,twl6037-gpio", },
+ { .compatible = "ti,tps65913-gpio", },
+ { .compatible = "ti,tps65914-gpio", },
+ { .compatible = "ti,tps80036-gpio", },
+ { /* end */ }
+};
+
static struct platform_driver palmas_gpio_driver = {
.driver.name = "palmas-gpio",
.driver.owner = THIS_MODULE,
+ .driver.of_match_table = of_palmas_match_tbl,
.probe = palmas_gpio_probe,
.remove = palmas_gpio_remove,
};
--
1.7.0.4
next prev parent reply other threads:[~2013-03-22 13:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-22 13:36 [PATCH v9 0/12] Palmas updates Ian Lartey
2013-03-22 13:36 ` [PATCH v9 01/11] mfd: palmas: is_palmas_charger needed by multiple drivers Ian Lartey
2013-03-22 13:36 ` [PATCH v9 02/11] mfd: palmas add variant and OTP detection Ian Lartey
2013-03-22 13:36 ` [PATCH v9 03/11] watchdog: add Palmas Watchdog support Ian Lartey
2013-03-22 13:36 ` [PATCH v9 04/11] watchdog: Kconfig for Palmas watchdog Ian Lartey
2013-03-22 13:36 ` [PATCH v9 05/11] gpio: palmas: add in GPIO support for palmas charger Ian Lartey
2013-03-27 13:15 ` Linus Walleij
2013-03-22 13:36 ` Ian Lartey [this message]
2013-03-22 13:36 ` [PATCH v9 07/11] gpio: Palmas palmas_gpio_(read|write|update) factoring Ian Lartey
2013-03-22 13:36 ` [PATCH v9 08/11] leds: Add support for Palmas LEDs Ian Lartey
2013-03-22 14:04 ` Graeme Gregory
2013-03-22 14:08 ` Ian Lartey
2013-03-22 13:36 ` [PATCH v9 09/11] clk: add a clock driver for palmas Ian Lartey
2013-03-22 13:36 ` [PATCH v9 10/11] clk: Kconfig for Palmas clock driver Ian Lartey
2013-03-22 13:36 ` [PATCH v9 11/11] regulator: palmas remove palmas-charger option from DT bindings Ian Lartey
[not found] ` <1363959373-10671-12-git-send-email-ian-kDsPt+C1G03kYMGBc/C6ZA@public.gmane.org>
2013-03-25 1:16 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1363959373-10671-7-git-send-email-ian@slimlogic.co.uk \
--to=ian@slimlogic.co.uk \
--cc=akpm@linux-foundation.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=cooloney@gmail.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=gg@slimlogic.co.uk \
--cc=grant.likely@secretlab.ca \
--cc=j-keerthy@ti.com \
--cc=ldewangan@nvidia.com \
--cc=lgirdwood@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=rpurdie@rpsys.net \
--cc=sameo@linux.intel.com \
--cc=sfr@canb.auug.org.au \
--cc=swarren@wwwdotorg.org \
--cc=t-kristo@ti.com \
--cc=wim@iguana.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).