Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2723750pxv; Sun, 25 Jul 2021 03:33:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhrnR9T4EtZzydqNTskdzjKVnF464ZXsNb9HizNFJGrCAIXLB+TsceJmiMnJTMsqawJbnv X-Received: by 2002:a6b:7114:: with SMTP id q20mr10597602iog.71.1627209183335; Sun, 25 Jul 2021 03:33:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627209183; cv=none; d=google.com; s=arc-20160816; b=rvboQbfEZ3wDdZIPf1SmthR7qrGFCiWI7ZXxtpBqFzrMphjGMj0tTnNUq+ZqjqKe59 lvheSHWl0ZCuZq6LLpvbSGAjHIcTuEl63FycHtAvbHXK/DnEdBAVO83FYIKCIyqi8KRN WXAyI/4/OchQQL7mt2cD9J5JVu/LmGkHe25p9c3gd1Z2BR5Enl/a8WPnXlYKMYDUM7V5 8927rhzlvatyzisgFF/1cijeP2VE+Wj6xkJF6k9uvjJj6ylumF2XUo2RJ7vtMT1DRPS5 xxj6qAYwte6GdlblnwniFrU+tLyJHi6ydo6ro/8/MgNVjNU7c0AZvC0Jv2JMhg2aJW48 29Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date; bh=7ySiR9fYUgPu6DMJSvKMfIcCqBIgv/gWdsRe7oehApM=; b=HPXjdrZedfJTK+y3M2738i+m5jd9IVdJfYgr087+UcjzX7cvIowIaKhSrkISTrW1r6 rBSM5POFrSSLC7wa7YVzCGbQSz0+7etojm47kpYA5jJEs7twOVWLfN06Ak2eZ7SN0jPf aM/5Sn0hSEHO1i55AMWcUa4X4ygMQP+cHyDpd8a509Hx7FIyQcqhOVsAJlB+QvkmGkNt z6/dVzYxcKJKy4j/OSjOsjehjAxzhJyMW+TrFkjC9ggllGwXpKSF53mCx/apxUEhhyox zYvKZ/V/u/bCS+l5n+NC24pYGPXBbJjsvsvtlgxGXP8ByP7/S/muSzNGjYfhoHltPo5i q/3A== 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=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x10si21581140ilu.80.2021.07.25.03.32.50; Sun, 25 Jul 2021 03:33:03 -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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230077AbhGYJvX convert rfc822-to-8bit (ORCPT + 99 others); Sun, 25 Jul 2021 05:51:23 -0400 Received: from aposti.net ([89.234.176.197]:56838 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbhGYJvX (ORCPT ); Sun, 25 Jul 2021 05:51:23 -0400 Date: Sun, 25 Jul 2021 11:31:41 +0100 From: Paul Cercueil Subject: Re: [PATCH 1/2] dt-bindings: dwc2: Add bindings for new Ingenic SoCs. To: Zhou Yanjie 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 Message-Id: In-Reply-To: References: <1627116521-124612-1-git-send-email-zhouyanjie@wanyeetech.com> <1627116521-124612-2-git-send-email-zhouyanjie@wanyeetech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Zhou, Le sam., juil. 24 2021 at 20:52:30 +0800, Zhou Yanjie a écrit : > 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. In doubt - it's better to keep separate compatible strings, so this is OK. Cheers, -Paul