From patchwork Mon Mar 2 20:54:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Anholt X-Patchwork-Id: 445427 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id E1ABB140083 for ; Tue, 3 Mar 2015 08:07:53 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755130AbbCBVHv (ORCPT ); Mon, 2 Mar 2015 16:07:51 -0500 Received: from gabe.freedesktop.org ([131.252.210.177]:57041 "EHLO gabe.freedesktop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755125AbbCBVDx (ORCPT ); Mon, 2 Mar 2015 16:03:53 -0500 Received: from annarchy.freedesktop.org (annarchy.freedesktop.org [131.252.210.176]) by gabe.freedesktop.org (Postfix) with ESMTP id A37066E4EA; Mon, 2 Mar 2015 12:54:54 -0800 (PST) Received: from eliezer.anholt.net (annarchy.freedesktop.org [127.0.0.1]) by annarchy.freedesktop.org (Postfix) with ESMTP id 91D3D18458; Mon, 2 Mar 2015 12:54:54 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 0D10CF02A45; Mon, 2 Mar 2015 20:54:53 +0000 (GMT) From: Eric Anholt To: linux-arm-kernel@vger.kernel.org Cc: linux-rpi-kernel@lists.infradead.org, Stephen Warren , Lee Jones , devicetree@vger.kernel.org, Jassi Brar , Craig McGeachie , Lubomir Rintel , Eric Anholt Subject: [PATCH 08/10] dt/bindings: Add binding for BCM2835 mailbox property channel driver Date: Mon, 2 Mar 2015 12:54:42 -0800 Message-Id: <1425329684-23968-9-git-send-email-eric@anholt.net> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1425329684-23968-1-git-send-email-eric@anholt.net> References: <1425329684-23968-1-git-send-email-eric@anholt.net> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org I was tempted to have the mailbox property channel support just be in the 2835 mailbox driver itself, but mbox_request_channel() wants its device to have the "mboxes" node, and that appears to be only intended for mailbox clients, not controllers. Signed-off-by: Eric Anholt --- .../bindings/mailbox/brcm,bcm2835-mbox-property.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox-property.txt diff --git a/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox-property.txt b/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox-property.txt new file mode 100644 index 0000000..daed1cc --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox-property.txt @@ -0,0 +1,14 @@ +Broadcom BCM2835 VideoCore mailbox property channel IPC + +Required properties: + +- compatible : Should be "brcm,bcm2835-mbox-property" +- mboxes: Single-entry list which specifies which mailbox controller + and channel is the property channel. + +Example: + +mailbox-property { + compatible = "brcm,bcm2835-mbox-property"; + mboxes = <&mailbox 8> +};