Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp878332pxa; Thu, 27 Aug 2020 19:24:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcoNaCbReQklzIE2PPAOXr06DipMY6WMhedx9Y+9toFwfLjyhOrXwrva1uj9XdbnFPPKDc X-Received: by 2002:a05:6402:1427:: with SMTP id c7mr23573921edx.245.1598581455670; Thu, 27 Aug 2020 19:24:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598581455; cv=none; d=google.com; s=arc-20160816; b=ePvNymtAgMrVcB4E2wu+vXY9yiFfWspCWqqvFLCIKH0lzL1dGrspgal9X5dIoBOvpx CqeBYX0l8N1eODII+vYLcXFGeh7DUJEJEa7v62BbVG2WBPSqBS3eO13fOL2DxKf+JpIv izv0pXII3C82te4GxgRMhTW6jpMXv5BwxjaE9KIoXd3AFm+/SbZydCld1qG+VTHHKB4b fYPMLcxpMXsoOu7q9v92EFZHvIGRSVamwW8wGuma2Q3iFbeHl6dfAnR90ZFoKjTHja5f fPxH/pMazguNmPGyZXWMfW2QvCPMP6jToY4vvNF47Skd/jlJXRa+bQ4yBmeCNCSoXfl2 lRuw== 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 :ironport-sdr:ironport-sdr; bh=vjwL1RSsB2oa1InkPBFbcLSRcIGxoSjj6n+wKFRKdJw=; b=sriipQ0URmXktn0vHPQEUaROQpFkAb/r+9gGstoLUPZ5i94gLIqes3qmQDSpKdeD11 k+GNK6hxjfVP3CqHoH7/8k3XXhK0/f7TqfDk6ZOcxOo23fyZ/kjeOgy2fwzM5xGER94+ gf7lI5NMAG8+k4X0RO0M1DqIz1H3Pjh1p93Jk01u3j7QE6fEYpN0PgkFu/dcALjPhx7X XQop5BMNuoaKOJGchofVZnxXy3c7qmPikkCac06jHMrZfJhsO2v+CZYoSjoyZGe/Oeh2 KRK19xYlo2j9dbxpUH2tg/cM2tGwSydVWSo8aDfnV9s0w2IM9eIaEAqN2ECFjbXQPyPz L3DQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i5si2736971ejx.135.2020.08.27.19.23.53; Thu, 27 Aug 2020 19:24:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728270AbgH1CXU (ORCPT + 99 others); Thu, 27 Aug 2020 22:23:20 -0400 Received: from mga06.intel.com ([134.134.136.31]:11262 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727124AbgH1CXT (ORCPT ); Thu, 27 Aug 2020 22:23:19 -0400 IronPort-SDR: oN69aaIKuT3MHcPG6L+HKbo4OonV3BiLu7zrA1+FqwYupdcOJIqsL65M8hPyuzkATx2qjwJ/Po oOyK4+yWfWLA== X-IronPort-AV: E=McAfee;i="6000,8403,9726"; a="218147304" X-IronPort-AV: E=Sophos;i="5.76,362,1592895600"; d="scan'208";a="218147304" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2020 19:23:17 -0700 IronPort-SDR: SDlNF5XF0T6XTGSYyzumy72sZR+6YYyxh9CA46B43y2XpImrt6hFawuSD66v9iMzEEaIU1U3fK G8mBACcT0ASQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,362,1592895600"; d="scan'208";a="373921645" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by orsmga001.jf.intel.com with ESMTP; 27 Aug 2020 19:23:14 -0700 From: "Ramuthevar,Vadivel MuruganX" To: linux-kernel@vger.kernel.org, kishon@ti.com, vkoul@kernel.org Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, gregkh@linuxfoundation.org, p.zabel@pengutronix.de, balbi@kernel.org, andriy.shevchenko@intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, yin1.li@intel.com, "Ramuthevar,Vadivel MuruganX" Subject: [PATCH v9 0/2] phy: Add USB PHY support on Intel LGM SoC Date: Fri, 28 Aug 2020 10:23:10 +0800 Message-Id: <20200828022312.52724-1-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The USB PHY provides the optimized for low power dissipation while active, idle, or on standby. Requires minimal external components, a single resistor, for best operation. Supports 10/5-Gbps high-speed data transmission rates through 3-m USB 3.x cable --- v9: - Vinod review comments update - remove depends on USB_SUPPORT - replace ret variable by 0 in return statement - replace dev_info by dev_dbg - handle ret and extcon_get_state separately v8-resend: - Correct the typo error in my previous patch v8: - Rebase to V5.9-rc1 v7: - No Change v6: - No Change v5: - As per Felipe and Greg's suggestion usb phy driver reviewed patches changed the folder from drivers/usb/phy to drivers/phy - Reviewed-By tag added in commit message v4: - Andy's review comments addressed - drop the excess error debug prints - error check optimized - merge the split line to one line v3: - Andy's review comments update - hardcode return value changed to actual return value from the callee - add error check is fixed according to the above - correct the assignment in redundant - combine the split line into one line v2: - Address Phillip's review comments - replace devm_reset_control_get() by devm_reset_control_get_exclusive() - re-design the assert and deassert fucntion calls as per review comments - address kbuild bot warnings - add the comments v1: - initial version --- dt-bindings: usb: Add USB PHY support for Intel LGM SoC v9: - No Change v8-resend: - No change v8: - No Change v7: - Fixed the bot issue: usb-phy@e7e00000: '#phy-cells' is a required property v6: - Fixed the bot issue. - replace node-name by usb-phy@ in example v5: - Reviewed-By tag added v4: - No Change v3: - No Change v2: - No Change v1: - initial version Ramuthevar Vadivel Murugan (2): dt-bindings: phy: Add USB PHY support for Intel LGM SoC phy: Add USB3 PHY support for Intel LGM SoC .../devicetree/bindings/phy/intel,lgm-usb-phy.yaml | 58 +++++ drivers/phy/Kconfig | 10 + drivers/phy/Makefile | 1 + drivers/phy/phy-lgm-usb.c | 281 +++++++++++++++++++++ 4 files changed, 350 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/intel,lgm-usb-phy.yaml create mode 100644 drivers/phy/phy-lgm-usb.c -- 2.11.0