From: eric@anholt.net (Eric Anholt)
To: linux-arm-kernel@lists.infradead.org
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 [thread overview]
Message-ID: <20180307185716.17449-3-eric@anholt.net> (raw)
In-Reply-To: <20180307185716.17449-1-eric@anholt.net>
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 <eric@anholt.net>
---
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 at 7e00b840 {
+ compatible = "brcm,bcm2835-vchiq";
+ reg = <0x7e00b840 0xf>;
+ interrupts = <0 2>;
+ cache-line-size: <32>;
+};
--
2.16.2
next prev parent reply other threads:[~2018-03-07 18:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-07 18:57 [PATCH v2 1/6] staging: vc04_services: Replace "firmware" node with a compatible lookup Eric Anholt
2018-03-07 18:57 ` [PATCH v2 2/6] staging: vc04_services: Add comments describing g_cache_line_size Eric Anholt
2018-03-07 18:57 ` Eric Anholt [this message]
2018-03-07 20:00 ` [PATCH v2 3/6] dt-bindings: soc: Add a binding for the Broadcom VCHIQ services Rob Herring
2018-03-08 20:15 ` Eric Anholt
2018-03-08 23:23 ` Rob Herring
2018-03-08 12:18 ` Sudeep Holla
2018-03-07 18:57 ` [PATCH v2 4/6] ARM: dts: bcm2835: Add VCHIQ node to the Raspberry Pi boards Eric Anholt
2018-03-07 18:57 ` [PATCH v2 5/6] staging: vc04_services: Mark the "DT bindings" job done Eric Anholt
2018-03-07 18:57 ` [PATCH v2 6/6] staging: vc04_services: Remove vchiq_queue_bulk_{transmit, receive} Eric Anholt
2018-03-08 19:30 ` [PATCH v2 1/6] staging: vc04_services: Replace "firmware" node with a compatible lookup Stefan Wahren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180307185716.17449-3-eric@anholt.net \
--to=eric@anholt.net \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox