Heiko Stuebner
639f666cf8
dt-bindings: PCI: dwc: rockchip: Document optional PCIe reference clock input
...
On some boards the 100MHz PCIe reference clock to both controller and
devices is controllable. Add that clock to the list of clocks.
The clock is optional, so the minItems stays the same.
Link: https://lore.kernel.org/linux-pci/20231206145041.667900-1-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de >
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
2023-12-16 00:06:29 +00:00
Sebastian Reichel
7cd8f2ab79
dt-bindings: PCI: dwc: rockchip: Add missing legacy-interrupt-controller
...
Rockchip RK356x and RK3588 handle legacy interrupts via a ganged
interrupts. The RK356x DT implements this via a sub-node named
"legacy-interrupt-controller", just like a couple of other PCIe
implementations. This adds proper documentation for this and updates
the example to avoid regressions.
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com >
Link: https://lore.kernel.org/r/20230731165723.53069-5-sebastian.reichel@collabora.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-08-16 10:09:19 -06:00
Sebastian Reichel
591d383315
dt-bindings: PCI: dwc: rockchip: Use generic binding
...
Use the generic binding for Rockchip. This should either be
ignored/dropped or squashed into the previous commit.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com >
Link: https://lore.kernel.org/r/20230731165723.53069-4-sebastian.reichel@collabora.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-08-16 10:09:19 -06:00
Sebastian Reichel
ebce9f6623
dt-bindings: PCI: dwc: rockchip: Fix interrupt-names issue
...
The RK356x (and RK3588) have 5 ganged interrupts. For example the
"legacy" interrupt combines "inta/intb/intc/intd" with a register
providing the details, which specific interrupt triggered. The
interrupts from the second level are part of the Synopsys DW PCIe
System Information Interface (SII). Some of them are listed in the
Interrupt Signals section, the others are mostly common SII output
signals. The grouping and the ganged interrupt controllers are
specific to the Rockchip implementation.
Currently the binding is not specifying these interrupts resulting
in a bunch of errors for all rk356x/rk3588 boards using PCIe.
Fix this by specifying the interrupts and add them to the example
to prevent regressions.
This changes the reference from snps,dw-pcie.yaml to
snps,dw-pcie-common.yaml, since the interrupts are vendor
specific and should not be listed in the generic file. The
only other bit from the generic binding are the reg-names,
which are overwritten by this binding.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com >
Link: https://lore.kernel.org/r/20230731165723.53069-3-sebastian.reichel@collabora.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-08-16 10:09:19 -06:00
Sebastian Reichel
3216ceeb70
dt-bindings: PCI: dwc: rockchip: Update for RK3588
...
The PCIe 2.0 controllers on RK3588 need one additional clock,
one additional reset line and one for ranges entry.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20230616170022.76107-4-sebastian.reichel@collabora.com
Signed-off-by: Rob Herring <robh@kernel.org >
2023-06-27 07:54:00 -06:00
Lucas Tanure
13803c86e2
dt-bindings: PCI: dwc: Add rk3588 compatible
...
PCIe for RK3588 is the same as RK3568.
Signed-off-by: Lucas Tanure <lucas.tanure@collabora.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230314135555.44162-2-lucas.tanure@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org >
2023-03-31 19:25:37 +05:30
Serge Semin
98b59129cb
dt-bindings: PCI: dwc: Apply common schema to Rockchip DW PCIe nodes
...
As the DT-bindings description states the Rockchip PCIe controller is
based on the DW PCIe RP IP-core thus its DT-nodes are supposed to be
compatible with the common DW PCIe controller schema. Let's make sure they
are evaluated against it by referring to the snps,dw-pcie.yaml schema in
the allOf sub-schemas composition.
Link: https://lore.kernel.org/r/20221113191301.5526-14-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru >
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org >
Reviewed-by: Rob Herring <robh@kernel.org >
2022-11-23 16:01:55 +01:00
Peter Geis
931262e646
dt-bindings: PCI: Remove fallback from Rockchip DesignWare binding
...
The snps,dw-pcie binds to a standalone driver. It is not fully
compatible with the Rockchip implementation and causes a hang if it
binds to the device.
Remove this binding as a valid fallback.
Link: https://lore.kernel.org/r/20220429123832.2376381-2-pgwipeout@gmail.com
Signed-off-by: Peter Geis <pgwipeout@gmail.com >
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com >
Reviewed-by: Rob Herring <robh@kernel.org >
2022-05-11 16:01:25 +01:00
Simon Xue
af7cda832f
dt-bindings: rockchip: Add DesignWare based PCIe controller
...
Document DT bindings for PCIe controller found on Rockchip SoC.
Link: https://lore.kernel.org/r/20210818093406.157788-1-xxm@rock-chips.com
Signed-off-by: Simon Xue <xxm@rock-chips.com >
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Kever Yang <kever.yang@rock-chips.com >
2021-10-13 14:59:41 +01:00