Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1791437pxm; Sun, 27 Feb 2022 03:10:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPleVXGWCqVA46+d160ojzj946R7GiINswwjOB0JsXcat0Ymikf0obX91Kwu2em7a/mxBG X-Received: by 2002:a17:906:6716:b0:6cc:7d95:90af with SMTP id a22-20020a170906671600b006cc7d9590afmr11610244ejp.442.1645960248383; Sun, 27 Feb 2022 03:10:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645960248; cv=none; d=google.com; s=arc-20160816; b=c4JOw+yxXGxL/+YFRVbDoYiwPNJ1PY2wX77ZTI1ULQkZKzPuMasIz5efOIOetbrG3c sNKc2KM2TXt+QIn8ByDwt+lzj2CNIqrUuK5wUexcLlZXKcW/QENW9JIBFRZwLlPrRPyn DzQyxF5U4ObIA39DUXGPqXtVokC4igVOXusTyl1SoM0d1cElP/zKXVEwfT4Nym8r2Een z3coc69+hNukXvmsVHOakO1J79Hjj59I/cc4dk416dYH+nntdWX8hvnDHP+graOUVp5B pzq6riDLfoOb4gmbn2Bcpy4AR2yl3PwbXNnlrb9VyCti7lVqnd+zd5E3gp08pswiRBLn vHug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=DhT1dvPlzOUzKZgFedQirHd2ksfJlMM23UbjgmdtwlI=; b=R5b8gvZnCddbhcIRO6wNkuehhCJB38Tw/AqV9mIBgMUtS/4JkvzJljpV24ckY18ypd GK+ZePLZgwqEXofoC58SZjGeouFvYpK4Pi74k1PR5k6MCGrWsejttnhPueVSx0EKkpW4 3+Kw3B3diq/vO7EhWuMwtcbr1iRwkPuv72bAfof34YJy85E8xKd+j+WBW6VNUBHIXaUI 4sK2E4xZF0LlvyuWdj//oPlxlFaypLjkPtLjpwoy6f+SuKEUGP/ixXaXk/ozvPGYdtFx mcAF3SqP0CZx4+LPhyCxaCKbVWgWfVfLZcsj/0xG+dDwlsLoJK578pMCfyIsAENZNSoz sseQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=jEwKsMoc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gz21-20020a170907a05500b006cfce274896si4399722ejc.290.2022.02.27.03.10.23; Sun, 27 Feb 2022 03:10:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=jEwKsMoc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbiB0KyN (ORCPT + 99 others); Sun, 27 Feb 2022 05:54:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbiB0KyM (ORCPT ); Sun, 27 Feb 2022 05:54:12 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93D5D45075 for ; Sun, 27 Feb 2022 02:53:36 -0800 (PST) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id F34183FCA5 for ; Sun, 27 Feb 2022 10:53:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645959213; bh=DhT1dvPlzOUzKZgFedQirHd2ksfJlMM23UbjgmdtwlI=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=jEwKsMocY4YUbYGANnNeGtexrKoVg4T43ZwmODgXkGpqJLigUp+lGTiOD3AjeZLMY R79ixcXXHiArsmjzojluvKcHgM9Um05Cf5LGbBd0tyBmod+zPonsIr2TS8oDPxFbFs 8ZpEDWijmIw0AVyYcMVFAACRqNJyVvGoMokJnE3jY3atuXv20V/WjySNDneK14qNQ+ PFFIiE1w5N+SZEyEg7nWtpQ3jhj8GrqbC2I8Y/04C5vder+VtYiWKNQdbZxBcsvTu4 6txqC4e5jbq4W1c0v+Vzo40zTyqHJrJP0dtZrD8grpLYKfgYIa4VZHqSPFuFsiX3OF 3Qv5FNJD2Ug6A== Received: by mail-ed1-f72.google.com with SMTP id cm27-20020a0564020c9b00b004137effc24bso2257408edb.10 for ; Sun, 27 Feb 2022 02:53:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=DhT1dvPlzOUzKZgFedQirHd2ksfJlMM23UbjgmdtwlI=; b=6HVUN5sptZIePhKAL3pY86tAwsWEAkf44sPrz7RYOEf6WkN1OJ0sZDGjiu4rkGl1AI lYWEPJsxVtfx0AqIFddwOyyyhKoYVO1C1ZUaYxT7ztiB7A5a66bZzAli4ZtOx91w/NJ7 DomDXp1pwHlB2Desd/RZiFG+6KSo8b19c7+5mr40EqwHoWFbzTK+kFgirFV04Td4dvPJ bXlEkspDA2jRrg3eOvBToQCrV6876qTsCOCNXoEemU35CBj4APlxk4uesuuriX7cRh8E DlhV1d04xhd86pdz5Hm9Yo7mct+mfS0/aIILx4492PSzgjKw7SOmM6DxrO3NTDEVcPcm wcsw== X-Gm-Message-State: AOAM530igWLtkUhKp85QVW9ZGqz1K4adY39Mwh3ohKvNEG+nZNiY4mGY yE2DNqWIK4KH0aYX8RVfOgFbnjja8fzVnD2KB1ofExN/YPdiJ3/xhWjhYpPRrGOyjdpyE6pNCL4 f72EICJUocHcjlth3mNAOqqJpBXJ93G5zzqPU++K9sg== X-Received: by 2002:a05:6402:27cc:b0:412:eb0a:b687 with SMTP id c12-20020a05640227cc00b00412eb0ab687mr14957370ede.208.1645959213308; Sun, 27 Feb 2022 02:53:33 -0800 (PST) X-Received: by 2002:a05:6402:27cc:b0:412:eb0a:b687 with SMTP id c12-20020a05640227cc00b00412eb0ab687mr14957353ede.208.1645959213096; Sun, 27 Feb 2022 02:53:33 -0800 (PST) Received: from [192.168.0.133] (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id w14-20020a509d8e000000b00412cf368b4csm4364026ede.53.2022.02.27.02.53.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Feb 2022 02:53:32 -0800 (PST) Message-ID: Date: Sun, 27 Feb 2022 11:53:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2 2/2] dt-bindings: usb: Add bindings doc for Sunplus EHCI driver Content-Language: en-US To: Vincent Shih , gregkh@linuxfoundation.org, stern@rowland.harvard.edu, p.zabel@pengutronix.de, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, wells.lu@sunplus.com References: <1645955441-6496-1-git-send-email-vincent.sunplus@gmail.com> <1645955441-6496-3-git-send-email-vincent.sunplus@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <1645955441-6496-3-git-send-email-vincent.sunplus@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/02/2022 10:50, Vincent Shih wrote: > Add bindings doc for Sunplus EHCI driver > > Signed-off-by: Vincent Shih > --- > .../bindings/usb/sunplus,sp7021-usb-ehci.yaml | 97 ++++++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 98 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/sunplus,sp7021-usb-ehci.yaml > > diff --git a/Documentation/devicetree/bindings/usb/sunplus,sp7021-usb-ehci.yaml b/Documentation/devicetree/bindings/usb/sunplus,sp7021-usb-ehci.yaml > new file mode 100644 > index 0000000..e492f7a > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/sunplus,sp7021-usb-ehci.yaml > @@ -0,0 +1,97 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright (C) Sunplus Co., Ltd. 2021 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/usb/sunplus,sp7021-usb-ehci.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sunplus SP7021 EHCI Device Tree bindings for ehci0/ehci1 > + > +maintainers: > + - Vincent Shih > + > +allOf: > + - $ref: usb-hcd.yaml# > + > +properties: > + compatible: > + enum: > + - sunplus,sp7021-usb-ehci0 > + - sunplus,sp7021-usb-ehci1 How did you address Rob's comments about using one one compatible? You still have two. > + > + clocks: > + maxItems: 2 > + > + clock-names: > + items: > + - const: usbc_clk > + - const: uphy_clk > + > + resets: > + maxItems: 2 > + > + reset-names: > + items: > + - const: usbc_rst > + - const: uphy_rst > + > + reg: > + items: > + - description: USBC register region > + - description: UPHY register region > + - description: MOON4 register region > + > + reg-names: > + items: > + - const: usbc > + - const: uphy > + - const: moon4 > + > + interrupts: > + maxItems: 1 > + > + nvmem-cell-names: > + description: names corresponding to the nvmem cells of disconnect voltage > + const: disc_vol > + > + nvmem-cells: > + description: nvmem cell address of disconnect voltage > + maxItems: 1 > + > + port-num: > + description: identify ehci0 (port0) and ehci1 (port1) This still should be a dedicated PHY driver referenced here. Best regards, Krzysztof