Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2271139pxa; Mon, 3 Aug 2020 11:43:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzruwBbyrriWcT3tVzZi6arBR93z+Mj+hWeButkyJqVVCGYiK/TN7Ex0ndAEIhFZSIhIQX1 X-Received: by 2002:a17:906:1986:: with SMTP id g6mr18911122ejd.404.1596480208371; Mon, 03 Aug 2020 11:43:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596480208; cv=none; d=google.com; s=arc-20160816; b=Jh9CCNscr3lfCZ/7tA2r9td/2c7YVr73DA306QgXyQHJ122EaSBfH6I/wboPcpV1C9 yoB19x0pOL6grrTMI2mh8wcj39h1naxNSwS2bMDVaoxWTYtPcqyYH3OlL0SzSuEKeZoB TUJZLr1pJH+B40I1jg3nghWn5STFkp0+ljKoLeULSuMcB1fHy+mJLYHIkfnAuUhUGtuL 6/tdrUDPNSuu/gpni0LHmdBJH5tCe4d1C0PJL2uy6PVnnSXHD0LkGIK+ZYddqI/9wyB8 CslWembZIBiuwcwDgPe7pm3h9sGf1xBPEjnFLxrU4gNDsz1aBlh1d0vNV6B1B8IHNOhn 5uFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=E0uzMSSpNyC0eGjRE0BQFo4UmQf2UfdNJWr5X2Vxxuo=; b=e0oTPwAL66aXwwUF16OV6aWqUpBIFVkHUFVUXhyHsdK41thZQxqX51q7AuszXaYeKL 7bVIyXWJbkX6p6C+qGG2V2ykNvq6d8MBN6x/HDCreUVdJbD15Kk92anJH7qWzJ6j6uou PU+Ey9jyQRnwYNYe8OLwvz7/I3R2JyWuRZ734T8q86fMAoctQX4ILfJfVPMLMaaNsfNx NWmDoV+SxER3ctePevjUngczBPALQCXOIAWGxYqPtv2v6WTUwY12jsKpxVIcb6L9SPrc VdA2DeDFLKSmD3PcOo60t6ZwhttgBcMEzcwTyLnvBV05prt0H6x2tPmjQMp93HrqWGd7 IPcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o9pgop9n; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn21si10958023edb.207.2020.08.03.11.43.05; Mon, 03 Aug 2020 11:43:28 -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; dkim=pass header.i=@kernel.org header.s=default header.b=o9pgop9n; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728767AbgHCSj7 (ORCPT + 99 others); Mon, 3 Aug 2020 14:39:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:35998 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbgHCSj6 (ORCPT ); Mon, 3 Aug 2020 14:39:58 -0400 Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 78D9322BF3; Mon, 3 Aug 2020 18:39:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596479997; bh=zWcmrODoC659JuP/iiZsSpUSDUdR2sde8bAIaMFKoV8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=o9pgop9nFdv2UywbtTd+TEzTvskli8Uy02WdJCdEiAzCQv+vwv6nufMoqx2hLzcnO rPTLr1HCcWEUAbt/PybMf+Ptl7b+Pl1/rEWg4uNTxJr9rFE27QkN37gYbQvyGIY9qI Nt9s95W7L48vSlgF6ybNlExcvoy7DL+GdCc3zsZQ= Received: by mail-ot1-f53.google.com with SMTP id q9so13010317oth.5; Mon, 03 Aug 2020 11:39:57 -0700 (PDT) X-Gm-Message-State: AOAM533nvPtZTGs9RqUwL5WxvpY3pplWQeYz1qRRf7/KaMqtIgIOwQBJ PjU+qhFneHaiOZOCORfjeZW4QfNxvNJ07duJZQ== X-Received: by 2002:a9d:7f84:: with SMTP id t4mr6532982otp.192.1596479997122; Mon, 03 Aug 2020 11:39:57 -0700 (PDT) MIME-Version: 1.0 References: <20200103235359.GA23875@bogus> <202007290112.32007.pisa@cmp.felk.cvut.cz> <202008012327.02185.pisa@cmp.felk.cvut.cz> In-Reply-To: <202008012327.02185.pisa@cmp.felk.cvut.cz> From: Rob Herring Date: Mon, 3 Aug 2020 12:39:44 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/6] dt-bindings: net: can: binding for CTU CAN FD open-source IP core. To: Pavel Pisa Cc: c.emde@osadl.org, devicetree@vger.kernel.org, Marc Kleine-Budde , linux-can@vger.kernel.org, socketcan@hartkopp.net, Wolfgang Grandegger , David Miller , Mark Rutland , netdev , "linux-kernel@vger.kernel.org" , martin.jerabek01@gmail.com, ondrej.ille@gmail.com, jnovak@fel.cvut.cz, jara.beran@gmail.com, porazil@pikron.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 1, 2020 at 3:28 PM Pavel Pisa wrote: > > Hello Rob ad others, > > On Wednesday 29 of July 2020 01:12:31 Pavel Pisa wrote: > > On Saturday 04 of January 2020 00:53:59 Rob Herring wrote: > > > On Sat, Dec 21, 2019 at 03:07:31PM +0100, pisa@cmp.felk.cvut.cz wrote: > > > > From: Pavel Pisa > > > > > > > > Signed-off-by: Pavel Pisa > > > > --- > > > > .../devicetree/bindings/net/can/ctu,ctucanfd.txt | 61 > > > > ++++++++++++++++++++++ 1 file changed, 61 insertions(+) > > > > create mode 100644 > > > > Documentation/devicetree/bindings/net/can/ctu,ctucanfd.txt > > > > > > Bindings are moving DT schema format now. Not something I'd require on a > > > respin I've already reviewed, but OTOH it's been 10 months to respin > > > from v2. So: > > > > > > Reviewed-by: Rob Herring > > > > > > If you have a v4, then please convert to a schema. > > > > ... > > > I am trying to resolve that only one review feedback which I have received > > before v4 patches sending. I have spent half day to update and integrate > > self build packages to my stable Debian to can run > > > > make -k dt_binding_check > > > > but unfortunately, I have not achieved promissing result even when tested > > on Linux kernel unpatched sources. I used actual git > > dt-schema/dt-doc-validate with 5.4 kernel build but I get only long series > > of > > I have succeed to run make dt_binding_check on stable Debian with 5.4 > kernel with only denumerable bunch of errors, probably normal one. > Details to make dt_binding_check usable on stable Debian later. > > When invoked with base directory specified > > /usr/local/bin/dt-doc-validate -u /usr/src/linux-5.4/Documentation/devicetree/bindings/ net/can/ctu,ctucanfd.yaml > > then no problem is reported in ctu,ctucanfd.yaml . > Please is the specification correct even after human check? > > > pi@baree:/usr/src/linux-5.4-rt/_build/arm/px6$ make dt_binding_check -k > > GNUmakefile:40: *** mixed implicit and normal rules: deprecated syntax > > make -C /usr/src/linux-5.4-rt O=/usr/src/linux-5.4-rt/_build/arm/px6/ > > ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- QTDIR=/usr/share/qt4 > > dt_binding_check CHKDT Documentation/devicetree/bindings/arm/actions.yaml > > /usr/src/linux-5.4-rt/Documentation/devicetree/bindings/arm/actions.yaml: > > found incompatible YAML document in "", line 2, column 1 > > make[3]: *** > > The remark to save time of others, actual stable Debian Buster provides package > python3-ruamel.yaml in 0.15.34-1+b1 version. But use of make dt_binding_check > and dt-doc-validate and dt-validate with this version lead to many errors > "found incompatible YAML document". The validation tools can be make > to work when next packages are added and replaced in stable Debian pip/setup.py should check the dependencies which includes 'ruamel.yaml>0.15.69'. Did you not use pip? > python3-pyrsistent 0.15.5-1 > python3-pyfakefs 4.0.2-1 > python3-zipp 1.0.0-3 > python3-importlib-metadata 1.6.0 These must all be indirect dependencies as I have no idea what they provide. > python3-jsonschema 3.2.0-3 > python3-ruamel.yaml.clib 0.2.0-3 > python3-ruamel.yaml 0.16.10-2 > > The dependencies and interdependence of the tools are really wide and that > the tools are unusable in the actual regular Debian stable distribution > should be described somewhere visible enough to save developers > time. I can't document distro specifics for what I don't have. Manually documenting dependencies and their versions seems like a recipe for inaccurate and out of date documentation. Rob