Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1386325pxb; Fri, 1 Oct 2021 09:32:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfEBhDmy9s9mXOzdPJQoDflFB5+QW7kMRkiWWQa0iUdmLWW26aOOhxVLUWnP71lP7NDDJV X-Received: by 2002:aa7:d64b:: with SMTP id v11mr15523462edr.57.1633105929253; Fri, 01 Oct 2021 09:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633105929; cv=none; d=google.com; s=arc-20160816; b=yxq7WPnciCqBM+9515BgVMNsppoKU/km9JkmDStUwyWi3VetkrGyWZPVLv1sbv3d09 2SwEnb3F8g8A/mOXiB0JpbO4gr7jNdicreMHOC+nkDZ2vEllcfrtbnOiDBa61xzqGLYo GF99QrZ7kGkUG1L7B7FI6PaXurqzoSfazKDPdeFecfvrar+pEdAqNWvltWdyALhrF5P8 ZSPD7UbjjPtkU3DH224eREZFTLww2H2AWHU+HspQldNaGoihzFVe1ilncJp13eM+XsPM lF69t2y9VSGA35wJzJQiXRYd66jlnaV3OH/JZhnPg4lSKRaS62hGLq8spJVigMH0z2FZ BMTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=6ITh0BGr5DcDj7xCp1Z0IhOFPgiSIbzrRXYfEGa/wJE=; b=zTrhdjMow/fE0rgZ7CXtfO0KCE5b6uSQU9vF4FWxekTkz2WyC0Ihtc7RbQVsqw11G7 yNd8saxozFs7HogZ4CBpYLnWVpNce6alfVdbkVwuE/68jskxJhSFh7eu6UdGUJANHcwO GDHl//0K1QEiuklEKEhl6HqA6Eai6BRj65IDS+/PFUEVtwOkNX2Feg5D81grf7757+ay 9oXOFDS2X6KOjeVXI+wjG8Fom29ioz2817TaMi/OnsH13e1V0McQBWH0MqNIdNN1IHxX a8TGyKWc0FnvnRinfB60kAl/KoyzKy+ThHpNLxngDxD8MaSiy2r7aMHiQJ0+0mRFRuXr /0rg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r21si9212503ejo.665.2021.10.01.09.31.40; Fri, 01 Oct 2021 09:32:09 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354991AbhJAQbi (ORCPT + 99 others); Fri, 1 Oct 2021 12:31:38 -0400 Received: from mail-qt1-f177.google.com ([209.85.160.177]:43854 "EHLO mail-qt1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231950AbhJAQbh (ORCPT ); Fri, 1 Oct 2021 12:31:37 -0400 Received: by mail-qt1-f177.google.com with SMTP id a13so9479345qtw.10; Fri, 01 Oct 2021 09:29:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6ITh0BGr5DcDj7xCp1Z0IhOFPgiSIbzrRXYfEGa/wJE=; b=rqIG8jG4N6b8Wcl8k0rgAsJDDa/HOFsQ7pDmbW/TTsmx9wI+HY4COPFrrd+huq0rCP 1NKTxX3lNQNt1WaLwU6uRfy9if2IRwqGSuVy5zkw66GmI30vAkZ99/WJS1FJHYuBClfB o7Fxt0ixqvG7qWV/M6gc6q0hXU7ugNktTdPE8O32wMZDsqYjb5P51RA6aNsXW925WnjX n1uALyaJ9NSMxeNBZaez2OzgjrwahZpWjdm3mQetO5r8WoKK5gg57QxoaJDRpK2bUV11 y44vscoLcj+1EhqU8FR/YUH+zwEr/O8oOgRezxwiIBcN402/8TIJQXTFt+ZYJFfE/6cd 76JA== X-Gm-Message-State: AOAM5312Tcf6S7RvDU3oXuZn9KuhiqzTn8hZv3Mt0vEm+jsHsHFHisRx qBoY2ucP5hxNq8mASXA/e9wX1WraETY= X-Received: by 2002:ac8:1e85:: with SMTP id c5mr4814437qtm.154.1633105792206; Fri, 01 Oct 2021 09:29:52 -0700 (PDT) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com. [209.85.160.178]) by smtp.gmail.com with ESMTPSA id h68sm3373905qkf.126.2021.10.01.09.29.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Oct 2021 09:29:51 -0700 (PDT) Received: by mail-qt1-f178.google.com with SMTP id x9so9555221qtv.0; Fri, 01 Oct 2021 09:29:51 -0700 (PDT) X-Received: by 2002:ac8:74c7:: with SMTP id j7mr6215018qtr.118.1633105791433; Fri, 01 Oct 2021 09:29:51 -0700 (PDT) MIME-Version: 1.0 References: <20211001000924.15421-1-leoyang.li@nxp.com> <20211001000924.15421-2-leoyang.li@nxp.com> <1633094217.843390.3666440.nullmailer@robh.at.kernel.org> In-Reply-To: <1633094217.843390.3666440.nullmailer@robh.at.kernel.org> From: Li Yang Date: Fri, 1 Oct 2021 11:29:39 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/5] dt-bindings: memory: fsl: convert ifc binding to yaml schema To: Rob Herring Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linuxppc-dev , lkml , Krzysztof Kozlowski , Rob Herring , Shawn Guo , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 1, 2021 at 8:18 AM Rob Herring wrote: > > On Thu, 30 Sep 2021 19:09:20 -0500, Li Yang wrote: > > Convert the txt binding to yaml format and add description. Drop the > > "simple-bus" compatible string from the example and not allowed by the > > binding any more. This will help to enforce the correct probe order > > between parent device and child devices, but will require the ifc driver > > to probe the child devices to work properly. > > > > Signed-off-by: Li Yang > > --- > > updates from previous submission: > > - Drop "simple-bus" from binding and only "fsl,ifc" as compatible > > - Fix one identiation problem of "reg" > > - Add type restriction to "little-endian" property > > > > .../bindings/memory-controllers/fsl/ifc.txt | 82 ----------- > > .../bindings/memory-controllers/fsl/ifc.yaml | 137 ++++++++++++++++++ > > 2 files changed, 137 insertions(+), 82 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt > > create mode 100644 Documentation/devicetree/bindings/memory-controllers/fsl/ifc.yaml > > > > 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: > Documentation/devicetree/bindings/memory-controllers/fsl/ifc.example.dt.yaml:0:0: /example-0/soc/ifc@ffe1e000/flash@1,0: failed to match any schema with compatible: ['fsl,ifc-nand'] > Documentation/devicetree/bindings/memory-controllers/fsl/ifc.example.dt.yaml:0:0: /example-0/soc/ifc@ffe1e000/cpld@3,0: failed to match any schema with compatible: ['fsl,p1010rdb-cpld'] These are defined in other bindings, but unfortunately they are not converted to yaml format yet. > > doc reference errors (make refcheckdocs): > > See https://patchwork.ozlabs.org/patch/1535102 > > This check can fail if there are any dependencies. The base for a patch > series is generally the most recent rc1. > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure 'yamllint' is installed and dt-schema is up to > date: > > pip3 install dtschema --upgrade > > Please check and re-submit. >