From: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCHv2 4/8] dm: vybrid_gpio: Drop legacy code
Date: Mon, 25 Jan 2016 22:33:56 +0530 [thread overview]
Message-ID: <1453741440-19834-5-git-send-email-bhuvanchandra.dv@toradex.com> (raw)
In-Reply-To: <1453741440-19834-1-git-send-email-bhuvanchandra.dv@toradex.com>
All boards using this driver are with device tree support,
hence drop the legacy code in driver to have a pure DT solution.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
---
drivers/gpio/vybrid_gpio.c | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/drivers/gpio/vybrid_gpio.c b/drivers/gpio/vybrid_gpio.c
index 4d25f9a..a30ba5d 100644
--- a/drivers/gpio/vybrid_gpio.c
+++ b/drivers/gpio/vybrid_gpio.c
@@ -135,24 +135,6 @@ static int vybrid_gpio_bind(struct udevice *dev)
return 0;
}
-#if !CONFIG_IS_ENABLED(OF_CONTROL)
-static const struct vybrid_gpio_platdata vybrid_gpio[] = {
- {0, GPIO0_BASE_ADDR, "GPIO0 "},
- {1, GPIO1_BASE_ADDR, "GPIO1 "},
- {2, GPIO2_BASE_ADDR, "GPIO2 "},
- {3, GPIO3_BASE_ADDR, "GPIO3 "},
- {4, GPIO4_BASE_ADDR, "GPIO4 "},
-};
-
-U_BOOT_DEVICES(vybrid_gpio) = {
- { "gpio_vybrid", &vybrid_gpio[0] },
- { "gpio_vybrid", &vybrid_gpio[1] },
- { "gpio_vybrid", &vybrid_gpio[2] },
- { "gpio_vybrid", &vybrid_gpio[3] },
- { "gpio_vybrid", &vybrid_gpio[4] },
-};
-#endif
-
static const struct udevice_id vybrid_gpio_ids[] = {
{ .compatible = "fsl,vf610-gpio" },
{ }
--
2.7.0
next prev parent reply other threads:[~2016-01-25 17:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-25 17:03 [U-Boot] [PATCHv2 0/8] Migrate NXP/Freescale Vybrid based boards to support pure DT Bhuvanchandra DV
2016-01-25 17:03 ` [U-Boot] [PATCHv2 1/8] arm: vybrid: Enable lpuart support Bhuvanchandra DV
2016-01-25 17:03 ` [U-Boot] [PATCHv2 2/8] arm: colibri-vf: Enable serial support Bhuvanchandra DV
2016-01-25 17:19 ` Stefan Agner
2016-01-25 17:03 ` [U-Boot] [PATCHv2 3/8] dm: lpuart: Drop the legacy code Bhuvanchandra DV
2016-01-25 17:24 ` Stefan Agner
2016-01-26 9:36 ` Bhuvanchandra DV
2016-01-25 17:03 ` Bhuvanchandra DV [this message]
2016-01-25 17:03 ` [U-Boot] [PATCHv2 5/8] arm: vybrid: Drop enabling GPIO, UART and SPI in legacy mode Bhuvanchandra DV
2016-02-02 16:12 ` Jagan Teki
2016-01-25 17:03 ` [U-Boot] [PATCHv2 6/8] arm: vf610-twr: Add device tree file's Bhuvanchandra DV
2016-01-25 17:03 ` [U-Boot] [PATCHv2 7/8] arm: pcm052: " Bhuvanchandra DV
2016-01-25 17:04 ` [U-Boot] [PATCHv2 8/8] arm: vybrid: Update defconfig's Bhuvanchandra DV
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=1453741440-19834-5-git-send-email-bhuvanchandra.dv@toradex.com \
--to=bhuvanchandra.dv@toradex.com \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.