From mboxrd@z Thu Jan 1 00:00:00 1970 From: WingMan Kwok Subject: [PATCH v1 0/2] Common SerDes driver for TI's Keystone Platforms Date: Thu, 15 Oct 2015 10:25:43 -0400 Message-ID: <1444919145-30845-1-git-send-email-w-kwok2@ti.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: linux-pci-owner@vger.kernel.org To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, kishon@ti.com, rogerq@ti.com, m-karicheri2@ti.com, bhelgaas@google.com, ssantosh@kernel.org, linux@arm.linux.org.uk, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: WingMan Kwok List-Id: devicetree@vger.kernel.org On TI's Keystone platforms, several peripherals such as the gbe ethernet switch, 10gbe ethether switch and PCIe controller require the use of a SerDes for converting SoC parallel data into serialized data that can be output over a high-speed electrical interface, and also converting high-speed serial input data into parallel data that can be processed by the SoC. The SerDeses used by those peripherals, though they may be different, are largely similar in functionality and setup. This patch series provides a SerDes phy driver implementation that can be used by the above mentioned peripheral drivers to configure their respective SerDeses. As an example of the using the SerDes driver, this patch series also updates the Keystone PCIe host driver to enable and use its SerDes block. References: [1] KeyStone II Architecture Serializer/Deserializer (SerDes) User's Guide (http://www.ti.com/lit/ug/spruho3a/spruho3a.pdf) v1: - addresses the following review comments 1. https://lkml.org/lkml/2015/10/13/803 2. https://lkml.org/lkml/2015/10/14/613 3. https://lkml.org/lkml/2015/10/13/818 - An update to PCIe dts bindings to enable the PCIe SerDes is submitted in a separate patch. WingMan Kwok (2): phy: keystone: serdes driver for gbe 10gbe and pcie PCI: keystone: update to use generic keystone serdes driver Documentation/devicetree/bindings/phy/ti-phy.txt | 278 +++ drivers/pci/host/pci-keystone.c | 54 +- drivers/pci/host/pci-keystone.h | 2 + drivers/phy/Kconfig | 8 + drivers/phy/Makefile | 1 + drivers/phy/phy-keystone-serdes.c | 2373 ++++++++++++++++++++++ 6 files changed, 2707 insertions(+), 9 deletions(-) create mode 100644 drivers/phy/phy-keystone-serdes.c -- 1.7.9.5