From patchwork Tue Oct 24 17:57:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 116981 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp6085258qgn; Tue, 24 Oct 2017 11:01:02 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QVXVh91b/yLLR0RiJxsE8fDUFwrrDefTKAUGS4jYhl6TGTO80kDpkuIzG/qxNOx/mWcE66 X-Received: by 10.98.214.76 with SMTP id r73mr17062789pfg.261.1508868062163; Tue, 24 Oct 2017 11:01:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508868062; cv=none; d=google.com; s=arc-20160816; b=pm+ehQaB6NIG24Ps24j0yax5rZhrj/eKedHTujgY/Z+ZETr3zvsgrdn/NG2aeJ1AD7 sBz13Ex4pmmWgeEupa4diKCKqH1/772wOux+6LP9f+COQF0Bjv0iQp3ssVRSnIdeQZb5 wn14RNvzBDFTMAjQ+6klstWtdvLcrqh39KK8jY/DqXJwiTEYBStp8vETuEmhTgd6xX6b YqGHWZFl+yqpaNmKiEbbTjYiHFdxBhO9e+YnApyNxTYNT27So+n7aeuAo3t3ZsGlg/9U cD0WrCRw24rfFqKc7P0Vz/k6m5sPP8/mTBEldu6RRZDO0YOymsnwmmE7bDDwLOnwio8q R1eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=mJWdJWphvFCIGiO1i1fpHkc0ROEkgHR+25Nt3OLFEhI=; b=qRWsHIEkI1EGcWkhIC8xHUcAg22c3KwsYsLgvMWKSwFPEn/TyPX+a7WmEe/nvI7WjX Ya09kY6WMwP1Bgm4oOfI7JhXOUzeQBc8XF2TlKXI9jjOgWjsoQ4laBUHsjZFJYlVkCir 8oBcPf9nVWDwZjaO6Rt+Xg8hlDr3BpLKsjIwBX2L3jhZ3vs9VGtT7c3TmL+36xXzaUGj D2APPQ37tL/lP20lBRrfoSncR8WnhUyIErgzhD+gMWomCRsaaKp84RIJMTNoK5PEeX0k vKLJGhEi+ix41Q9x8PUIoXY55S5UA67afDkXKrxwiQS6/ZhVFQxCFNrFLpldoLQ6b9L+ ogYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=CZAXXxtB; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 137si482532pgd.277.2017.10.24.11.01.01; Tue, 24 Oct 2017 11:01:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=CZAXXxtB; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751781AbdJXSBA (ORCPT + 6 others); Tue, 24 Oct 2017 14:01:00 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:49371 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751683AbdJXSAs (ORCPT ); Tue, 24 Oct 2017 14:00:48 -0400 Received: by mail-wm0-f68.google.com with SMTP id b189so17207967wmd.4; Tue, 24 Oct 2017 11:00:47 -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=bZoVHS3dVwiMo0Kx9CpA8ml5rqRdl2WFAzPrr/Qotjg=; b=CZAXXxtBJOsr6wWBCVPXjIFxrVwyBWswfsgSoZEnL1jngTRjJhQnU/gt2ymO0+4EdE xaaTUQYdc/sW+foMv7nWtMCp7Lzu+stsiPgwQ9YuQq6lVtYNM2Sfg8KXbFnmnLoiTG8b Enh/uYtCTJnbmAHXoACNYN8SuBUyMXkiFtwyUMXGKEi8/c9Pcn0XPpxmg1B+zSR5E24i tij3zolW0os5QFYZp63uT4AIUKnwAaIcBEZ4Hx9OEwg4HQvKgjurQ3fdX+K8D/cYNz6b 9OefzrwUbVmci2y9KV0pdJgLbvArKD7fl25kywhm8pa9NEloGoaR1C10uNLGFkmuFfPk XipA== 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=bZoVHS3dVwiMo0Kx9CpA8ml5rqRdl2WFAzPrr/Qotjg=; b=s9JPULNw/lfk3Wb3jwrAu4i/fVMlV5tZzn/HRMU5If3fniFh2FpKSCN0cozBqaCxB5 6fOj1ux5B06Rr4iNMdO55Qi1tmT4QyzrQFk7H4wD9VfuYIc1jwx4OE9M6P35JqvX8QFp 29Gou1+21PSi0pabLGL9dyuzn6ol34ByDCXuM7U7OS0tVp8IfZDjYY1XiA5Ff61W/p7b Dork/VqBdyNRPHHV3e+Wvq802slQ52ole0LgO/Qg4/SNjuN7ciSOCZewFGei6YFIHdtZ ZXPVvhTgWQWEQ1BrJLRInfr1+C+etFtSqKJkhXh/U6HIAYT7gdpOveLorQWs7dlZkf5M NV2Q== X-Gm-Message-State: AMCzsaX66LUP/3KgS4E87Kv4tkEWgzxSpfUUxa9c9YRVQOKNmce9Tilr gVnDSeAHgeF717aX4az5twY= X-Received: by 10.28.12.65 with SMTP id 62mr9819960wmm.129.1508868046891; Tue, 24 Oct 2017 11:00:46 -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 s18sm818968wrg.87.2017.10.24.11.00.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 11:00:46 -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 v9 03/10] arm: dts: sunxi: h3/h5: Restore EMAC changes Date: Tue, 24 Oct 2017 19:57:07 +0200 Message-Id: <20171024175714.15840-4-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171024175714.15840-1-clabbe.montjoie@gmail.com> References: <20171024175714.15840-1-clabbe.montjoie@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The original dwmac-sun8i DT bindings have some issue on how to handle integrated PHY and was reverted in last RC of 4.13. But now we have a solution so we need to get back that was reverted. This patch restore sunxi-h3-h5.dtsi This reverts partially commit fe45174b72ae ("arm: dts: sunxi: Revert EMAC changes") Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index c1bd09dab3da..d762098fc589 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -408,6 +408,32 @@ clocks = <&osc24M>; }; + emac: ethernet@1c30000 { + compatible = "allwinner,sun8i-h3-emac"; + syscon = <&syscon>; + reg = <0x01c30000 0x10000>; + interrupts = ; + interrupt-names = "macirq"; + resets = <&ccu RST_BUS_EMAC>; + reset-names = "stmmaceth"; + clocks = <&ccu CLK_BUS_EMAC>; + clock-names = "stmmaceth"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + mdio: mdio { + #address-cells = <1>; + #size-cells = <0>; + int_mii_phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + clocks = <&ccu CLK_BUS_EPHY>; + resets = <&ccu RST_BUS_EPHY>; + }; + }; + }; + spi0: spi@1c68000 { compatible = "allwinner,sun8i-h3-spi"; reg = <0x01c68000 0x1000>; From patchwork Tue Oct 24 17:57:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 116984 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp6086814qgn; Tue, 24 Oct 2017 11:02:18 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Ti8e59NCtuFB9Jkc3ENHK6nAsC6UVGzRkVfHedtIRdyGW4i07DswtdPYhZ/xkNI4Xt3KqV X-Received: by 10.84.194.131 with SMTP id h3mr13450954pld.29.1508868138034; Tue, 24 Oct 2017 11:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508868138; cv=none; d=google.com; s=arc-20160816; b=PMEucW2LFSYIl5wKnu43prsrsjnC53VtcIze8pvkdEYqBbRi6UfdKIWdFniUomx6Lj ILBylU8OkPSzYcdesv6EJdLvRo6pQYGiFlAergxkdLh/ry6PgQq5VJbanXT/59ZTMXI7 yGrsxMoMlIliAvOE0XPGPHJBxx9WDdJInSCw3eAGPPv/sHKNxpLKuYs1IEzYULVXUBkz 6LtiudzNFWHGODl9lpShOUJpWtWQ3FD8/os6BPY2m1KYyALHI1UmbjsQQz7Eu4sr2u3H Xxt3vKWjRn40EnazZw97BDutuhlG70WULdjrXJjw/0xhlFY9Uh10BTOUJVNLJbOLaLKg ateQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=qXFlLReiWCyti7JSffjzQXJryjiz8QQJ5nb3uEMO1kE=; b=04AtjZnxv2UEbj4WvDo5We+wBEMgVu87ZtUAxx38dX1A8bHmf/0G5PCR3Poqahdy8O 55kvWEAjNfLwcAHA53vIDbq3Xn1vb/6c75eUFl6EZwEG8LwiQVcCw9FGK8IIxl4Gik4q GWa+f0su6C9ipLWqAuJeptQmvmqIhdZanQaBNsoBi/+TqOc0DVulikJugAl4RaL7wTQv 8CKe9iZNjaIRcfS0bjHBOe6otIwvRVX1du3KnxlOz0y2/IaejmQY/Fi33u1ITHdXmWuN XIdljo7mwA95D8bayWadZWQCyiL9/mfX/QJ8ssVqBKDk4aax771RbwlyBjpbnAsHFAet r9BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=oRqRhbdy; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o63si543169pfg.336.2017.10.24.11.02.17; Tue, 24 Oct 2017 11:02:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=oRqRhbdy; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751465AbdJXSCQ (ORCPT + 6 others); Tue, 24 Oct 2017 14:02:16 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:43970 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751884AbdJXSAy (ORCPT ); Tue, 24 Oct 2017 14:00:54 -0400 Received: by mail-wm0-f66.google.com with SMTP id m72so13156464wmc.0; Tue, 24 Oct 2017 11:00:53 -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=b0Gm3D+IVgaMcITsAdwjjB+YIuRbCDg5sWPrMTvxyFc=; b=oRqRhbdyT9FnGVlLoMlUiZS09NjwtRlGxxwKpC37QJARDDrbDZTdjAxBxACLNVlN9b OVwxeLGdLopfXPRuPq478KSrGQ0wbR/JSJpeYa4nhLltf0FXowsEuu6SGxLJrCcZSryp DSSW6ZJgXEWWWlai7i39wh2kRni6XL6s0lob5mAQmp+4zKb1v0dPyr9czEYXOMrAAYSi k39sLIVsOmVSHNMpCWqohYoZB528J7cVQ4YKNivp4RzhCT5Ap85Q2AFYoPK1vcmnaDSv KrCrQEeKVdu8jWFgeMVDq2Qy8H4XowW5xWe6XmWRZqxEk1Z5gzBBl6FiVeOP8yXeZAxL Fz1Q== 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=b0Gm3D+IVgaMcITsAdwjjB+YIuRbCDg5sWPrMTvxyFc=; b=l7SDN0wzoVvTBhtZphthzy791hm5dYIIM2bK/GwfgbT6/BdvnGf7WJYz2sCTaBislU I2r2VkZ0mS66UAva+V22Mr7ERIjNvPWfpcCFuEKEpCx0ca1DWsZXkg904NbcYk7gYoNf fsY2KAnkR0I387WjX1WssqxR3/1pr/uRD6XaSAQ9k6DR0Zej9KQX0ZSQlsbXrJUnjPuG QRlsb/3KbA+KHA9jiHKdw05WH9EVuwihesfgLOqlUbX9GsUpGatwY7mTtSCvJyFt98vM dqBmrcUuhd7pfsiUgZ4rjQgWTQtVI19x1efNiQP4ASxsH/ujdivJQLDfB97T+EvlYSUP n5eA== X-Gm-Message-State: AMCzsaXO8Og92wcfRk1m5RNb5ybr9wi1EJZbBZtR7gO7uKTk2x9odQKo UyKAs2jfsv7qQa50zIKMWPw= X-Received: by 10.28.95.70 with SMTP id t67mr401096wmb.86.1508868052975; Tue, 24 Oct 2017 11:00:52 -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 s18sm818968wrg.87.2017.10.24.11.00.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 11:00:52 -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 v9 08/10] net: stmmac: snps, dwmac-mdio MDIOs are automatically registered Date: Tue, 24 Oct 2017 19:57:12 +0200 Message-Id: <20171024175714.15840-9-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171024175714.15840-1-clabbe.montjoie@gmail.com> References: <20171024175714.15840-1-clabbe.montjoie@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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(-) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index 8a280b48e3a9..9e616da0745d 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" }, {}, }; From patchwork Tue Oct 24 17:57:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 116982 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp6085890qgn; Tue, 24 Oct 2017 11:01:34 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RApeu5rKGso+HVV+httncYNDu2mOxvlyhuqcdhwMEfBsDPLCammsREnHuA6Ihojlh0Yddc X-Received: by 10.101.80.195 with SMTP id s3mr1011253pgp.19.1508868094354; Tue, 24 Oct 2017 11:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508868094; cv=none; d=google.com; s=arc-20160816; b=0/Y7YAwy34l6IIPbh66ahWGtDYA8cUPLvzPQbk/g0jKbWjEXjfTtWsLhyH5kOuh5LX T8SYDNAA/0Iu3S90vtX0oWr7Adn9qinh2Fg7RUz06oaPU40wqDk8zRejc6f0Z3PcJ2wt jZnt2KCCUJCfWVTIkyikcDOCBIwne0Owv8Gv5YZIR6s1DwT52gnX5fnK7oJSf+VsZbOM azdJGR3YaNIOslliYds4g1Omx2P7U5u6A0GGzYPQybxbDb6Fn9F210i90JIxWBIZc/KI p9nRvvn5QV/XfwHiZ2bNr1p5C4fpAauJVrViOy2iDnxkxULYIubwGgAx027Pbdq/Hqd/ ICxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=IltfpS2C8hpQSxTY+uVUQcJw426xx+AiwqmzWZZBs7U=; b=zmVTjWvBkGJCCTOC1iLFABdp+EVgHcJENkXJl1/tSzFnNrHyNSzE3TB1DdtckNVXZk xBU+ADyVRwBrgFeFSBGvJrItoMzRCaGzCi9PvTGzZ/xd8osZ6z1ZO3ZIt80ko/EPLBE/ 2PzVj4h2FOv2iC0Ms7w4gq8V+E/c85RwSnlURv/tqQ2vnrzShnh63YW6fXQCyqf/AHP3 s5gMR/4eCGv4nBtjxr+oTRhQ/JBt1zNYic/FokyHuMk13IqN1WcSsOIeytLAZXgonyWu A9AU2rE+OeyQ2Dud2KU8yueHW7yHdxtT2vXfxQos2IwWC8J5TxdiXGoR5bR+xoI8BuYO 6tog== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=vb3y5LGK; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5si428350plo.143.2017.10.24.11.01.34; Tue, 24 Oct 2017 11:01:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=vb3y5LGK; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751795AbdJXSBc (ORCPT + 6 others); Tue, 24 Oct 2017 14:01:32 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:52957 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751920AbdJXSA4 (ORCPT ); Tue, 24 Oct 2017 14:00:56 -0400 Received: by mail-wm0-f67.google.com with SMTP id 78so15138438wmb.1; Tue, 24 Oct 2017 11:00:56 -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=g4DwBW21baoi+fHJrNBIJ4zYUowYA79ljQDUeIXUjW4=; b=vb3y5LGKFDgAUj2DPqGhAYG7pM1XJahL4+m6tG9RKkmisaYiba2cHnkH9N8kKOOzMx 43Bs0a+/NosVAiIT+jv6iyhntbzz1K0B9buPJFvfdI9/0pt+52CC8uIHccYpQPFLI1sI 5ZiXXoSx2Nbit3Y99WltyNhhM42Fr0VyzLGgIM++Zg++i7OA243ToJYT7/raYDBDe3uG 1Igr7kfQP+dZAwrKTDlFIyBm1bGRou97tqNtXpiI7zlN4Qh4vy8yyMUuiFcPX2SxDbzs YPUQizRq61gS2Q+orQyIppHFsmXBkhWXjk08qvd7SK14yZvGb0EBpcGenVsLkw4WpxYy wh9Q== 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=g4DwBW21baoi+fHJrNBIJ4zYUowYA79ljQDUeIXUjW4=; b=ud8gr6jDn1eXNwTQok3lkaw9H8jukQUPy91bCwdVezbdV5oWe9H+GW36wTgzF1g3qF qfxb42By1aSHCySIg7octisNu0Iwrl3/lNGf3Pcq7YnjLv+WPml/dgbQI7ZuWKrwqWJy qW0K+UL1Gs0ILchzaZbcwSkBEafHOKnITvwonxrtqlKtvAsOYG+0esklgyykNvHClA1F sF/BoZ/uwwuihDM+kyODDJ3xsjgWV+aG6+6NgSjCHZJ0QcXD6g9fRdNq2mjHM6PsYhiv irM+n88q1ojKFc9CY6IgSaSz4lGzUROhEgDYYlhHNC4rdMqpzWGF1DFbZC4wFXrXjENU HazA== X-Gm-Message-State: AMCzsaXURFj43HRPoEZb++lEoTdDdHlAQ9AnGyOEIhjC7lj6PJjpVmmJ XYno49c6bE8jw6fiJlECQ1g= X-Received: by 10.28.224.87 with SMTP id x84mr8278176wmg.118.1508868055382; Tue, 24 Oct 2017 11:00:55 -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 s18sm818968wrg.87.2017.10.24.11.00.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 11:00:54 -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 v9 10/10] net: stmmac: sun8i: Restore the compatibles Date: Tue, 24 Oct 2017 19:57:14 +0200 Message-Id: <20171024175714.15840-11-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171024175714.15840-1-clabbe.montjoie@gmail.com> References: <20171024175714.15840-1-clabbe.montjoie@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The original dwmac-sun8i DT bindings have some issue on how to handle integrated PHY and was reverted in last RC of 4.13. But now we have a solution so we need to get back that was reverted. This patch restore compatibles about dwmac-sun8i This reverts commit ad4540cc5aa3 ("net: stmmac: sun8i: Remove the compatibles") Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c index b3eb344bb158..e5ff734d4f9b 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c @@ -1072,6 +1072,14 @@ return ret; } static const struct of_device_id sun8i_dwmac_match[] = { + { .compatible = "allwinner,sun8i-h3-emac", + .data = &emac_variant_h3 }, + { .compatible = "allwinner,sun8i-v3s-emac", + .data = &emac_variant_v3s }, + { .compatible = "allwinner,sun8i-a83t-emac", + .data = &emac_variant_a83t }, + { .compatible = "allwinner,sun50i-a64-emac", + .data = &emac_variant_a64 }, { } }; MODULE_DEVICE_TABLE(of, sun8i_dwmac_match);