Commit 02ec75ed authored by Gatien Chevallier's avatar Gatien Chevallier Committed by Alexandre Torgue

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: default avatarGatien Chevallier <gatien.chevallier@foss.st.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
parent d7218d3c
...@@ -46,6 +46,10 @@ properties: ...@@ -46,6 +46,10 @@ properties:
power-domains: power-domains:
maxItems: 1 maxItems: 1
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -51,6 +51,10 @@ properties: ...@@ -51,6 +51,10 @@ properties:
power-domains: power-domains:
maxItems: 1 maxItems: 1
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -82,6 +82,10 @@ properties: ...@@ -82,6 +82,10 @@ properties:
description: if defined, it indicates that the controller description: if defined, it indicates that the controller
supports memory-to-memory transfer supports memory-to-memory transfer
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -28,6 +28,10 @@ properties: ...@@ -28,6 +28,10 @@ properties:
resets: resets:
maxItems: 1 maxItems: 1
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -127,6 +127,10 @@ properties: ...@@ -127,6 +127,10 @@ properties:
wakeup-source: true wakeup-source: true
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -93,6 +93,10 @@ properties: ...@@ -93,6 +93,10 @@ properties:
'#size-cells': '#size-cells':
const: 0 const: 0
access-controllers:
minItems: 1
maxItems: 2
allOf: allOf:
- if: - if:
properties: properties:
......
...@@ -59,6 +59,10 @@ properties: ...@@ -59,6 +59,10 @@ properties:
If not, SPI CLKOUT frequency will not be accurate. If not, SPI CLKOUT frequency will not be accurate.
maximum: 20000000 maximum: 20000000
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -45,6 +45,10 @@ properties: ...@@ -45,6 +45,10 @@ properties:
'#size-cells': '#size-cells':
const: 0 const: 0
access-controllers:
minItems: 1
maxItems: 2
additionalProperties: false additionalProperties: false
required: required:
......
...@@ -29,6 +29,10 @@ properties: ...@@ -29,6 +29,10 @@ properties:
- const: cec - const: cec
- const: hdmi-cec - const: hdmi-cec
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -36,6 +36,10 @@ properties: ...@@ -36,6 +36,10 @@ properties:
resets: resets:
maxItems: 1 maxItems: 1
access-controllers:
minItems: 1
maxItems: 2
port: port:
$ref: /schemas/graph.yaml#/$defs/port-base $ref: /schemas/graph.yaml#/$defs/port-base
unevaluatedProperties: false unevaluatedProperties: false
......
...@@ -50,6 +50,10 @@ properties: ...@@ -50,6 +50,10 @@ properties:
Reflects the memory layout with four integer values per bank. Format: Reflects the memory layout with four integer values per bank. Format:
<bank-number> 0 <address of the bank> <size> <bank-number> 0 <address of the bank> <size>
access-controllers:
minItems: 1
maxItems: 2
patternProperties: patternProperties:
"^.*@[0-4],[a-f0-9]+$": "^.*@[0-4],[a-f0-9]+$":
additionalProperties: true additionalProperties: true
......
...@@ -44,6 +44,10 @@ properties: ...@@ -44,6 +44,10 @@ properties:
wakeup-source: true wakeup-source: true
access-controllers:
minItems: 1
maxItems: 2
pwm: pwm:
type: object type: object
additionalProperties: false additionalProperties: false
......
...@@ -67,6 +67,10 @@ properties: ...@@ -67,6 +67,10 @@ properties:
"#size-cells": "#size-cells":
const: 0 const: 0
access-controllers:
minItems: 1
maxItems: 2
pwm: pwm:
type: object type: object
additionalProperties: false additionalProperties: false
......
...@@ -79,6 +79,10 @@ properties: ...@@ -79,6 +79,10 @@ properties:
- const: rx - const: rx
- const: tx - const: tx
access-controllers:
minItems: 1
maxItems: 2
power-domains: true power-domains: true
resets: resets:
......
...@@ -118,6 +118,10 @@ properties: ...@@ -118,6 +118,10 @@ properties:
phys: phys:
maxItems: 1 maxItems: 1
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -93,6 +93,10 @@ properties: ...@@ -93,6 +93,10 @@ properties:
select RCC clock instead of ETH_REF_CLK. select RCC clock instead of ETH_REF_CLK.
type: boolean type: boolean
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- clocks - clocks
......
...@@ -55,6 +55,10 @@ properties: ...@@ -55,6 +55,10 @@ properties:
description: number of clock cells for ck_usbo_48m consumer description: number of clock cells for ck_usbo_48m consumer
const: 0 const: 0
access-controllers:
minItems: 1
maxItems: 2
# Required child nodes: # Required child nodes:
patternProperties: patternProperties:
......
...@@ -30,6 +30,10 @@ properties: ...@@ -30,6 +30,10 @@ properties:
vdda-supply: vdda-supply:
description: phandle to the vdda input analog voltage. description: phandle to the vdda input analog voltage.
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -37,6 +37,10 @@ properties: ...@@ -37,6 +37,10 @@ properties:
description: If set, the RNG configuration in RNG_CR, RNG_HTCR and description: If set, the RNG configuration in RNG_CR, RNG_HTCR and
RNG_NSCR will be locked. RNG_NSCR will be locked.
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -73,6 +73,10 @@ properties: ...@@ -73,6 +73,10 @@ properties:
enum: [1, 2, 4, 8, 12, 14, 16] enum: [1, 2, 4, 8, 12, 14, 16]
default: 8 default: 8
access-controllers:
minItems: 1
maxItems: 2
allOf: allOf:
- $ref: rs485.yaml# - $ref: rs485.yaml#
- $ref: serial.yaml# - $ref: serial.yaml#
......
...@@ -65,6 +65,10 @@ properties: ...@@ -65,6 +65,10 @@ properties:
$ref: audio-graph-port.yaml# $ref: audio-graph-port.yaml#
unevaluatedProperties: false unevaluatedProperties: false
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- "#sound-dai-cells" - "#sound-dai-cells"
......
...@@ -48,6 +48,10 @@ properties: ...@@ -48,6 +48,10 @@ properties:
clock-names: clock-names:
maxItems: 3 maxItems: 3
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -50,6 +50,10 @@ properties: ...@@ -50,6 +50,10 @@ properties:
resets: resets:
maxItems: 1 maxItems: 1
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- "#sound-dai-cells" - "#sound-dai-cells"
......
...@@ -46,6 +46,10 @@ properties: ...@@ -46,6 +46,10 @@ properties:
- const: tx - const: tx
- const: rx - const: rx
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -52,6 +52,10 @@ properties: ...@@ -52,6 +52,10 @@ properties:
- const: rx - const: rx
- const: tx - const: tx
access-controllers:
minItems: 1
maxItems: 2
required: required:
- compatible - compatible
- reg - reg
......
...@@ -172,6 +172,10 @@ properties: ...@@ -172,6 +172,10 @@ properties:
tpl-support: true tpl-support: true
access-controllers:
minItems: 1
maxItems: 2
dependencies: dependencies:
port: [ usb-role-switch ] port: [ usb-role-switch ]
role-switch-default-mode: [ usb-role-switch ] role-switch-default-mode: [ usb-role-switch ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment