From patchwork Fri Sep 8 07:11:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 811352 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Y7mNh5XT"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3xpT9Q2dJBz9s83 for ; Fri, 8 Sep 2017 17:15:06 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755295AbdIHHOy (ORCPT ); Fri, 8 Sep 2017 03:14:54 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:32924 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755119AbdIHHOT (ORCPT ); Fri, 8 Sep 2017 03:14:19 -0400 Received: by mail-wr0-f196.google.com with SMTP id b9so832939wra.0; Fri, 08 Sep 2017 00:14:18 -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:in-reply-to:references; bh=rJe9dMTgNrAKeH47d5eX7NcMOipT/COvEYhifR+x3YI=; b=Y7mNh5XTF7HM8ovVmi1N0SPyPAvU89TyuU0BZvr/xYY6/oqxYgJpwrnWOs9dw9+rRF SlLnvFcS6Fy40mlHwur8n5YkADYs26aJo/TEVTjOQB9nGRLoEyiqUD+D21CMumfaG8k1 z3gXsJ8t4F7qzlQjHwEQcmZN1cFPfcut3eV2zJtx3OGjZ0Ai65heVByD7t1VbgxxKTgF y9XvLSEarbi87j3cNDb/G1q22cTaUrDMB+XK+/Pp26a9+YqVnM3juCc0/KOVUSTJW4JO AFAr//Tc910WOoXBxrSDEfP9GFEOrPzvV5B2h/eQg7zwGFMP3c/kF/CcwOy5XgUavvkQ z7Qg== 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:in-reply-to :references; bh=rJe9dMTgNrAKeH47d5eX7NcMOipT/COvEYhifR+x3YI=; b=qwT0DaXAWJIrqQ5L6Nq/XvjWzP88XZfp3USiIPmFy/27SUYDZIZuijrZbKyjMRPs48 PH2Vq6/r7oQhWT+aebto1UZdc2cKdayU4lqIMeHhO8NbhF7oIV0/mE86M5idnS1eUwmR yv9wB5IdWx9YuO0dYLU6AxdSLqlGPpciXOMpi5JbkP2t3LgUhdYNTwZFD4H+qNxAV95x 2biD1rsG8YJaQUcVGL+xZxKVl2AYSXy4uQNuQO2gktGxVVRyeoWcbGB8l3X7m4dCZyFP HfkhCocM18tJplAsJgYI4e7r7xaPYHCQYQFggwsNEX57UzSf6a+J8SPuAWBKrDotKm/F SkSA== X-Gm-Message-State: AHPjjUiO94zACRA7Nee4y5fpiHZ/dQ2yTFdtmgWIJm/s0HO85ehl+MQZ yfF356eyV5dCYA== X-Google-Smtp-Source: ADKCNb7DNTHXFQeNYBzeMbFAMPhF9xrvNoaeUwL46otyqpQ4OeoHsEZLmfD1W3PyGETNzeBYCE7f+g== X-Received: by 10.223.184.216 with SMTP id c24mr1425408wrg.315.1504854857701; Fri, 08 Sep 2017 00:14:17 -0700 (PDT) Received: from Red.local (LFbn-MAR-1-580-96.w90-118.abo.wanadoo.fr. [90.118.159.96]) by smtp.googlemail.com with ESMTPSA id l19sm684566wrl.47.2017.09.08.00.14.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Sep 2017 00:14:17 -0700 (PDT) From: Corentin Labbe To: robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, peppe.cavallaro@st.com, alexandre.torgue@st.com, andrew@lunn.ch, f.fainelli@gmail.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH v5 09/10] net: stmmac: snps, dwmac-mdio MDIOs are automatically registered Date: Fri, 8 Sep 2017 09:11:55 +0200 Message-Id: <20170908071156.5115-10-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170908071156.5115-1-clabbe.montjoie@gmail.com> References: <20170908071156.5115-1-clabbe.montjoie@gmail.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org stmmac bindings docs said that its mdio node must have compatible = "snps,dwmac-mdio"; Since dwmac-sun8i does not have any good reasons to not doing it, all their MDIO node must have it. Since these compatible is automatically registered, dwmac-sun8i compatible does not need to be in need_mdio_ids. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index a366b3747eeb..3de5501e34fe 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c @@ -311,10 +311,6 @@ static int stmmac_dt_phy(struct plat_stmmacenet_data *plat, bool mdio = true; static const struct of_device_id need_mdio_ids[] = { { .compatible = "snps,dwc-qos-ethernet-4.10" }, - { .compatible = "allwinner,sun8i-a83t-emac" }, - { .compatible = "allwinner,sun8i-h3-emac" }, - { .compatible = "allwinner,sun8i-v3s-emac" }, - { .compatible = "allwinner,sun50i-a64-emac" }, }; /* If phy-handle property is passed from DT, use it as the PHY */