Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp657268imi; Thu, 21 Jul 2022 08:26:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vCO0Oi+Xp/TYsk/3ZvxaJQqMXVgOBPIWYVBS47w9+CJq2DnU1Wn5g0t4nMW1GQy0LMZLn1 X-Received: by 2002:a17:90b:3507:b0:1f2:1b74:11d1 with SMTP id ls7-20020a17090b350700b001f21b7411d1mr10303838pjb.99.1658417174204; Thu, 21 Jul 2022 08:26:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658417174; cv=none; d=google.com; s=arc-20160816; b=Sl8JTayJrpGnyFEZRhhaqOomrIhHY6u+ltIANYYZSnQ9SXYoXSyr9nTQTAOg4Ta8S+ 9MdZrmzEgMazwCbOA9HPa7zuo7gviKBrHtpeYVAoqHzZ5zq5xPtsh1cyvDSF1G1WDnkA fWsqJCZEofIe4mhG09XrIgz//N8cOVhjgoU7aanOKRxPe8Ui4doSW6OiulzoHqc/MElx ZXIozQ7aGiFKt3zl+oG/xsvginkCMyCEFXHnAT1+AGcbLgMbm+h0FnxoyQZCZ+zI1N7l ncz/rKhCYhBlrGbAHDv4/8nrNC18RjluxVEfSQ7EMzH8KwO9GXt96ZEyc1kQsskC3Wfl Lpcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=thNzHvCp6cjZHmJ/ovw3Dji38lKPQpENV9BvGaehLGw=; b=TNggoLVruIqHxOzf4Oc1jV8wEjplqubGIZizFNlYgZ7EuOXYg6ZJK1xen7BRNeR8Wu vwajV4fdQIV3KPR1OmgWDVmrOSsSehF7miqZEI1lbIzC7E5ibaccaet55A/R6hLyLXhQ MywGlO2aVVtPQ1JZb++qh/em1Bo0WvXktFot2lDATm3Wb8uepVRkLtestAu7WnlFeYLI /o2hFee4EOpOlWTWpEXyknnC5UkrRr/qRFIXnG5wr+Hs4LgBS/3Kz+fcTCqEqa1Exqfo W5yaAJUOV4cwe78TdIF/65fkltGPfHmjHZbNZuLF4vnOQWMV0En/P2Yka61sYXjCvFIs tfPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NEZzqSvG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a63db06000000b00419cdf7b71bsi2707898pgg.312.2022.07.21.08.25.59; Thu, 21 Jul 2022 08:26:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NEZzqSvG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229456AbiGUOmS (ORCPT + 99 others); Thu, 21 Jul 2022 10:42:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbiGUOmQ (ORCPT ); Thu, 21 Jul 2022 10:42:16 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5043185D47 for ; Thu, 21 Jul 2022 07:42:15 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id t1so3120759lft.8 for ; Thu, 21 Jul 2022 07:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=thNzHvCp6cjZHmJ/ovw3Dji38lKPQpENV9BvGaehLGw=; b=NEZzqSvG0pj+3+chsobD6C3nUdZDNwikBSErN2n+2h0WF2IzB2BBF8wP9rjYipkOpP EUirwoSfLaOlLLI1mtfNgI7zcK0bJPumnB5rzX1tPJq6KdmfWhMoAUTm4gNAhkZNzl3f VqvvbIGu2iy9d8y8qJlnM5MAcoKqIQE69h0W5NfEEA5VIbx5CNpKr4vLpFNdgit5SkPv HAcZXXHXEAyVK0r0G5JPCkjPygot2GWZ3kA3NHnKinO/gx3ePADnTbIZRujbzwLyHE4s 61LB/wrUs18f6S7al3vk74QwWQMRAhXeHt9/dqYpXrr8m6739TmAL14/6DbG8Rv+5qi5 0kGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=thNzHvCp6cjZHmJ/ovw3Dji38lKPQpENV9BvGaehLGw=; b=6MAyg7LqchrP8Cv1vCTlMTZ4/t2HCBSqbiCFJ2U6O4kWy644wAhdq7/MU04q2Z8cyW bpS/lGGO+5huKZgDPKNfdZbNyGZnExq/HnkHnf34I2epgjgD0bge3sDqHPZmt33iTeg6 gK8+S93PP17Vr1dGP9p3QzTxElcWuciMRJDDeBNIauSa93EvXOfv+wVm01MS/mliu3qA fqqiYFios4hX/LXbkAumiFOMR6uwHGg8xkB2QGKFg5/Bq0iObgi04o2vlYS5JVPm/3ep 1Q7JB7n62MbckRtqnHx+auAL32KtNhAEIY286F7AWfjNhxxVGUcW4E+B2/6SsbFGPkgX 9jcg== X-Gm-Message-State: AJIora9ASg3vjLcje71yZiih6llF4JuIw/poFlOhgeasJsp5NYgATAjL tBUV3bO1NspESPrK7TJEfTCN2w== X-Received: by 2002:a05:6512:23a5:b0:489:d513:55a9 with SMTP id c37-20020a05651223a500b00489d51355a9mr21566452lfv.409.1658414533637; Thu, 21 Jul 2022 07:42:13 -0700 (PDT) Received: from [192.168.115.193] (89-162-31-138.fiber.signal.no. [89.162.31.138]) by smtp.gmail.com with ESMTPSA id h24-20020a05651c125800b0025bc79181b4sm558765ljh.36.2022.07.21.07.42.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Jul 2022 07:42:12 -0700 (PDT) Message-ID: Date: Thu, 21 Jul 2022 16:42:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH net-next v3 03/47] dt-bindings: net: Convert FMan MAC bindings to yaml Content-Language: en-US To: Sean Anderson , Rob Herring Cc: devicetree@vger.kernel.org, Rob Herring , Russell King , netdev@vger.kernel.org, Paolo Abeni , Madalin Bucur , Eric Dumazet , "David S . Miller" , Krzysztof Kozlowski , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220715215954.1449214-1-sean.anderson@seco.com> <20220715215954.1449214-4-sean.anderson@seco.com> <1657926388.246596.1631478.nullmailer@robh.at.kernel.org> <1b694d96-5ea8-e4eb-65bf-0ad7ffefa8eb@seco.com> From: Krzysztof Kozlowski In-Reply-To: <1b694d96-5ea8-e4eb-65bf-0ad7ffefa8eb@seco.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 17/07/2022 00:47, Sean Anderson wrote: > On 7/15/22 7:06 PM, Rob Herring wrote: >> On Fri, 15 Jul 2022 17:59:10 -0400, Sean Anderson wrote: >>> This converts the MAC portion of the FMan MAC bindings to yaml. >>> >>> Signed-off-by: Sean Anderson >>> Reviewed-by: Rob Herring >>> --- >>> >>> Changes in v3: >>> - Incorporate some minor changes into the first FMan binding commit >>> >>> Changes in v2: >>> - New >>> >>> .../bindings/net/fsl,fman-dtsec.yaml | 145 ++++++++++++++++++ >>> .../devicetree/bindings/net/fsl-fman.txt | 128 +--------------- >>> 2 files changed, 146 insertions(+), 127 deletions(-) >>> create mode 100644 Documentation/devicetree/bindings/net/fsl,fman-dtsec.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: >> /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/net/fsl,fman-dtsec.example.dtb: ethernet@e8000: 'phy-connection-type', 'phy-handle' do not match any of the regexes: 'pinctrl-[0-9]+' >> From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/net/fsl,fman-dtsec.yaml >> >> doc reference errors (make refcheckdocs): > > What's the correct way to do this? I have '$ref: ethernet-controller.yaml#' > under allOf, but it doesn't seem to apply. IIRC this doesn't occur for actual dts files. You do not allow any other properties than explicitly listed (additionalProp:false). If you want to apply all properties from other schema you need to use unevaluated. https://elixir.bootlin.com/linux/v5.19-rc7/source/Documentation/devicetree/bindings/writing-bindings.rst#L75 Best regards, Krzysztof