From patchwork Mon Oct 5 13:02:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 54499 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id 1EDA722F05 for ; Mon, 5 Oct 2015 13:35:13 +0000 (UTC) Received: by wicgb1 with SMTP id gb1sf29493777wic.3 for ; Mon, 05 Oct 2015 06:35:12 -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=h8kWRIDbr0spo6e8lwPwjRnJnjVzIdm/f9+ipLHjf9McMPwA8+KujmYmMf/gVxJ99E X/7Mc0XswDkLMCH7MY1h/+4rqYqeQmNY0Ik0gPINY0EA5xbLHmbyeJIn6gZCmI8ByHLx pxcudkORVr4Zbk6KGTCV3p5BaXMW0p+awpM4KFE152ansGSq2+fd9AcTd2Aj2n9OhV/v 6uei8P2/faKS8FxlYx3fX9ISduUFmrkQEmyDlstOD6jTH5aQ+21jfDH04SwfJerDWSfQ W1jjW3HqhrNgjRT2fmaSelRI3xr49piXe8/ZW+PoVsfpEweOe0JcW1amCwjT4GnWRCbb QrDA== X-Gm-Message-State: ALoCoQkFZQe53IYC2CaNwMwTkgnxThGS5inmqbfUh3TX631AUGsDF/bZOWuBNz5BkFv6OPgSYx+F X-Received: by 10.112.145.3 with SMTP id sq3mr4594421lbb.7.1444050364293; Mon, 05 Oct 2015 06:06:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.160.75 with SMTP id j72ls397213lfe.106.gmail; Mon, 05 Oct 2015 06:06:04 -0700 (PDT) X-Received: by 10.112.142.9 with SMTP id rs9mr11520972lbb.39.1444050363999; Mon, 05 Oct 2015 06:06:03 -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 a1si16869396lbg.46.2015.10.05.06.06.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Oct 2015 06:06:03 -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 ladcb10 with SMTP id cb10so1718124lad.2 for ; Mon, 05 Oct 2015 06:06:03 -0700 (PDT) X-Received: by 10.25.82.10 with SMTP id g10mr7791303lfb.56.1444050363825; Mon, 05 Oct 2015 06:06:03 -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.59.35 with SMTP id w3csp1251861lbq; Mon, 5 Oct 2015 06:06:02 -0700 (PDT) X-Received: by 10.69.12.135 with SMTP id eq7mr39589955pbd.125.1444050360900; Mon, 05 Oct 2015 06:06:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pv8si5531961pbb.233.2015.10.05.06.06.00; Mon, 05 Oct 2015 06:06:00 -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 S1752737AbbJENF7 (ORCPT + 30 others); Mon, 5 Oct 2015 09:05:59 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:34019 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751965AbbJENEr (ORCPT ); Mon, 5 Oct 2015 09:04:47 -0400 Received: by wicfx3 with SMTP id fx3so118833456wic.1 for ; Mon, 05 Oct 2015 06:04:46 -0700 (PDT) X-Received: by 10.180.107.130 with SMTP id hc2mr10661673wib.92.1444050286778; Mon, 05 Oct 2015 06:04:46 -0700 (PDT) Received: from localhost.localdomain (host81-129-171-83.range81-129.btcentralplus.com. [81.129.171.83]) by smtp.gmail.com with ESMTPSA id cc8sm13388976wjc.46.2015.10.05.06.04.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Oct 2015 06:04:46 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: jassisinghbrar@gmail.com, devicetree@vger.kernel.org Subject: [PATCH v4 5/5] ARM: STi: DT: STiH407: Enable Mailbox testing facility Date: Mon, 5 Oct 2015 14:02:20 +0100 Message-Id: <1444050140-24733-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1444050140-24733-1-git-send-email-lee.jones@linaro.org> References: <1444050140-24733-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.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>;