From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: barebox@lists.infradead.org
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Subject: [PATCH 1/2] fixup! gpio: Add GPIO driver for Vybrid
Date: Fri, 25 Nov 2016 13:07:10 -0800 [thread overview]
Message-ID: <1480108031-17889-1-git-send-email-andrew.smirnov@gmail.com> (raw)
---
Sascha,
It looks like the two affected patches haven't hit 'master' yet, so I
am hoping these two fixups could be incorporated into 'next'.
First fixup removes unused constants (leftover from kernel code) and
second adda two lines to configure clock for ESDHC0 (original code
only configured ESDHC1)
If you want these as separate patches, let me know
Thanks,
Andrey
drivers/gpio/gpio-vf610.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c
index c82723f..7c8d1e4 100644
--- a/drivers/gpio/gpio-vf610.c
+++ b/drivers/gpio/gpio-vf610.c
@@ -39,21 +39,6 @@ struct vf610_gpio_port {
#define GPIO_PTOR 0x0c
#define GPIO_PDIR 0x10
-#define PORT_PCR(n) ((n) * 0x4)
-#define PORT_PCR_IRQC_OFFSET 16
-
-#define PORT_ISFR 0xa0
-#define PORT_DFER 0xc0
-#define PORT_DFCR 0xc4
-#define PORT_DFWR 0xc8
-
-#define PORT_INT_OFF 0x0
-#define PORT_INT_LOGIC_ZERO 0x8
-#define PORT_INT_RISING_EDGE 0x9
-#define PORT_INT_FALLING_EDGE 0xa
-#define PORT_INT_EITHER_EDGE 0xb
-#define PORT_INT_LOGIC_ONE 0xc
-
static const struct of_device_id vf610_gpio_dt_ids[] = {
{ .compatible = "fsl,vf610-gpio" },
{ /* sentinel */ }
--
2.5.5
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2016-11-25 21:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-25 21:07 Andrey Smirnov [this message]
2016-11-25 21:07 ` [PATCH 2/2] fixup! i.MX: Add VF610 clock tree initialization code Andrey Smirnov
2016-12-07 20:09 ` [PATCH 1/2] fixup! gpio: Add GPIO driver for Vybrid Sascha Hauer
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=1480108031-17889-1-git-send-email-andrew.smirnov@gmail.com \
--to=andrew.smirnov@gmail.com \
--cc=barebox@lists.infradead.org \
/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