Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp967978ybb; Sat, 28 Mar 2020 14:49:41 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt9DKlNEHp8v/VcJteZbNKr7/bsF/eEcEPwim4+16Ft1y59JeeqOltZ8ee8dlHV8MgxO+J1 X-Received: by 2002:aca:3046:: with SMTP id w67mr3506759oiw.54.1585432181084; Sat, 28 Mar 2020 14:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585432181; cv=none; d=google.com; s=arc-20160816; b=GqWro87cM5dV0982pLBM7Kiu5ODcsd58HHcFBDyK+c51gYyYeyCQk/jzDlJ5A7rAQm 051p2b/V0+8Uaw8fy1PH0u7Grbt4nPEDK+8yCKGaRpWc2Vd2pxu/qZb2UDKsP4Lxlgbm uNP71CFrWoDRwc2i9TR4CGq7HeZ694NqeMmdBw8L3dMVk9mjp28xMUCWw9CEBTPPu1WB bfbpWPSqIHGQQu8JxyqDHefWI1SWeparCOFE40FOSiZRHwPunANp1yvqdCv5ibYvQlg9 yVFDG4iov1zq3h7pdOsuRdniVgfn56JvNDoCak+LEbg0fWkc+amE2lbO5x9OEJ9wrgd0 MsUQ== 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=gfnWW/pyW9t9nRSJR9w24cfnyO/KO3lUr6nlYt+yEwU=; b=QgYSGUXRCaKopaeFwMJF2cKaGrlRRMeHh7FzODxuruAhXwc2a/NGzHJm/Cnzd1PHmm 6lYE+KT2qNhC+k5Wku/zuDvDWmlzvBnmLERpv7gGdutMfzdt9Y4+Jdk6bQyFMAjGioay tk7jcrof9jhwgcbII8OfOpCKXeahpsPQwLbLiKovhfUaYlxNI73Jy0pM0HnVKkvb65Pw yDJgqtkVMjIlrU/umngpFLEK8s2qx5yDbcoxYWO+xgCNQvxeb5YcEvBDdabIn1ruN8wX L/YLBL9hheKrQE1xh/8dJyvjeS4+u2ccOUV62rlsVsgYBzncjqdB8sfgNRbAR+eranKi k4hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cHUPlg9V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id n24si1854315otr.217.2020.03.28.14.49.27; Sat, 28 Mar 2020 14:49:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cHUPlg9V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727771AbgC1Vsx (ORCPT + 99 others); Sat, 28 Mar 2020 17:48:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:58998 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726604AbgC1Vsx (ORCPT ); Sat, 28 Mar 2020 17:48:53 -0400 Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (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 0E60420723 for ; Sat, 28 Mar 2020 21:48:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585432132; bh=G8OwioppXxivUN+lG+9D9zomyy4zRkwKcraq37im1go=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=cHUPlg9VZTn2bJ3i8ZyCnu962Xsyf8HfiUrJ8sWmLDcvS6Mkvc8/7ZlePscswR5w/ eMPuQ4q5O3KTBNwy+oQ/j4CLYgvLvchVHCnOIQcYt6PRiI/aLGUUJT1s/zlLfB9mAJ tK7v5LANHo4Djl8CRzBycEqGWS/PdVb9dETZQMEk= Received: by mail-qt1-f173.google.com with SMTP id t9so11879543qto.9 for ; Sat, 28 Mar 2020 14:48:52 -0700 (PDT) X-Gm-Message-State: ANhLgQ3wFb8Wrf+2Lcwo29WMxQS7OwjA2RyeV+y1diWFaJLyrMsdq9rO 3HZl+56CX3cr5nR/0Dn+8+1Fxm77bxSvV1GI9w== X-Received: by 2002:aed:3461:: with SMTP id w88mr5617911qtd.143.1585432131157; Sat, 28 Mar 2020 14:48:51 -0700 (PDT) MIME-Version: 1.0 References: <20200328182008.5ac2f99e@kemnade.info> In-Reply-To: From: Rob Herring Date: Sat, 28 Mar 2020 15:48:40 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: CHKDT error by f95cad74acdb ("dt-bindings: clocks: Convert Allwinner legacy clocks to schemas") To: "H. Nikolaus Schaller" Cc: Andreas Kemnade , Discussions about the Letux Kernel , Maxime Ripard , Linux Kernel Mailing List 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, Mar 28, 2020 at 12:21 PM H. Nikolaus Schaller wrote: > > > > Am 28.03.2020 um 18:20 schrieb Andreas Kemnade : > > > > Hi Nikolaus, > > > > On Sat, 28 Mar 2020 13:26:24 +0100 > > "H. Nikolaus Schaller" wrote: > > > >> Hi Rob, > >> I am trying to check my new bindings with v5.6-rc7 but get this before > >> the process tries mine: > >> > >> make dt_binding_check dtbs_check > >> ... > >> > >> CHKDT Documentation/devicetree/bindings/bus/renesas,bsc.yaml - due to target missing > >> CHKDT Documentation/devicetree/bindings/bus/simple-pm-bus.yaml - due to target missing > >> CHKDT Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ahb-clk.yaml - due to target missing > >> /Volumes/CaseSensitive/master/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ahb-clk.yaml: Additional properties are not allowed ('deprecated' was unexpected) > >> make[2]: *** [Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ahb-clk.example.dts] Error 1 > >> make[1]: *** [dt_binding_check] Error 2 > >> make: *** [sub-make] Error 2 > >> > >> What am I doing wrong? > >> Is there an option to skip such errors and continue? > >> Is there an option to just test my bindings and yaml file? > >> > > maybe your tools are outdated, so rerun > > > > pip3 install git+https://github.com/devicetree-org/dt-schema.git@master > > Yes, that one solves the problem! > > A better error message of CHKDT would have been helpful. Or an auto-update. If you know of a "python way" to do auto/self updating I'd like to know. I looked a while back and didn't find anything. I'm working on a version check so I can enforce/warn on a minimum version which should help some. > Now I just get a lot of messages like > > CHKDT Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml - due to: Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml > Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml:: $id: relative path/filename doesn't match actual path or filename > expected: http://devicetree.org/schemas/arm/sunxi/allwinner,sun4i-a10-mbus.yaml:# > CHKDT Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ahb-clk.yaml - due to target missing > Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ahb-clk.yaml:: $id: relative path/filename doesn't match actual path or filename > expected: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-ahb-clk.yaml:# Should be fixed if you are on a current rc. Rob