From patchwork Fri Aug 3 09:54:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 143397 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp275449ljj; Fri, 3 Aug 2018 02:54:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpftvLodMHfiQyH6wN3QP8eQ2tM3HJy78N6ZrKdPeT8WUlntlFS/kRzkvrjax8gjg3CZjOeM X-Received: by 2002:a62:2646:: with SMTP id m67-v6mr3674197pfm.254.1533290048385; Fri, 03 Aug 2018 02:54:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533290048; cv=none; d=google.com; s=arc-20160816; b=jqgT9g8/O3NflA8JqgwO3ShwjKVq2+/RRzA50WZPlZVRe1TnAhSDyaeACwqaggEybV 08KgtBCBIqCXkO1GNzGT+6++A1Fvd8wbG+rhCix5xJ2Gq1PGoJmpaz7tLOvlQUI35Zvw MuMXg4DtPQBV1Q/HeDbUlbAMSzomJqt0vRWN2PkIgowEkrDWH+dhFRuEwGBt6n1BLxi/ op4CFysvf3xUwlaxPaLLm6gU1SsybcfnMtDFy9zMuD+gHwa1jbhMVlt1AWyZDQjc0qsR uOy8JyzyOm54iZxAjWiyOgndLPECTZo7OwCXcXdsAE6CwQ2DJPYmAQEf2Y8gLYWgYmmL jE5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=60W2cxbpNDG+uJvgVwnmFhE2BY29x2zs640CnsYAHNA=; b=VZZ/GQ6kLILmtTW90ICSxZBCZM8vg1AFWt/TejgwAIXGQiKuKbw/VwwD3KNPbZ8AYF KT/ql3j/P7vaDmRoKomKtxU5YoLw+kBkhwwmqoS5mFQAe8m1M+puiDqI8vVe5t8HK1Hi 9EiethNBL4tW+6dUmS++/uph/hOEK5ldNph7L4hc2LrxVCgaAYONBtCcRyr8gVdBRKDH HkiZhnC9SotNId1FxmXTdJ7z3YuT5L3nxo44+nliqehXtw1qTS3eMEeSnrZ0BRSYBl46 l0CfG8Jhzue211lt0G76qhhNXZsFmRp/qJiEFaHaP1i5xN6WIXaQxvX602/aq+LIM8Me 4ERg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 k7-v6si2685024pgk.104.2018.08.03.02.54.08; Fri, 03 Aug 2018 02:54:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732327AbeHCLtj (ORCPT + 5 others); Fri, 3 Aug 2018 07:49:39 -0400 Received: from mx.socionext.com ([202.248.49.38]:4856 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729818AbeHCLtj (ORCPT ); Fri, 3 Aug 2018 07:49:39 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 03 Aug 2018 18:54:05 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 92F9218022B; Fri, 3 Aug 2018 18:54:05 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 3 Aug 2018 18:54:05 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 481D71A11BB; Fri, 3 Aug 2018 18:54:05 +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 v2 0/4] phy: socionext: add new UniPhier USB PHY driver support Date: Fri, 3 Aug 2018 18:54:01 +0900 Message-Id: <1533290045-18969-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This series adds support for PHY interface built into USB controller implemented in Socionext UniPhier SoCs. The USB3 PHY driver supports High-Speed PHY and Super-Speed PHY included in the USB3 glue layer, and the USB2 PHY driver supports High-Speed PHY integrated into system controller. Kunihiko Hayashi (4): dt-bindings: phy: add DT bindings for UniPhier USB3 PHY driver phy: socionext: add USB3 PHY driver for UniPhier SoC dt-bindings: phy: add DT bindings for UniPhier USB2 PHY driver phy: socionext: add USB2 PHY driver for UniPhier SoC Changes since v1: - rewrite a header with C++ comment style - dt-bindings: separate a document for ssphy and hsphy - dt-bindings: sort clock-names and reset-names to begin with "phy" - dt-bindings: use vbus-supply instead of phy-supply, because vbus isn't for phy, but vbus is tied to the port that corresponds to each phy [1] - stop using phy_power and add own .power_on and .power_off functions to control clk/reset for phy and vbus regulator - separate clk_get() and reset_control_get() for each clk/reset and remove arrays of clock_names and reset_names - remove phy-parameters that are the same as power-on values - remove functions to set phy-parameters for legacy SoCs - express phy-parameters by using macros including the number of the register and its bitfield (msb and lsb) [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2018-July/593279.html .../devicetree/bindings/phy/uniphier-usb2-phy.txt | 45 +++ .../bindings/phy/uniphier-usb3-hsphy.txt | 69 ++++ .../bindings/phy/uniphier-usb3-ssphy.txt | 57 +++ drivers/phy/Kconfig | 1 + drivers/phy/Makefile | 1 + drivers/phy/socionext/Kconfig | 25 ++ drivers/phy/socionext/Makefile | 7 + drivers/phy/socionext/phy-uniphier-usb2.c | 246 ++++++++++++ drivers/phy/socionext/phy-uniphier-usb3hs.c | 423 +++++++++++++++++++++ drivers/phy/socionext/phy-uniphier-usb3ss.c | 350 +++++++++++++++++ 10 files changed, 1224 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/uniphier-usb2-phy.txt create mode 100644 Documentation/devicetree/bindings/phy/uniphier-usb3-hsphy.txt create mode 100644 Documentation/devicetree/bindings/phy/uniphier-usb3-ssphy.txt create mode 100644 drivers/phy/socionext/Kconfig create mode 100644 drivers/phy/socionext/Makefile create mode 100644 drivers/phy/socionext/phy-uniphier-usb2.c create mode 100644 drivers/phy/socionext/phy-uniphier-usb3hs.c create mode 100644 drivers/phy/socionext/phy-uniphier-usb3ss.c -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html