Skip to content

Commit b92f82a

Browse files
committed
dt-bindings: tegra: Allow #{address,size}-cells = <2>
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2186348 commit 6427569 Author: Thierry Reding <treding@nvidia.com> Date: Thu, 17 Nov 2022 18:56:19 +0100 Both 1 and 2 are valid values for #address-cells and #size-cells on the various busses specified in these bindings, so explicitly allow 2. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Mark Salter <msalter@redhat.com>
1 parent 3178272 commit b92f82a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Documentation/devicetree/bindings/bus/nvidia,tegra210-aconnect.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ properties:
4040
maxItems: 1
4141

4242
"#address-cells":
43-
const: 1
43+
enum: [ 1, 2 ]
4444

4545
"#size-cells":
46-
const: 1
46+
enum: [ 1, 2 ]
4747

4848
ranges: true
4949

Documentation/devicetree/bindings/display/tegra/nvidia,tegra186-display.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ properties:
2020
- nvidia,tegra194-display
2121

2222
'#address-cells':
23-
const: 1
23+
enum: [ 1, 2 ]
2424

2525
'#size-cells':
26-
const: 1
26+
enum: [ 1, 2 ]
2727

2828
reg:
2929
maxItems: 1

Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ properties:
5050
maxItems: 1
5151

5252
"#address-cells":
53-
const: 1
53+
enum: [ 1, 2 ]
5454

5555
"#size-cells":
56-
const: 1
56+
enum: [ 1, 2 ]
5757

5858
ranges: true
5959

Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ properties:
3434
maxItems: 1
3535

3636
"#address-cells":
37-
const: 1
37+
enum: [ 1, 2 ]
3838

3939
"#size-cells":
40-
const: 1
40+
enum: [ 1, 2 ]
4141

4242
ranges: true
4343

0 commit comments

Comments
 (0)