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: 9943309 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E05B0604D4 for ; Fri, 8 Sep 2017 07:17:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1596203B9 for ; Fri, 8 Sep 2017 07:17:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C63FD20453; Fri, 8 Sep 2017 07:17:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1975320856 for ; Fri, 8 Sep 2017 07:17:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=p71/LdHQKIifS5dzhaXOwPEyU8odxxiHZ8jJtBKpBfs=; b=Ld3TuGaAjlK+3UU48P/6MlUFNX tJc4z/n3V7LlgL2ghj9fsm9yxta86mp/tMQ4Tr/aiMbN3WYK2/C1hiABqKSBhkRd+K/bLk+/WphJE gt0KQ8I67w3dAwN4p3QLWEuSVNRJK4AjTHpGlgpouS610AzquCE0riZcFgqK6XcC6DjWpZQ38Mm1i 2alCYFj3vpRdgBJKResYhGJ/3lJDZg78CkuZR2z/tvix+xoWnuQt7X0wHBS43Tyf7dHEd5CVtLHPe 9OLm1ODr2HnQ2pGWjhomr8/JA+PhRsxFygK/ymhwNFcHPw15Z2N0yICqk1d4ehD8S7ot2bXRjyzvq 1yB6PCAA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dqDX7-0005mU-MF; Fri, 08 Sep 2017 07:16:57 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dqDUq-00035E-9R for linux-arm-kernel@lists.infradead.org; Fri, 08 Sep 2017 07:14:41 +0000 Received: by mail-wr0-x244.google.com with SMTP id u48so818760wrf.4 for ; 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=cEJuvZmUrutlhtrm7pRpGoMlILO2+Q39I0JSgPxcP5KjpSA5KqapYmiyb2r+M77qny 6h/GEuBqo/qr7CRPSICTRLV2wgcB0MDY6bxSEWOme57XFe+UKmBTXRQaIw1iKOe0ziCm bbG5QSYL/QyhlkWHo/+OXNllAELDilq5PtHdbmm0UfRFPl1n0wBZiiO6RVu/Ym565hgF uSfI6LOS2GZkGEAkT6jy7PdDULHmF0enhbsjb+zSdUK1TLQRaQoTa6sM42x7EVjjQFQa HEDN60AAMYAaUOz7IMAClK3qDF3vUBQXFjLV+QCdY1zPfi1vTclwUahon3uljWG9XyFY Qo/A== X-Gm-Message-State: AHPjjUhbFIfvAsy7P1Hi2vgk4iQw4DYBQc609uN7rNfZQeWBakJYrD4k OVq/QlmGEaBvzg== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170908_001437_464211_147F1C54 X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, Corentin Labbe , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 */