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


Groups > linux.kernel > #1203848

Re: [PATCH v2 2/6] mailbox: dt-bindings: Add shared [driver <=> device tree] defines

From Jassi Brar <jassisinghbrar@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/6] mailbox: dt-bindings: Add shared [driver <=> device tree] defines
Date 2015-08-10 09:00 +0200
Message-ID <pVPdU-6C4-15@gated-at.bofh.it> (permalink)
References <pQNcJ-6eN-3@gated-at.bofh.it> <pQNcJ-6eN-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jul 27, 2015 at 3:14 PM, Lee Jones <lee.jones@linaro.org> wrote:
> This header is currently only used for defines pertaining to data
> direction i.e. Rx, Tx or Loopback.
>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> ---
>  include/dt-bindings/mailbox/mailbox.h | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 include/dt-bindings/mailbox/mailbox.h
>
> diff --git a/include/dt-bindings/mailbox/mailbox.h b/include/dt-bindings/mailbox/mailbox.h
> new file mode 100644
> index 0000000..82e929a
> --- /dev/null
> +++ b/include/dt-bindings/mailbox/mailbox.h
> @@ -0,0 +1,14 @@
> +/*
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + */
> +
> +#ifndef __MAILBOX_CONTROLLER_DT_BINDINGS_H
> +#define __MAILBOX_CONTROLLER_DT_BINDINGS_H
> +
> +#define MBOX_TX                0x1
> +#define MBOX_RX                0x2
> +#define MBOX_LOOPBACK  (MBOX_RX | MBOX_TX)
> +
Not sure I understand 'loopback'.  Does it mean h/w has some
'loopback' mode for testing purposes? Or it simply means the
controller can send as well as receive messages?

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 2/6] mailbox: dt-bindings: Add shared [driver <=>  device tree] defines Jassi Brar <jassisinghbrar@gmail.com> - 2015-08-10 09:00 +0200
  Re: [PATCH v2 2/6] mailbox: dt-bindings: Add shared [driver <=>  device tree] defines Lee Jones <lee.jones@linaro.org> - 2015-08-10 10:30 +0200
    Re: [PATCH v2 2/6] mailbox: dt-bindings: Add shared [driver <=>  device tree] defines Jassi Brar <jassisinghbrar@gmail.com> - 2015-08-10 10:50 +0200
      Re: [PATCH v2 2/6] mailbox: dt-bindings: Add shared [driver <=>  device tree] defines Lee Jones <lee.jones@linaro.org> - 2015-08-12 11:00 +0200
        Re: [PATCH v2 2/6] mailbox: dt-bindings: Add shared [driver <=>  device tree] defines Jassi Brar <jassisinghbrar@gmail.com> - 2015-08-12 12:20 +0200
          Re: [PATCH v2 2/6] mailbox: dt-bindings: Add shared [driver <=>  device tree] defines Lee Jones <lee.jones@linaro.org> - 2015-08-12 12:50 +0200

csiph-web