From patchwork Wed Nov 6 10:26:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 178659 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp401005ilf; Wed, 6 Nov 2019 02:26:52 -0800 (PST) X-Google-Smtp-Source: APXvYqyYu3sSQOTaAGNzVkxqHiqpZaYE05cn8pDeNx2dMLPvC1Tq1n0Hp4r43SFK98W/+BdF8Vwk X-Received: by 2002:a50:ef11:: with SMTP id m17mr1562180eds.138.1573036012242; Wed, 06 Nov 2019 02:26:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573036012; cv=none; d=google.com; s=arc-20160816; b=OvRcTsl9cwxtAsO3tKBjKDGAJpo50vlJ8BpzkxfCoMEYS3QG7+Wq6AkpewDctgbTVa 8nuGhq3JEzbiLpba3BDCGFarpO2oiheDhTGWUgKQVE8uk0GUtA+PgrJVsit3azRXQzNp H3EifHZqcRkYm5b36yH6QAHTP13i/s3na0aan+esQgigeCND26FkqiCYPoEOgjJzrP7q uFcQQAm7RcPss6/fX5dt4i/sAhqFmBImexZ7Tm0VLyHzeuEWx6qb76RMUxMKynfVC0bM ok/4dfhxLOg+V4tYl11qtOReJADzq1OckANFufG+A5L9GRITbu8z9QW25iFUn/cW+Ud3 uC6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=hUfkkiElQiz4haQfvnz9r0sik05BMDq548NlKUrikmE=; b=VOYrMub5X/QVtE29UAW7ZVEwSuLXPwHX9BzxTXzS/v8Wf/2bdQk5YU2aqitn9QSMsK hzZaACEaX2sX2XTLsdo14hWGlTxVOmX+vh8N594b7Gw6yENJnj4JT3oYBXaJzR3VZsw0 QZmCeVUNnV/yWXWCHbQ+uUBsiAGTLS6KgDaXIijXgjMxydxaXzWQERSjd2l1aWx4wLmV SgvnZvMwOVieKv7laxSv5+toKco9Y6U7v21/hHSLCP/qF17CYVkjosF8XKCbermY8eTk 052laWW0SWiJz9+NutX7cf8q5/MrI6TbnjhIoHzAuckUjm5pUiOR6ykdfVCHURVQAPLO hLeg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8si11891618edf.428.2019.11.06.02.26.52; Wed, 06 Nov 2019 02:26:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731309AbfKFK0r (ORCPT + 26 others); Wed, 6 Nov 2019 05:26:47 -0500 Received: from mx.socionext.com ([202.248.49.38]:44272 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726656AbfKFK0q (ORCPT ); Wed, 6 Nov 2019 05:26:46 -0500 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 06 Nov 2019 19:26:45 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 7A55E180095; Wed, 6 Nov 2019 19:26:45 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 6 Nov 2019 19:26:55 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id E52701A04FC; Wed, 6 Nov 2019 19:26:44 +0900 (JST) From: Kunihiko Hayashi To: Kishon Vijay Abraham I , Rob Herring , Mark Rutland , Masahiro Yamada Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH 1/6] phy: socionext: Use devm_platform_ioremap_resource() Date: Wed, 6 Nov 2019 19:26:14 +0900 Message-Id: <1573035979-32200-2-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1573035979-32200-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1573035979-32200-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use devm_platform_ioremap_resource() to simplify the code. Signed-off-by: Kunihiko Hayashi --- drivers/phy/socionext/phy-uniphier-pcie.c | 4 +--- drivers/phy/socionext/phy-uniphier-usb3hs.c | 4 +--- drivers/phy/socionext/phy-uniphier-usb3ss.c | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) -- 2.7.4 diff --git a/drivers/phy/socionext/phy-uniphier-pcie.c b/drivers/phy/socionext/phy-uniphier-pcie.c index 93ffbd2..25d1d9d 100644 --- a/drivers/phy/socionext/phy-uniphier-pcie.c +++ b/drivers/phy/socionext/phy-uniphier-pcie.c @@ -163,7 +163,6 @@ static int uniphier_pciephy_probe(struct platform_device *pdev) struct phy_provider *phy_provider; struct device *dev = &pdev->dev; struct regmap *regmap; - struct resource *res; struct phy *phy; priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); @@ -176,8 +175,7 @@ static int uniphier_pciephy_probe(struct platform_device *pdev) priv->dev = dev; - res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - priv->base = devm_ioremap_resource(dev, res); + priv->base = devm_platform_ioremap_resource(pdev, 0); if (IS_ERR(priv->base)) return PTR_ERR(priv->base); diff --git a/drivers/phy/socionext/phy-uniphier-usb3hs.c b/drivers/phy/socionext/phy-uniphier-usb3hs.c index 50f379f..1d3f9e8 100644 --- a/drivers/phy/socionext/phy-uniphier-usb3hs.c +++ b/drivers/phy/socionext/phy-uniphier-usb3hs.c @@ -309,7 +309,6 @@ static int uniphier_u3hsphy_probe(struct platform_device *pdev) struct device *dev = &pdev->dev; struct uniphier_u3hsphy_priv *priv; struct phy_provider *phy_provider; - struct resource *res; struct phy *phy; priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); @@ -322,8 +321,7 @@ static int uniphier_u3hsphy_probe(struct platform_device *pdev) priv->data->nparams > MAX_PHY_PARAMS)) return -EINVAL; - res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - priv->base = devm_ioremap_resource(dev, res); + priv->base = devm_platform_ioremap_resource(pdev, 0); if (IS_ERR(priv->base)) return PTR_ERR(priv->base); diff --git a/drivers/phy/socionext/phy-uniphier-usb3ss.c b/drivers/phy/socionext/phy-uniphier-usb3ss.c index ec231e4..05e40a2 100644 --- a/drivers/phy/socionext/phy-uniphier-usb3ss.c +++ b/drivers/phy/socionext/phy-uniphier-usb3ss.c @@ -215,7 +215,6 @@ static int uniphier_u3ssphy_probe(struct platform_device *pdev) struct device *dev = &pdev->dev; struct uniphier_u3ssphy_priv *priv; struct phy_provider *phy_provider; - struct resource *res; struct phy *phy; priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); @@ -228,8 +227,7 @@ static int uniphier_u3ssphy_probe(struct platform_device *pdev) priv->data->nparams > MAX_PHY_PARAMS)) return -EINVAL; - res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - priv->base = devm_ioremap_resource(dev, res); + priv->base = devm_platform_ioremap_resource(pdev, 0); if (IS_ERR(priv->base)) return PTR_ERR(priv->base); From patchwork Wed Nov 6 10:26:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 178661 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp401016ilf; Wed, 6 Nov 2019 02:26:52 -0800 (PST) X-Google-Smtp-Source: APXvYqyj45JRUwdl0+htTYdsBvRZ1dIiRpSioc3NglUQFffUt3Am3pbPjaFUPdhHwwDhvWJWArB0 X-Received: by 2002:a17:906:76c3:: with SMTP id q3mr34145489ejn.199.1573036012619; Wed, 06 Nov 2019 02:26:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573036012; cv=none; d=google.com; s=arc-20160816; b=pLa8L4iI5kM50RhiDrMP0SGPbs6zy8eEVuclY/0EGcGLR9p+XXDVmBLFru1hOYwBSB 5YQ1gOeKn3CIqgvRuZsawdZ9BTR/XdSNSWZC6rEm5rw7oP2dgDyXgj/DZFyZeq4QQxf9 GnGCxzQPqc5258GICy1fIm1CMIx+8SYMPwUpNO9I7fjYHqZLubFR4A7hH75lUlZ2+UzY kI5G1aQeoTlx+eDsD0wcQxv/XKsmDOJTN+sG4YV6JbBFjVstJveoeYN41YmSRpnSRsMS LH5kH0Nf4dFQXQJiHxK0MKBUz2DYgDwUHZ7oe+OQWIN/kdemOohhIfM9KuzJEh/rEF/V 56+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=9jPlsuRtv8fjVWZjxFiCF0EIvt42RPvaa67yfWYqof8=; b=hzWfvhpSEmzrTixVA8PUFbPX9XSjeZumorCxjCJVRm9TalPrX1pl3qT6DRSVUSysCC KL6IF+R/8TYEqs3Sm1oNryTt0nXxg5gWTtH5L1RPZaERkrr+TXh8+cGBt/jBk0g7fovj mfzVhAo6QuFQaAOukEaRz0P3Kj9dRi3FcrooJ6PiQ9lK4/6s7TGFZSu3yHdge454pkQ2 Z51i4oBavJ1hPiulPHrl5eOk+eSYUQl9ypPvvaX6Ior2WGe9R/sJzuYiZgfsGeTDUY4k ddwL9XAH2iFkmp4LIjckqIukot5izVyVk9XOMUrJ0CXXZAXFzDSMUEyQjUZkAuQHQBke MBeg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8si11891618edf.428.2019.11.06.02.26.52; Wed, 06 Nov 2019 02:26:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731390AbfKFK0u (ORCPT + 26 others); Wed, 6 Nov 2019 05:26:50 -0500 Received: from mx.socionext.com ([202.248.49.38]:44284 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731222AbfKFK0t (ORCPT ); Wed, 6 Nov 2019 05:26:49 -0500 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 06 Nov 2019 19:26:46 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 0B5D5180095; Wed, 6 Nov 2019 19:26:47 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 6 Nov 2019 19:26:56 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 6C0E01A04FC; Wed, 6 Nov 2019 19:26:46 +0900 (JST) From: Kunihiko Hayashi To: Kishon Vijay Abraham I , Rob Herring , Mark Rutland , Masahiro Yamada Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH 2/6] dt-bindings: phy: socionext: Add Pro5 support and remove Pro4 from usb3-hsphy Date: Wed, 6 Nov 2019 19:26:15 +0900 Message-Id: <1573035979-32200-3-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1573035979-32200-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1573035979-32200-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds compatible string for Pro5 SoC that needs to manage gio clock and reset. And Pro4 SoC uses USB2 PHY instead of USB3 HS-PHY, so this removes Pro4 description from usb3-hsphy. Signed-off-by: Kunihiko Hayashi --- Documentation/devicetree/bindings/phy/uniphier-pcie-phy.txt | 13 +++++++++---- .../devicetree/bindings/phy/uniphier-usb3-hsphy.txt | 6 +++--- .../devicetree/bindings/phy/uniphier-usb3-ssphy.txt | 5 +++-- 3 files changed, 15 insertions(+), 9 deletions(-) -- 2.7.4 diff --git a/Documentation/devicetree/bindings/phy/uniphier-pcie-phy.txt b/Documentation/devicetree/bindings/phy/uniphier-pcie-phy.txt index 1889d3b..3cee372 100644 --- a/Documentation/devicetree/bindings/phy/uniphier-pcie-phy.txt +++ b/Documentation/devicetree/bindings/phy/uniphier-pcie-phy.txt @@ -5,14 +5,19 @@ PCIe controller implemented on Socionext UniPhier SoCs. Required properties: - compatible: Should contain one of the following: + "socionext,uniphier-pro5-pcie-phy" - for Pro5 PHY "socionext,uniphier-ld20-pcie-phy" - for LD20 PHY "socionext,uniphier-pxs3-pcie-phy" - for PXs3 PHY - reg: Specifies offset and length of the register set for the device. - #phy-cells: Must be zero. -- clocks: A phandle to the clock gate for PCIe glue layer including - this phy. -- resets: A phandle to the reset line for PCIe glue layer including - this phy. +- clocks: A list of phandles to the clock gate for PCIe glue layer + including this phy. +- clock-names: For Pro5 only, should contain the following: + "gio", "link" - for Pro5 SoC +- resets: A list of phandles to the reset line for PCIe glue layer + including this phy. +- reset-names: For Pro5 only, should contain the following: + "gio", "link" - for Pro5 SoC Optional properties: - socionext,syscon: A phandle to system control to set configurations diff --git a/Documentation/devicetree/bindings/phy/uniphier-usb3-hsphy.txt b/Documentation/devicetree/bindings/phy/uniphier-usb3-hsphy.txt index e8d8086..093d4f0 100644 --- a/Documentation/devicetree/bindings/phy/uniphier-usb3-hsphy.txt +++ b/Documentation/devicetree/bindings/phy/uniphier-usb3-hsphy.txt @@ -7,7 +7,7 @@ this describes about High-Speed PHY. Required properties: - compatible: Should contain one of the following: - "socionext,uniphier-pro4-usb3-hsphy" - for Pro4 SoC + "socionext,uniphier-pro5-usb3-hsphy" - for Pro5 SoC "socionext,uniphier-pxs2-usb3-hsphy" - for PXs2 SoC "socionext,uniphier-ld20-usb3-hsphy" - for LD20 SoC "socionext,uniphier-pxs3-usb3-hsphy" - for PXs3 SoC @@ -16,13 +16,13 @@ Required properties: - clocks: A list of phandles to the clock gate for USB3 glue layer. According to the clock-names, appropriate clocks are required. - clock-names: Should contain the following: - "gio", "link" - for Pro4 SoC + "gio", "link" - for Pro5 SoC "phy", "phy-ext", "link" - for PXs3 SoC, "phy-ext" is optional. "phy", "link" - for others - resets: A list of phandles to the reset control for USB3 glue layer. According to the reset-names, appropriate resets are required. - reset-names: Should contain the following: - "gio", "link" - for Pro4 SoC + "gio", "link" - for Pro5 SoC "phy", "link" - for others Optional properties: diff --git a/Documentation/devicetree/bindings/phy/uniphier-usb3-ssphy.txt b/Documentation/devicetree/bindings/phy/uniphier-usb3-ssphy.txt index 490b815..9df2bc2 100644 --- a/Documentation/devicetree/bindings/phy/uniphier-usb3-ssphy.txt +++ b/Documentation/devicetree/bindings/phy/uniphier-usb3-ssphy.txt @@ -8,6 +8,7 @@ this describes about Super-Speed PHY. Required properties: - compatible: Should contain one of the following: "socionext,uniphier-pro4-usb3-ssphy" - for Pro4 SoC + "socionext,uniphier-pro5-usb3-ssphy" - for Pro5 SoC "socionext,uniphier-pxs2-usb3-ssphy" - for PXs2 SoC "socionext,uniphier-ld20-usb3-ssphy" - for LD20 SoC "socionext,uniphier-pxs3-usb3-ssphy" - for PXs3 SoC @@ -16,13 +17,13 @@ Required properties: - clocks: A list of phandles to the clock gate for USB3 glue layer. According to the clock-names, appropriate clocks are required. - clock-names: - "gio", "link" - for Pro4 SoC + "gio", "link" - for Pro4 and Pro5 SoC "phy", "phy-ext", "link" - for PXs3 SoC, "phy-ext" is optional. "phy", "link" - for others - resets: A list of phandles to the reset control for USB3 glue layer. According to the reset-names, appropriate resets are required. - reset-names: - "gio", "link" - for Pro4 SoC + "gio", "link" - for Pro4 and Pro5 SoC "phy", "link" - for others Optional properties: From patchwork Wed Nov 6 10:26:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 178662 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp401049ilf; Wed, 6 Nov 2019 02:26:54 -0800 (PST) X-Google-Smtp-Source: APXvYqzxaGEdCJaGGoCRpPl5OrufRT3UHvxQdaVU8DjkBaYjZCUOGfMFMDUHCvl/5CS2HxnQ506h X-Received: by 2002:aa7:df8e:: with SMTP id b14mr1740437edy.59.1573036014061; Wed, 06 Nov 2019 02:26:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573036014; cv=none; d=google.com; s=arc-20160816; b=VtMrd+wr6oQySDnz0A1+xxMOZAhf14FdsNwu4X7INEPPcBW+VrSebUW5P9qVNCaI4z WePZLybeb1LjCXb6C8/ygZCv1tqFvDiYj5pkYdCTpR5sPtNFlum2oOTcvC8ParGC4CFU Vm7qBdRkajIz5cfR1636PSnDnyRecf05MoAMT4fBSRb20ZaO41vO1LyA6hqxuN1N4OD1 Aay/U+J2LJMvLLUVZd8vbLyOGu85EiwZpJ84aJHuEPbwlvLywWJDg2vU4f8a6bT4Gme6 YhxH/dv0QU7A3j9t0kEwNFgxsYYKv3gQV1ZqXoTvOoO3/qTODuPAghYogSMM2LIFvYT2 ZTLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=V5QutpHuLoIQzm297Rqu8bwcVO+YRfrHNfBfmDCf9Ak=; b=pVXvhLcy1mKa40neV2oIPg0stNDRt71hFET6FdtKDhYYldTmr54KZ/pLXqSdl2VBUJ Z+8ILO5F4QjH0a2GDaRJgFD2Q0G/quhXvRfkFBN4D6Yz+1vosZJ6IzIqHRir0mWso7+V YlLFBVMwMjMgSJ2Din5RvQn8bWVYlna5Kqz8Fqg//bZZPYe8eURg0JILD+X9r9r9uZ5F FP+SbhqbB1uqcvollODI7s3CdyF2nY5NtBaDSjVifTAZu/VrIQP7vwFdsbPfBBfVTHo6 i4R3/e8rTSUtGAkLP2guoGF1eMh6o4sMUfkJpJiCofHaN+qW5bzyaJgWE/mUDuQGbaw5 3S7Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8si11891618edf.428.2019.11.06.02.26.53; Wed, 06 Nov 2019 02:26:54 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731491AbfKFK0x (ORCPT + 26 others); Wed, 6 Nov 2019 05:26:53 -0500 Received: from mx.socionext.com ([202.248.49.38]:44287 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726656AbfKFK0t (ORCPT ); Wed, 6 Nov 2019 05:26:49 -0500 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 06 Nov 2019 19:26:48 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 8B1DC180095; Wed, 6 Nov 2019 19:26:48 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 6 Nov 2019 19:26:54 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id E72061A04FC; Wed, 6 Nov 2019 19:26:47 +0900 (JST) From: Kunihiko Hayashi To: Kishon Vijay Abraham I , Rob Herring , Mark Rutland , Masahiro Yamada Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH 3/6] phy: uniphier-usb3ss: Add Pro5 support Date: Wed, 6 Nov 2019 19:26:16 +0900 Message-Id: <1573035979-32200-4-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1573035979-32200-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1573035979-32200-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pro5 SoC has same scheme of USB3 ss-phy as Pro4, so the data for Pro5 is equivalent to Pro4. Signed-off-by: Kunihiko Hayashi --- drivers/phy/socionext/phy-uniphier-usb3ss.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.7.4 diff --git a/drivers/phy/socionext/phy-uniphier-usb3ss.c b/drivers/phy/socionext/phy-uniphier-usb3ss.c index 05e40a2..6700645 100644 --- a/drivers/phy/socionext/phy-uniphier-usb3ss.c +++ b/drivers/phy/socionext/phy-uniphier-usb3ss.c @@ -313,6 +313,10 @@ static const struct of_device_id uniphier_u3ssphy_match[] = { .data = &uniphier_pro4_data, }, { + .compatible = "socionext,uniphier-pro5-usb3-ssphy", + .data = &uniphier_pro4_data, + }, + { .compatible = "socionext,uniphier-pxs2-usb3-ssphy", .data = &uniphier_pxs2_data, },