Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp918439rdb; Wed, 1 Nov 2023 06:39:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHVxg+/QAiHpoapcV4ZGUrrSe+1DO8LmjYRKofr1TW2PN7aj5jd0Cq3RV9BlymhGzhGVKDV X-Received: by 2002:a17:903:41c4:b0:1cc:4a84:27fa with SMTP id u4-20020a17090341c400b001cc4a8427famr9868873ple.9.1698845944862; Wed, 01 Nov 2023 06:39:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698845944; cv=none; d=google.com; s=arc-20160816; b=w7vrb4xYiaQnzE0rprCvnxwSqfZutyePzmUJkkCNx4olMnLFio7KM8fjzlTlLxieio +xF1j7bk+e4/LlFjQ+UQNhRr2aAI0XvKxD9H7r4DVd5jpjxyQXQFhE/DFs/34zm1GlJk iSJxuJ0N54CruCXsmF6z6GKqBy/zH/KtutlzDNcOm63IlXnHBItBgV3DdOenjgHwKEsT 1+3kCUrgiUkhSIKSV5HOUNgOHgiuCyztmmy9RoTfNyNKxyINyycSROZleO+i1thx3YbJ ZPxcijzmrqfTjtoorlLPEmzYOqRGeE8i68R7+ocC/CWGLSIjK/1TF4REBRJdTZwDqC+v nBWA== 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=N9KfA3zYa4RuQNIKTFwtE9LoaDqeAECPgnjla+xhy8s=; fh=hFGViLttzEiKM4Z/JdClyrpNBhZBrOHoxvlrDQf7TRs=; b=qTQrTZdNBYfM8m2NvEWwriwNa41rQa5ZUJ2aQ5z/9IQJSEQppgXzuVj9fVUbwDjuOu 19ySfgz8UrN4gVXqd9YHzeoAG0xzN6OQMrUtQhMxFi37LdNnvow5wHSU8y84KtsvdA66 XLrdGmUtaRGjWcQMRQFxeNKeFqtTiBIz7DVjcDmxGoplaVyiMCSWZv3siSl4xm3ge+XT N32gs448AveQNdDxmxHtbG9oxIJOX6tT7PLPdIaLLBfn6dEhXtMjiq6/Xke5o7kqS4ue AQImwekzbF9+RSXNStlERZ1uE2pVLKr1TWIPGAtqJ8XBKMQebB07c7RbmHeOkdQLp23u GPlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id j5-20020a170902f24500b001ca8e7953besi2946011plc.497.2023.11.01.06.39.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 06:39:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 67B81805EB3D; Wed, 1 Nov 2023 06:39:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230460AbjKANih (ORCPT + 99 others); Wed, 1 Nov 2023 09:38:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjKANih (ORCPT ); Wed, 1 Nov 2023 09:38:37 -0400 Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB178A2; Wed, 1 Nov 2023 06:38:31 -0700 (PDT) Received: by mail-oi1-f176.google.com with SMTP id 5614622812f47-3b2f2b9a176so4363933b6e.0; Wed, 01 Nov 2023 06:38:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698845911; x=1699450711; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=N9KfA3zYa4RuQNIKTFwtE9LoaDqeAECPgnjla+xhy8s=; b=jw1k9OmfeDBjsmHvMk47jJ+drK05ufIy9GFOHKLrdLufA8l5jxqPrr5gWW3sj+3ZpO TkzhH+2Ki0szPIMTPCwuPA9S/Gi+o3QPWzen5T/cHvoCBZMLO1we6uQodafpQJ6HQwGU QT6uFurxIGAKDWF0Wa61QCIe1aZ73zJJR8HdYlsQPoFdm/Rkm8oWCVUITI4v8lxNUhQA ahVHZvPwg6UL1fu9n7xaMrZqQrDmvbk7BQLD6U/nM7xDtNrOvrb4BnQfwchlh3i4EBAp lIISna0sKp22ra47WFPYRrUYGp8qU7dvMkweNgY5eagjNSf2AZFCS8saEPmszMIykum7 W8gQ== X-Gm-Message-State: AOJu0YzSwpszB0XVdz+oAUCSaveYn29+ZgUyvXG43fNLuYYVvOszf+PZ Get/VBOg0UsYTKndh10NDA== X-Received: by 2002:a05:6808:8d0:b0:3af:75d5:e10b with SMTP id k16-20020a05680808d000b003af75d5e10bmr15564720oij.25.1698845910938; Wed, 01 Nov 2023 06:38:30 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id k16-20020a544410000000b003b2e7231faasm218911oiw.28.2023.11.01.06.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 06:38:29 -0700 (PDT) Received: (nullmailer pid 4121437 invoked by uid 1000); Wed, 01 Nov 2023 13:38:28 -0000 Date: Wed, 1 Nov 2023 08:38:28 -0500 From: Rob Herring To: Christian Marangi Cc: Eric Dumazet , "David S. Miller" , Conor Dooley , netdev@vger.kernel.org, Andrew Lunn , Russell King , linux-kernel@vger.kernel.org, Heiner Kallweit , Krzysztof Kozlowski , Paolo Abeni , Jakub Kicinski , devicetree@vger.kernel.org Subject: Re: [net-next PATCH v2 2/2] dt-bindings: Document bindings for Marvell Aquantia PHY Message-ID: <20231101133828.GA4116063-robh@kernel.org> References: <20231101123608.11157-1-ansuelsmth@gmail.com> <20231101123608.11157-2-ansuelsmth@gmail.com> <169884529967.4072013.2362625689707570358.robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <169884529967.4072013.2362625689707570358.robh@kernel.org> X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 01 Nov 2023 06:39:00 -0700 (PDT) On Wed, Nov 01, 2023 at 08:28:48AM -0500, Rob Herring wrote: > > On Wed, 01 Nov 2023 13:36:08 +0100, Christian Marangi wrote: > > Document bindings for Marvell Aquantia PHY. > > > > The Marvell Aquantia PHY require a firmware to work correctly and there > > at least 3 way to load this firmware. > > > > Describe all the different way and document the binding "firmware-name" > > to load the PHY firmware from userspace. > > > > Signed-off-by: Christian Marangi > > --- > > Changes v2: > > - Add DT patch > > > > .../bindings/net/marvell,aquantia.yaml | 123 ++++++++++++++++++ > > 1 file changed, 123 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/net/marvell,aquantia.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/dt-review-ci/linux/Documentation/devicetree/bindings/net/mdio-mux-mmioreg.example.dtb: ethernet-phy@4: compatible:0: 'ethernet-phy-ieee802.3-c45' is not one of ['ethernet-phy-id03a1.b445', 'ethernet-phy-id03a1.b460', 'ethernet-phy-id03a1.b4a2', 'ethernet-phy-id03a1.b4d0', 'ethernet-phy-id03a1.b4e0', 'ethernet-phy-id03a1.b5c2', 'ethernet-phy-id03a1.b4b0', 'ethernet-phy-id03a1.b662', 'ethernet-phy-id03a1.b712', 'ethernet-phy-id31c3.1c12'] > from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/mdio-mux-mmioreg.example.dtb: ethernet-phy@4: compatible: ['ethernet-phy-ieee802.3-c45'] is too short > from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/mdio-mux-mmioreg.example.dtb: ethernet-phy@4: compatible:0: 'ethernet-phy-ieee802.3-c45' is not one of ['ethernet-phy-id03a1.b445', 'ethernet-phy-id03a1.b460', 'ethernet-phy-id03a1.b4a2', 'ethernet-phy-id03a1.b4d0', 'ethernet-phy-id03a1.b4e0', 'ethernet-phy-id03a1.b5c2', 'ethernet-phy-id03a1.b4b0', 'ethernet-phy-id03a1.b662', 'ethernet-phy-id03a1.b712', 'ethernet-phy-id31c3.1c12'] > from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/mdio-mux-mmioreg.example.dtb: ethernet-phy@4: compatible: ['ethernet-phy-ieee802.3-c45'] is too short > from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/ethernet-phy.example.dtb: ethernet-phy@0: compatible:0: 'ethernet-phy-id0141.0e90' is not one of ['ethernet-phy-id03a1.b445', 'ethernet-phy-id03a1.b460', 'ethernet-phy-id03a1.b4a2', 'ethernet-phy-id03a1.b4d0', 'ethernet-phy-id03a1.b4e0', 'ethernet-phy-id03a1.b5c2', 'ethernet-phy-id03a1.b4b0', 'ethernet-phy-id03a1.b662', 'ethernet-phy-id03a1.b712', 'ethernet-phy-id31c3.1c12'] > from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/sff,sfp.example.dtb: ethernet-phy@0: compatible:0: 'ethernet-phy-ieee802.3-c45' is not one of ['ethernet-phy-id03a1.b445', 'ethernet-phy-id03a1.b460', 'ethernet-phy-id03a1.b4a2', 'ethernet-phy-id03a1.b4d0', 'ethernet-phy-id03a1.b4e0', 'ethernet-phy-id03a1.b5c2', 'ethernet-phy-id03a1.b4b0', 'ethernet-phy-id03a1.b662', 'ethernet-phy-id03a1.b712', 'ethernet-phy-id31c3.1c12'] > from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/sff,sfp.example.dtb: ethernet-phy@0: compatible: ['ethernet-phy-ieee802.3-c45'] is too short > from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/sff,sfp.example.dtb: ethernet-phy@0: Unevaluated properties are not allowed ('interrupt' was unexpected) > from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.example.dtb: phy@0: $nodename:0: 'phy@0' does not match '^ethernet-phy(@[a-f0-9]+)?$' > from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.example.dtb: phy@0: compatible:0: 'ethernet-phy-ieee802.3-c45' is not one of ['ethernet-phy-id03a1.b445', 'ethernet-phy-id03a1.b460', 'ethernet-phy-id03a1.b4a2', 'ethernet-phy-id03a1.b4d0', 'ethernet-phy-id03a1.b4e0', 'ethernet-phy-id03a1.b5c2', 'ethernet-phy-id03a1.b4b0', 'ethernet-phy-id03a1.b662', 'ethernet-phy-id03a1.b712', 'ethernet-phy-id31c3.1c12'] > from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.example.dtb: phy@0: compatible: ['ethernet-phy-ieee802.3-c45'] is too short > from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.example.dtb: phy@0: Unevaluated properties are not allowed ('#phy-cells', 'compatible' were unexpected) > from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# You need a custom 'select' with all the compatibles except ethernet-phy-ieee802.3-c45 listed. Rob