* [PATCH] pinctrl: zynq: Add a 8 bit wide nand option
@ 2016-10-26 18:04 Jason Gunthorpe
2016-10-26 18:20 ` Sören Brinkmann
2016-11-04 14:19 ` Linus Walleij
0 siblings, 2 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2016-10-26 18:04 UTC (permalink / raw)
To: Linus Walleij
Cc: Michal Simek, =?unknown-8bit?B?U8O2cmVu?= Brinkmann, linux-gpio
The hardware supports a 16 and 8 bit wide NAND bus, let users pick
either.
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
---
drivers/pinctrl/pinctrl-zynq.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c
index 7afdbede6823..798bcf875052 100644
--- a/drivers/pinctrl/pinctrl-zynq.c
+++ b/drivers/pinctrl/pinctrl-zynq.c
@@ -247,6 +247,8 @@ static const unsigned int smc0_nor_addr25_pins[] = {1};
static const unsigned int smc0_nand_pins[] = {0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
12, 13, 14, 16, 17, 18, 19, 20,
21, 22, 23};
+static const unsigned int smc0_nand8_pins[] = {0, 2, 3, 4, 5, 6, 7,
+ 8, 9, 10, 11, 12, 13, 14};
/* Note: CAN MIO clock inputs are modeled in the clock framework */
static const unsigned int can0_0_pins[] = {10, 11};
static const unsigned int can0_1_pins[] = {14, 15};
@@ -445,6 +447,7 @@ static const struct zynq_pctrl_group zynq_pctrl_groups[] = {
DEFINE_ZYNQ_PINCTRL_GRP(smc0_nor_cs1),
DEFINE_ZYNQ_PINCTRL_GRP(smc0_nor_addr25),
DEFINE_ZYNQ_PINCTRL_GRP(smc0_nand),
+ DEFINE_ZYNQ_PINCTRL_GRP(smc0_nand8),
DEFINE_ZYNQ_PINCTRL_GRP(can0_0),
DEFINE_ZYNQ_PINCTRL_GRP(can0_1),
DEFINE_ZYNQ_PINCTRL_GRP(can0_2),
@@ -709,7 +712,8 @@ static const char * const sdio1_wp_groups[] = {"gpio0_0_grp",
static const char * const smc0_nor_groups[] = {"smc0_nor_grp"};
static const char * const smc0_nor_cs1_groups[] = {"smc0_nor_cs1_grp"};
static const char * const smc0_nor_addr25_groups[] = {"smc0_nor_addr25_grp"};
-static const char * const smc0_nand_groups[] = {"smc0_nand_grp"};
+static const char * const smc0_nand_groups[] = {"smc0_nand_grp",
+ "smc0_nand8_grp"};
static const char * const can0_groups[] = {"can0_0_grp", "can0_1_grp",
"can0_2_grp", "can0_3_grp", "can0_4_grp", "can0_5_grp",
"can0_6_grp", "can0_7_grp", "can0_8_grp", "can0_9_grp",
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] pinctrl: zynq: Add a 8 bit wide nand option
2016-10-26 18:04 [PATCH] pinctrl: zynq: Add a 8 bit wide nand option Jason Gunthorpe
@ 2016-10-26 18:20 ` Sören Brinkmann
2016-11-04 14:19 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Sören Brinkmann @ 2016-10-26 18:20 UTC (permalink / raw)
To: Jason Gunthorpe; +Cc: Linus Walleij, Michal Simek, linux-gpio
On Wed, 2016-10-26 at 12:04:54 -0600, Jason Gunthorpe wrote:
> The hardware supports a 16 and 8 bit wide NAND bus, let users pick
> either.
>
> Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Sören
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] pinctrl: zynq: Add a 8 bit wide nand option
2016-10-26 18:04 [PATCH] pinctrl: zynq: Add a 8 bit wide nand option Jason Gunthorpe
2016-10-26 18:20 ` Sören Brinkmann
@ 2016-11-04 14:19 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2016-11-04 14:19 UTC (permalink / raw)
To: Jason Gunthorpe
Cc: Michal Simek, Sören Brinkmann, linux-gpio@vger.kernel.org
On Wed, Oct 26, 2016 at 8:04 PM, Jason Gunthorpe
<jgunthorpe@obsidianresearch.com> wrote:
> The hardware supports a 16 and 8 bit wide NAND bus, let users pick
> either.
>
> Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Patch applied with Sören's ACK.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-04 14:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-26 18:04 [PATCH] pinctrl: zynq: Add a 8 bit wide nand option Jason Gunthorpe
2016-10-26 18:20 ` Sören Brinkmann
2016-11-04 14:19 ` Linus Walleij
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).