From patchwork Fri Jul 17 12:04:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 51237 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BD64422A8D for ; Fri, 17 Jul 2015 12:05:28 +0000 (UTC) Received: by wilm20 with SMTP id m20sf3788208wil.2 for ; Fri, 17 Jul 2015 05:05:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=fHzyWEjf8Ddsh4sr5YY8OEI9ZfQTZPKP/VbMOKjDmS4=; b=XRBWsZjPqC1LUjzOS2uc5v1asEGNW2dLT5Q9ENxDmzttBXFSDp/7ae6eVGTujnwxRU 05ZgRUqVuJimjqoAK3NZMuX9ZU70n2mqLftC3lzB3ZMxOJ5iPtUIDB+DNzj4lteksTO7 fWv1SzQBwbqEduJd+QMNtAXEDeDLMUzw/UVnXaAapRES8D9nX/UjBpPW/3EwX0bE8p4Z MThP6srWijBeDZQIKj7nAXhv7PY/z5bCh6q3QMEGmzLbKbk4Dq00XDDATA2amoaTyo3f MG4cdeoov6Ea8EJhXmJbBPundeBQItIgp4jqp7JGMSPRn15yZFY3d666XA+lxUcMmevK OYqw== X-Gm-Message-State: ALoCoQl9nMQfsneTrqm2KyTkDbvSMg3icUAfE535YvqCf/jrywUg18JgWxRQ9pPGNed9HjttLz/i X-Received: by 10.194.179.42 with SMTP id dd10mr7424750wjc.7.1437134728077; Fri, 17 Jul 2015 05:05:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.44.228 with SMTP id h4ls505884lam.23.gmail; Fri, 17 Jul 2015 05:05:27 -0700 (PDT) X-Received: by 10.112.170.167 with SMTP id an7mr14294812lbc.103.1437134727884; Fri, 17 Jul 2015 05:05:27 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id u2si9730379laj.34.2015.07.17.05.05.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jul 2015 05:05:27 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by lagw2 with SMTP id w2so59870733lag.3 for ; Fri, 17 Jul 2015 05:05:27 -0700 (PDT) X-Received: by 10.152.6.69 with SMTP id y5mr14073795lay.72.1437134727628; Fri, 17 Jul 2015 05:05:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp874312lbb; Fri, 17 Jul 2015 05:05:26 -0700 (PDT) X-Received: by 10.70.65.5 with SMTP id t5mr29607538pds.16.1437134725919; Fri, 17 Jul 2015 05:05:25 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si18352920pdc.198.2015.07.17.05.05.21; Fri, 17 Jul 2015 05:05:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758020AbbGQMFQ (ORCPT + 28 others); 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 Received: by widic2 with SMTP id ic2so37625400wid.0 for ; Fri, 17 Jul 2015 05:04:14 -0700 (PDT) X-Received: by 10.194.48.108 with SMTP id k12mr30511500wjn.151.1437134654257; Fri, 17 Jul 2015 05:04:14 -0700 (PDT) Received: from localhost.localdomain (host81-129-173-55.range81-129.btcentralplus.com. [81.129.173.55]) by smtp.gmail.com with ESMTPSA id js3sm18076373wjc.5.2015.07.17.05.04.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Jul 2015 05:04:13 -0700 (PDT) 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 Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 */