From patchwork Mon Jul 27 09:44:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 51497 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id 6B38B22918 for ; Mon, 27 Jul 2015 09:44:52 +0000 (UTC) Received: by wicmv11 with SMTP id mv11sf25912576wic.1 for ; Mon, 27 Jul 2015 02:44:51 -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=hyiVl8zxu29FnOEoydT0Px9XEI5sziHflAVVx2a1r52buFN0rXetH9BBaekIOeot6Y mr75LM+gog6XP1UP0mnLajp2R8ahty3mBQjbG9xMQ4Z5+eHPS8z5hMuITViDH7sy4h2X CqYPqLFnSStP0ojn+Ezu4EGb4XaOVOr+kbcDIabrLL/t0OajRsaIEYPzJ5yVZero+ia9 AjpzMLsRW3AEIsxLQj4u1lYXP08e8t3ZWX7Fq0uLCBUwDKg/chVogyncrkPG3ieKaM7c elfNmYGQni1FFNUxwX0RsdNKyqx9ymMSWSeRJG7NS2T3/WECV9LxLqjjTXtCoNn+duls +7kA== X-Gm-Message-State: ALoCoQneCAzXDy/TQU0VFrfIETNXQt3ZR7M2xWHlwzKf5HGgxVvU1MrcaktFfjbGqe3YysnHMRBx X-Received: by 10.112.98.42 with SMTP id ef10mr11894559lbb.18.1437990291703; Mon, 27 Jul 2015 02:44:51 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.203.197 with SMTP id ks5ls585543lac.64.gmail; Mon, 27 Jul 2015 02:44:51 -0700 (PDT) X-Received: by 10.112.77.103 with SMTP id r7mr25450509lbw.63.1437990291402; Mon, 27 Jul 2015 02:44:51 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id v2si14861246lbk.22.2015.07.27.02.44.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2015 02:44:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by lbbyj8 with SMTP id yj8so49627335lbb.0 for ; Mon, 27 Jul 2015 02:44:51 -0700 (PDT) X-Received: by 10.152.18.162 with SMTP id x2mr26322922lad.73.1437990290976; Mon, 27 Jul 2015 02:44:50 -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.7.198 with SMTP id l6csp1421778lba; Mon, 27 Jul 2015 02:44:49 -0700 (PDT) X-Received: by 10.70.131.4 with SMTP id oi4mr66697447pdb.122.1437990289178; Mon, 27 Jul 2015 02:44:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e13si42918590pat.73.2015.07.27.02.44.47; Mon, 27 Jul 2015 02:44:49 -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 S1754022AbbG0Jon (ORCPT + 28 others); Mon, 27 Jul 2015 05:44:43 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:32833 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753792AbbG0Jok (ORCPT ); Mon, 27 Jul 2015 05:44:40 -0400 Received: by wicmv11 with SMTP id mv11so131545810wic.0 for ; Mon, 27 Jul 2015 02:44:39 -0700 (PDT) X-Received: by 10.195.13.1 with SMTP id eu1mr52771839wjd.131.1437990279246; Mon, 27 Jul 2015 02:44:39 -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 gw7sm12650522wib.15.2015.07.27.02.44.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Jul 2015 02:44:38 -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 v2 2/6] mailbox: dt-bindings: Add shared [driver <=> device tree] defines Date: Mon, 27 Jul 2015 10:44:28 +0100 Message-Id: <1437990272-23111-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437990272-23111-1-git-send-email-lee.jones@linaro.org> References: <1437990272-23111-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.217.170 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 */