All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Lucas Stach <dev@lynxeye.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/4] dt-bindings: add ARM GIC
Date: Mon, 27 Jan 2014 09:22:00 +0100	[thread overview]
Message-ID: <20140127082200.GR16215@pengutronix.de> (raw)
In-Reply-To: <1390680958-9991-1-git-send-email-dev@lynxeye.de>

On Sat, Jan 25, 2014 at 09:15:55PM +0100, Lucas Stach wrote:
> Signed-off-by: Lucas Stach <dev@lynxeye.de>

Applied, thanks

Sascha

> ---
>  include/dt-bindings/interrupt-controller/arm-gic.h | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 include/dt-bindings/interrupt-controller/arm-gic.h
> 
> diff --git a/include/dt-bindings/interrupt-controller/arm-gic.h b/include/dt-bindings/interrupt-controller/arm-gic.h
> new file mode 100644
> index 0000000..1ea1b70
> --- /dev/null
> +++ b/include/dt-bindings/interrupt-controller/arm-gic.h
> @@ -0,0 +1,22 @@
> +/*
> + * This header provides constants for the ARM GIC.
> + */
> +
> +#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_ARM_GIC_H
> +#define _DT_BINDINGS_INTERRUPT_CONTROLLER_ARM_GIC_H
> +
> +#include <dt-bindings/interrupt-controller/irq.h>
> +
> +/* interrupt specific cell 0 */
> +
> +#define GIC_SPI 0
> +#define GIC_PPI 1
> +
> +/*
> + * Interrupt specifier cell 2.
> + * The flaggs in irq.h are valid, plus those below.
> + */
> +#define GIC_CPU_MASK_RAW(x) ((x) << 8)
> +#define GIC_CPU_MASK_SIMPLE(num) GIC_CPU_MASK_RAW((1 << (num)) - 1)
> +
> +#endif
> -- 
> 1.8.4.2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2014-01-27  8:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-25 20:15 [PATCH 1/4] dt-bindings: add ARM GIC Lucas Stach
2014-01-25 20:15 ` [PATCH 2/4] dt-bindings: add Tegra GPIO Lucas Stach
2014-01-25 20:15 ` [PATCH 3/4] dt-bindings: add Tegra CAR Lucas Stach
2014-01-25 20:15 ` [PATCH 4/4] ARM: dts: pull in complete DTs from Linux 3.13 Lucas Stach
2014-01-27  8:22 ` Sascha Hauer [this message]

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=20140127082200.GR16215@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=dev@lynxeye.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.