From patchwork Wed Mar 7 18:57:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Anholt X-Patchwork-Id: 10264681 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2B226602BD for ; Wed, 7 Mar 2018 18:57:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B92528995 for ; Wed, 7 Mar 2018 18:57:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1016928A1D; Wed, 7 Mar 2018 18:57:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9A7A928995 for ; Wed, 7 Mar 2018 18:57:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Ezz76DVu/8zfX0yW+M01ExMD0VU1r2CzxINnMDdpwxY=; b=NcZvZ09nMwhx9s5i4si6rFGren UOTzYR9U8P/F/sO1p3vaVLDyrhVPTDf8kdN4QT1+UheWuB8sHbgSo8ugJ09eNnwLakZZanb6NO36X S5+qB1w5RTusqwySz4o00qIFxgflFGPSs7sPR4XLdYK0n19G1huvSJ1gMFuPsPTefZQ3hrcWM5pTO 2kbCCrDT9j7VMuSqCHYq7ZkenDaPayEoqfD4XRUTbheh5JY5ehfJHDFy54NoP2Xo3pXtGyx1ClXXn qwpdQ1IzTemJJNNkW8P5gHHDbncLt3kdLMA1yTMiFYgYlaJwwHY2/zbuDok2tHOuPF67btnuEXQwe dnC/ynlA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eteFv-0006Rl-Kh; Wed, 07 Mar 2018 18:57:39 +0000 Received: from anholt.net ([50.246.234.109]) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eteFp-0006Oq-0J; Wed, 07 Mar 2018 18:57:34 +0000 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id BF05610A14F4; Wed, 7 Mar 2018 10:57:23 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id R9Ut-AWZiYGN; Wed, 7 Mar 2018 10:57:22 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 0BC6210A14F5; Wed, 7 Mar 2018 10:57:18 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 4FECD2FE2D68; Wed, 7 Mar 2018 10:57:16 -0800 (PST) From: Eric Anholt To: Florian Fainelli , Mark Rutland , Rob Herring , devicetree@vger.kernel.org, Greg Kroah-Hartman , Phil Elwell Subject: [PATCH v2 3/6] dt-bindings: soc: Add a binding for the Broadcom VCHIQ services. Date: Wed, 7 Mar 2018 10:57:13 -0800 Message-Id: <20180307185716.17449-3-eric@anholt.net> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180307185716.17449-1-eric@anholt.net> References: <20180307185716.17449-1-eric@anholt.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180307_105733_213459_26BCD5A6 X-CRM114-Status: GOOD ( 11.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , linux-kernel@vger.kernel.org, Eric Anholt , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The VCHIQ communication channel can be provided by BCM283x and Capri SoCs, to communicate with the VPU-side OS services. Signed-off-by: Eric Anholt --- v2: dropped firmware property, added cache-line-size. .../bindings/soc/bcm/brcm,bcm2835-vchiq.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.txt diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.txt b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.txt new file mode 100644 index 000000000000..cdef4abc5e47 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.txt @@ -0,0 +1,28 @@ +Broadcom VCHIQ firmware services + +Required properties: + +- compatible: Should be "brcm,bcm2835-vchiq" +- reg: Physical base address and length of the doorbell register pair +- interrupts: The interrupt number + See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt + +Optional properties: + +- cache-line-size: + Size of L2 cache lines. The VPU firmware detects + this property and overrides it with the actual L2 + cache line size it's using when loading the + device-tree. Determines the required alignment of + offsets/sizes of VCHIQ pagelists. If missing, the + firmware assumes an older kernel using 32-byte + alignment. + +Example: + +vchiq@7e00b840 { + compatible = "brcm,bcm2835-vchiq"; + reg = <0x7e00b840 0xf>; + interrupts = <0 2>; + cache-line-size: <32>; +};