From patchwork Thu Sep 19 13:05:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 2911381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 783BCBFF05 for ; Thu, 19 Sep 2013 13:09:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 543FC20414 for ; Thu, 19 Sep 2013 13:09:23 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9097620412 for ; Thu, 19 Sep 2013 13:09:18 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMdxV-0005JV-TY; Thu, 19 Sep 2013 13:07:51 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMdx3-0005QS-EQ; Thu, 19 Sep 2013 13:07:21 +0000 Received: from bear.ext.ti.com ([192.94.94.41]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMdw7-0005Hr-Uq for linux-arm-kernel@lists.infradead.org; Thu, 19 Sep 2013 13:06:27 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r8JD65DW001191; Thu, 19 Sep 2013 08:06:05 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id r8JD6514027097; Thu, 19 Sep 2013 08:06:05 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Thu, 19 Sep 2013 08:06:05 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id r8JD5jMg023592; Thu, 19 Sep 2013 08:06:02 -0500 From: Roger Quadros To: , , Subject: [RFC PATCH 06/15] phy: omap-pipe3: update compatibility string and DT binding Date: Thu, 19 Sep 2013 16:05:34 +0300 Message-ID: <1379595943-14622-7-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1379595943-14622-1-git-send-email-rogerq@ti.com> References: <1379595943-14622-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130919_090624_220480_108F6AE4 X-CRM114-Status: GOOD ( 11.73 ) X-Spam-Score: -4.0 (----) Cc: devicetree@vger.kernel.org, balajitk@ti.com, linux-kernel@vger.kernel.org, kishon@ti.com, linux-ide@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Roger Quadros X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Improve compatibility string format to "ti,phy-pipe3-" where can be "usb3" or "sata". Remove "pcie" type as it is not yet supported due to missing DPLL data. Signed-off-by: Roger Quadros --- Documentation/devicetree/bindings/phy/omap-phy.txt | 3 +-- drivers/phy/phy-omap-pipe3.c | 8 ++------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/omap-phy.txt b/Documentation/devicetree/bindings/phy/omap-phy.txt index cf45b01..8e09ad3 100644 --- a/Documentation/devicetree/bindings/phy/omap-phy.txt +++ b/Documentation/devicetree/bindings/phy/omap-phy.txt @@ -47,8 +47,7 @@ usb2phy@4a0ad080 { OMAP PIPE3 PHY Required properties: - - compatible: Should be "ti,omap-usb3", "ti,omap-pipe3", "ti,omap-sata" - or "ti,omap-pcie" + - compatible: Should be "ti,phy-pipe3-usb3" or "ti,phy-pipe3-sata" - reg : Address and length of the register set for the device. - reg-names: The names of the register addresses corresponding to the registers filled in "reg". diff --git a/drivers/phy/phy-omap-pipe3.c b/drivers/phy/phy-omap-pipe3.c index 19d1664..67eeaeb 100644 --- a/drivers/phy/phy-omap-pipe3.c +++ b/drivers/phy/phy-omap-pipe3.c @@ -219,17 +219,13 @@ static struct phy_ops ops = { #ifdef CONFIG_OF static const struct of_device_id omap_pipe3_id_table[] = { { - .compatible = "ti,omap-pipe3", + .compatible = "ti,phy-pipe3-usb3", .data = dpll_map_usb, }, { - .compatible = "ti,omap-sata", + .compatible = "ti,phy-pipe3-sata", .data = dpll_map_sata, }, - { - .compatible = "ti,omap-usb3", - .data = dpll_map_usb, - }, {}, }; MODULE_DEVICE_TABLE(of, omap_pipe3_id_table);