dt-bindings: treewide: add access-controllers description
authorGatien Chevallier <gatien.chevallier@foss.st.com>
Fri, 5 Jan 2024 13:03:53 +0000 (14:03 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 5 Apr 2024 12:39:10 +0000 (14:39 +0200)
access-controllers is an optional property that allows a peripheral to
refer to one or more domain access controller(s).

Description of this property is added to all peripheral binding files of
the peripheral under the STM32 firewall controller. It allows an accurate
representation of the hardware, where various peripherals are connected
to a firewall bus. The firewall can then check the peripheral accesses
before allowing its device to probe.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
26 files changed:
Documentation/devicetree/bindings/crypto/st,stm32-cryp.yaml
Documentation/devicetree/bindings/crypto/st,stm32-hash.yaml
Documentation/devicetree/bindings/dma/st,stm32-dma.yaml
Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml
Documentation/devicetree/bindings/iio/dac/st,stm32-dac.yaml
Documentation/devicetree/bindings/media/cec/st,stm32-cec.yaml
Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml
Documentation/devicetree/bindings/memory-controllers/st,stm32-fmc2-ebi.yaml
Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml
Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml
Documentation/devicetree/bindings/mmc/arm,pl18x.yaml
Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
Documentation/devicetree/bindings/net/stm32-dwmac.yaml
Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.yaml
Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.yaml
Documentation/devicetree/bindings/rng/st,stm32-rng.yaml
Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml
Documentation/devicetree/bindings/sound/st,stm32-sai.yaml
Documentation/devicetree/bindings/sound/st,stm32-spdifrx.yaml
Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml
Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
Documentation/devicetree/bindings/usb/dwc2.yaml

index 0ddeb8a9a7a018bda6769f03e05f6373a348e8ae..27354658d05448c1559e5db67b842f2dae90df3d 100644 (file)
@@ -46,6 +46,10 @@ properties:
   power-domains:
     maxItems: 1
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index ac480765cde061f497f7da77218f4b55b5f05a35..82231841409521c230a290a65b14088890d6ad41 100644 (file)
@@ -51,6 +51,10 @@ properties:
   power-domains:
     maxItems: 1
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index 329847ef096a1fb5a28749296288136c5e2bc31c..ff935a0068ec5888001ca0e7249f6bbb6c07d778 100644 (file)
@@ -82,6 +82,10 @@ properties:
     description: if defined, it indicates that the controller
       supports memory-to-memory transfer
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index e722fbcd8a5f432ad11482cdeaf8df55a21a2dfc..ddf82bf1e71aebdd09591dce906206417e8289b2 100644 (file)
@@ -28,6 +28,10 @@ properties:
   resets:
     maxItems: 1
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index 1b31b87c1800a00d8935d261432117ea5d601191..8fd8be76875ec12b71da052d6ef5614dd944e7ed 100644 (file)
@@ -127,6 +127,10 @@ properties:
 
   wakeup-source: true
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index 995cbf8cefc66f71ec5768b05c14c98e8619f8ce..ec34c48d48782b9a72b714a37d7264c57c501f74 100644 (file)
@@ -93,6 +93,10 @@ properties:
   '#size-cells':
     const: 0
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 allOf:
   - if:
       properties:
index 1970503389aa9aacf88c356477b4ad6aff5e0bbc..c1b1324fa13295dc30ba6c8621659cbe862da37f 100644 (file)
@@ -59,6 +59,10 @@ properties:
       If not, SPI CLKOUT frequency will not be accurate.
     maximum: 20000000
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index 04045b932bd221fb7c3b00b45bbd773b1f92e9b1..b15de4eb209c53d400782e4d0ff3aba4e53471ac 100644 (file)
@@ -45,6 +45,10 @@ properties:
   '#size-cells':
     const: 0
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 additionalProperties: false
 
 required:
index 2314a9a146509889f0e982e6dc3f723a2e72ccf1..1d930d9e10fd83496e84d6e415adcd01193e73a2 100644 (file)
@@ -29,6 +29,10 @@ properties:
       - const: cec
       - const: hdmi-cec
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index 6b3e413cedb259ef71f7726ad1bb84c3068cbdca..34147127192fd830c92d4f5e0fc657e5ce2ce4f1 100644 (file)
@@ -36,6 +36,10 @@ properties:
   resets:
     maxItems: 1
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
   port:
     $ref: /schemas/graph.yaml#/$defs/port-base
     unevaluatedProperties: false
index 84ac6f50a6fc3ff23968beb1d3c7b1f251692186..706e45eb4d279f9723f9e9b758b7bb4318999f45 100644 (file)
@@ -50,6 +50,10 @@ properties:
       Reflects the memory layout with four integer values per bank. Format:
       <bank-number> 0 <address of the bank> <size>
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 patternProperties:
   "^.*@[0-4],[a-f0-9]+$":
     additionalProperties: true
index 27329c5dc38e6e1bb87ea50798eda2afb3cdb4a3..d41308856408fcb1124239f5e726e6d44f2de190 100644 (file)
@@ -44,6 +44,10 @@ properties:
 
   wakeup-source: true
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
   pwm:
     type: object
     additionalProperties: false
index f84e09a5743b77c5be31ac4f6f3a979c0122d44d..b0e438ff49509ea0a62242c859f9a9bb31060e19 100644 (file)
@@ -67,6 +67,10 @@ properties:
   "#size-cells":
     const: 0
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
   pwm:
     type: object
     additionalProperties: false
index 940b126881674629eb00679e223bbd4900b4c7cc..8f62e2c7fa6414015fb8bceb86a8807e4a7192cd 100644 (file)
@@ -79,6 +79,10 @@ properties:
           - const: rx
           - const: tx
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
   power-domains: true
 
   resets:
index f9ffb963d6b122fb5fccec50b8a244261299bf1a..c4887522e8fe97c3947357b4dbd4ecf20ee8100a 100644 (file)
@@ -118,6 +118,10 @@ properties:
   phys:
     maxItems: 1
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index fc8c96b08d7dca709fa5e0fe2a34afbdff3eea74..f2714b5b6cf426bf50f1662007df12ab4073d78d 100644 (file)
@@ -93,6 +93,10 @@ properties:
       select RCC clock instead of ETH_REF_CLK.
     type: boolean
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - clocks
index 24a3dbde223bc35dd4520b7d40db34dd2902b1ab..ceea122ae1a6a7aab97aa2b28af271f2010b677f 100644 (file)
@@ -55,6 +55,10 @@ properties:
     description: number of clock cells for ck_usbo_48m consumer
     const: 0
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 # Required child nodes:
 
 patternProperties:
index 05f4ad2c7d3a1d854abda35271aaebb1f20b2dc3..6ceaffb45dc968041660b50080d9e2e6923da999 100644 (file)
@@ -30,6 +30,10 @@ properties:
   vdda-supply:
     description: phandle to the vdda input analog voltage.
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index 717f6b321f884d39dc197796da8a4e33e59c3f1d..340d01d481d12ce8664a60db42182ddaf0d1385b 100644 (file)
@@ -37,6 +37,10 @@ properties:
     description: If set, the RNG configuration in RNG_CR, RNG_HTCR and
                   RNG_NSCR will be locked.
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index 62f97da1b2fd7c944442c17127897d154d6c4acb..2ed526139269c2d3fcadfcd135308ac2ec43c8d6 100644 (file)
@@ -73,6 +73,10 @@ properties:
     enum: [1, 2, 4, 8, 12, 14, 16]
     default: 8
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 allOf:
   - $ref: rs485.yaml#
   - $ref: serial.yaml#
index b9111d375b93f52de81452e2a119c833ee2f9e22..8978f6bd63e59eed24243695c170f814299ba24d 100644 (file)
@@ -65,6 +65,10 @@ properties:
     $ref: audio-graph-port.yaml#
     unevaluatedProperties: false
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - "#sound-dai-cells"
index 59df8a832310da21acab762924d6a012ea836ee7..b46a4778807d452593b18c1ede5786f839c3063b 100644 (file)
@@ -48,6 +48,10 @@ properties:
   clock-names:
     maxItems: 3
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index bc48151b9adbdc0e219230dd9af1b8ca0ecf4f3e..3dedc81ec12f67ae539d30782656fd2b79837695 100644 (file)
@@ -50,6 +50,10 @@ properties:
   resets:
     maxItems: 1
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - "#sound-dai-cells"
index 8bba965a9ae64e5ce50b0cbc6a2edb1c684b6c34..3f1a27efff80e5e95c9fbbbd1e3907cfdb3bf65e 100644 (file)
@@ -46,6 +46,10 @@ properties:
       - const: tx
       - const: rx
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index 4bd9aeb8120859152de1eeb93acf96874a0e27c9..a55c8633c32ce9c9fe4306695e31b66a15baf0a1 100644 (file)
@@ -52,6 +52,10 @@ properties:
       - const: rx
       - const: tx
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 required:
   - compatible
   - reg
index 0a5c98ea711d489cf6b8e81b1c2697e11ee98bc4..88c077673c8bc86657f8424c76629b7115aab00e 100644 (file)
@@ -172,6 +172,10 @@ properties:
 
   tpl-support: true
 
+  access-controllers:
+    minItems: 1
+    maxItems: 2
+
 dependencies:
   port: [ usb-role-switch ]
   role-switch-default-mode: [ usb-role-switch ]