From patchwork Sat Jul 24 08:48:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zhou Yanjie X-Patchwork-Id: 12397499 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A02EC43216 for ; Sat, 24 Jul 2021 08:49:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0AD3560F21 for ; Sat, 24 Jul 2021 08:49:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234782AbhGXIIu (ORCPT ); Sat, 24 Jul 2021 04:08:50 -0400 Received: from out28-147.mail.aliyun.com ([115.124.28.147]:41635 "EHLO out28-147.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234561AbhGXIIt (ORCPT ); Sat, 24 Jul 2021 04:08:49 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.4749928|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.0152612-0.00748325-0.977256;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047209;MF=zhouyanjie@wanyeetech.com;NM=1;PH=DS;RN=14;RT=14;SR=0;TI=SMTPD_---.KpoL-m-_1627116542; Received: from zhouyanjie-virtual-machine.localdomain(mailfrom:zhouyanjie@wanyeetech.com fp:SMTPD_---.KpoL-m-_1627116542) by smtp.aliyun-inc.com(10.147.43.230); Sat, 24 Jul 2021 16:49:17 +0800 From: =?utf-8?b?5ZGo55Cw5p2wIChaaG91IFlhbmppZSk=?= To: gregkh@linuxfoundation.org, robh+dt@kernel.org, hminas@synopsys.com Cc: paul@crapouillou.net, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, dongsheng.qiu@ingenic.com, aric.pzqi@ingenic.com, rick.tyliu@ingenic.com, sihui.liu@ingenic.com, jun.jiang@ingenic.com, sernia.zhou@foxmail.com Subject: [PATCH 0/2] Add OTG support for Ingenic SoCs. Date: Sat, 24 Jul 2021 16:48:39 +0800 Message-Id: <1627116521-124612-1-git-send-email-zhouyanjie@wanyeetech.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 1.Add OTG support for the JZ4775 SoC, the JZ4780 SoC, the X1000 SoC, the X1600 SoC, the X1830 SoC, and the X2000 SoC. 2.Introduce support for disable Ingenic overcurrent detection, once selected it enables GOTGCTL register bits VbvalidOvEn and VbvalidOvVal to disable the VBUS overcurrent detection. 周琰杰 (Zhou Yanjie) (2): dt-bindings: dwc2: Add bindings for new Ingenic SoCs. USB: dwc2: Add OTG support for Ingenic SoCs. Documentation/devicetree/bindings/usb/dwc2.yaml | 6 +++ drivers/usb/dwc2/core.c | 9 +++++ drivers/usb/dwc2/core.h | 5 +++ drivers/usb/dwc2/params.c | 49 ++++++++++++++++++++++++- 4 files changed, 68 insertions(+), 1 deletion(-)