Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1490664 > unrolled thread

Re: [PATCH v3] gpio: Added zynq specific check for special pins on bank zero

Started byVesa Jääskeläinen <dachaac@gmail.com>
First post2016-09-24 17:20 +0200
Last post2016-09-24 17:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v3] gpio: Added zynq specific check for special pins on  bank zero Vesa Jääskeläinen <dachaac@gmail.com> - 2016-09-24 17:20 +0200

#1490664 — Re: [PATCH v3] gpio: Added zynq specific check for special pins on bank zero

FromVesa Jääskeläinen <dachaac@gmail.com>
Date2016-09-24 17:20 +0200
SubjectRe: [PATCH v3] gpio: Added zynq specific check for special pins on bank zero
Message-ID<skWUa-2Ch-11@gated-at.bofh.it>
On 23/09/2016 14.26, Nava kishore Manne wrote:
> From: Nava kishore Manne <nava.manne@xilinx.com>
>
> This patch adds zynq specific check for bank 0 pins 7 and 8
> are special and cannot be used as inputs
>
> Signed-off-by: Nava kishore Manne <navam@xilinx.com>
> Reported-by: Jonas Karlsson <Jonas.d.karlsson@gmail.com>
> Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
> Acked-by: Michal Simek <michal.simek@xilinx.com>
> ---
> Changes for v3:
> 		-Fixed some minor comments.
> Changes for v2:
>                  -Removed un-used quirks for zynqmp.
>
>   drivers/gpio/gpio-zynq.c | 15 +++++++++++++--
>   1 file changed, 13 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpio/gpio-zynq.c b/drivers/gpio/gpio-zynq.c
> index e72794e..6b4d10d 100644
> --- a/drivers/gpio/gpio-zynq.c
> +++ b/drivers/gpio/gpio-zynq.c
> @@ -96,6 +96,9 @@
>   /* GPIO upper 16 bit mask */
>   #define ZYNQ_GPIO_UPPER_MASK 0xFFFF0000
>   
> +/* For GPIO quirks */
> +#define ZYNQ_GPIO_QUIRK_FOO	BIT(0)
Should this be a bit more descriptive than FOO?

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web