Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp925630pxb; Wed, 6 Apr 2022 04:28:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTSdkrr26hunllJMWv708FnfZtYoFiF2vcqUMwE80NQLuDPbHu59Re7SWt93W1MiAKmoe6 X-Received: by 2002:a63:6849:0:b0:398:a546:1c46 with SMTP id d70-20020a636849000000b00398a5461c46mr6747262pgc.100.1649244525890; Wed, 06 Apr 2022 04:28:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649244525; cv=none; d=google.com; s=arc-20160816; b=DG/oDHUMYl5YYk00fABm892Pfibftsyv7ZGoPJBoqHVsQyOU+dN66sKM5DrLF5e4GR QHV2HLG+kYStzn2zLQnljGYWBfplwpoQhKm4AdqlHoQusnBxzW/zUSL+vYY3zBFml+eV RgYlmfJsXPqkT0jwQ9ybWLRs94pgEeTUbRkkB0Y71bc2uSHvdoyixcUyiqKKi8M5yj2b 1FPlGRiGBNyK7Pn2JrGC850RKFUHxbJmucRE99vSwmK/B5r+RgtnqZlZRpKMmljuDN8H ECoVgbpsHIICmbrJCj0cRZjXGTkzX8PtFGJ/0vwnCQQ4f3X25v7kRWOYsfpnOPnzgFI7 cBAQ== 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=73sr+mzCEmuVDVSdm+EpGuiiOfdHmYopaGe2xWN1rOQ=; b=DV9QLi6V8EgVcDK2lyuc76GNtpG2SXEI5fqN7L+5PixG7v8HvS1iIpfR7ukJXOfzpx xxWQyFabHdE9v9z+qFQYX1Ie5Tu34Ptp2e0GoSpR7/yBk3S4Ci+8n7kc/+pDdHBxDy96 XKQsnIVrnbBBdh/ZZCh3GsPW8dC9K1qL8nAmqiIuI0KeiWOmIYDrMHb+7dTO9ZrEbW29 G54HseKsODa7xbSD4WhmAdOiF6ZVz9r+lN3CdR/6ArPd8ufyV987Yzz+vGAtCEvTzKcv 0fC8f3H19kQZq9ntqCWeYgI6uJohNUIQGyjZZNAWr+AYQhdGk0NMNYDeGCwJe7R052BO enjg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id be3-20020a056a001f0300b004fa9a8cc0d2si15079448pfb.377.2022.04.06.04.28.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 04:28:45 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D74BD5FB7AD; Wed, 6 Apr 2022 02:50:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242242AbiDEUTs (ORCPT + 99 others); Tue, 5 Apr 2022 16:19:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1457464AbiDEQDR (ORCPT ); Tue, 5 Apr 2022 12:03:17 -0400 Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6E3225B; Tue, 5 Apr 2022 08:52:21 -0700 (PDT) Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-d39f741ba0so14787462fac.13; Tue, 05 Apr 2022 08:52:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=73sr+mzCEmuVDVSdm+EpGuiiOfdHmYopaGe2xWN1rOQ=; b=LOHBsIs1i8+vXoe7aUERRl8rO0v5Ha7HFlOiKBzy07QYiVC/Byherukzji78/HnEwM siH0hRUUZ+7DxL0/OLHSoiyVGdZe5Y5TGO3Tp4Lfb+aCg+kLvJdZ2CgJ0lnLqDTgx2F8 JAVOpHbc5obkKFy8gqq6SNPe/ld1Qh5SLv0bsKg8BO20xiIh5F8nUAibDkDjQeVU3IsL a8RRGZH0tdUXTR86SSW1DHSuGxhYMoCAPkQW0pGFEc/4VIsHaRspwyb+sPBCkWsPCCxb mEdp2ThL+hQj98Mte2MtX4pY5nCiZNHoNGhiKRWx/9pJBZX3Xur2j1ODsH83yxdcJoPF UBCg== X-Gm-Message-State: AOAM531Z+Ym25rp24zeeb9P5AQiTRTt3Ud+M2sXFxWFwQeYZgdVRUi4d U/Ttriw3NYWHzQ4isTImuQ== X-Received: by 2002:a05:6870:f149:b0:dd:f3b0:986d with SMTP id l9-20020a056870f14900b000ddf3b0986dmr1904739oac.148.1649173940623; Tue, 05 Apr 2022 08:52:20 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id 2-20020a056870124200b000dd9ac0d61esm5524206oao.24.2022.04.05.08.52.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 08:52:19 -0700 (PDT) Received: (nullmailer pid 3284623 invoked by uid 1000); Tue, 05 Apr 2022 15:52:17 -0000 Date: Tue, 5 Apr 2022 10:52:17 -0500 From: Rob Herring To: Miquel Raynal Cc: Chuanhong Guo , linux-spi@vger.kernel.org, Matthias Brugger , Wolfram Sang , Vignesh Raghavendra , Richard Weinberger , Pratyush Yadav , linux-arm-kernel@lists.infradead.org, Cai Huoqing , Roger Quadros , Yu Kuai , linux-mediatek@lists.infradead.org, Thomas Bogendoerfer , devicetree@vger.kernel.org, Mark Brown , linux-kernel@vger.kernel.org, Paul Cercueil , Florian Fainelli , Colin Ian King , Krzysztof Kozlowski , linux-mtd@lists.infradead.org Subject: Re: [PATCH v3 4/5] dt-bindings: spi: add binding doc for spi-mtk-snfi Message-ID: References: <20220404131818.1817794-1-gch981213@gmail.com> <20220404131818.1817794-5-gch981213@gmail.com> <1649088538.050456.1436949.nullmailer@robh.at.kernel.org> <20220405092024.25d97c33@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220405092024.25d97c33@xps13> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,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 On Tue, Apr 05, 2022 at 09:20:24AM +0200, Miquel Raynal wrote: > Hello, > > gch981213@gmail.com wrote on Tue, 5 Apr 2022 10:55:51 +0800: > > > Hi Rob! > > > > On Tue, Apr 5, 2022 at 12:09 AM Rob Herring wrote: > > > [...] > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > > > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > > > > > yamllint warnings/errors: > > > > > > dtschema/dtc warnings/errors: > > > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.example.dt.yaml: spi@1100d000: 'ecc-engine' is a required property > > > From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml > > > Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.example.dt.yaml:0:0: /example-0/soc/spi@1100d000/flash@0: failed to match any schema with compatible: ['spi-nand'] > > > > I ran the tests myself and it's only complaining about the ecc-engine name: > > > > /home/user/src/kernels/linux/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.example.dtb: > > spi@1100d000: 'ecc-engine' is a required property > > From schema: /home/user/src/kernels/linux/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-snfi.yaml > > > > It says nothing about the spi-nand part. Did you use 'DT_CHECKER_FLAGS=-m' as it says above? > > I'd like to keep the flash@0 node in the example to demonstrate the > > nand-ecc-engine usage. What should I do? > > You can try including spi-nand.yaml (like you do with > spi-controller.yaml). You should no longer need to define > nand-ecc-engine then as it is already described there? Including spi-nand.yaml is wrong. If that just landed, then this may have run before the base moved to v5.18-rc1. Rob