Skip to content

Commit a3ceead

Browse files
jonhunterthierryreding
authored andcommitted
dt-bindings: tegra: pmc: Update aotag as an optional aperture
Not all Tegra SoCs or all versions of a particular Tegra SoC may include the AOTAG aperture. This change makes "aotag" as an optional aperture for Tegra234 and Tegra264. Co-developed-by: Prathamesh Shete <pshete@nvidia.com> Signed-off-by: Prathamesh Shete <pshete@nvidia.com> Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 8f0b4cc commit a3ceead

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

Documentation/devicetree/bindings/arm/tegra/nvidia,tegra186-pmc.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ properties:
1919
- nvidia,tegra264-pmc
2020

2121
reg:
22-
minItems: 4
22+
minItems: 3
2323
maxItems: 5
2424

2525
reg-names:
26-
minItems: 4
26+
minItems: 3
2727
items:
2828
- const: pmc
2929
- const: wake
30-
- const: aotag
30+
- enum: [ aotag, scratch, misc ]
3131
- enum: [ scratch, misc ]
3232
- const: misc
3333

@@ -51,6 +51,7 @@ allOf:
5151
then:
5252
properties:
5353
reg:
54+
minItems: 4
5455
maxItems: 4
5556
reg-names:
5657
maxItems: 4
@@ -73,7 +74,9 @@ allOf:
7374
properties:
7475
compatible:
7576
contains:
76-
const: nvidia,tegra234-pmc
77+
enum:
78+
- nvidia,tegra234-pmc
79+
- nvidia,tegra264-pmc
7780
then:
7881
properties:
7982
reg-names:

0 commit comments

Comments
 (0)