Skip to content

Commit 02ec75e

Browse files
GseoCAlexandre Torgue
authored andcommitted
dt-bindings: treewide: add access-controllers description
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>
1 parent d7218d3 commit 02ec75e

26 files changed

Lines changed: 104 additions & 0 deletions

Documentation/devicetree/bindings/crypto/st,stm32-cryp.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ properties:
4646
power-domains:
4747
maxItems: 1
4848

49+
access-controllers:
50+
minItems: 1
51+
maxItems: 2
52+
4953
required:
5054
- compatible
5155
- reg

Documentation/devicetree/bindings/crypto/st,stm32-hash.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ properties:
5151
power-domains:
5252
maxItems: 1
5353

54+
access-controllers:
55+
minItems: 1
56+
maxItems: 2
57+
5458
required:
5559
- compatible
5660
- reg

Documentation/devicetree/bindings/dma/st,stm32-dma.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ properties:
8282
description: if defined, it indicates that the controller
8383
supports memory-to-memory transfer
8484

85+
access-controllers:
86+
minItems: 1
87+
maxItems: 2
88+
8589
required:
8690
- compatible
8791
- reg

Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ properties:
2828
resets:
2929
maxItems: 1
3030

31+
access-controllers:
32+
minItems: 1
33+
maxItems: 2
34+
3135
required:
3236
- compatible
3337
- reg

Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ properties:
127127

128128
wakeup-source: true
129129

130+
access-controllers:
131+
minItems: 1
132+
maxItems: 2
133+
130134
required:
131135
- compatible
132136
- reg

Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ properties:
9393
'#size-cells':
9494
const: 0
9595

96+
access-controllers:
97+
minItems: 1
98+
maxItems: 2
99+
96100
allOf:
97101
- if:
98102
properties:

Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ properties:
5959
If not, SPI CLKOUT frequency will not be accurate.
6060
maximum: 20000000
6161

62+
access-controllers:
63+
minItems: 1
64+
maxItems: 2
65+
6266
required:
6367
- compatible
6468
- reg

Documentation/devicetree/bindings/iio/dac/st,stm32-dac.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ properties:
4545
'#size-cells':
4646
const: 0
4747

48+
access-controllers:
49+
minItems: 1
50+
maxItems: 2
51+
4852
additionalProperties: false
4953

5054
required:

Documentation/devicetree/bindings/media/cec/st,stm32-cec.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ properties:
2929
- const: cec
3030
- const: hdmi-cec
3131

32+
access-controllers:
33+
minItems: 1
34+
maxItems: 2
35+
3236
required:
3337
- compatible
3438
- reg

Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ properties:
3636
resets:
3737
maxItems: 1
3838

39+
access-controllers:
40+
minItems: 1
41+
maxItems: 2
42+
3943
port:
4044
$ref: /schemas/graph.yaml#/$defs/port-base
4145
unevaluatedProperties: false

0 commit comments

Comments
 (0)