From: Kishon Vijay Abraham I <kishon-l0cyMroinI0@public.gmane.org>
To: Subbaraya Sundeep Bhatta
<subbaraya.sundeep.bhatta-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>,
robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Cc: balbi-l0cyMroinI0@public.gmane.org,
gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Subbaraya Sundeep Bhatta
<sbhatta-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH 1/2] phy: zynqmp: Add dt bindings for ZynqMP PHY.
Date: Wed, 13 Jan 2016 16:38:58 +0530 [thread overview]
Message-ID: <5696304A.8090508@ti.com> (raw)
In-Reply-To: <1452676943-18931-1-git-send-email-sbhatta-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
Hi,
On Wednesday 13 January 2016 02:52 PM, Subbaraya Sundeep Bhatta wrote:
> This patch adds the document describing dt bindings for ZynqMP
> PHY. ZynqMP SOC has a High Speed Processing System Gigabit
> Transceiver which provides PHY capabilties to USB, SATA,
> PCIE, Display Port and Ehernet SGMII controllers.
>
> Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
> ---
> .../devicetree/bindings/phy/phy-zynqmp.txt | 104 +++++++++++++++++++++
> 1 file changed, 104 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/phy/phy-zynqmp.txt
>
> diff --git a/Documentation/devicetree/bindings/phy/phy-zynqmp.txt b/Documentation/devicetree/bindings/phy/phy-zynqmp.txt
> new file mode 100644
> index 0000000..ec0d3de
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/phy/phy-zynqmp.txt
> @@ -0,0 +1,104 @@
> +Xilinx ZynqMP PHY binding
> +
> +This binding describes a ZynqMP PHY device that is used to control ZynqMP
> +High Speed Gigabit Transceiver(GT). ZynqMP PS GTR provides four lanes
> +and are used by USB, SATA, PCIE, Display port and Ethernet SGMMI controllers.
> +
> +Required properties (controller (parent) node):
> +- compatible : Should be "xlnx,zynqmp-psgtr"
> +
> +- reg : Address and length of register sets for each device in
> + "reg-names"
> +- reg-names : The names of the register addresses corresponding to the
> + registers filled in "reg":
> + - serdes: SERDES block register set
> + - siou: SIOU block register set
> + - lpd: Low power domain peripherals reset control
> + - fpd: Full power domain peripherals reset control
> +
> +-xlnx,tx_termination_fix: Include fix for a functional issue in the GT. The TX
> + termination resistance can be out of spec due to a
> + bug in the calibration logic. This issue will be fixed
> + in silicon in future versions.
> +
> +Required nodes : A sub-node is required for each lane the controller
> + provides. These nodes are translated by the driver's
> + .xlate() function.
driver details need not be in the binding documentation.
> +
> +Required properties (port (child) nodes):
> +lane0:
> +- #phy-cells : Should be 1
> + Cell after port phandle is device type from:
> + - XPSGTR_TYPE_PCIE_0
> + - XPSGTR_TYPE_SATA_0
> + - XPSGTR_TYPE_USB0
> + - XPSGTR_TYPE_DP_1
> + - XPSGTR_TYPE_SGMII0
Why not use the already existing PHY TYPES?
phy-cells can be made as '2' and the last cell can be used as index if that's
required.
Thanks
Kishon
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Kishon Vijay Abraham I <kishon@ti.com>
To: Subbaraya Sundeep Bhatta <subbaraya.sundeep.bhatta@xilinx.com>,
<robh@kernel.org>
Cc: <balbi@ti.com>, <gregkh@linuxfoundation.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
Subject: Re: [PATCH 1/2] phy: zynqmp: Add dt bindings for ZynqMP PHY.
Date: Wed, 13 Jan 2016 16:38:58 +0530 [thread overview]
Message-ID: <5696304A.8090508@ti.com> (raw)
In-Reply-To: <1452676943-18931-1-git-send-email-sbhatta@xilinx.com>
Hi,
On Wednesday 13 January 2016 02:52 PM, Subbaraya Sundeep Bhatta wrote:
> This patch adds the document describing dt bindings for ZynqMP
> PHY. ZynqMP SOC has a High Speed Processing System Gigabit
> Transceiver which provides PHY capabilties to USB, SATA,
> PCIE, Display Port and Ehernet SGMII controllers.
>
> Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
> ---
> .../devicetree/bindings/phy/phy-zynqmp.txt | 104 +++++++++++++++++++++
> 1 file changed, 104 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/phy/phy-zynqmp.txt
>
> diff --git a/Documentation/devicetree/bindings/phy/phy-zynqmp.txt b/Documentation/devicetree/bindings/phy/phy-zynqmp.txt
> new file mode 100644
> index 0000000..ec0d3de
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/phy/phy-zynqmp.txt
> @@ -0,0 +1,104 @@
> +Xilinx ZynqMP PHY binding
> +
> +This binding describes a ZynqMP PHY device that is used to control ZynqMP
> +High Speed Gigabit Transceiver(GT). ZynqMP PS GTR provides four lanes
> +and are used by USB, SATA, PCIE, Display port and Ethernet SGMMI controllers.
> +
> +Required properties (controller (parent) node):
> +- compatible : Should be "xlnx,zynqmp-psgtr"
> +
> +- reg : Address and length of register sets for each device in
> + "reg-names"
> +- reg-names : The names of the register addresses corresponding to the
> + registers filled in "reg":
> + - serdes: SERDES block register set
> + - siou: SIOU block register set
> + - lpd: Low power domain peripherals reset control
> + - fpd: Full power domain peripherals reset control
> +
> +-xlnx,tx_termination_fix: Include fix for a functional issue in the GT. The TX
> + termination resistance can be out of spec due to a
> + bug in the calibration logic. This issue will be fixed
> + in silicon in future versions.
> +
> +Required nodes : A sub-node is required for each lane the controller
> + provides. These nodes are translated by the driver's
> + .xlate() function.
driver details need not be in the binding documentation.
> +
> +Required properties (port (child) nodes):
> +lane0:
> +- #phy-cells : Should be 1
> + Cell after port phandle is device type from:
> + - XPSGTR_TYPE_PCIE_0
> + - XPSGTR_TYPE_SATA_0
> + - XPSGTR_TYPE_USB0
> + - XPSGTR_TYPE_DP_1
> + - XPSGTR_TYPE_SGMII0
Why not use the already existing PHY TYPES?
phy-cells can be made as '2' and the last cell can be used as index if that's
required.
Thanks
Kishon
next prev parent reply other threads:[~2016-01-13 11:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-13 9:22 [PATCH 1/2] phy: zynqmp: Add dt bindings for ZynqMP PHY Subbaraya Sundeep Bhatta
2016-01-13 9:22 ` Subbaraya Sundeep Bhatta
[not found] ` <1452676943-18931-1-git-send-email-sbhatta-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2016-01-13 11:08 ` Kishon Vijay Abraham I [this message]
2016-01-13 11:08 ` Kishon Vijay Abraham I
[not found] ` <5696304A.8090508-l0cyMroinI0@public.gmane.org>
2016-01-13 11:49 ` Subbaraya Sundeep Bhatta
2016-01-13 11:49 ` Subbaraya Sundeep Bhatta
2016-01-13 11:59 ` Kishon Vijay Abraham I
2016-01-13 15:25 ` Sören Brinkmann
2016-01-13 15:25 ` Sören Brinkmann
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=5696304A.8090508@ti.com \
--to=kishon-l0cymroini0@public.gmane.org \
--cc=balbi-l0cyMroinI0@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=sbhatta-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org \
--cc=subbaraya.sundeep.bhatta-gjFFaj9aHVfQT0dZR+AlfA@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: link
Be 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.