Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F29A5C43603 for ; Fri, 6 Dec 2019 11:14:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C428121835 for ; Fri, 6 Dec 2019 11:14:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="Kr45+xjZ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726134AbfLFLOT (ORCPT ); Fri, 6 Dec 2019 06:14:19 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:35234 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726128AbfLFLOT (ORCPT ); Fri, 6 Dec 2019 06:14:19 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id xB6BE88C110234; Fri, 6 Dec 2019 05:14:08 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1575630848; bh=Zmh37uFMtwqctvfI1lVTnfB8t624XUrqIrQyeikJXz0=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=Kr45+xjZxQAcs4cnBugZrs6uWYPcER8AaVw2Tue/UbcwSHkwVav6ljKdVNzAu1e41 GC31UJmNIpyOwiZG0UTvqI+LQovSxw8su78t7Sfrqjhc1JglRyVf0xRmZdDDA0WvRb F6oiyxi9wEvfSPeiWy7wAsoHxMTY1FBm+zM35aCA= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id xB6BE781055118; Fri, 6 Dec 2019 05:14:07 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Fri, 6 Dec 2019 05:14:07 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Fri, 6 Dec 2019 05:14:07 -0600 Received: from [10.250.100.73] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id xB6BE4Kl122422; Fri, 6 Dec 2019 05:14:05 -0600 Subject: Re: [PATCH] dt-bindings: net: mdio: use non vendor specific compatible string in example To: Rob Herring CC: "David S. Miller" , Andrew Lunn , Florian Fainelli , Heiner Kallweit , Mark Rutland , , Simon Horman , netdev References: <20191127153928.22408-1-grygorii.strashko@ti.com> From: Grygorii Strashko Message-ID: Date: Fri, 6 Dec 2019 13:14:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 05/12/2019 19:59, Rob Herring wrote: > On Wed, Nov 27, 2019 at 9:39 AM Grygorii Strashko > wrote: >> >> Use non vendor specific compatible string in example, otherwise DT YAML >> schemas validation may trigger warnings specific to TI ti,davinci_mdio >> and not to the generic MDIO example. >> >> Signed-off-by: Grygorii Strashko >> --- >> Documentation/devicetree/bindings/net/mdio.yaml | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/net/mdio.yaml b/Documentation/devicetree/bindings/net/mdio.yaml >> index 5d08d2ffd4eb..524f062c6973 100644 >> --- a/Documentation/devicetree/bindings/net/mdio.yaml >> +++ b/Documentation/devicetree/bindings/net/mdio.yaml >> @@ -56,7 +56,7 @@ patternProperties: >> examples: >> - | >> davinci_mdio: mdio@5c030000 { >> - compatible = "ti,davinci_mdio"; >> + compatible = "vendor,mdio"; > > The problem with this is eventually 'vendor,mdio' will get flagged as > an undocumented compatible. We're a ways off from being able to enable > that until we have a majority of bindings converted. Though maybe > examples can be enabled sooner rather than later. > May be some generic compatible string be used for all examples, like: "vendor,example-ip". What do you think? -- Best regards, grygorii