Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp58261lfv; Tue, 12 Apr 2022 17:10:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzNqH3vQATvCP6B6fWndjDMGRhczkyk5JQ34mUwqgehITVP0pS7TxlRe7Q/UFCNwlzT43+ X-Received: by 2002:a63:210f:0:b0:39c:c537:b7e3 with SMTP id h15-20020a63210f000000b0039cc537b7e3mr24207703pgh.470.1649808636529; Tue, 12 Apr 2022 17:10:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649808636; cv=none; d=google.com; s=arc-20160816; b=iViRm/jfrjSwvygrzTUthMaliXYUwQVu3odHJdfLpv3oPv58VDLqX0OS6pag4ZJBe4 fWsNPU03Ugi+S2eHYKynqlerFas6tIU6dV9vwhuBdWTzdd5/ZsAnhxrTJhzUCaHFU+OW N9O54PzpLQg1/kDRpdh/7dTZ4VHIZ8wTSzr/lk/RqGxVE9NWaNx//r+gL7VodDydv5aW rgaDBOIZFRa0YqLjsOTtuK0jMu9x2M23x90MGJ0asbm6eMyirSP7aSLlafLHpc3LSm54 WijU4dtqAyyYIAGMC2qNBqmBAmiZDuYQtxWgvrB/LYEhd1KyxLCH/IwITAJjV44jEIVf 6FWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=TVm9M9yjsU+cDxKC68nwURli+QgGpcmGVMnrIwSMQOk=; b=eotJIbMk2i/I9AfSMLRsrlvYT5NjDF70VdJwQkYYKv6UDCks5NaqRkrnV0o2WmsQLT azO3chS81RZ45qRzSQVHkd6dDp1QAv1d7AtkZk2MVoOqCEAoQpatWUqQjQeGAiKb0YDR sPz9r21lU7LWpYB6pjroKYY19zBYNP6OV+V+HON4w6pyHait7TKizhNhMWAi+OEUuGzD 46ZQm48Naw6F/JtoOkzbch9AETkFfskB1BIul1ZvRZ58HBoL3RriOxYTLuLdhMAAt7oI h3aSvxJM2/ca+qDqgpeqT7u7y8t0qszgZ/IxTUTFbEPyR5jZLs8E9TbI6JQPMyo69LMB h/cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=b0pMNXG2; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b12-20020a056a000a8c00b005056e8c7ac9si13985398pfl.224.2022.04.12.17.10.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 17:10:36 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=b0pMNXG2; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B24C7157581; Tue, 12 Apr 2022 15:26:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241178AbiDJTPh (ORCPT + 99 others); Sun, 10 Apr 2022 15:15:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234850AbiDJTPe (ORCPT ); Sun, 10 Apr 2022 15:15:34 -0400 Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [85.215.255.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2DC162117; Sun, 10 Apr 2022 12:13:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1649617981; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=TVm9M9yjsU+cDxKC68nwURli+QgGpcmGVMnrIwSMQOk=; b=b0pMNXG2+jfmCHoYRfJZ/Pbljo6gEOV9kaJ/n/CEtwBVoffvpFPzGR21+1s7WsI8Tt GDzo127ARlrH+ErCupE2hNfqVdDBGehec8NDdgQba0OAao6kS4Wilek6o2dHrvZVXB6d HE+knjFQwZqR7Ehoh/DTIYSmCdc33sNdfLEU0hgCJR6e6i1TezSqm2IDrolNhRMSlZKm RK1wHYkHEkkOeX9FTCV1Yp+pOE3K8hDrdKct1uRcWE3PqwZn3cX6I9NjCq3m8GiQCvJ3 mJtl2ROHpYkJEZDV82ztHyDvcqWrLlry/BHMb/6JWb5aiF4nNOKi4FsjsVEcBus9WEP6 RnEQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj7wpz8NIGH/jrwDWqdw==" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 47.42.2 DYNA|AUTH) with ESMTPSA id k708cfy3AJD1x1v (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Sun, 10 Apr 2022 21:13:01 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH 13/18] dt-bindings: fix jz4780-nemc issue as reported by dtbscheck From: "H. Nikolaus Schaller" In-Reply-To: Date: Sun, 10 Apr 2022 21:13:00 +0200 Cc: Rob Herring , Paul Cercueil , Thomas Bogendoerfer , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org, letux-kernel@openphoenux.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <84adfe6237cd4cfd52cb9723416f69926e556e55.1649443080.git.hns@goldelico.com> <036b66b2-c221-6e9e-6a56-510e7a0d20d3@linaro.org> <99a97b0f-19a5-136d-9160-c9fde6f3548c@linaro.org> To: Krzysztof Kozlowski X-Mailer: Apple Mail (2.3445.104.21) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > Am 10.04.2022 um 17:35 schrieb Krzysztof Kozlowski = : >=20 > On 09/04/2022 15:18, Krzysztof Kozlowski wrote: >> On 09/04/2022 15:09, H. Nikolaus Schaller wrote: >=20 > (...) >=20 >>>>> @@ -17,7 +17,7 @@ properties: >>>>> oneOf: >>>>> - enum: >>>>> -=20 >>>>> - - ingenic,jz4780-nemc >>>>> + - [ , simple-mfd ] >>>>=20 >>>> This is not correct representation. If you really need simple-mfd, = then >>>> this should be a separate item below oneOf. >>>=20 >>> Well, it is valid YAML syntax and seems to be accepted by dtbscheck. >=20 > Minor update: > Well, it is not a valid schema. Rob's checker now confirmed. If you = run > dt_bindings_check by yourself you will see the error: I did run dt_bindings_check. Otherwise I wouldn't have seen that there = is a problem at all, before suggesting these changes... >=20 > properties:compatible:oneOf:0:enum:1: ['ingenic', 'jz4780-nemc', > 'simple-mfd'] is not of type 'string' >=20 > Probably because enum expects string, not another enum (so enum inside > enum is not correct). >=20 > If you do not see the error, you might be missing some packages > (mentioned in writing-schema + yamllint for a different issue) or your > dtschema is old. Neither. yamllint etc. are all the most recent versions. Updated just two days = ago. But my filter looking for ci20.dtb did not catch it because the report doesn't mention that file. So Rob's robot is more mature than mine... BR, Nikolaus