Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp74495pxu; Tue, 13 Oct 2020 17:08:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/JS2KmRwZ9glJ3pGIZFkq/1+r2VUF1Yb988UDuuJ/TA+hPk02LuAs19cK+AUNUL9JCSzP X-Received: by 2002:a17:906:c007:: with SMTP id e7mr2434856ejz.55.1602634109947; Tue, 13 Oct 2020 17:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602634109; cv=none; d=google.com; s=arc-20160816; b=jEwBicdcwcaQg01K5OSTh0nHgdJVoVi/ynvUNWyhbgj3zKgWMSLLCeQ5Y+/FNvhj/R 9ch+x+HdIm0bqXGCH8RTYfSlhVil21Y0zySLaq2xeuavW5qFGHP/CRgoJRCrJUE5tZq9 o2ZDThxSynbBI2D1sVcgtWiyjaYGf1367bMMPNkQhNAF8YkJ+NGj9DLKywcqHGzX+giR oc8glrC+CaQXMaiDST3P2pediYoknMSGtTqdoeqSUSTclQqfDKe24m5xp0Gjgow0qDN+ PTIjfeA+xCIYiI07+Jv6Ww5fucSMIrRdIPu+mZvykQYrRqWqK00UH1Zt6uh3cv44bjO6 ECIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=AIAvk20QHbGvdw448J3GrMu37bFR12+AhGc6zaXFsoQ=; b=CH/YAYtwOGQgf3SUkmbLshqAoK5cz+r+7q2/YeLrbj38+Ow2wgSTidXH+tDuqukafR 8ZHvenQmAPurRHRg+zgYf+rb+2OmOJtgBwybrX2DDhbq4UMO7TICKvuvKiI/qIDHZsaN /4YTYqieE9ECrq11biaSsYW6+RFNMDTO9tTFUxMZB/yq8Lw1wABQ4M0EQxC3PrGP8qeD wrEI4EAE5RAHSmnoRzK+F2HVt4sh2LOSczv3wNNDKXIrfX2A76yS8jVkim6wWFTd6jWW bTyy6EYPoJxR5i+1r+SbY1E5sVHR9AOVKi6QAXibchA/dwGxV0W43vUOuV122a8OEncF fSYg== 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 h28si1251525edj.130.2020.10.13.17.07.50; Tue, 13 Oct 2020 17:08:29 -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 S1731170AbgJMPqJ (ORCPT + 99 others); Tue, 13 Oct 2020 11:46:09 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:41536 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727830AbgJMPqJ (ORCPT ); Tue, 13 Oct 2020 11:46:09 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id 2F6A58030867; Tue, 13 Oct 2020 15:46:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at baikalelectronics.ru Received: from mail.baikalelectronics.ru ([127.0.0.1]) by localhost (mail.baikalelectronics.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JtZOFWp1UD6R; Tue, 13 Oct 2020 18:46:05 +0300 (MSK) Date: Tue, 13 Oct 2020 18:45:58 +0300 From: Serge Semin To: Rob Herring CC: Serge Semin , Mathias Nyman , Felipe Balbi , Greg Kroah-Hartman , Alexey Malahov , Pavel Parkhomenko , Andy Gross , Bjorn Andersson , Manu Gautam , Roger Quadros , Lad Prabhakar , Yoshihiro Shimoda , Neil Armstrong , Kevin Hilman , , , Subject: Re: [PATCH 14/18] dt-bindings: usb: dwc3: Add Frame Length Adj restrictions Message-ID: <20201013154558.cmz4iheaxfe44ago@mobilestation> References: <20201010224121.12672-1-Sergey.Semin@baikalelectronics.ru> <20201010224121.12672-15-Sergey.Semin@baikalelectronics.ru> <20201013123859.GD3269269@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20201013123859.GD3269269@bogus> X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 13, 2020 at 07:38:59AM -0500, Rob Herring wrote: > On Sun, Oct 11, 2020 at 01:41:17AM +0300, Serge Semin wrote: > > In accordance with the IP core databook the > > snps,quirk-frame-length-adjustment property can be set within [0, 0x3F]. > > Let's make sure the DT schema applies a correct restriction on the > > property. > > > > Signed-off-by: Serge Semin > > --- > > Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml > > index 36d4b8060d7c..f1e6c3dab1ff 100644 > > --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml > > +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml > > @@ -226,6 +226,8 @@ properties: > > length adjustment when the fladj_30mhz_sdbnd signal is invalid or > > incorrect. > > $ref: /schemas/types.yaml#/definitions/uint32 > > + minimum: 0 > > + maximum: 0x3f > > It's fine if you add the constraints during the conversion. Ok. I'll keep it in mind next time.) -Sergey > > > > > snps,rx-thr-num-pkt-prd: > > description: | > > -- > > 2.27.0 > >