From patchwork Fri Oct 16 07:21:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 55079 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id DE48E22EAC for ; Fri, 16 Oct 2015 07:22:45 +0000 (UTC) Received: by lbbms9 with SMTP id ms9sf20957300lbb.3 for ; Fri, 16 Oct 2015 00:22:44 -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=htK3JG5qundd0tQk4sU/rRjDqzIEz1O5JdWO5BnZkoA=; b=L0OHr2GkpVI+T6VW+j/uypT778tQ9NEZvI/zbjXsixAkof6fGtuqbbVIJich1QWHRE BfzmdAoHfoQruESsayHo+6Q7qkLQTUSykdlmEAPkRlPqqueu+TF6MbGRN8CvraD2KhJB PJrZhQF+lbGe5Dk7mehylKhDjLojqAsSG2XbCpRyw5MPH//Cq2rNF7plokKmBqxhKj55 y3zeauZTx8nRzVZnIIck/n1CbOqNCcWmU8JYrOEF5jqdu8chYkoDsSq3nnsviWL2D8a5 5xNPCZu4oeCrO9NhuSDdtu5e2+3mFGt09Co0dQ9rB9EH+M2bNGNxVAmcug/lfMtZ540d tXLQ== X-Gm-Message-State: ALoCoQnT26scqeGws/YRVZ5xTZtcOafPGzPWIP1qDkJnJU1beY8gafESrV6GEi1NIGXwt6AB+l0e X-Received: by 10.112.158.202 with SMTP id ww10mr3273392lbb.13.1444980164836; Fri, 16 Oct 2015 00:22:44 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.28.195 with SMTP id c186ls147978lfc.71.gmail; Fri, 16 Oct 2015 00:22:44 -0700 (PDT) X-Received: by 10.25.37.207 with SMTP id l198mr1330835lfl.111.1444980164705; Fri, 16 Oct 2015 00:22:44 -0700 (PDT) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id k9si11964764lbj.95.2015.10.16.00.22.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Oct 2015 00:22:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by lfeh64 with SMTP id h64so69658061lfe.3 for ; Fri, 16 Oct 2015 00:22:44 -0700 (PDT) X-Received: by 10.25.19.97 with SMTP id j94mr4924383lfi.106.1444980163890; Fri, 16 Oct 2015 00:22:43 -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 w3csp1072617lbq; Fri, 16 Oct 2015 00:22:43 -0700 (PDT) X-Received: by 10.66.139.232 with SMTP id rb8mr14417435pab.99.1444980162875; Fri, 16 Oct 2015 00:22:42 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id th6si12713601pbc.250.2015.10.16.00.22.42; Fri, 16 Oct 2015 00:22:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 S1753519AbbJPHWl (ORCPT + 7 others); Fri, 16 Oct 2015 03:22:41 -0400 Received: from mail-lf0-f44.google.com ([209.85.215.44]:36536 "EHLO mail-lf0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753822AbbJPHWE (ORCPT ); Fri, 16 Oct 2015 03:22:04 -0400 Received: by lfeh64 with SMTP id h64so69630393lfe.3 for ; Fri, 16 Oct 2015 00:22:03 -0700 (PDT) X-Received: by 10.180.211.47 with SMTP id mz15mr2855169wic.93.1444980122512; Fri, 16 Oct 2015 00:22:02 -0700 (PDT) Received: from localhost.localdomain (host81-129-170-218.range81-129.btcentralplus.com. [81.129.170.218]) by smtp.gmail.com with ESMTPSA id vr10sm12270721wjc.38.2015.10.16.00.22.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Oct 2015 00:22:01 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, maxime.coquelin@st.com, jassisinghbrar@gmail.com, devicetree@vger.kernel.org, Lee Jones Subject: [PATCH v4 5/5] ARM: STi: DT: STiH407: Enable Mailbox testing facility Date: Fri, 16 Oct 2015 08:21:31 +0100 Message-Id: <1444980091-16728-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1444980091-16728-1-git-send-email-lee.jones@linaro.org> References: <1444980091-16728-1-git-send-email-lee.jones@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.44 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 0e5d3ea..e6c8243 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -611,6 +611,12 @@ st,pwm-num-chan = <4>; }; + 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>;