From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F1A18C43334 for ; Thu, 21 Jul 2022 14:43:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DD6eeY0qDZsOr3TXGK+4gAflo6yYC2IBll5Zsq8UCtU=; b=QrNSXavK58jK6s VGnNzMx+JcOTRPsM8HesRVB0VabPBPoK48vkww3E2kZyrR5hYTuJFIxCD1LUqFHLVbnoJzosZO/mq l0/AeG/wrDI4tOcsbsRMdinaFGGbQqtK6UUeoHkRJYnncQbDrkKhSD51ECQpqh0NRu7JCJRtCQMDU G5mDmErHxecLv4EhM+7w7WTUFGLsLtX4s7XgwYNsJxEDOEFxF94qCCoR0W9sWayfelkdInyO5UffI 4wEo1uMFbkVX4h4iOtR7bDm9DRQbcYDaqWEInu6xEXX860pc3z2bXrZycdAPuS8NHSDMWd6k3bL9I mhbp5cMaeJVtdsjrnBJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEXNd-008BG1-9E; Thu, 21 Jul 2022 14:42:21 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEXNa-008B7V-L2 for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2022 14:42:20 +0000 Received: by mail-lf1-x135.google.com with SMTP id n18so3166358lfq.1 for ; Thu, 21 Jul 2022 07:42:14 -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=nVSyAgUGA0jIsNbhRVeOfJ4ioEJ7V4Qz0sCHs45ThaE0LBggW6Ddl69u6at9Tf1YJF 9E9ybkXVtx7eSh7U0Y5Qnb7dPrCVWTyimN+zzLjs9UIyfQLzXArp8bX1thxlskMtNFNA efUUlCVOIHtk804+sktR6pkn57FHxRa6XKRSkA1IChk03a9kEbuyL0OhcvB/Ia48P8c7 WWFOOX6Va3dVrPLUcdI5rH/yhHGJ05DRrDJ9Poq2p4vPcMnHlbQG0bTyt3ovP6JyW4VI Lq7ltElaJYVDEG3hYvdv8kuBMucTs2AsSR8RZfioF4c69zajkkhzieDeHEK4iUkiA/MY blaQ== X-Gm-Message-State: AJIora80bkh6w22xtCbPz0infps0isJ+RyTBVVmNpygBA7x9YajnTW8f LyWfFFs36VsSFIlmEbWAYtBCKg== X-Google-Smtp-Source: AGRyM1uIljE0KwtqdtHRfg15leMXg4zhq3dLayvmUALbiIqC47x9oo2th7HQ2mKA6TYbjXKCJ8GXuA== 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220721_074218_735590_80AA9991 X-CRM114-Status: GOOD ( 16.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel