From: Shawn Lin <shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org> To: Bjorn Helgaas <bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>, Lorenzo Pieralisi <lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org> Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Shawn Lin <shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>, Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Subject: [PATCH v4 0/6] Add endpoint driver for Rockchip PCIe controller Date: Thu, 22 Mar 2018 19:42:05 +0800 [thread overview] Message-ID: <1521718925-160084-1-git-send-email-shawn.lin@rock-chips.com> (raw) Patch 1 firstly move the whole Rockchip PCIe host driver from drivers/pci/host to a new folder, driver/pci/rockchip/, and rename pcie-rockchip.c to pcie-rockchip-host.c. It also updates the Kconfig/Makefile etc to repect this change. Then patch 2 and patch 3 are trying to spilt out some common code in preparation for adding endponit controller driver support. Patch 4 rename rockchip-pcie.txt to rockchip-pcie-host.txt. Patch 5 adds endpoint controller driver support as well as the new documentation, rockchip-pcie-ep.txt, introduced by patch 6. Changes in v4: - remove empty line - keep rockchip's order next to cadence and dwc, but we will try to resort it later when reconstructing the directories Changes in v2: - remove rockchip,rk3399-pcie-host compatible(Suggested by Rob) - fix some error handling Series-changes: 3 - fix all issues suggested by Lorenzo Shawn Lin (6): PCI: rockchip: Create individual folder for rockchip drivers PCI: rockchip: Split out common function to parse DT PCI: rockchip: Split out common function to init controller dt-bindings: PCI: rockchip: Rename rockchip-pcie.txt to rockchip-pcie-host.txt PCI: rockchip: Add Endpoint controller driver for Rockchip PCIe controller dt-bindings: PCI: rockchip: Add DT bindings for Rockchip PCIe endpoint controller .../devicetree/bindings/pci/rockchip-pcie-ep.txt | 62 ++ .../{rockchip-pcie.txt => rockchip-pcie-host.txt} | 0 MAINTAINERS | 4 +- drivers/pci/Kconfig | 1 + drivers/pci/Makefile | 1 + drivers/pci/host/Kconfig | 11 - drivers/pci/host/Makefile | 1 - drivers/pci/rockchip/Kconfig | 32 ++ drivers/pci/rockchip/Makefile | 4 + drivers/pci/rockchip/pcie-rockchip-ep.c | 638 +++++++++++++++++++++ .../pcie-rockchip-host.c} | 594 +------------------ drivers/pci/rockchip/pcie-rockchip.c | 416 ++++++++++++++ drivers/pci/rockchip/pcie-rockchip.h | 341 +++++++++++ 13 files changed, 1510 insertions(+), 595 deletions(-) create mode 100644 Documentation/devicetree/bindings/pci/rockchip-pcie-ep.txt rename Documentation/devicetree/bindings/pci/{rockchip-pcie.txt => rockchip-pcie-host.txt} (100%) create mode 100644 drivers/pci/rockchip/Kconfig create mode 100644 drivers/pci/rockchip/Makefile create mode 100644 drivers/pci/rockchip/pcie-rockchip-ep.c rename drivers/pci/{host/pcie-rockchip.c => rockchip/pcie-rockchip-host.c} (61%) create mode 100644 drivers/pci/rockchip/pcie-rockchip.c create mode 100644 drivers/pci/rockchip/pcie-rockchip.h -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: Shawn Lin <shawn.lin@rock-chips.com> To: Bjorn Helgaas <bhelgaas@google.com>, Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Rob Herring <robh+dt@kernel.org>, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-pci@vger.kernel.org, Shawn Lin <shawn.lin@rock-chips.com> Subject: [PATCH v4 0/6] Add endpoint driver for Rockchip PCIe controller Date: Thu, 22 Mar 2018 19:42:05 +0800 [thread overview] Message-ID: <1521718925-160084-1-git-send-email-shawn.lin@rock-chips.com> (raw) Patch 1 firstly move the whole Rockchip PCIe host driver from drivers/pci/host to a new folder, driver/pci/rockchip/, and rename pcie-rockchip.c to pcie-rockchip-host.c. It also updates the Kconfig/Makefile etc to repect this change. Then patch 2 and patch 3 are trying to spilt out some common code in preparation for adding endponit controller driver support. Patch 4 rename rockchip-pcie.txt to rockchip-pcie-host.txt. Patch 5 adds endpoint controller driver support as well as the new documentation, rockchip-pcie-ep.txt, introduced by patch 6. Changes in v4: - remove empty line - keep rockchip's order next to cadence and dwc, but we will try to resort it later when reconstructing the directories Changes in v2: - remove rockchip,rk3399-pcie-host compatible(Suggested by Rob) - fix some error handling Series-changes: 3 - fix all issues suggested by Lorenzo Shawn Lin (6): PCI: rockchip: Create individual folder for rockchip drivers PCI: rockchip: Split out common function to parse DT PCI: rockchip: Split out common function to init controller dt-bindings: PCI: rockchip: Rename rockchip-pcie.txt to rockchip-pcie-host.txt PCI: rockchip: Add Endpoint controller driver for Rockchip PCIe controller dt-bindings: PCI: rockchip: Add DT bindings for Rockchip PCIe endpoint controller .../devicetree/bindings/pci/rockchip-pcie-ep.txt | 62 ++ .../{rockchip-pcie.txt => rockchip-pcie-host.txt} | 0 MAINTAINERS | 4 +- drivers/pci/Kconfig | 1 + drivers/pci/Makefile | 1 + drivers/pci/host/Kconfig | 11 - drivers/pci/host/Makefile | 1 - drivers/pci/rockchip/Kconfig | 32 ++ drivers/pci/rockchip/Makefile | 4 + drivers/pci/rockchip/pcie-rockchip-ep.c | 638 +++++++++++++++++++++ .../pcie-rockchip-host.c} | 594 +------------------ drivers/pci/rockchip/pcie-rockchip.c | 416 ++++++++++++++ drivers/pci/rockchip/pcie-rockchip.h | 341 +++++++++++ 13 files changed, 1510 insertions(+), 595 deletions(-) create mode 100644 Documentation/devicetree/bindings/pci/rockchip-pcie-ep.txt rename Documentation/devicetree/bindings/pci/{rockchip-pcie.txt => rockchip-pcie-host.txt} (100%) create mode 100644 drivers/pci/rockchip/Kconfig create mode 100644 drivers/pci/rockchip/Makefile create mode 100644 drivers/pci/rockchip/pcie-rockchip-ep.c rename drivers/pci/{host/pcie-rockchip.c => rockchip/pcie-rockchip-host.c} (61%) create mode 100644 drivers/pci/rockchip/pcie-rockchip.c create mode 100644 drivers/pci/rockchip/pcie-rockchip.h -- 1.9.1
next reply other threads:[~2018-03-22 11:42 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-03-22 11:42 Shawn Lin [this message] 2018-03-22 11:42 ` [PATCH v4 0/6] Add endpoint driver for Rockchip PCIe controller Shawn Lin [not found] ` <1521718925-160084-1-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2018-03-22 11:42 ` [PATCH v4 1/6] PCI: rockchip: Create individual folder for rockchip drivers Shawn Lin 2018-03-22 11:42 ` Shawn Lin 2018-03-22 11:42 ` [PATCH v4 2/6] PCI: rockchip: Split out common function to parse DT Shawn Lin 2018-03-22 11:42 ` Shawn Lin 2018-03-22 11:42 ` [PATCH v4 3/6] PCI: rockchip: Split out common function to init controller Shawn Lin 2018-03-22 11:42 ` Shawn Lin 2018-03-22 11:43 ` [PATCH v4 4/6] dt-bindings: PCI: rockchip: Rename rockchip-pcie.txt to rockchip-pcie-host.txt Shawn Lin 2018-03-22 11:43 ` Shawn Lin 2018-03-22 11:43 ` [PATCH v4 5/6] PCI: rockchip: Add Endpoint controller driver for Rockchip PCIe controller Shawn Lin 2018-03-22 11:43 ` Shawn Lin 2018-03-22 11:43 ` [PATCH v4 6/6] dt-bindings: PCI: rockchip: Add DT bindings for Rockchip PCIe endpoint controller Shawn Lin 2018-03-22 11:43 ` Shawn Lin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1521718925-160084-1-git-send-email-shawn.lin@rock-chips.com \ --to=shawn.lin-tnx95d0mmh7dzftrwevzcw@public.gmane.org \ --cc=bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \ --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org \ --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.