Hi Xuwei,
All drivers needed to support PCIe on HiKey 970 were merged
for Kernel 5.16:
- The PHY driver went via PHY tree;
- The pcie-kirin changes went via PCI-DWC tree;
- The dt-bindings documentation went via DT tree.
The only missing piece of the puzzle is the DTS file.
It follows the documentation at:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml
and it is pratically identical[1] to the second example there.
[1] The only difference is that, on the example, I had to use a
different address to avoid conflicts with the HiKey960
example - as - on both hardware - the pcie is at f4000000.
Manivannan Sadhasivam (1):
arm64: dts: HiSilicon: Add support for HiKey 970 PCIe controller
hardware
arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 107 ++++++++++++++++++++++
1 file changed, 107 insertions(+)
--
2.31.1