linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Add endpoint driver for Rockchip PCIe controller
@ 2018-02-23  1:15 Shawn Lin
  2018-02-23  1:15 ` [PATCH v2 1/6] PCI: rockchip: Create individual folder for rockchip drivers Shawn Lin
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Shawn Lin @ 2018-02-23  1:15 UTC (permalink / raw)
  To: Bjorn Helgaas, Lorenzo Pieralisi
  Cc: Rob Herring, devicetree, linux-rockchip, Heiko Stuebner,
	linux-pci, Shawn Lin


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 update 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 v2:
- remove rockchip,rk3399-pcie-host compatible(Suggested by Rob)
- fix some error handling

Shawn Lin (6):
  PCI: rockchip: Create individual folder for rockchip drivers
  PCI: rockchip: Split out common function to parse DT
  PCI: rockchip: Spilt 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                               |   2 +
 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            | 641 +++++++++++++++++++++
 .../pcie-rockchip-host.c}                          | 594 +------------------
 drivers/pci/rockchip/pcie-rockchip.c               | 417 ++++++++++++++
 drivers/pci/rockchip/pcie-rockchip.h               | 343 +++++++++++
 13 files changed, 1517 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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: [PATCH v2 0/6] Add endpoint driver for Rockchip PCIe controller
@ 2018-02-24 10:55 JeffyChen
  0 siblings, 0 replies; 16+ messages in thread
From: JeffyChen @ 2018-02-24 10:55 UTC (permalink / raw)
  To: Shawn Lin, Bjorn Helgaas, Lorenzo Pieralisi
  Cc: devicetree, Heiko Stuebner, linux-pci, linux-rockchip,
	Rob Herring

Hi guys,

tested on my chromebook kevin, with this series and enable 
CONFIG_PCIE_ROCKCHIP_HOST, the pcie wifi(mrvl 8997) still works.

so,

Tested-by: Jeffy Chen <jeffy.chen@rock-chips.com>


On 02/23/2018 09:15 AM, Shawn Lin wrote:
 >
> 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 update 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 v2:
> - remove rockchip,rk3399-pcie-host compatible(Suggested by Rob)
> - fix some error handling
>
> Shawn Lin (6):
>    PCI: rockchip: Create individual folder for rockchip drivers
>    PCI: rockchip: Split out common function to parse DT
>    PCI: rockchip: Spilt 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                               |   2 +
>   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            | 641 +++++++++++++++++++++
>   .../pcie-rockchip-host.c}                          | 594 +------------------
>   drivers/pci/rockchip/pcie-rockchip.c               | 417 ++++++++++++++
>   drivers/pci/rockchip/pcie-rockchip.h               | 343 +++++++++++
>   13 files changed, 1517 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
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-03-02 15:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-23  1:15 [PATCH v2 0/6] Add endpoint driver for Rockchip PCIe controller Shawn Lin
2018-02-23  1:15 ` [PATCH v2 1/6] PCI: rockchip: Create individual folder for rockchip drivers Shawn Lin
2018-02-23  1:16 ` [PATCH v2 2/6] PCI: rockchip: Split out common function to parse DT Shawn Lin
2018-02-23  1:16 ` [PATCH v2 3/6] PCI: rockchip: Spilt out common function to init controller Shawn Lin
2018-02-25  0:51   ` [v2,3/6] " JeffyChen
2018-02-27 11:29   ` [PATCH v2 3/6] " Lorenzo Pieralisi
2018-02-23  1:17 ` [PATCH v2 4/6] dt-bindings: PCI: rockchip: Rename rockchip-pcie.txt to rockchip-pcie-host.txt Shawn Lin
2018-03-02 15:10   ` Rob Herring
2018-02-23  1:17 ` [PATCH v2 5/6] PCI: rockchip: Add Endpoint controller driver for Rockchip PCIe controller Shawn Lin
2018-02-27 15:32   ` Lorenzo Pieralisi
2018-02-28  1:40     ` Shawn Lin
2018-02-28 11:22       ` Lorenzo Pieralisi
2018-02-28 12:11   ` Lorenzo Pieralisi
2018-03-01  3:45     ` Shawn Lin
2018-02-23  1:17 ` [PATCH v2 6/6] dt-bindings: PCI: rockchip: Add DT bindings for Rockchip PCIe endpoint controller Shawn Lin
  -- strict thread matches above, loose matches on Subject: below --
2018-02-24 10:55 [PATCH v2 0/6] Add endpoint driver for Rockchip PCIe controller JeffyChen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).