Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2152560pxb; Sun, 18 Apr 2021 21:04:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcU368r+p66WlXNcVyJiYyD05JtA5h80ITW3sjUlfujPY8FfcYkXQnTadc69XYa5G3hQd8 X-Received: by 2002:a63:c042:: with SMTP id z2mr9895739pgi.136.1618805099094; Sun, 18 Apr 2021 21:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618805099; cv=none; d=google.com; s=arc-20160816; b=HD2LxRDyWhtjhNdgKr2dEwQDWPOtW0V9bdwGkBA36ktWJO9+N1N1hU6SOdh2fDZQ/p 4uVYoZ4TZzHKH8lHiEvfSmoBcbDL4IaY7/fxGrwtumJhVRXWYPdg9QvJbuceBAdj7Xkv HbXc32BX+i52Bn6GghoFmz0YmY6vATINIktShGjzWZhkVGEOMS+ElSBzL30MX5wmXMEY EUM+/2NJ6Xhi7USTKr9CUZDO/Mg7HXdBV6fw5rPqbyVUFXW5mdbIOzy9YEQYCUf0YAOf G1BZXoPUGMCPCqR5oRz8ODc5Dp2FZFZPGvKIg2qOCXgm72xpgtG6OuJ63f+JhGLsws7s eRdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hOsZ6ZAWuon3dm2MZrd8FkaSau84thpl7XFQwU5olAc=; b=VVLzPbFHQJwu6ZysPNX9CmlU8mEgh7Hd+dZ1w9QE0A4XBbdAQdE5Mc2cOrhgpnMEOk ZzNommpcSmyeaxz5Y+6eBbSjfaEK4+5jBGG+XhtF5xoSSSLHC8Bp0MqAWqbh8DNuH7RC olowi002E85PTsgVNQTnJeXsRqRZ2VsTM7dOLZQdN3zCKPBtIibJnatbBd1Zfxjm5UxV JG8Q3J7UhyUnNw3SsFsxY3Mc3w1gNaFnRAnJlC9VJbq7kIlghHmOWJe27LZYFZQfdOnA GhZx5uvKfYajRrmQlEpp/YOR0XW5LhOYgGfwuO9xAmVzyUOc3Wf4BJN9JySmCMvTP5kt vlTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FRj2Oc2q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n3si15729011pgt.383.2021.04.18.21.04.45; Sun, 18 Apr 2021 21:04:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FRj2Oc2q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232729AbhDSEEg (ORCPT + 99 others); Mon, 19 Apr 2021 00:04:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbhDSEEf (ORCPT ); Mon, 19 Apr 2021 00:04:35 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F1A6C06174A; Sun, 18 Apr 2021 21:04:06 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id nk8so3976379pjb.3; Sun, 18 Apr 2021 21:04:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hOsZ6ZAWuon3dm2MZrd8FkaSau84thpl7XFQwU5olAc=; b=FRj2Oc2qKXjJ0+HRBeXKiZNcvm09E0wR+zi4pf4hYThpFVjDmoirdE9srkAX23K690 h5SgoI2Q9EtS72FDV4ipvZvWtfv/GUgNBfVJXenX/jt4ILBLY3h5UpBG2zmX3G0XhGhY 2B80K8gWjkqK11sry1/PAjH9ZckonsgQBCNdSlOg+NyIQr85926xkyRHJZICg8RQyJFE j+MtbJkaxdq71+82qyKN7DSmv5wta7bkLxA8qQ57BzI8dBS7lefmasAnQwZLSRqFN7T+ udc9CAZJ2i+038e463+wn85ZvR1F4jbZN8eNPOn5R9QjC1kd7m58N8N85MgNgoRoCaIL u7DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hOsZ6ZAWuon3dm2MZrd8FkaSau84thpl7XFQwU5olAc=; b=m69wF1TPmy9Sflo/W9HSZTeyUf6nPBWaf3jw8AThLIaJv8Jpuk9xPD40FJP8sqWIJC 3N4CxDJDGtySxvgPHAVCb+NoDA3rrtGHS5pSFeq2unvmNZbFNh3JUI3Z/1AIYJ2erL1w mN7vPoOxogI1G6YcOpfNaFi4fcho06jdUrJ/OZy2aRbuNvaI2tcZDyFMuETqeffrTVNT RbPBvgX90/JiOToBfADsTk6TM0tGdwePxtlpH6lWGhnrbVe8ua45CG1dYomhKvrOmMsQ HAixxa0ZDITIrM5EHSjQbCyaIekdMDSQ7zIQBNrMm+UhTKtIZ4Fnd6bJfrSUL2MeeZeu dfzQ== X-Gm-Message-State: AOAM530c+EmiZozAva5bdD77NduXhjXoc5wTUxBJqBaSrsEJe7LG4fis PiHBVwb+20pyMI7+2vVWtZY= X-Received: by 2002:a17:90b:3646:: with SMTP id nh6mr22581469pjb.119.1618805045663; Sun, 18 Apr 2021 21:04:05 -0700 (PDT) Received: from z640-arch.lan ([2602:61:7344:f100::678]) by smtp.gmail.com with ESMTPSA id 25sm12169423pgx.72.2021.04.18.21.04.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Apr 2021 21:04:05 -0700 (PDT) From: Ilya Lipnitskiy To: "David S. Miller" , Jakub Kicinski , Rob Herring , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Matthias Brugger , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: Ilya Lipnitskiy Subject: [PATCH net-next 0/2] net: ethernet: mediatek: support custom GMAC label Date: Sun, 18 Apr 2021 21:03:50 -0700 Message-Id: <20210419040352.2452-1-ilya.lipnitskiy@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for specifying GMAC label via DTS. Useful when it is desired to use a master DSA interface name that is different from the "eth%d" pattern. Ilya Lipnitskiy (2): dt-bindings: net: mediatek: add optional GMAC labels net: ethernet: mediatek: support custom GMAC label Documentation/devicetree/bindings/net/mediatek-net.txt | 6 ++++++ drivers/net/ethernet/mediatek/mtk_eth_soc.c | 4 ++++ 2 files changed, 10 insertions(+) -- 2.31.1