Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5859417ybe; Tue, 17 Sep 2019 14:59:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqvk09QEowmsmCan4UZJ/op8BA5B8ougodVXBGLuCLhr8iplqlIEmeq+GJso3+sB33ukDL X-Received: by 2002:a05:6402:68c:: with SMTP id f12mr6975551edy.299.1568757573045; Tue, 17 Sep 2019 14:59:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568757573; cv=none; d=google.com; s=arc-20160816; b=ZHkZKHH+yutp7WYc+djTc/NfwD6uC/eO/S8i0Vpu/n3krHtBp4ThFy9oMgyKPkMiVn KhKP9mc6bmnkaES4f3bkQqTiq9okyZW0QXh1646pM296vZAZsl5epLPbAPuOFqdwSeE/ tZNqaNVnlTw2pd4HIW7tZVPUwWdpxAmIJaqqjUQrp2R3gKJOWdOS0ITQiYMmTaO3KYKj nfTEqCdfRfJIR3cpfoixD6SGVdyhYCFaxvZHJdYzjKNfWDwYVwql+6Zr1iXFzkbjuNgs cloWm5q4C/R/hi0IoKT4NyHD7fC74qrybj4+n6iO+jb+xIUmV+UUvk9WdoY5bLZHyHMD I+Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=aar7K5K/y+RCGtVDqbMIWYGQlHMubJp2qZUhMT+Yq2U=; b=fPXGWHgHzGNOZqP7fg+IqBUuWipJhUVK2XmPmB9RYuS5yXty/U8cogLnTsmCwecBJf XKrHrUNLpv5U7yisissQXdts70wpXqVLX6kaQPvACV7R7wk8kIY4N1XTeutlngUTLWxv 8NKywa2rnF4Crm+Gz9uFX3+K3p9LXkr4sqhCTNPcCjo5Szkvj4ovMPJHhh/CvaKsP3br 8Cg2cFb2qSwA2OqGefp9Dn1OlrH2LQaRpwzt9UeEBOV362M23x57pjq/wUTCDKmrjQAd 84T8hvzwcIfpElqYWbQxRnjypFeUFHYZ7JywxErr2BKPoGqTT9m/AtaEs1pC67BOvE+5 glyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=wNC1+U47; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z26si2108343edz.99.2019.09.17.14.59.07; Tue, 17 Sep 2019 14:59:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=wNC1+U47; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728282AbfIQMlg (ORCPT + 99 others); Tue, 17 Sep 2019 08:41:36 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:50418 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727308AbfIQMlf (ORCPT ); Tue, 17 Sep 2019 08:41:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=aar7K5K/y+RCGtVDqbMIWYGQlHMubJp2qZUhMT+Yq2U=; b=wNC1+U47xMrKyi+qAQ5IimJMH1 5xcJGLxIgE8f9ipXN7rraucv2L0755fMrasd4vsArbJpd5ToHnBooG95Uaz4Blbwv3nEz2Vgvde79 17gJ8Kt4MQiW0JQt/mX//D8ouxZYy8WI+leEUt5cQOkTKE6cZL1gJL1o9Yf9xdJgjqD0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1iACnU-0000rT-KO; Tue, 17 Sep 2019 14:41:32 +0200 Date: Tue, 17 Sep 2019 14:41:32 +0200 From: Andrew Lunn To: Alexandru Ardelean Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, robh+dt@kernel.org, peppe.cavallaro@st.com, alexandre.torgue@st.com, f.fainelli@gmail.com Subject: Re: [PATCH] dt-bindings: net: dwmac: fix 'mac-mode' type Message-ID: <20190917124132.GG20778@lunn.ch> References: <20190917103052.13456-1-alexandru.ardelean@analog.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190917103052.13456-1-alexandru.ardelean@analog.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 17, 2019 at 01:30:52PM +0300, Alexandru Ardelean wrote: > The 'mac-mode' property is similar to 'phy-mode' and 'phy-connection-type', > which are enums of mode strings. > > The 'dwmac' driver supports almost all modes declared in the 'phy-mode' > enum (except for 1 or 2). But in general, there may be a case where > 'mac-mode' becomes more generic and is moved as part of phylib or netdev. > > In any case, the 'mac-mode' field should be made an enum, and it also makes > sense to just reference the 'phy-connection-type' from > 'ethernet-controller.yaml'. That will also make it more future-proof for new > modes. > > Signed-off-by: Alexandru Ardelean Hi Alexandru Adding a Fixes: tag would be good. Just reply in this thread, and patchwork will do magic to append it to the patch. Reviewed-by: Andrew Lunn Andrew