Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758019AbbGQMFQ (ORCPT ); Fri, 17 Jul 2015 08:05:16 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:33218 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757856AbbGQMEP (ORCPT ); Fri, 17 Jul 2015 08:04:15 -0400 From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, jassisinghbrar@gmail.com, devicetree@vger.kernel.org, Lee Jones Subject: [PATCH 2/6] mailbox: dt-bindings: Add shared [driver <=> device tree] defines Date: Fri, 17 Jul 2015 13:04:03 +0100 Message-Id: <1437134647-28298-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437134647-28298-1-git-send-email-lee.jones@linaro.org> References: <1437134647-28298-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1201 Lines: 37 This header is currently only used for defines pertaining to data direction i.e. Rx, Tx or Loopback. Signed-off-by: Lee Jones --- 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) + +#endif /* __MAILBOX_CONTROLLER_DT_BINDINGS_H */ -- 1.9.1 -- 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/