Skip to content

Commit b893f8e

Browse files
committed
Merge branch 'pci/controller/brcmstb'
- Change DT binding maintainer to Jim Quinlan (Jim Quinlan) - Add DT binding maxItems for reset controllers (Jim Quinlan) - Refactor .probe() error handling (Jim Quinlan) - Use the 'bridge' reset method if described in the DT (Jim Quinlan) - Use the 'swinit' reset method if described in the DT (Jim Quinlan) - Add SoC-specific HARD_DEBUG, INTR2_CPU_BASE register offsets (Jim Quinlan) - Drop unused RGR1_SW_INIT_1_INIT_MASK, RGR1_SW_INIT_1_INIT_SHIFT offsets (Jim Quinlan) - Add 'has_phy' so the existence of a 'rescal' reset controller doesn't imply software control of it (Jim Quinlan) - Add support for many inbound DMA windows (Jim Quinlan) - Check return values of all reset_control_*() calls (Jim Quinlan) - Rename SoC 'type' to 'soc_base' express the fact that SoCs come in families of multiple similar devices (Jim Quinlan) - Add Broadcom 7712 DT description and driver support (Jim Quinlan) - Sort enums, pcie_offsets[], pcie_cfg_data, .compatible strings for maintainability (Bjorn Helgaas) * pci/controller/brcmstb: PCI: brcmstb: Sort enums, pcie_offsets[], pcie_cfg_data, .compatible strings PCI: brcmstb: Enable 7712 SoCs PCI: brcmstb: Change field name from 'type' to 'soc_base' PCI: brcmstb: Check return value of all reset_control_* calls PCI: brcmstb: Refactor for chips with many regular inbound windows PCI: brcmstb: Don't conflate the reset rescal with PHY ctrl PCI: brcmstb: Remove two unused constants from driver PCI: brcmstb: PCI: brcmstb: Make HARD_DEBUG, INTR2_CPU_BASE offsets SoC-specific PCI: brcmstb: Use swinit reset if available PCI: brcmstb: Use bridge reset if available PCI: brcmstb: Use common error handling code in brcm_pcie_probe() dt-bindings: PCI: brcm,stb-pcie: Add 7712 SoC description dt-bindings: PCI: brcm,stb-pcie: Use maxItems for reset controllers dt-bindings: PCI: brcm,stb-pcie: Change brcmstb maintainer and cleanup
2 parents 37b35d4 + 2a0091f commit b893f8e

File tree

2 files changed

+437
-164
lines changed

2 files changed

+437
-164
lines changed

Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Brcmstb PCIe Host Controller
88

99
maintainers:
10-
- Nicolas Saenz Julienne <[email protected]>
10+
- Jim Quinlan <[email protected]>
1111

1212
properties:
1313
compatible:
@@ -16,11 +16,12 @@ properties:
1616
- brcm,bcm2711-pcie # The Raspberry Pi 4
1717
- brcm,bcm4908-pcie
1818
- brcm,bcm7211-pcie # Broadcom STB version of RPi4
19-
- brcm,bcm7278-pcie # Broadcom 7278 Arm
2019
- brcm,bcm7216-pcie # Broadcom 7216 Arm
21-
- brcm,bcm7445-pcie # Broadcom 7445 Arm
20+
- brcm,bcm7278-pcie # Broadcom 7278 Arm
2221
- brcm,bcm7425-pcie # Broadcom 7425 MIPs
2322
- brcm,bcm7435-pcie # Broadcom 7435 MIPs
23+
- brcm,bcm7445-pcie # Broadcom 7445 Arm
24+
- brcm,bcm7712-pcie # Broadcom STB sibling of Rpi 5
2425

2526
reg:
2627
maxItems: 1
@@ -95,6 +96,14 @@ properties:
9596
minItems: 1
9697
maxItems: 3
9798

99+
resets:
100+
minItems: 1
101+
maxItems: 3
102+
103+
reset-names:
104+
minItems: 1
105+
maxItems: 3
106+
98107
required:
99108
- compatible
100109
- reg
@@ -118,8 +127,7 @@ allOf:
118127
then:
119128
properties:
120129
resets:
121-
items:
122-
- description: reset controller handling the PERST# signal
130+
maxItems: 1
123131

124132
reset-names:
125133
items:
@@ -136,12 +144,32 @@ allOf:
136144
then:
137145
properties:
138146
resets:
147+
maxItems: 1
148+
149+
reset-names:
139150
items:
140-
- description: phandle pointing to the RESCAL reset controller
151+
- const: rescal
152+
153+
required:
154+
- resets
155+
- reset-names
156+
157+
- if:
158+
properties:
159+
compatible:
160+
contains:
161+
const: brcm,bcm7712-pcie
162+
then:
163+
properties:
164+
resets:
165+
minItems: 3
166+
maxItems: 3
141167

142168
reset-names:
143169
items:
144170
- const: rescal
171+
- const: bridge
172+
- const: swinit
145173

146174
required:
147175
- resets

0 commit comments

Comments
 (0)