Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1390699pxb; Fri, 1 Oct 2021 09:37:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKGWGwj0GrsQiHCn2kVCs9M4mAK/QmvAmZBzMH1EjDFHAlR7t2F08cbHhvWdMgt/zWidL0 X-Received: by 2002:a05:6a00:1789:b0:43d:ea98:7ea8 with SMTP id s9-20020a056a00178900b0043dea987ea8mr12316183pfg.67.1633106227886; Fri, 01 Oct 2021 09:37:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633106227; cv=none; d=google.com; s=arc-20160816; b=aHfyKtSnCVfcg8Dt0VDnNxQr2PKEZiH8CyMtidFEHqdmLQ0XT2QgvDZkV5atFuw00+ 3heyZcrrMiZaTo9zSoQZHjQsmJANQ21jKYVGO+3tRn6xJZVRHnyRHaDLSXkiIFdW3Qxn nyrwVMfq41N4tV4i2mroVazU4DDynQGRIG+SGTsLna4LqGdl84ei4f2q/Hv18dsrhYrJ YWgXkUxfrhf0gKPXtpejQ1Bm3bBR1usKO0EPym4elzRsdAi35EZe4P7S5ZqwR3wl8SV8 fr3soJSCxSkiT3MfZb0rtkoHtCEx6S1hH4oq93TC6b1+L53F3llwM4fv3M6QzSlKaJlG mOSQ== 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:dkim-signature; bh=i5E7YW1bY3ndSvd7l2RZ4ZYYcWCUNPNFwnu9hUwZkh4=; b=CXy16xdLj6e3cYf1g01JkzfU58tjxoIJbdREeyS2C/cw6LRmEzldOh7R4Bf6vK/Djn 7YC9NtfOpUrgmpbschEpF6d69j9fD5gPh7OFSJD/ttSp5xroG7xwq6bqn9PzZPOGw1nJ RKtxVX7bzeIHmo4wnuOzHk8R/92UtkKruuV7XvX9/21H/UfkpLWrWLJ/0V38HpXUDVJe 1NQDi38H0AbJ66bQ1aFXuhWieivD64BOjRK5OCHhvh2owc+v4VAypA/EFvwPWlzJjOO2 E8cWcYFbcBm2USaO61LCT3qOa5luENscBAVIYUtQp7UoIik4T6QgBqEIvQo7mYrkb/6u 07Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V+Xg+U5n; 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 l22si7286708pff.260.2021.10.01.09.36.53; Fri, 01 Oct 2021 09:37:07 -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=k20201202 header.b=V+Xg+U5n; 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 S1355007AbhJAQhE (ORCPT + 99 others); Fri, 1 Oct 2021 12:37:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:60720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232117AbhJAQhD (ORCPT ); Fri, 1 Oct 2021 12:37:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E2DDB61A38; Fri, 1 Oct 2021 16:35:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633106118; bh=nVW08TNUk03OPUkLLPVL11J+xOFZLhl1XXPfCDsxML0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=V+Xg+U5ndcyUb/3WDyMptVjyiilObg0CqSnEjRj3Y+trirRNQZIO9x/aQHmpchsEY 718nz+4TRWo/M+EQbtNjZCVIKXfH1d821eR+S4ZFwFGKPmEue+zScfbOzNMiTbrH06 uHP3cxFqoem4g4Y+5Oy8Fee7/zleIAuPWBJIAuVjDH9XYXKWJGFjlPu9zUtA0tHm+X 1jILH8/pWaVDFdo9mX4RYmOGk/E5ddHAVgLgQseZaoKtKBPHKYGmotGUrPxVXsWzks YaTEbTdz8iOuPMwBZ9WbCO6lUNv6rsIBU31J6NhFWVJGXOSDIwZc3EUxNGt/enGO9y P3E8JkoIivGBg== Received: by mail-ed1-f41.google.com with SMTP id dn26so36755350edb.13; Fri, 01 Oct 2021 09:35:18 -0700 (PDT) X-Gm-Message-State: AOAM5306vrdTJpAyoOsXcHYLbEJOB806DsLJPX3uTgAhwXhr1po3I8/P 0Tl3YmJ26e4RZ2yY+RJLqQ4Ot/8XeLrQQIrV9w== X-Received: by 2002:a17:906:7217:: with SMTP id m23mr7160192ejk.466.1633106117370; Fri, 01 Oct 2021 09:35:17 -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: From: Rob Herring Date: Fri, 1 Oct 2021 11:35:05 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/5] dt-bindings: memory: fsl: convert ifc binding to yaml schema To: Li Yang Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linuxppc-dev , lkml , Krzysztof Kozlowski , 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 11:29 AM Li Yang wrote: > > 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. Yes, I know. I'm trying to turn on this check by default and adding more cases here doesn't help. And often, when those other bindings get converted, it's the example here that has errors and has to get fixed. So either convert those bindings too or drop them from the example. Rob