Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1802965ybj; Sun, 22 Sep 2019 12:15:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6mx8hgR5c/HMo3gVQMnzs5HA0+o4Ipj19J/6W7urJL7bMqxiiBOL6NYp/f1H6TwDyGytE X-Received: by 2002:aa7:d313:: with SMTP id p19mr24261673edq.197.1569179750131; Sun, 22 Sep 2019 12:15:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569179750; cv=none; d=google.com; s=arc-20160816; b=cyTwK6gCj3i5iUMcIVOKinliW+FbJtcQTKr26RM+RpYNLK2i64fj4/mLfvDnHLNWcN sFZq5EctLHMA8JBiG1q7TvuXnxuXNHdMAWftzJ+lUqu5452vxJgUeUiGCxIhXnO1Bdqr V8N8JXUlr/NVZByO2mVgLRpZmdDuUjjoha9fBKfmg7l59bg2Q9/glV1a5vLSqv+YndbR 8C0Xyycc5FmtwspzrYFCRSLnj7YMLUJ+btJxZTCdewfre0gwVGs91qe11yF6/tITbiKp sCuQGScjaG4k9C38OwYsaG7vhE9ajB3sXjV8aEI3JLDZ2ox5ot7c93s1YAjE5IZsufv0 WzkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=wScDWZ1k3aPENhb3eEVkRi/0sjaCyiUXHzXtGguOYj4=; b=cwdDDfndJg+f1xuR07qysVJzTiMpZrrq1HbaWgHikdfSSmNvKbOCm3qZdJbhfBYuWb 7Peg2qVSV325FIdYFAENZYvBcuQ+5UQeLuAeJLnMVSgU7MaloXKsuFG3PZXExaiTyLqz +1UEpvhO6YUCxqzq8Q25CJy88+KzaGgPapnWuNvvhoa3iCzIxfKtPLxQ5w1jbxLvbtgb 0ceXJkYq/sN0FPAXFqN/Wcc3M/oz01iHnC0VTR6G7t/ap8O06BvamvkhGbeCvYP5XsVz Bvogy5afbHkLslPIR3c5KeKn4GYjz5/hHeSGmG4m+mIfs8NTcDfI2wllOXPJv11f0yc+ zzig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=C9fUgKAK; 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 d19si5064452edv.287.2019.09.22.12.15.26; Sun, 22 Sep 2019 12:15:50 -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=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=C9fUgKAK; 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 S1730422AbfIUBLt (ORCPT + 99 others); Fri, 20 Sep 2019 21:11:49 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:34458 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727442AbfIUBLs (ORCPT ); Fri, 20 Sep 2019 21:11:48 -0400 Received: by mail-qk1-f194.google.com with SMTP id q203so9230141qke.1 for ; Fri, 20 Sep 2019 18:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=wScDWZ1k3aPENhb3eEVkRi/0sjaCyiUXHzXtGguOYj4=; b=C9fUgKAKLuFZ5eYdFogOcuLYgGoPE6fBHeCy3fhnBwQuOjFIAgb7Q/8mjeTNpaSRPa 3YGZO6X8hSRN/TZYDJd+85WwGdD1wEVrdDSe1ChdSI/sHLhfzhDU/K9bjWhaYUxX1MiU E7qRRNuqEhPr2B6qK/WqqDQCSCgZkHiKhs0QTMqjNFpCPvtS3l4gzZB0hRxE0EIqqmzY /5BkuJGyMNjibVreiqGXg7vMCF91V4mgy+YMv6Fz6C2giLOBrBt2lon0x3bSwDKN4YI4 asbEbHkCwFcJfGu/+9alnZ8ssyY4Qa4gjn0b4PTf4d0STZSxw+HVC7sY+HfkBi8Fb+hj BMGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=wScDWZ1k3aPENhb3eEVkRi/0sjaCyiUXHzXtGguOYj4=; b=LIBOfd4jTvGez/11IL6NcGcb768IXwRa/nlbFbehmwornz+OPAmhKUN8eRjAMvIWX4 s7loJ5AD+AEHrg8Qw214U7MmwNW1hwycGLJGtilTSrzIkYa0It14pN8GwcikGUsrSuWU QORihiZTSJvNNacXUamqTT3/8S1HGPDdPXm7rdGvTfQPqu7WEKAAU9mF+khaPCUKrHh0 ee85Bex1llZmAoBU3FZSRSglDm0YDotyj2GlL4nZEB4/NOKD7+7G2DLanLjOdmkj1M36 2hTbJ9b9BDeIOWLpRsUy63DLw0aBlI4TrFaXdmo7CEnvUOwfakFuROLsoopiedcpgWuh N+2w== X-Gm-Message-State: APjAAAUs9Cqqwq94H9wWCNYCdMhxr0oKocdM4GLbdjyNioJnezSovRu2 roLi6yULy92a/1JpJsiUQLEAZw== X-Received: by 2002:a37:4a0c:: with SMTP id x12mr6315388qka.23.1569028306086; Fri, 20 Sep 2019 18:11:46 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id c26sm2233930qtk.93.2019.09.20.18.11.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2019 18:11:45 -0700 (PDT) Date: Fri, 20 Sep 2019 18:11:41 -0700 From: Jakub Kicinski To: Alexandru Ardelean Cc: , , , , , , , , Subject: Re: [PATCH] dt-bindings: net: dwmac: fix 'mac-mode' type Message-ID: <20190920181141.52cfee67@cakuba.netronome.com> In-Reply-To: <20190917103052.13456-1-alexandru.ardelean@analog.com> References: <20190917103052.13456-1-alexandru.ardelean@analog.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 17 Sep 2019 13:30:52 +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 Applied, thank you! FWIW I had to add the Fixes tag by hand, either ozlabs patchwork or my git-pw doesn't have the automagic handling there, yet.