History

dt-bindings: PCI: xilinx-cpm: Fix reg property order

All existing vendor DTSes are using "cpm_slcr" reg followed by "cfg" reg. This order is also suggested by node name which is pcie@fca10000 which suggests that cpm_slcr register should be the first. Driver itself is using devm_platform_ioremap_resource_byname() for both names that's why there is no functional change even on description which are using current order. But still prefer to change order to cover currently used description. Fixes: e22fadb1d014 ("PCI: xilinx-cpm: Add YAML schemas for Versal CPM Root Port")

Bharat Kumar Gogada committed 4 years ago

Commit e2c61701 parent 0a1e19c1 file · +5 −5Browse files

Unified · Split

Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml+5−5
@@ -18,13 +18,13 @@ properties: · 17 unmodified lines
1818
1919 reg:
2020 items:
21− - description: Configuration space region and bridge registers.
2221 - description: CPM system level control and status registers.
22+ - description: Configuration space region and bridge registers.
2323
2424 reg-names:
2525 items:
26− - const: cfg
2726 - const: cpm_slcr
27+ - const: cfg
2828
2929 interrupts:
3030 maxItems: 1
@@ -86,9 +86,9 @@ examples: · 55 unmodified lines
8686 ranges = <0x02000000 0x0 0xe0000000 0x0 0xe0000000 0x0 0x10000000>,
8787 <0x43000000 0x80 0x00000000 0x80 0x00000000 0x0 0x80000000>;
8888 msi-map = <0x0 &its_gic 0x0 0x10000>;
89− reg = <0x6 0x00000000 0x0 0x10000000>,
90− <0x0 0xfca10000 0x0 0x1000>;
91− reg-names = "cfg", "cpm_slcr";
89+ reg = <0x0 0xfca10000 0x0 0x1000>,
90+ <0x6 0x00000000 0x0 0x10000000>;
91+ reg-names = "cpm_slcr", "cfg";
9292 pcie_intc_0: interrupt-controller {
9393 #address-cells = <0>;
9494 #interrupt-cells = <1>;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t