Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4457942pxu; Mon, 12 Oct 2020 21:19:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeGEkPD1jrFQWN7OJNY9yoPPEhJsk11PlsBq7SpmP52KgNELl20UdF83GZQ9MC1+pjr7bx X-Received: by 2002:a17:906:52c6:: with SMTP id w6mr29980203ejn.199.1602562774439; Mon, 12 Oct 2020 21:19:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602562774; cv=none; d=google.com; s=arc-20160816; b=i7pShVWZjyZR0QsOIuB7PTxK70YGWPK08Opw2a0aCYDoQNWeF68VTkcHgjiiP31voO e+2NyAYvTMQcjKi17Y/RcPkptlnlTeREpNtcOa1vlLfk0vc7jv5V8hMetoTb8zG02Rvt P3/tvG71ZLIE/ichAiWJ3ufNgrJgxHzGEAyDW0WES3r7foISwDbZ2FLLHVkfuIFhOPof sF2dmN/SZ/OcU+374kpOJpSG3z2KLBI3utmiqhLeOiIEgrTc20jG4SfUJFvsyW8UtqSR TSfGAUJPb/sdIrV5KNv0Lt7IwGdBqEe2QnMoiKXdgp1fXnRAkVPDtFbJ54skxnyazIG8 gzcQ== 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=7DN8CZihnweeJe38yedTr1/rbZ2/7QsHwtrjTy48RQw=; b=Ei74YV9KHzxKcVz0YyLefMDSwU9NIAjsFnOF33INbaK3FluJqtNPwXESs5teEt8kuE Bd5slwk1h4QFEghI1fDR8HNWrFVuPbzVuP4n4wU1HO0d2tIvVJYCqIchwyriE0AS6Tol mCB15r15EVG7mRZhStcwXqN8x4gijeDIcAgSpY4mh7XH5G6CfEkkIWQUHsEgc6OnBlvW DfvDkR1oIslRDt+rhX3Xcru30VB5sSftaFgPf27FQUYM3R9PP9F9ad4Q9ldGAkKlybvp XiOfqeM8zYX23UfMra09EXfXL2oTstuNtViK1lGlxAp4i4H83QM68A077VsaKzdujuHL +s4Q== 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 bx28si13836110edb.412.2020.10.12.21.19.12; Mon, 12 Oct 2020 21:19: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 S2389495AbgJLOWN (ORCPT + 99 others); Mon, 12 Oct 2020 10:22:13 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:35204 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389097AbgJLOWM (ORCPT ); Mon, 12 Oct 2020 10:22:12 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id 289818030867; Mon, 12 Oct 2020 14:22:04 +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 bHN2z32UxKxQ; Mon, 12 Oct 2020 17:22:03 +0300 (MSK) Date: Mon, 12 Oct 2020 17:22:01 +0300 From: Serge Semin To: Neil Armstrong CC: Serge Semin , Mathias Nyman , Felipe Balbi , Greg Kroah-Hartman , Rob Herring , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Alexey Malahov , Pavel Parkhomenko , Andy Gross , Bjorn Andersson , Manu Gautam , Roger Quadros , Lad Prabhakar , Yoshihiro Shimoda , , , , , Subject: Re: [PATCH 15/18] dt-bindings: usb: meson-g12a-usb: Discard FL-adj property Message-ID: <20201012142201.7fr2n5xwvei23yog@mobilestation> References: <20201010224121.12672-1-Sergey.Semin@baikalelectronics.ru> <20201010224121.12672-16-Sergey.Semin@baikalelectronics.ru> <329129ac-ff44-4928-bca4-805297a8c456@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <329129ac-ff44-4928-bca4-805297a8c456@baylibre.com> 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 Mon, Oct 12, 2020 at 09:54:25AM +0200, Neil Armstrong wrote: > Hi, > > On 11/10/2020 00:41, Serge Semin wrote: > > An empty snps,quirk-frame-length-adjustment won't cause any change > > performed by the driver. Moreover the DT schema validation will fail, > > since it expects the property being assigned with some value. So just > > discard the property declaration then from the example. > > > > Signed-off-by: Serge Semin > > > > --- > > > > Note the same problem is in the DT source file > > arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi . > > --- > > .../devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml b/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml > > index 5b04a7dfa018..88184d7e26cc 100644 > > --- a/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml > > +++ b/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml > > @@ -209,6 +209,5 @@ examples: > > interrupts = <30>; > > dr_mode = "host"; > > snps,dis_u2_susphy_quirk; > > - snps,quirk-frame-length-adjustment; > > }; > > }; > > > > Thanks for reporting this, actually the fladj must be 0x20 on this hw, > but we do set this on the PHY side, so we can let the dwc3 side 0 here. I can convert this patch to initializing the "snps,quirk-frame-length-adjustment" property with 0x20 value instead. Since most likely I'll have to send a v2/v3/etc of this patchset, that modification won't be too much work to do. What do you think? Anyway please note, that I've fixed the improper property usage in the DT schema example only. "snps,quirk-frame-length-adjustment" defined as boolean still persists in the DTS file: arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi . So if you ever try to validate that dts file with "make dtbs_check" scenario, it will fail. -Sergey > > Acked-by: Neil Armstrong > > Neil >