Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1726090rwb; Thu, 1 Dec 2022 23:39:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7GY7GNJAGM1CH4AasOE22Xvz5nlyiMjf7koLqAqc1v0YOuXhjF+cOYQYoigS8XfpjBV3qY X-Received: by 2002:a05:6a00:348b:b0:575:d693:3882 with SMTP id cp11-20020a056a00348b00b00575d6933882mr9377638pfb.45.1669966766050; Thu, 01 Dec 2022 23:39:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669966766; cv=none; d=google.com; s=arc-20160816; b=VdshVIjFdELJJC4k4GgSsx5jzofKbhdCr9h49bkYRyzK2gorK96BjjYiU3pa39C43K gedYuFKJ3Q8OX7mRws2MEELAkRea5blRET34Ej8NDAOjbRf/CJZmJlapT9l4AT2ipp6S I7UkahFqDzcJ5DhbJXBVRr3jxqztSZhvS+v6sDnjCPaeZlWQGHlAnKDpR3wgvrAHD5mq kSBXtggksjeOu0+BIg9a8CQ2Zy+qm8M7neCm81pfE9Cgz4Kr8026PZP0iNIvk4jrVAzA H58QlQGhavVU/TAr519qtVsIsb6Fb7pGrGLx7N4+pIomjAu9ryzCruuRzBZw4pqmJEP6 bI4w== 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; bh=EIBnr+dgnkgbdphQqeBboPcSagbhX1KPdzTtHmLhM1A=; b=XShb5B3CgDqDjopSkGweOJ3FQSTKqFHcRuvfDwS2nnDJjBMGjf1BbSltsSe+JwKUu6 25qpg9mHW/HxPROc9OnEMSL6SMYOxHQ1KAeRzqXckZuHXJpaX2G3Jr7oqXR4GuPM67q8 IxYKtdPbz9maJUW/3Lq0oc/H29AZAwP6QBX7oMM67DYJqKg+fJeTQoH353j3lD6VXx7n XXIjcG3/0D+zqrlvjAoMd5664C+GFyP+/SLPe0XlFwAchW/iF/cw+lySJVuCO7scmoQq 7AyVwpZTdMEYNpRVxZjl6OSqBsX9S2kPyyHMhuSZ7aULukFDWPhepTc5+lCxKEx/DRCp VK3w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ls5-20020a17090b350500b002194029463fsi7455866pjb.111.2022.12.01.23.39.16; Thu, 01 Dec 2022 23:39:26 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232463AbiLBHQj (ORCPT + 82 others); Fri, 2 Dec 2022 02:16:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231386AbiLBHQe (ORCPT ); Fri, 2 Dec 2022 02:16:34 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DF5F60B75; Thu, 1 Dec 2022 23:16:33 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 1C61624E15C; Fri, 2 Dec 2022 15:16:32 +0800 (CST) Received: from EXMBX173.cuchost.com (172.16.6.93) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 2 Dec 2022 15:16:32 +0800 Received: from [192.168.120.49] (171.223.208.138) by EXMBX173.cuchost.com (172.16.6.93) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 2 Dec 2022 15:16:30 +0800 Message-ID: <1d3f1334-b6bf-57cb-7f7e-48e3c08a5560@starfivetech.com> Date: Fri, 2 Dec 2022 15:16:29 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v1 3/7] dt-bindings: net: Add bindings for StarFive dwmac Content-Language: en-US To: Conor Dooley , Krzysztof Kozlowski CC: , , , , "David S . Miller" , Eric Dumazet , "Jakub Kicinski" , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Richard Cochran , Andrew Lunn , Heiner Kallweit , Peter Geis References: <20221201090242.2381-1-yanhong.wang@starfivetech.com> <20221201090242.2381-4-yanhong.wang@starfivetech.com> <36565cc1-3c48-0fa8-f98b-414a7ac8f5bf@linaro.org> From: yanhong wang In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS065.cuchost.com (172.16.6.25) To EXMBX173.cuchost.com (172.16.6.93) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 2022/12/2 1:35, Conor Dooley wrote: > On Thu, Dec 01, 2022 at 05:21:04PM +0100, Krzysztof Kozlowski wrote: >> On 01/12/2022 10:02, Yanhong Wang wrote: >> > Add bindings for the StarFive dwmac module on the StarFive RISC-V SoCs. >> >> Subject: drop second, redundant "bindings". >> >> > >> > Signed-off-by: Yanhong Wang >> > --- >> > .../devicetree/bindings/net/snps,dwmac.yaml | 1 + >> > +properties: >> > + compatible: >> > + oneOf: >> >> Drop oneOf. You do not have more cases here. >> >> > + - items: >> > + - enum: >> > + - starfive,dwmac >> >> Wrong indentation.... kind of expected since you did not test the bindings. >> >> > + - const: snps,dwmac-5.20 > > Disclaimer: no familiarity with the version info with DW stuff > > Is it a bit foolish to call this binding "starfive,dwmac"? Could there > not be another StarFive SoC in the future that uses another DW mac IP > version & this would be better off as "starfive,jh7110-dwmac" or similar? > The StarFive JH8100 SoC in the future that uses the same mac IP version, so call this binding "starfive,dwmac". > Thanks, > Conor. >