On Mon, Aug 12, 2013 at 12:46 PM, Sebastian Hesselbarth <sebastian.hesselbarth@xxxxxxxxx> wrote: > This patch set adds support for the PCIe controllers found on Marvell > Dove SoCs. It depends on mvebu-pci patches sent by Thomas Petazzoni. > Also, it adds support for the Globalscale D3Plug - a Dove based board > comprising a USB3.0 dual port controller and a mini-PCIe port. The > mini-PCIe port has not been tested, but USB controller and attached > USB stick has been detected. > > The patch set can be separated into two main parts and should be > taken by the respective maintainers. First five patches belong to > PCI driver for MVEBU SoCs, while last four patches are Marvell Dove > related. It is based on (unstable) mvebu/for-next branch with MSI > patches applied and will be rebased on request. > > Devicetree and Doc MLs are not Cc'ed for the driver-only patches, > PCI ML and maintainer are not Cc'ed for the Dove-only patches. > > Patches 1 and 2 fix some minor issues with pci-mvebu by moving > clk_prepare_enable before accessing any controller registers and > counting sucessfully registered ports only. > > Patch 3 converts pci-mvebu from subsys_initcall registration to > normal platform driver registration to allow it to fail with > EPROBE_DEFER later. > > Patch 4 adds DT parsing for reset (PERST#) GPIO pins and delay to > wait for PCIe devices after reset de-assertion. > > Patch 5 finally adds a compatible to pci-mvebu for Dove SoCs. I'm happy to merge patches 1-5 for v3.12 if you like, given acks from Thomas. > Patch 6 updates dove_defconfig with some useful options for the > Si5351 i2c clock generator found on SolidRun CuBox, PCIe driver, > and USB3.0 xHCI driver. > > Patches 7 and 8 add PCIe controller nodes to Dove SoC DT and > add support for the Globalscale D3Plug where this patches have > been tested on. > > Patch 8 finally removes legacy PCIe driver init and clock > gate workarounds from DT based Dove init. > > Sebastian Hesselbarth (9): > PCI: mvebu: move clock enable before register access > PCI: mvebu: increment nports only for registered ports > PCI: mvebu: remove subsys_initcall > PCI: mvebu: add support for reset on GPIO > PCI: mvebu: add support for Marvell Dove SoCs > ARM: dove: update dove_defconfig with SI5351, PCI, and xHCI > ARM: dove: add PCIe controllers to SoC DT > ARM: dove: add initial DT file for Globalscale D3Plug > ARM: dove: remove legacy pcie and clock init > > .../devicetree/bindings/pci/mvebu-pci.txt | 3 + > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/dove-d3plug.dts | 103 ++++++++++++++++++ > arch/arm/boot/dts/dove.dtsi | 54 ++++++++++ > arch/arm/configs/dove_defconfig | 4 + > arch/arm/mach-dove/board-dt.c | 29 ----- > drivers/pci/host/Kconfig | 2 +- > drivers/pci/host/pci-mvebu.c | 113 +++++++++++++------- > 8 files changed, 241 insertions(+), 68 deletions(-) > create mode 100644 arch/arm/boot/dts/dove-d3plug.dts > --- > Cc: Russell King <linux@xxxxxxxxxxxxxxxx> > Cc: Jason Cooper <jason@xxxxxxxxxxxxxx> > Cc: Andrew Lunn <andrew@xxxxxxx> > Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> > Cc: Olof Johansson <olof@xxxxxxxxx> > Cc: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx> > Cc: devicetree@xxxxxxxxxxxxxxx > Cc: linux-doc@xxxxxxxxxxxxxxx > Cc: linux-kernel@xxxxxxxxxxxxxxx > Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx > Cc: linux-pci@xxxxxxxxxxxxxxx > -- > 1.7.10.4 > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html