From patchwork Wed Mar 23 14:43:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 64234 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp74551lbc; Wed, 23 Mar 2016 07:46:34 -0700 (PDT) X-Received: by 10.66.140.39 with SMTP id rd7mr4876380pab.92.1458744387359; Wed, 23 Mar 2016 07:46:27 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fb6si4805188pab.87.2016.03.23.07.46.27; Wed, 23 Mar 2016 07:46:27 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932311AbcCWOp7 (ORCPT + 29 others); Wed, 23 Mar 2016 10:45:59 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:33427 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755402AbcCWOpv (ORCPT ); Wed, 23 Mar 2016 10:45:51 -0400 Received: by mail-wm0-f47.google.com with SMTP id l68so237288260wml.0 for ; Wed, 23 Mar 2016 07:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=oO76Onc7MU4BphA0UbS5BUEIk3Z98dpsks+hV8phvyI=; b=JDhe/nSMZBh9ZnIAEB04YbpedjVHp29VP5KXbRIpFZMpH5cCtl+TDW99FlnNVeyZsT 7R24hlDxXeMYf7NK17Tgt5Mh3Z1u8Uabj3OwUyeV3fXg8PCOixOZD3bA2PrtWcVXbzSc eeH9ZEFnIhEeuZ+HwBF5aA8oRSL5/RZloQtnE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=oO76Onc7MU4BphA0UbS5BUEIk3Z98dpsks+hV8phvyI=; b=WvKRCTLiU7hOrJRQUB8ubLsixWa+gKwV88JAtrrdt0Wl/ALvLcPcY+VSYuWzzKnJ6p EONhSmdwf+H5wf1QVYxqpHS/AjgTAntp7wOTRlxyZaS9aen1WyvQkBYevHVn5PJC6Pfz 5xBCGvl8ZHrjJi/jNYFsEgS7x9QBZHqsEw0nG0T4ZtyhS0IJ6/noXp+HzCszQ7ZYlgY8 82g7dwytIK7ssMfhYr9fkerI47XZjGfV4/tz7/mRe0KP61OZY+81OR8ITlJZvuxRFHcy W2/oTXG1D/kbNiv6NB8wdWA/92MtTM3jaaYqmY+GJQqN1DTNG7380GY1IvvzcebOwMaz 0hiw== X-Gm-Message-State: AD7BkJKJeYgD9G21veHRPvqMzQe4vRf1hwPpl7wntXiyRG4H4dvFcKamUoaBZH3B5nvVtAoj X-Received: by 10.28.225.198 with SMTP id y189mr28600584wmg.94.1458744350193; Wed, 23 Mar 2016 07:45:50 -0700 (PDT) Received: from localhost.localdomain (host81-129-172-93.range81-129.btcentralplus.com. [81.129.172.93]) by smtp.gmail.com with ESMTPSA id 192sm3339980wmw.0.2016.03.23.07.45.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Mar 2016 07:45:49 -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, dan.carpenter@oracle.com, Lee Jones Subject: [PATCH v2 2/5] ARM: STi: DT: STiH407: Enable Mailbox testing facility Date: Wed, 23 Mar 2016 14:43:40 +0000 Message-Id: <1458744223-12164-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1458744223-12164-1-git-send-email-lee.jones@linaro.org> References: <1458744223-12164-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 1.9.1 diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index e6e34b4..9376c38 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -695,6 +695,12 @@ status = "okay"; }; + 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>;