Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4505903pxu; Mon, 12 Oct 2020 23:08:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7NCZ6APzAj0N900P6Yndrxs1BrqOZHmh0xM+KRSwnhNExUQlGJtQ4nNhgHCxQ9zEaprgG X-Received: by 2002:aa7:d892:: with SMTP id u18mr18793219edq.305.1602569315046; Mon, 12 Oct 2020 23:08:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602569315; cv=none; d=google.com; s=arc-20160816; b=DCFlRZITai98tu8k+PhxEc3ui7iGROGEknkMrxu/5GQvD8T8wVsEgLFF7hMCxbYzva ubgry0SA0nF9jEUGSlH3JKhi5w3OsOXiL6TCrLHxo4ff4nAQckmLO039lh1WUTghinV5 3m+U4Ym1J91zcrmszQRkz17qQOHpMtvlbaxVjZs8/wurKX257BwrFkMfAdLioqsbcHUd lmaacEhEmcoEMp9bwuuUNJaVBjnag1E1psp0DmTMiOUK7omHmh6qyhb/aPmF3go6Q2G1 0JdXIKbeRmLIVNghanKJpZbIZz5+K942AmQ1etZ+rjyh9sbmRWMRsaFIAEA1aLPTGRrl BE7w== 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=7PhxHxkqtx0IaTxtY/ZrCO8IJrFiJUyT7gkLbo/dFJU=; b=MiRZtuaBl7z9GzYld83dYE4uCHMmPndpqyFSR7ykfX9Cve3vrnEh2PstFfjk2np6nE qWSyLYttiYRixpE+P8sAt7R1tVfwkwnUvjIfAMpVRTXfIE87Er1ymSvthglNKApPZqFl L6m+GJk6GbXlbuMEWvqVxCMW9zVZUT3NzamEQbygyvw6YEKeweyu+Q80ny9NjadwAm52 giUN3iWRja16nJ1Tb2IJHxxb6AI2LZQjVIW9jkpmhKcHriGwL3JgZeL0905bBAhHRDeG gEAi2/UGXxIf9WcsNrCOeT9msjfMoEFCp0WVTovy+IOoyxAiQvflOnfHFZAFRaWqAXH9 FxZg== 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 f4si14059998ejw.642.2020.10.12.23.08.09; Mon, 12 Oct 2020 23:08:35 -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 S2389681AbgJLPNd (ORCPT + 99 others); Mon, 12 Oct 2020 11:13:33 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:35408 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389640AbgJLPNc (ORCPT ); Mon, 12 Oct 2020 11:13:32 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id 68C5F8030865; Mon, 12 Oct 2020 15:13:29 +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 18g_bu0glQOE; Mon, 12 Oct 2020 18:13:28 +0300 (MSK) Date: Mon, 12 Oct 2020 18:13:26 +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: <20201012151326.peu4yq6fhmi5utnb@mobilestation> References: <20201010224121.12672-1-Sergey.Semin@baikalelectronics.ru> <20201010224121.12672-16-Sergey.Semin@baikalelectronics.ru> <329129ac-ff44-4928-bca4-805297a8c456@baylibre.com> <20201012142201.7fr2n5xwvei23yog@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: 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 05:01:43PM +0200, Neil Armstrong wrote: > Hi, > > On 12/10/2020 16:22, Serge Semin wrote: > > 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? > > Yes, do this please, Ok. Shall I preserve your Acked-by tag in the new patch or you'd prefer to review it first? > anyway it's only an example so it's ok. Actually examples are also validated by "make dt_binding_check". That's why I had to fix the amlogic,meson-g12a-usb-ctrl example for at least so the new snps,dwc3.yaml DT schema wouldn't break that full DT bindings validation procedure.) -Sergey > > > > > 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. > > Yes, I'll push a fix to pass the dtbs_check when this is merged. > > Thanks, > Neil > > > > > -Sergey > > > >> > >> Acked-by: Neil Armstrong > >> > >> Neil > >> >