Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1264726ybg; Wed, 23 Oct 2019 13:00:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqwym2q7vFyAjpkEVLmHYliKTMhYVYLhjjIgOVtuXLrY7S8QVhA5UVWgQHRom5gbwLhdawvU X-Received: by 2002:a17:906:f181:: with SMTP id gs1mr34064038ejb.13.1571860826575; Wed, 23 Oct 2019 13:00:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571860826; cv=none; d=google.com; s=arc-20160816; b=QdZCb417vQmwN5oRA7bklviiRIlDdt72EwPUzXvhM5jgqlgZKbJnypYN5zXuS1UU+I ThOYH8D3YOrzmyPAOADrLJJj1HjnAXyhETLamTcNEFZs8P6yFxH1500GGPHu0zR+JQQ0 AzmzMw+GS3Z5wkypuW1ChMtePXrNTkwx26J6P1EjSmLzAo7Cc+vDWw3pDcy37MwwcvTQ xkquztnY56Qa8j11ZSRaam0mDtjNCN9x1PLyeokpwlWHBr63d+h8BLwqW7z6ObeKItOd +jktFI7i5yoO9J9g4nYDo1JuMaIrFxvOu8J7Ju0YAOSVSQRUMrD7puReHF/BfJ9tKw+z zw1Q== 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=sECd/uFdwzMoCMf0uldBu7VsoVmQR5rzVIKvyhIOXls=; b=DoJaGhM2Wp6tDWCOxpAcBJSGkhB5vXa+u8+ku8e8CMFj8uGl0FaqqObq1gsGmkB2ia bLeLePjxRkamSbizCFSxIL/Z0iRYMFjU6iv6iKPAtIlV8dfmugqIdpNuS7tDOllXOeqJ cGCyPncOeYBfuaTNoPbwyOFBSsIU758XJvWZFrgqZRGX4pg8scQPRouyG+tB/WW4AkAb 0dRXOPrurxCqeJ8ptP1yw1NzfYfX9zaqXzfacwJwkI2TzJNIU3POpbH+CzG1ovS8IPNg GtEMGACCdmpWjQVDOqvkgAFAxDCS182qKMj00KlKWLw8BG3XhOFxJ9bUuSLg8bJzocY2 KzVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jQYWfkSP; 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 a3si13303938ejs.2.2019.10.23.12.59.20; Wed, 23 Oct 2019 13:00:26 -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=jQYWfkSP; 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 S2404323AbfJWM6M (ORCPT + 99 others); Wed, 23 Oct 2019 08:58:12 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:59204 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390108AbfJWM6L (ORCPT ); Wed, 23 Oct 2019 08:58:11 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9NCw8xU047913; Wed, 23 Oct 2019 07:58:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1571835488; bh=sECd/uFdwzMoCMf0uldBu7VsoVmQR5rzVIKvyhIOXls=; h=From:To:CC:Subject:Date; b=jQYWfkSPNPOaiOhxsFdoKA5J+Vnn+jOf04vOoplZAKXCBWFZKx9zRB1mWAs0mYuAg vrp8QZyUISMIL22brq9wzHosiTowA6Ma8pMkYyUBzAPbaXYPfJoLxhWzqVgg590qb7 W6BJsbRbrdK54BGNOtW9ArYvNeFqH1c+49GWBluw= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x9NCw8tn064267; Wed, 23 Oct 2019 07:58:08 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 23 Oct 2019 07:57:58 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE108.ent.ti.com (157.170.170.38) 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, 23 Oct 2019 07:57:58 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x9NCw5o4061147; Wed, 23 Oct 2019 07:58:05 -0500 From: Kishon Vijay Abraham I To: Rob Herring , Kishon Vijay Abraham I , Roger Quadros , Jyri Sarha CC: Anil Varughese , , Subject: [PATCH v2 00/14] PHY: Add support for SERDES in TI's J721E SoC Date: Wed, 23 Oct 2019 18:27:21 +0530 Message-ID: <20191023125735.4713-1-kishon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain 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 Changes from v1: *) Change the dt binding Documentation of WIZ wrapper to YAML format *) Fix an issue in Sierra while doimg rmmod Anil Varughese (1): phy: cadence: Sierra: Configure both lane cdb and common cdb registers for external SSC Kishon Vijay Abraham I (13): 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 phy: cadence: Sierra: Use correct dev pointer in cdns_sierra_phy_remove() 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.yaml | 159 +++ drivers/phy/cadence/phy-cadence-sierra.c | 697 +++++++++++--- drivers/phy/ti/Kconfig | 15 + drivers/phy/ti/Makefile | 1 + drivers/phy/ti/phy-j721e-wiz.c | 904 ++++++++++++++++++ 6 files changed, 1650 insertions(+), 139 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml create mode 100644 drivers/phy/ti/phy-j721e-wiz.c -- 2.17.1