From patchwork Wed Oct 16 11:31:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 176456 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp7233630ill; Wed, 16 Oct 2019 04:31:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0oim8KfR6wVpkgwEmB36Ze+AqlCAKtrYoFLNBRSJ3y46i6DfRook/fZ7bs4gy/9JYej2T X-Received: by 2002:a50:fc9a:: with SMTP id f26mr38129723edq.217.1571225516346; Wed, 16 Oct 2019 04:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571225516; cv=none; d=google.com; s=arc-20160816; b=w9IOfZj3euUIuZJ/UlPxQGBVCwQoWxkprPKk6DreuxDyc+mvgelobNhqVoJDZj8IuV mPwQQhooK0sBzoG5Hkd/3GUGHizbIPquRUzu4EIfVk7awdEaN0k2JxmTyp4ilU70J7Ek S8N80bY82UgAh1kiPUvGIO28lO0a5NUivL0oGkkw5siK1AssXGarI18RxphdAUI1sg+8 vHGaq/mOk1/MxE2ZWGZNGkNVnfEEhf+ptQZ9dR4RiTZw678fpN1jz+NKNgx3OZzB1drO hPN5c7ISBWuwz1N8B+XzV+UvhM7NabiUI5T91UxTOH9b0yD11719Xo/mqNHd2dOIOPA2 g5nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=WUkid3uSZ5G9AdqsLWEwpgjUhaC3e/yVM4i69sFJaYw=; b=jy0NlMPEmz99C8lL+tZZ9cK6VinCLiuZGk45fyGf0iQ+FUznmvCiUIqPnVdhQbANwm ed/rCa0PXplhBiB6kLYc84abOzPcT7OIclYplMdwFv7LJREwlml8t2BP9Zav09Oh+OcS VgGCVshRqyKCGIiVgcAGOgIGlmLPT7UrQTTi4rdrrck2P/ZgkPWxDTQ8qVSKnc4nwL7z +NZELKChH49u2KZqkY2WZM5rdwQGl3Jk4dF16wvCuBPCfk/hGf+6NZE8mY/UtlJ1Fbxg xsQUJc2QNMNpH4YPqDpHSp802VfjoxKujJlkNuawjCMY0ZUqOWLLP2X3XLq7ANvgmzmC VFsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yLN4r97f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x14si15564190edq.49.2019.10.16.04.31.56; Wed, 16 Oct 2019 04:31:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yLN4r97f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404974AbfJPLbw (ORCPT + 26 others); Wed, 16 Oct 2019 07:31:52 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:34116 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728372AbfJPLbv (ORCPT ); Wed, 16 Oct 2019 07:31:51 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9GBVnhp081730; Wed, 16 Oct 2019 06:31:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1571225509; bh=WUkid3uSZ5G9AdqsLWEwpgjUhaC3e/yVM4i69sFJaYw=; h=From:To:CC:Subject:Date; b=yLN4r97fgZWw1+eTcy7QebJzucU6++uY+O4ikm+OtLMmw5SAaSp1q22ciUywHeoaJ Dyxkh3hwY+4pKKn1VyW7TsGtVOGofyVBBONVrQOzxtO90KtfZRveqtfLqeEQfORXUs wbeDzCW8M9Um6S3NPSTW3IoyT6HHuiS/EJBx9qaA= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x9GBVnx0079808 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 16 Oct 2019 06:31:49 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 16 Oct 2019 06:31:49 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 16 Oct 2019 06:31:42 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x9GBVkm4097485; Wed, 16 Oct 2019 06:31:47 -0500 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Roger Quadros , Jyri Sarha CC: Anil Varughese , , Subject: [PATCH 00/13] PHY: Add support for SERDES in TI's J721E SoC Date: Wed, 16 Oct 2019 17:01:04 +0530 Message-ID: <20191016113117.12370-1-kishon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org TI's J721E SoC uses Cadence Sierra SERDES for USB, PCIe and SGMII. TI has a wrapper named WIZ to control input signals to Sierra and Torrent SERDES. This patch series: 1) Add support to WIZ module present in TI's J721E SoC 2) Adapt Cadence Sierra PHY driver to be used for J721E SoC Anil Varughese (1): phy: cadence: Sierra: Configure both lane cdb and common cdb registers for external SSC Kishon Vijay Abraham I (12): dt-bindings: phy: Sierra: Add bindings for Sierra in TI's J721E phy: cadence: Sierra: Make "phy_clk" and "sierra_apb" optional resources phy: cadence: Sierra: Use "regmap" for read and write to Sierra registers phy: cadence: Sierra: Add support for SERDES_16G used in J721E SoC phy: cadence: Sierra: Make cdns_sierra_phy_init() as phy_ops phy: cadence: Sierra: Modify register macro names to be in sync with Sierra user guide phy: cadence: Sierra: Get reset control "array" for each link phy: cadence: Sierra: Check for PLL lock during PHY power on phy: cadence: Sierra: Change MAX_LANES of Sierra to 16 phy: cadence: Sierra: Set cmn_refclk/cmn_refclk1 frequency to 25MHz dt-bindings: phy: Document WIZ (SERDES wrapper) bindings phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC .../bindings/phy/phy-cadence-sierra.txt | 13 +- .../bindings/phy/ti,phy-j721e-wiz.txt | 95 ++ drivers/phy/cadence/phy-cadence-sierra.c | 695 +++++++++++--- drivers/phy/ti/Kconfig | 15 + drivers/phy/ti/Makefile | 1 + drivers/phy/ti/phy-j721e-wiz.c | 904 ++++++++++++++++++ 6 files changed, 1585 insertions(+), 138 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.txt create mode 100644 drivers/phy/ti/phy-j721e-wiz.c -- 2.17.1