* [PATCH v2 0/2] Renesas R-Car gen3 PCIe PHY driver/bindings
@ 2018-06-10 18:21 Sergei Shtylyov
2018-06-10 18:22 ` [PATCH v2 1/2] dt-bindings: phy: Renesas R-Car Gen3 PCIe PHY bindings Sergei Shtylyov
0 siblings, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2018-06-10 18:21 UTC (permalink / raw)
To: Rob Herring, Kishon Vijay Abraham I, devicetree
Cc: Mark Rutland, linux-renesas-soc
Hello!
Here's the set of 2 patches against Kishon Vijay Abraham's 'linux.git' repo's
'next' branch. We're adding the Renesas R-Car gen3 (namely R-Car V3H) PCIe PHY
driver and the device tree bindings for it...
[1/2] dt-bindings: phy: Renesas R-Car Gen3 PCIe PHY bindings
[2/2] phy: Renesas R-Car gen3 PCIe PHY driver
MBR, Sergei
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] dt-bindings: phy: Renesas R-Car Gen3 PCIe PHY bindings
2018-06-10 18:21 [PATCH v2 0/2] Renesas R-Car gen3 PCIe PHY driver/bindings Sergei Shtylyov
@ 2018-06-10 18:22 ` Sergei Shtylyov
2018-06-11 8:12 ` Simon Horman
2018-06-12 19:28 ` Rob Herring
0 siblings, 2 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2018-06-10 18:22 UTC (permalink / raw)
To: Rob Herring, devicetree
Cc: Kishon Vijay Abraham I, Mark Rutland, linux-renesas-soc
This PHY is still mostly undocumented -- the only documented registers
exist on R-Car V3H (R8A77980) SoC. Add the corresponding device tree
bindings.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
Changes in version 2:
- split from the big driver/bindings patch;
- got rid of the generic R-Car gen3 "compatible" prop value.
Documentation/devicetree/bindings/phy/rcar-gen3-phy-pcie.txt | 24 +++++++++++
1 file changed, 24 insertions(+)
Index: linux-phy/Documentation/devicetree/bindings/phy/rcar-gen3-phy-pcie.txt
===================================================================
--- /dev/null
+++ linux-phy/Documentation/devicetree/bindings/phy/rcar-gen3-phy-pcie.txt
@@ -0,0 +1,24 @@
+* Renesas R-Car generation 3 PCIe PHY
+
+This file provides information on what the device node for the R-Car
+generation 3 PCIe PHY contains.
+
+Required properties:
+- compatible: "renesas,r8a77980-pcie-phy" if the device is a part of the
+ R8A77980 SoC.
+- reg: offset and length of the register block.
+- clocks: clock phandle and specifier pair.
+- power-domains: power domain phandle and specifier pair.
+- resets: reset phandle and specifier pair.
+- #phy-cells: see phy-bindings.txt in the same directory, must be <0>.
+
+Example (R-Car V3H):
+
+ pcie-phy@e65d0000 {
+ compatible = "renesas,r8a77980-pcie-phy";
+ reg = <0 0xe65d0000 0 0x8000>;
+ #phy-cells = <0>;
+ clocks = <&cpg CPG_MOD 319>;
+ power-domains = <&sysc 32>;
+ resets = <&cpg 319>;
+ };
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: phy: Renesas R-Car Gen3 PCIe PHY bindings
2018-06-10 18:22 ` [PATCH v2 1/2] dt-bindings: phy: Renesas R-Car Gen3 PCIe PHY bindings Sergei Shtylyov
@ 2018-06-11 8:12 ` Simon Horman
2018-06-12 19:28 ` Rob Herring
1 sibling, 0 replies; 4+ messages in thread
From: Simon Horman @ 2018-06-11 8:12 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Rob Herring, devicetree, Kishon Vijay Abraham I, Mark Rutland,
linux-renesas-soc
On Sun, Jun 10, 2018 at 09:22:46PM +0300, Sergei Shtylyov wrote:
> This PHY is still mostly undocumented -- the only documented registers
> exist on R-Car V3H (R8A77980) SoC. Add the corresponding device tree
> bindings.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
> Changes in version 2:
> - split from the big driver/bindings patch;
> - got rid of the generic R-Car gen3 "compatible" prop value.
>
> Documentation/devicetree/bindings/phy/rcar-gen3-phy-pcie.txt | 24 +++++++++++
> 1 file changed, 24 insertions(+)
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
>
> Index: linux-phy/Documentation/devicetree/bindings/phy/rcar-gen3-phy-pcie.txt
> ===================================================================
> --- /dev/null
> +++ linux-phy/Documentation/devicetree/bindings/phy/rcar-gen3-phy-pcie.txt
> @@ -0,0 +1,24 @@
> +* Renesas R-Car generation 3 PCIe PHY
> +
> +This file provides information on what the device node for the R-Car
> +generation 3 PCIe PHY contains.
> +
> +Required properties:
> +- compatible: "renesas,r8a77980-pcie-phy" if the device is a part of the
> + R8A77980 SoC.
> +- reg: offset and length of the register block.
> +- clocks: clock phandle and specifier pair.
> +- power-domains: power domain phandle and specifier pair.
> +- resets: reset phandle and specifier pair.
> +- #phy-cells: see phy-bindings.txt in the same directory, must be <0>.
> +
> +Example (R-Car V3H):
> +
> + pcie-phy@e65d0000 {
> + compatible = "renesas,r8a77980-pcie-phy";
> + reg = <0 0xe65d0000 0 0x8000>;
> + #phy-cells = <0>;
> + clocks = <&cpg CPG_MOD 319>;
> + power-domains = <&sysc 32>;
> + resets = <&cpg 319>;
> + };
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: phy: Renesas R-Car Gen3 PCIe PHY bindings
2018-06-10 18:22 ` [PATCH v2 1/2] dt-bindings: phy: Renesas R-Car Gen3 PCIe PHY bindings Sergei Shtylyov
2018-06-11 8:12 ` Simon Horman
@ 2018-06-12 19:28 ` Rob Herring
1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2018-06-12 19:28 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: devicetree, Kishon Vijay Abraham I, Mark Rutland,
linux-renesas-soc
On Sun, Jun 10, 2018 at 09:22:46PM +0300, Sergei Shtylyov wrote:
> This PHY is still mostly undocumented -- the only documented registers
> exist on R-Car V3H (R8A77980) SoC. Add the corresponding device tree
> bindings.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
> Changes in version 2:
> - split from the big driver/bindings patch;
> - got rid of the generic R-Car gen3 "compatible" prop value.
>
> Documentation/devicetree/bindings/phy/rcar-gen3-phy-pcie.txt | 24 +++++++++++
> 1 file changed, 24 insertions(+)
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-06-12 19:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-10 18:21 [PATCH v2 0/2] Renesas R-Car gen3 PCIe PHY driver/bindings Sergei Shtylyov
2018-06-10 18:22 ` [PATCH v2 1/2] dt-bindings: phy: Renesas R-Car Gen3 PCIe PHY bindings Sergei Shtylyov
2018-06-11 8:12 ` Simon Horman
2018-06-12 19:28 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox