Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1141920pxb; Wed, 6 Apr 2022 09:40:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytTKlxjLYEh6FDiMmY9I5bBvTRw7vlyZYbTMJocKhgux6bF69m5JI1PG0fRJe1bLdFJm8S X-Received: by 2002:a17:90b:1805:b0:1c7:ba88:9550 with SMTP id lw5-20020a17090b180500b001c7ba889550mr11114911pjb.16.1649263251143; Wed, 06 Apr 2022 09:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649263251; cv=none; d=google.com; s=arc-20160816; b=UrVU7kPcoEcqrz3MoKbRY4OY03pI6BjSiWtQInAuRABoqFn+x8QFYTKo6M652rNqQq /AtlMf4ClB6q5vahscULvVmLLQt7EWk7fZEWVsdM2PPKb5U+2IwNQJshALFBMj2mCMx1 bJ02miXkdgmFZjpyEhia6Drpum5OSijX3u98ImTeDfrO727AXy4O8RzoDM67eNcmvZHu Fe/rNH7TmIZeYSMnEV3YCjRMiYC6KhEKqwPiTYDc8prIepKQJnSG7FWoj++D57qvuGbm DVlHgy20qZJ3uj+xLePBrCjdxb712lSBoZs8yUv8HEidLBCghIegyzCqp+MzdeWmhP5L i4iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:mime-version:message-id:date:subject:cc:from :dkim-signature; bh=AQtmCU8nSw+pQUsM07priatShylKCYZ0upOcmmY/1FU=; b=R1ZeO28Gl8Llul94IsiX5sn7kxS7FqVz94vzbdNIyPb0vyCg6EpZgNX4YMwO3UQOiw 4PRRMTQE/5hMP77qjd9yNkj3eDw2ZOGcBwyx44LCUfFYUtW5wz3mh1kiwfDwhJckPkjE VmOI3kbBZTf8eQG/6+UuSyH3UWqx79L8XCWhAFKWytT0bUFCQnBVoqcwTqG500U6Z4yP lHRjIV37MtDEK5BLNxJnP0KKqa+2U3i2XOGFSW4vpAGCrx21/ND+z3LNKITK2LjAvQES mvPB7NY9Wi0Nhbco7H50BCarq+aFu7KMVbuyeVRYLZeO5wcFd7ENb0mY9vffd45KJnz6 vW2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b="BqUeqp/+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a9-20020a056a000c8900b004fb04dde469si16366328pfv.23.2022.04.06.09.40.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 09:40:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b="BqUeqp/+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CCBB01563DC; Wed, 6 Apr 2022 09:31:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237641AbiDFQdI (ORCPT + 99 others); Wed, 6 Apr 2022 12:33:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238249AbiDFQcx (ORCPT ); Wed, 6 Apr 2022 12:32:53 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B603119481D; Wed, 6 Apr 2022 06:52:25 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 236DqJL0112009; Wed, 6 Apr 2022 08:52:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1649253139; bh=AQtmCU8nSw+pQUsM07priatShylKCYZ0upOcmmY/1FU=; h=From:To:CC:Subject:Date; b=BqUeqp/+TzacMy9jQdjsNvRJiB2MJW4gyzBCjAM5Zb2wiMY30Kzu1HQR750uVaXvv cKRwXviWs8eXflbgweaBlWQ/krr+SgJNeLGKfP4c1QLyoHDR2THNJi+UTinNxA61Us JPLeAc0sCR7JnmQ3CTXegxcOAGfIX1nsDXFhy9vQ= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 236DqJmB089706 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 6 Apr 2022 08:52:19 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 6 Apr 2022 08:52:19 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE101.ent.ti.com (157.170.170.31) 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; Wed, 6 Apr 2022 08:52:19 -0500 Received: from gsaswath-HP-ProBook-640-G5.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 236DqFsn079424; Wed, 6 Apr 2022 08:52:16 -0500 From: Aswath Govindraju CC: Vignesh Raghavendra , Kishon Vijay Abraham I , Aswath Govindraju , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , , , Subject: [PATCH v3 0/2] AM62: Add support for AM62 USB wrapper driver Date: Wed, 6 Apr 2022 19:22:09 +0530 Message-ID: <20220406135214.6989-1-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following series of patches add support for AM62 USB wrapper driver and its corresponding bindings. changes since v2: - Removed the implementation of detecting the role from the wrapper driver and moved the implementation to using linux,extcon-usb-gpio driver for role detection. - Updated the binding documentation and example to reflect the same. 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 | 115 +++++ drivers/usb/dwc3/Kconfig | 9 + drivers/usb/dwc3/Makefile | 1 + drivers/usb/dwc3/dwc3-am62.c | 446 ++++++++++++++++++ 4 files changed, 571 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ti,am62-usb.yaml create mode 100644 drivers/usb/dwc3/dwc3-am62.c -- 2.17.1