From patchwork Thu Mar 24 07:34:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aswath Govindraju X-Patchwork-Id: 12790486 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F29F0C433FE for ; Thu, 24 Mar 2022 07:34:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345982AbiCXHgG (ORCPT ); Thu, 24 Mar 2022 03:36:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240530AbiCXHgF (ORCPT ); Thu, 24 Mar 2022 03:36:05 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC4131B6; Thu, 24 Mar 2022 00:34:32 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 22O7YUkJ011981; Thu, 24 Mar 2022 02:34:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1648107270; bh=D9AZ6nq4ixB+gR0sohNQN6r+bXD5UsdbEltEqB76hjs=; h=From:To:CC:Subject:Date; b=lefvM9+tjZctBRsvlz2wWhL76JrLidK640ygfx0twnEPTesBmAZDyQybTvkKvYoPq vbjShS8XFzLYRAiEhvKBLEdQKYcam8GVs18eqYLBAbn/g6jGxMonnQ2Y9pEt5H129p cTUUInVwotNJ+14YmcC2vzghlpap1gYEfFE5DKkc= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 22O7YUu5120823 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 24 Mar 2022 02:34:30 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 24 Mar 2022 02:34:30 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Thu, 24 Mar 2022 02:34:29 -0500 Received: from gsaswath-HP-ProBook-640-G5.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 22O7YQLl024942; Thu, 24 Mar 2022 02:34:26 -0500 From: Aswath Govindraju CC: , , , Felipe Balbi , Krzysztof Kozlowski , Rob Herring , Greg Kroah-Hartman , Roger Quadros , Vignesh Raghavendra , Kishon Vijay Abraham I , Aswath Govindraju Subject: [PATCH v2 0/2] AM62: Add support for AM62 USB wrapper driver Date: Thu, 24 Mar 2022 13:04:23 +0530 Message-ID: <20220324073425.18607-1-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The following series of patches add support for AM62 USB wrapper driver and its corresponding bindings. changes since v1: - Fixed the error with dev_pm_ops uninitialization, in patch 2. This was reported by kernel test bot - In patch 1, made correction in grammer of clocks property description and added maxItems in the interrupts property based on comments received from Roger - In patch 1, corrected the title, fixed the description of ti,syscon-phy-pll-refclk, added pattern properties and child node in the example based on the comments from Krzysztof. Aswath Govindraju (2): dt-bindings: usb: Add documentation for AM62 USB Wrapper module drivers: usb: dwc3: Add AM62 USB wrapper driver .../devicetree/bindings/usb/ti,am62-usb.yaml | 117 ++++ drivers/usb/dwc3/Kconfig | 9 + drivers/usb/dwc3/Makefile | 1 + drivers/usb/dwc3/dwc3-am62.c | 581 ++++++++++++++++++ 4 files changed, 708 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ti,am62-usb.yaml create mode 100644 drivers/usb/dwc3/dwc3-am62.c