From patchwork Mon Jan 21 06:48:10 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: 156154 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp6076039jaa; Sun, 20 Jan 2019 23:35:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN6gGm6VodAp4q6cKpulJC317PXd21JUK3SQaeSSCCKGx29c0hf3NbYWLLLFUQXc7xo9161e X-Received: by 2002:a63:fc49:: with SMTP id r9mr26635265pgk.209.1548056105429; Sun, 20 Jan 2019 23:35:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548056105; cv=none; d=google.com; s=arc-20160816; b=jP+bw1pgu3x7CgEG3eKgZgZZxCZQaDnv0iQDvu2HoNbYrFroT7EJhhag8Tgw1GiAkh fFFDSa+FdYNfGQnW/FF3/wwvUQllUtSxtNH9yMgRnKowprYe1oSoij/ss2aQusHTIbdB eKc4H67MpmSh6r4WYr6qRtXI6Be1grhlTdv4FwVMrXxE7n+tuO7s6pmJbKUi5ppXGeU9 ibizuUvUrG5axtmhkbGe7POAW2ljHdjk2cjclDum0m7zp8rsLdUSHh0KPOkPUboOyQbi b2SIUAcGOuOo4zIE/KlXKmwW/1OyqrMxd2BQ3OC9q8+gBuQXqWhX1LPZGUIU+Cw827xP 8kDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=UG5LW9b/t1Fp20/hw5Nn9lm1i+/8dr1BINqaxIscQGk=; b=KjDn5DYiU83N9Gi2GZM5W/8kLqOBtGFCs0MbeF0PqOMpmlLnZDewi0LRr5fUypvdaK /7VUrw9iw79EBa3gJWoXUxHsnZANKXOP4N0KUM9X4U0Fz5//2WBkfY13gvRgpuF/itMX FpdqvKJXwXSxxQfHpQh9CJNkMl/AC3hurooPk00+0jFoXdZTCKIe7OUimbEtAeFpkNwW qaVvesbUOzWGC+ZfOKMBV/I66I6rDSwjrtrvYDpKNtoFgCoccLojJz9vVsFvCu2K6LQn 9tjpXXiTtf/CvvHPDe/YKI7lB09Ewdv9FlhHIWt5L7j2YlQdMXLx5TVi/LThRr16+tcr 8L+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=l54Th9Ib; 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 q18si6489747pls.30.2019.01.20.23.35.05; Sun, 20 Jan 2019 23:35:05 -0800 (PST) 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=l54Th9Ib; 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 S1728534AbfAUHfD (ORCPT + 24 others); Mon, 21 Jan 2019 02:35:03 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:36700 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728150AbfAUHfD (ORCPT ); Mon, 21 Jan 2019 02:35:03 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0L7Z1jY080654; Mon, 21 Jan 2019 01:35:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1548056101; bh=UG5LW9b/t1Fp20/hw5Nn9lm1i+/8dr1BINqaxIscQGk=; h=From:To:CC:Subject:Date; b=l54Th9Ib5oTF/SHXiIU96W4+oMELRbueZkZjFx2SZCArn6ViO8wsr5ng5aC8ZnMXs LlYPOPGDxhrdC6zDRRXruByQFY4WPcBo5zfRmbND6a+lTY+M8QgdKLU/ILJsHpN2hW nj1xs96pC3SG/TvI9zkxjVJTW2lo33orzkNjdEL0= 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 ESMTPS id x0L7Z1VF016981 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 21 Jan 2019 01:35:01 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) 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.1591.10; Mon, 21 Jan 2019 01:35:00 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Mon, 21 Jan 2019 01:35:00 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x0L7YwI7026303; Mon, 21 Jan 2019 01:34:59 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Rob Herring CC: Sekhar Nori , Roger Quadros , , Subject: [PATCH 0/3] PHY: Add support for SERDES in TI's AM654 platform Date: Mon, 21 Jan 2019 12:18:10 +0530 Message-ID: <20190121064813.18444-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 Patch series adds support for SERDES module in am654. This also modifies phy_reset API to invoke pm_runtime_get/pm_runtime_put since the reset callback can access registers. Kishon Vijay Abraham I (3): phy: core: Invoke pm_runtime_get_*/pm_runtime_put_* before invoking reset callback dt-bindings: phy: ti: Add dt binding documentation for SERDES in AM654x SoC phy: ti: Add a new SERDES driver for TI's AM654x SoC .../devicetree/bindings/phy/ti-phy.txt | 77 +++ drivers/phy/phy-core.c | 6 + drivers/phy/ti/Kconfig | 11 + drivers/phy/ti/Makefile | 1 + drivers/phy/ti/phy-am654-serdes.c | 528 ++++++++++++++++++ include/dt-bindings/phy/phy-am654-serdes.h | 13 + 6 files changed, 636 insertions(+) create mode 100644 drivers/phy/ti/phy-am654-serdes.c create mode 100644 include/dt-bindings/phy/phy-am654-serdes.h -- 2.17.1