From patchwork Wed Aug 19 14:22:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 52555 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 7978C2156D for ; Wed, 19 Aug 2015 14:24:06 +0000 (UTC) Received: by wijp15 with SMTP id p15sf3131167wij.3 for ; Wed, 19 Aug 2015 07:24:05 -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=BtjJKjeXwBh7lwAYaktj6UmL5ZxepJR+oTF6yg7IC50=; b=V3U0kPBUtPWwtVFAFvvf+kZDKV/BWu3UEdZLzSrXxhUjGI4LXN8bLrLhMmZE0nG5nR rTcLiabkEE3wfZptWgYELZTHpox+bKj0b6cdehb2rn/cQKfWGQfCs32oYe+dFyziVv7k Zt9ai4U/uF8uoGyjSR7BDnEgsw5d4wN6E59yrlMr7rjQWOvQZYZO0ZIBh+xaXzoT3pbV fBpHnB9abO2utmR+3YRpT7q3UPyb4ZosnMx/mtmEIq4uNEiFMtOQdFtndBlpA8UBmuAG oOO8V6nIs8FaBeP5MJJp0Jxr70IQ6lzRBhpc0bMyB+UHSQ58jv2Z9qlrkV3byZ0OkOo6 f/lg== X-Gm-Message-State: ALoCoQnxh5VvkJVybOeuf1v/KC0U00w7Ed9E3pQTybfXZwVjBfzW31g6JPNXbCXvI4TuTCfnJxSw X-Received: by 10.180.216.12 with SMTP id om12mr542616wic.1.1439994245691; Wed, 19 Aug 2015 07:24:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.206.33 with SMTP id ll1ls28344lac.98.gmail; Wed, 19 Aug 2015 07:24:05 -0700 (PDT) X-Received: by 10.152.234.75 with SMTP id uc11mr11333861lac.20.1439994245493; Wed, 19 Aug 2015 07:24:05 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id lt3si614011lac.124.2015.08.19.07.24.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Aug 2015 07:24:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by lalv9 with SMTP id v9so4107953lal.0 for ; Wed, 19 Aug 2015 07:24:05 -0700 (PDT) X-Received: by 10.152.36.102 with SMTP id p6mr11347145laj.19.1439994245360; Wed, 19 Aug 2015 07:24:05 -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.162.200 with SMTP id yc8csp409821lbb; Wed, 19 Aug 2015 07:24:04 -0700 (PDT) X-Received: by 10.68.194.170 with SMTP id hx10mr25426302pbc.64.1439994243345; Wed, 19 Aug 2015 07:24:03 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qi10si1451794pac.178.2015.08.19.07.24.02; Wed, 19 Aug 2015 07:24:03 -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 S1754279AbbHSOXO (ORCPT + 28 others); Wed, 19 Aug 2015 10:23:14 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:37273 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754253AbbHSOXM (ORCPT ); Wed, 19 Aug 2015 10:23:12 -0400 Received: by wibhh20 with SMTP id hh20so9982730wib.0 for ; Wed, 19 Aug 2015 07:23:11 -0700 (PDT) X-Received: by 10.180.72.241 with SMTP id g17mr3683822wiv.81.1439994191088; Wed, 19 Aug 2015 07:23:11 -0700 (PDT) Received: from localhost.localdomain (host81-129-169-167.range81-129.btcentralplus.com. [81.129.169.167]) by smtp.gmail.com with ESMTPSA id o3sm1290750wjx.16.2015.08.19.07.23.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Aug 2015 07:23:10 -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 v3 5/5] ARM: STi: DT: STiH407: Enable Mailbox testing facility Date: Wed, 19 Aug 2015 15:22:55 +0100 Message-Id: <1439994175-13360-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1439994175-13360-1-git-send-email-lee.jones@linaro.org> References: <1439994175-13360-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.41 as permitted sender) smtp.mailfrom=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 patch supplies a Client node to enable the Mailbox testing facility. It will be used to send and receive messages from any given co-processor in order to test the STi Mailbox Controller driver. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 32da3f8..ac1d1ee 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -566,6 +566,12 @@ }; }; + mailbox_test { + compatible = "mailbox_test"; + mboxes = <&mailbox2 1 31>, <&mailbox0 1 31>; + mbox-names = "tx", "rx"; + }; + mailbox0: mailbox@0 { compatible = "st,stih407-mailbox"; reg = <0x8f00000 0x1000>;