[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200128153806.7780-5-benjamin.gaignard@st.com>
Date: Tue, 28 Jan 2020 16:38:03 +0100
From: Benjamin Gaignard <benjamin.gaignard@...com>
To: <broonie@...nel.org>, <robh@...nel.org>, <arnd@...db.de>,
<shawnguo@...nel.org>, <s.hauer@...gutronix.de>,
<fabio.estevam@....com>, <sudeep.holla@....com>, <lkml@...ux.net>
CC: <loic.pallardy@...com>, <gregkh@...uxfoundation.org>,
<linux-kernel@...r.kernel.org>, <linux-imx@....com>,
<kernel@...gutronix.de>, <linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <system-dt@...ts.openampproject.org>,
<stefano.stabellini@...inx.com>,
Benjamin Gaignard <benjamin.gaignard@...com>
Subject: [PATCH v2 4/7] dt-bindings: bus: Add STM32 ETZPC firewall controller
Document STM32 ETZPC firewall controller bindings
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@...com>
---
version 2:
- use ymal file to describe the bindings
.../bindings/bus/firewall/st,stm32-etzpc.yaml | 41 ++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/bus/firewall/st,stm32-etzpc.yaml
diff --git a/Documentation/devicetree/bindings/bus/firewall/st,stm32-etzpc.yaml b/Documentation/devicetree/bindings/bus/firewall/st,stm32-etzpc.yaml
new file mode 100644
index 000000000000..a162e31e4529
--- /dev/null
+++ b/Documentation/devicetree/bindings/bus/firewall/st,stm32-etzpc.yaml
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/bus/firewall/st,stm32-etzpc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: STM32 Extended TrustZone Protection controller
+
+maintainers:
+ - Benjamin Gaignard <benjamin.gaignard@...com>
+
+description: STMicroelectronics's STM32 firewall controller implementation
+
+allOf:
+ - $ref: "firewall-provider.yaml#"
+
+properties:
+ compatible:
+ enum:
+ - st,stm32-etzpc
+
+ reg:
+ maxItems: 1
+
+ '#firewall-cells':
+ const: 2
+
+required:
+ - compatible
+ - reg
+ - '#firewall-cells'
+
+examples:
+ - |
+ etzpc@...07000 {
+ compatible = "st,stm32-etzpc";
+ reg = <0x5c007000 0x400>;
+ #firewall-cells = <2>;
+ };
+
+...
--
2.15.0
Powered by blists - more mailing lists