Received: by 10.223.185.116 with SMTP id b49csp5455004wrg; Wed, 7 Mar 2018 12:03:24 -0800 (PST) X-Google-Smtp-Source: AG47ELtWqBgkXcwanqBwhnD+dusHCmOPJZ8MdPEL/YakZBcjhzyfK71F9z0F6bSnt+5fnZ8FzWuH X-Received: by 2002:a17:902:8a89:: with SMTP id p9-v6mr21423318plo.379.1520453003948; Wed, 07 Mar 2018 12:03:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520453003; cv=none; d=google.com; s=arc-20160816; b=fD7kSxN8wI0Nb65rXwR8vraXhuBz7TfNqAIFwGA6CiaxYI4AaRxDvhaRB7TmANfHYs xOrGNPsnXsLZGzDGvYt+Iux1TbuEm/3XFnnDIkhA0B19vKA/tnRh23/M0xErZpreWAHm 39dipVTMp5OQcsSBgEcQoS93djJPEOJ1WFdsBIBig15KBR4/M73zK0dJzOGFwpCmw3dS zYNMPrbo98pqB+MJF1FjHkpG4yKt++H9hqcG6swIKOMjaqnuaDlFZ1j4qkmiY9HzH936 4IAcMMyI9CZHCr/TXiRK8BxuZfLTRkxt0Rww04/VL+rjZ962sZk4P0z40rg8JeRE33XZ YWFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=MU0S9tLqETEUTlDGVtpPb1Zi4Y9PTl2r1PO/qm7lDFg=; b=xz75gYg8dd3mf9puyp1of49lLUJPssZNi/+16dRegn5oOGZAupSmCt7Dn0I17nwy1O W2Wc2XpUarsyoOW96mBgxu7p2kiTUtezAhk/E/EbUr/Oy/iOKujaTjUayyJ+asmzMgZg OxJunPc2i0SlPag1xiLWZLjoua6FxSYdRogEndd1g+eiNmR6V/ujnssaZQfHN8Kf913F KhEPVFkItsWib2ITw2oxq7Y3mK89kGed7ukZigA/XE2onj0K4g5uOCfIhHn3cSVMMEoF wuEtB7KXyMb5Olz3XCGF+clVtZRTWjepUCF2YmzlJtukWK30drBaPh/4YyCs3RyqCbkX Ruow== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e125si11741335pgc.506.2018.03.07.12.03.09; Wed, 07 Mar 2018 12:03:23 -0800 (PST) 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; 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 S965435AbeCGUAx (ORCPT + 99 others); Wed, 7 Mar 2018 15:00:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:50228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965218AbeCGUAv (ORCPT ); Wed, 7 Mar 2018 15:00:51 -0500 Received: from mail-yb0-f177.google.com (mail-yb0-f177.google.com [209.85.213.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9D0AA21770; Wed, 7 Mar 2018 20:00:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D0AA21770 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh+dt@kernel.org Received: by mail-yb0-f177.google.com with SMTP id v8-v6so1205755ybk.6; Wed, 07 Mar 2018 12:00:50 -0800 (PST) X-Gm-Message-State: APf1xPDi7epxQkDl/7s2Ul4JSg74670OX/A2ahO9r7lSIcwDeiZI5+Ar rdWGPfl1BfNo40KebsGnieOqvUDm0IxHKMabHg== X-Received: by 2002:a25:10c2:: with SMTP id 185-v6mr15226333ybq.273.1520452849841; Wed, 07 Mar 2018 12:00:49 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a25:8007:0:0:0:0:0 with HTTP; Wed, 7 Mar 2018 12:00:29 -0800 (PST) In-Reply-To: <20180307185716.17449-3-eric@anholt.net> References: <20180307185716.17449-1-eric@anholt.net> <20180307185716.17449-3-eric@anholt.net> From: Rob Herring Date: Wed, 7 Mar 2018 14:00:29 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 3/6] dt-bindings: soc: Add a binding for the Broadcom VCHIQ services. To: Eric Anholt Cc: Florian Fainelli , Mark Rutland , devicetree@vger.kernel.org, Greg Kroah-Hartman , Phil Elwell , "moderated list:BROADCOM BCM2835 ARM ARCHITECTURE" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "linux-kernel@vger.kernel.org" , Stefan Wahren , bcm-kernel-feedback-list@broadcom.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 7, 2018 at 12:57 PM, Eric Anholt wrote: > 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. How is this a VCHIQ property? This is a standard property for cache nodes, but this is not a cache node. Is it really a problem to just use a fixed maximum alignment? That seems to be good enough for all the rest of the kernel. > + > +Example: > + > +vchiq@7e00b840 { mailbox@... > + compatible = "brcm,bcm2835-vchiq"; > + reg = <0x7e00b840 0xf>; > + interrupts = <0 2>; > + cache-line-size: <32>; > +}; > -- > 2.16.2 >