Skip to content

Commit 09a8e5f

Browse files
committed
Merge branch 'pci/controller/kconfig'
- Use uniform language in Kconfig menu entries (Bjorn Helgaas) - Sort controller Kconfig entries by vendor (Bjorn Helgaas) * pci/controller/kconfig: PCI: xilinx: Drop obsolete dependency on COMPILE_TEST PCI: mobiveil: Sort Kconfig entries by vendor PCI: dwc: Sort Kconfig entries by vendor PCI: Sort controller Kconfig entries by vendor PCI: Use consistent controller Kconfig menu entry language PCI: xilinx-nwl: Add 'Xilinx' to Kconfig prompt PCI: hv: Add 'Microsoft' to Kconfig prompt PCI: meson: Add 'Amlogic' to Kconfig prompt PCI: Use of_property_present() for testing DT property presence PCI/PM: Extend D3hot delay for NVIDIA HDA controllers dt-bindings: PCI: qcom: Document msi-map and msi-map-mask properties PCI: qcom: Add SM8550 PCIe support dt-bindings: PCI: qcom: Add SM8550 compatible PCI: qcom: Add support for SDX55 SoC dt-bindings: PCI: qcom-ep: Fix the unit address used in example dt-bindings: PCI: qcom: Add SDX55 SoC dt-bindings: PCI: qcom: Update maintainers entry PCI: qcom: Enable async probe by default PCI: qcom: Add support for system suspend and resume PCI/PM: Drop pci_bridge_wait_for_secondary_bus() timeout parameter PCI/PM: Increase wait time after resume PCI: pciehp: Fix AB-BA deadlock between reset_lock and device_lock PCI: Fix up L1SS capability for Intel Apollo Lake Root Port PCI: qcom: Expose link transition counts via debugfs dt-bindings: PCI: qcom: Add "mhi" register region to supported SoCs PCI: qcom: Rename qcom_pcie_config_sid_sm8250() to reflect IP version PCI: qcom: Use macros for defining total no. of clocks & supplies PCI: qcom: Use bulk reset APIs for handling resets for IP rev 2.4.0 PCI: qcom: Use bulk reset APIs for handling resets for IP rev 2.3.3 PCI: qcom: Use bulk clock APIs for handling clocks for IP rev 2.3.3 PCI: qcom: Use bulk clock APIs for handling clocks for IP rev 2.3.2 PCI: qcom: Use bulk clock APIs for handling clocks for IP rev 1.0.0 PCI: qcom: Use bulk reset APIs for handling resets for IP rev 2.1.0 PCI: qcom: Use lower case for hex PCI: qcom: Add missing macros for register fields PCI: qcom: Use bitfield definitions for register fields PCI: qcom: Sort and group registers and bitfield definitions PCI: qcom: Remove PCIE20_ prefix from register definitions PCI: qcom: Fix the incorrect register usage in v2.7.0 config PCI/EDR: Add edr_handle_event() comments PCI/EDR: Clear Device Status after EDR error recovery efi/cper: Remove unnecessary aer.h include dt-bindings: imx6q-pcie: Restruct i.MX PCIe schema PCI/P2PDMA: Fix pci_p2pmem_find_many() kernel-doc EISA: Drop unused pci_bus_for_each_resource() index argument PCI: Make pci_bus_for_each_resource() index optional PCI: Document pci_bus_for_each_resource() PCI: Introduce pci_dev_for_each_resource() PCI: Introduce pci_resource_n() PCI: ixp4xx: Use PCI_CONF1_ADDRESS() macro PCI: mt7621: Use dev_info() to log PCIe card detection PCI: imx6: Install the fault handler only on compatible match PCI: layerscape: Add EP mode support for ls1028a PCI: rcar: Avoid defines prefixed with CONFIG dt-bindings: PCI: convert amlogic,meson-pcie.txt to dt-schema PCI: kirin: Select REGMAP_MMIO
2 parents fe15c26 + ab072a3 commit 09a8e5f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1860
-1682
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@ ForEachMacros:
520520
- 'of_property_for_each_string'
521521
- 'of_property_for_each_u32'
522522
- 'pci_bus_for_each_resource'
523+
- 'pci_dev_for_each_resource'
523524
- 'pci_doe_for_each_off'
524525
- 'pcl_for_each_chunk'
525526
- 'pcl_for_each_segment'
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/pci/amlogic,axg-pcie.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Amlogic Meson AXG DWC PCIe SoC controller
8+
9+
maintainers:
10+
- Neil Armstrong <[email protected]>
11+
12+
description:
13+
Amlogic Meson PCIe host controller is based on the Synopsys DesignWare PCI core.
14+
15+
allOf:
16+
- $ref: /schemas/pci/pci-bus.yaml#
17+
- $ref: /schemas/pci/snps,dw-pcie-common.yaml#
18+
19+
# We need a select here so we don't match all nodes with 'snps,dw-pcie'
20+
select:
21+
properties:
22+
compatible:
23+
enum:
24+
- amlogic,axg-pcie
25+
- amlogic,g12a-pcie
26+
required:
27+
- compatible
28+
29+
properties:
30+
compatible:
31+
items:
32+
- enum:
33+
- amlogic,axg-pcie
34+
- amlogic,g12a-pcie
35+
- const: snps,dw-pcie
36+
37+
reg:
38+
items:
39+
- description: External local bus interface registers
40+
- description: Meson designed configuration registers
41+
- description: PCIe configuration space
42+
43+
reg-names:
44+
items:
45+
- const: elbi
46+
- const: cfg
47+
- const: config
48+
49+
interrupts:
50+
maxItems: 1
51+
52+
clocks:
53+
items:
54+
- description: PCIe GEN 100M PLL clock
55+
- description: PCIe RC clock gate
56+
- description: PCIe PHY clock
57+
58+
clock-names:
59+
items:
60+
- const: pclk
61+
- const: port
62+
- const: general
63+
64+
phys:
65+
maxItems: 1
66+
67+
phy-names:
68+
const: pcie
69+
70+
resets:
71+
items:
72+
- description: Port Reset
73+
- description: Shared APB reset
74+
75+
reset-names:
76+
items:
77+
- const: port
78+
- const: apb
79+
80+
num-lanes:
81+
const: 1
82+
83+
power-domains:
84+
maxItems: 1
85+
86+
required:
87+
- compatible
88+
- reg
89+
- reg-names
90+
- interrupts
91+
- clock
92+
- clock-names
93+
- "#address-cells"
94+
- "#size-cells"
95+
- "#interrupt-cells"
96+
- interrupt-map
97+
- interrupt-map-mask
98+
- ranges
99+
- bus-range
100+
- device_type
101+
- num-lanes
102+
- phys
103+
- phy-names
104+
- resets
105+
- reset-names
106+
107+
unevaluatedProperties: false
108+
109+
examples:
110+
- |
111+
#include <dt-bindings/interrupt-controller/irq.h>
112+
#include <dt-bindings/interrupt-controller/arm-gic.h>
113+
pcie: pcie@f9800000 {
114+
compatible = "amlogic,axg-pcie", "snps,dw-pcie";
115+
reg = <0xf9800000 0x400000>, <0xff646000 0x2000>, <0xf9f00000 0x100000>;
116+
reg-names = "elbi", "cfg", "config";
117+
interrupts = <GIC_SPI 177 IRQ_TYPE_EDGE_RISING>;
118+
clocks = <&pclk>, <&clk_port>, <&clk_phy>;
119+
clock-names = "pclk", "port", "general";
120+
resets = <&reset_pcie_port>, <&reset_pcie_apb>;
121+
reset-names = "port", "apb";
122+
phys = <&pcie_phy>;
123+
phy-names = "pcie";
124+
#interrupt-cells = <1>;
125+
interrupt-map-mask = <0 0 0 0>;
126+
interrupt-map = <0 0 0 0 &gic GIC_SPI 179 IRQ_TYPE_EDGE_RISING>;
127+
bus-range = <0x0 0xff>;
128+
#address-cells = <3>;
129+
#size-cells = <2>;
130+
device_type = "pci";
131+
num-lanes = <1>;
132+
ranges = <0x82000000 0 0 0xf9c00000 0 0x00300000>;
133+
};
134+
...

Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)