mbox series

[v3,0/4] PCI: dwc: Move iATU register mapping to common framework

Message ID 1601444167-11316-1-git-send-email-hayashi.kunihiko@socionext.com
Headers show
Series PCI: dwc: Move iATU register mapping to common framework | expand

Message

Kunihiko Hayashi Sept. 30, 2020, 5:36 a.m. UTC
This moves iATU register mapping in the Keystone driver to common
framework. And this adds "iatu" property description to the dt-bindings
for UniPhier PCIe host and endpoint controller.

This series is split from the previous patches:
https://www.spinics.net/lists/linux-pci/msg97608.html
"[PATCH v6 0/6] PCI: uniphier: Add features for UniPhier PCIe host controller"

This has been confirmed with PCIe version 4.80 controller on UniPhier platform.
Please comfirm this series on Keystone platform if necessary.

Changes since v2:
- dt-bindings: Fix errors from dt_binding_check

Changes since v1:
- Use to_platform_device() instead of of_find_device_by_node()
- Add Reviewed-by: line to 4th patch for keystone
- dt-bindings: Add description for uniphier-ep

Kunihiko Hayashi (4):
  dt-bindings: PCI: uniphier: Add iATU register description
  dt-bindings: PCI: uniphier-ep: Add iATU register description
  PCI: dwc: Add common iATU register support
  PCI: keystone: Remove iATU register mapping

 .../bindings/pci/socionext,uniphier-pcie-ep.yaml     | 20 ++++++++++++++------
 .../devicetree/bindings/pci/uniphier-pcie.txt        |  1 +
 drivers/pci/controller/dwc/pci-keystone.c            | 20 ++++----------------
 drivers/pci/controller/dwc/pcie-designware.c         |  5 +++++
 4 files changed, 24 insertions(+), 22 deletions(-)

Comments

Lorenzo Pieralisi Oct. 8, 2020, 11:23 a.m. UTC | #1
On Wed, Sep 30, 2020 at 02:36:03PM +0900, Kunihiko Hayashi wrote:
> This moves iATU register mapping in the Keystone driver to common
> framework. And this adds "iatu" property description to the dt-bindings
> for UniPhier PCIe host and endpoint controller.
> 
> This series is split from the previous patches:
> https://www.spinics.net/lists/linux-pci/msg97608.html
> "[PATCH v6 0/6] PCI: uniphier: Add features for UniPhier PCIe host controller"
> 
> This has been confirmed with PCIe version 4.80 controller on UniPhier platform.
> Please comfirm this series on Keystone platform if necessary.
> 
> Changes since v2:
> - dt-bindings: Fix errors from dt_binding_check
> 
> Changes since v1:
> - Use to_platform_device() instead of of_find_device_by_node()
> - Add Reviewed-by: line to 4th patch for keystone
> - dt-bindings: Add description for uniphier-ep
> 
> Kunihiko Hayashi (4):
>   dt-bindings: PCI: uniphier: Add iATU register description
>   dt-bindings: PCI: uniphier-ep: Add iATU register description
>   PCI: dwc: Add common iATU register support
>   PCI: keystone: Remove iATU register mapping
> 
>  .../bindings/pci/socionext,uniphier-pcie-ep.yaml     | 20 ++++++++++++++------
>  .../devicetree/bindings/pci/uniphier-pcie.txt        |  1 +
>  drivers/pci/controller/dwc/pci-keystone.c            | 20 ++++----------------
>  drivers/pci/controller/dwc/pcie-designware.c         |  5 +++++
>  4 files changed, 24 insertions(+), 22 deletions(-)

Applied to pci/dwc, thanks.

Lorenzo