Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2112531pxv; Sat, 24 Jul 2021 05:54:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy/QbJ6ouqBawkniYMhmkzSznFFpPBWtxl+fcmyyQ3+uD8QLNERViS2p+2gB0SwUex0zm9 X-Received: by 2002:a05:6e02:1aa2:: with SMTP id l2mr6193856ilv.224.1627131274468; Sat, 24 Jul 2021 05:54:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627131274; cv=none; d=google.com; s=arc-20160816; b=wVtntHqC36zfEicEJjSW0YkjHtikmi/WTlqJ5jAajpFpbTUbTp7FMV/aJxaPWlKW6p 9VjgPuPVra8WNAH30cucG5zclMaJmX8FV9DvgeJ2Q/9xlvSdOl1wH3phTHmDYvcnlGhK owvRChKrtuSUBmWJNEYduFoLa7bPvwT5VrSB8QUG6/flh/1Id9YUwVqdrLMVlarwsdbx kbYO5vclzmWdQ/uYyZYUbCOdDQTF5UQf6k/gOsLtxwe4PU2PMSyajLyb2qJDpbGwRHKL T+2w/nYMX4LZ/1H7dVWdiHl/qZYd6Hz1ZjJRAKQ7295DlfAz3dNZpgLweMV3JLezJ7of mfeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=4jCw0pDrI3vvdmBvDo0PFn0NgxTJBP5t34CCkhV40nU=; b=ExFPyvSxZ3X9XLuQf1/jSs5LZBMKoP//pEFAlLyHDI0vyjxO62w1d6n0H1bpb00nhP VvMvVQCuBwuzTVycerwG3Tm74caWHyRh3P7dWgHQSNn9NgojI7t0gVRy8U5t3xQKQ2AO I2Gdde0F+kSbTe7NLgorRt0EEMjER3ytXoz6U0g1fFAY7u5qbKozRTvT37rsTSUwsepx hTkO3FpTKfOkJ0NikrwrT/kIxMNxsv1usKct3yqVmEd/xrOD9uyAzPMBbaqTDm0PmfAe 7Dat74V4QMw945WH8Me5v89Fi5Pdo3xCckWaBFNotjJ4MG1OyoJnFtt5QidfIKOm8N3V JyGQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si1915474ild.148.2021.07.24.05.54.10; Sat, 24 Jul 2021 05:54:34 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234316AbhGXMMY (ORCPT + 99 others); Sat, 24 Jul 2021 08:12:24 -0400 Received: from out29-173.mail.aliyun.com ([115.124.29.173]:35569 "EHLO out29-173.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230449AbhGXMMX (ORCPT ); Sat, 24 Jul 2021 08:12:23 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07889097|-1;CH=blue;DM=|OVERLOAD|false|;DS=CONTINUE|ham_regular_dialog|0.0463647-0.00462302-0.949012;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047205;MF=zhouyanjie@wanyeetech.com;NM=1;PH=DS;RN=14;RT=14;SR=0;TI=SMTPD_---.KpzR04K_1627131171; Received: from 192.168.88.130(mailfrom:zhouyanjie@wanyeetech.com fp:SMTPD_---.KpzR04K_1627131171) by smtp.aliyun-inc.com(10.147.41.199); Sat, 24 Jul 2021 20:52:52 +0800 Subject: Re: [PATCH 1/2] dt-bindings: dwc2: Add bindings for new Ingenic SoCs. To: Paul Cercueil Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, hminas@synopsys.com, 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 References: <1627116521-124612-1-git-send-email-zhouyanjie@wanyeetech.com> <1627116521-124612-2-git-send-email-zhouyanjie@wanyeetech.com> From: Zhou Yanjie Message-ID: Date: Sat, 24 Jul 2021 20:52:30 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, On 2021/7/24 下午6:46, Paul Cercueil wrote: > Hi Zhou, > > Le sam., juil. 24 2021 at 16:48:40 +0800, 周琰杰 (Zhou Yanjie) > a écrit : >> Add the dwc2 bindings for the JZ4775 SoC, the JZ4780 SoC, the X1000 SoC, >> the X1600 SoC, the X1830 SoC, and the X2000 SoC from Ingenic. >> >> Signed-off-by: 周琰杰 (Zhou Yanjie) >> --- >>  Documentation/devicetree/bindings/usb/dwc2.yaml | 6 ++++++ >>  1 file changed, 6 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml >> b/Documentation/devicetree/bindings/usb/dwc2.yaml >> index 10c7d9b..e779d33 100644 >> --- a/Documentation/devicetree/bindings/usb/dwc2.yaml >> +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml >> @@ -14,6 +14,12 @@ properties: >>      oneOf: >>        - const: brcm,bcm2835-usb >>        - const: hisilicon,hi6220-usb >> +      - const: ingenic,jz4775-otg >> +      - const: ingenic,jz4780-otg >> +      - const: ingenic,x1000-otg >> +      - const: ingenic,x1600-otg >> +      - const: ingenic,x1830-otg >> +      - const: ingenic,x2000-otg > > I don't know if all these IPs are the exact same, but if they are, > they all should have "ingenic,jz4775-otg" as the fallback. I'm not too sure whether they are exactly the same, but comparing the code in Ingenics SDK, the code of the USB part of jz4775, jz4780, and x1000 are the same, the code of the USB part of x1600 and x1830 are the same, and the USB part code of X2000 are different from all of them. Thanks and best regards! > > -Paul > >>        - items: >>            - const: rockchip,rk3066-usb >>            - const: snps,dwc2 >> -- >> 2.7.4 >> >