]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: rcar: Add R-Car gen3 PHY support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 3 May 2018 19:40:54 +0000 (22:40 +0300)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 4 May 2018 09:21:15 +0000 (10:21 +0100)
commit085c3caf2d8c638f9e79b2d644363dac16856b1e
tree4f0cd8ae38bd60274c06c901eced12e778804b0e
parentd9f9665d6cc1ee2039448b8a03a2a06ea85dc0f1
PCI: rcar: Add R-Car gen3 PHY support

On R-Car gen3 SoCs the PCIe PHY has its own register region, thus we
need to add the corresponding code in rcar_pcie_hw_init_gen3() and call
devm_phy_optional_get() at the driver's probing time, so that the
existing R-Car gen3 device trees (not having a PHY node) would still
work (we only need to power up the PHY on R-Car V3H).

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pci/rcar-pci.txt
drivers/pci/host/pcie-rcar.c