Message ID | 20200622150534.27482-4-calvin.johnson@oss.nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp1124353ile; Mon, 22 Jun 2020 08:06:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1iZlL03VWf6gUmNOduF898k5IE/QJnZaQkCnXmuTXqQ8hTkXW77GmYYvociYPWxLwxXjJ X-Received: by 2002:a05:6402:1606:: with SMTP id f6mr16878892edv.286.1592838382680; Mon, 22 Jun 2020 08:06:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592838382; cv=pass; d=google.com; s=arc-20160816; b=cuC6YBWO9PhsIT1jyKDv46UEEtsuCFhv8E5VgOxZO4EpsCb1XhuOoHyx5YS+rI3VA6 VJAhfgsbEWW3PrHrb3ts9sJOgYxjVl9nz+SF8Mw9i/5e4BWVVVvt1l8zKoOLIYl59E/z 9tgOrIIWDU1Vy/ftwwNFnTVCawg656rxGlt0seKaqDqV5+OXEA3TYxLxc6lLKpq6QkPR t2FO2mE4O2bIJLzbFdnF8QUQj/CRSb2KPJ/i0RdGWqpjKbJ6cUjySKsDV/YRDiCubd0M 75ivzajhiPz74nUG7xGqtNpPVMlsSBwmn1ZfI2mvamQ7B98Qa1VfKQ8OURrlpJFYlyCi Tz8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=9RSMy93/Z670E4QZrOsK7Fyl1gPiV3rIn7Naw8XtO0Y=; b=qDn1WUCb4MHRVsFy0Vocl1uQhUBVTFD3EP87KH04e0atxs0oO/E9XJMJZFhqtrKJn4 f31714/LO8q22lTDNPl7WfiJrK4kRgD46Glr5fi57FTLrCeYwGL4ZOF2A1koeAEmwyN4 XmC188CaWJYnRJsSR+XLan2PbE/mNquRLAXG/usEhp5CRIEAzwZ69yH/rfYBHozCg2WY r8niEHeXXUWC8U3jdY/jCSeI0nFqMZxYAbADizupB3veyE1ykTNK4O/PNEr4TdJ4FCwM 5HdXYEu9EH7sZTASCgWcmmb+JvSAk14qSc7RfFPsDwjjWzwhb3HEfQehFEPjHp8YJC9X u9uQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=B1g1X5P4; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <netdev-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v25si8895767edq.70.2020.06.22.08.06.22; Mon, 22 Jun 2020 08:06:22 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-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=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=B1g1X5P4; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729400AbgFVPGV (ORCPT <rfc822;patch@linaro.org> + 9 others); Mon, 22 Jun 2020 11:06:21 -0400 Received: from mail-am6eur05on2047.outbound.protection.outlook.com ([40.107.22.47]:15660 "EHLO EUR05-AM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729365AbgFVPGU (ORCPT <rfc822;netdev@vger.kernel.org>); Mon, 22 Jun 2020 11:06:20 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hr+JcPCWQHeDSZj5ZYsvD6SD3Ip5/j7FGokZfuuA3wU6sdnhvMsJD+zQDbhMBoTEJP1JTxuf76KD4SLZOrJS+5yUfS7kj5trRv9shbLxDyjXxcAmmVW/V234Qzsnh36rNoJHZkVuHu/3w2VNMASknOUs8jbkRnnkIJvv/fMS8uvc6Ic5mFp7XTLXsMXLqhgJWspUATUDYVME67HeinVOwJL3mwAOkBAghWTkaRrnFQwgPrYaXEwOi0nRhBEwSUumq1wSokl7Mt4eVQCUrJCpCKsW17x1OvzcbUztVh2SvjEznqQuqylIhQxivuWdg8JFJO9Osj0X62sD8R1kl+biWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9RSMy93/Z670E4QZrOsK7Fyl1gPiV3rIn7Naw8XtO0Y=; b=cWWhSHoGwTdiMGOtEgm5BdCWtZN9M4AdpmS3zdbmc5Cm7zgDAyzofKl7KnEznrh7rZqd5V2Vs6WNkj5am3MWYdTzTyXy3axZJdozCYn3U+oofCbp1dvbB1QS9mH8OrpEXldN2ij/eAqF4chEuOlCKuSROx/TiPDp/QYnLTt3BzNVnqA+YOm70yFQ8m+F2EMZsQ9+w1tPV1iGhkZKitNIojmadPoIpDQ1a5UEt2FdncDbsz86Rglp4ictd+ej6BGxBK/TNmR9RoY1dRIbSywlAfTmBI0F7ZyAgD9O2PeYigpOTYLKm8MQkQMwS8PKdfz5zCvZHfhokfXo9iu+sGk1bQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9RSMy93/Z670E4QZrOsK7Fyl1gPiV3rIn7Naw8XtO0Y=; b=B1g1X5P4nRmCmylUclBvk4opyGaBA6I93xWfeMunPr/O31nW+G71WHB5RWZt+0/cZC8VoWAtKVs7XgdlV00GLpKU5bcINiuPvgPBNI88jgc8kHE+lIATgNZ8hkZdXqaLsyXLwH1ZJBzNcxxyXgJJUk5BR1XnroFjzdulqA+zSwU= Authentication-Results: arm.com; dkim=none (message not signed) header.d=none; arm.com; dmarc=none action=none header.from=oss.nxp.com; Received: from AM0PR04MB5636.eurprd04.prod.outlook.com (2603:10a6:208:130::22) by AM0PR04MB4289.eurprd04.prod.outlook.com (2603:10a6:208:62::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Mon, 22 Jun 2020 15:06:16 +0000 Received: from AM0PR04MB5636.eurprd04.prod.outlook.com ([fe80::7dda:a30:6b25:4d45]) by AM0PR04MB5636.eurprd04.prod.outlook.com ([fe80::7dda:a30:6b25:4d45%7]) with mapi id 15.20.3109.027; Mon, 22 Jun 2020 15:06:16 +0000 From: Calvin Johnson <calvin.johnson@oss.nxp.com> To: Jeremy Linton <jeremy.linton@arm.com>, Russell King - ARM Linux admin <linux@armlinux.org.uk>, Jon <jon@solid-run.com>, Cristi Sovaiala <cristian.sovaiala@nxp.com>, Ioana Ciornei <ioana.ciornei@nxp.com>, Andrew Lunn <andrew@lunn.ch>, Andy Shevchenko <andy.shevchenko@gmail.com>, Florian Fainelli <f.fainelli@gmail.com>, Madalin Bucur <madalin.bucur@oss.nxp.com> Cc: netdev@vger.kernel.org, linux.cj@gmail.com, Calvin Johnson <calvin.johnson@oss.nxp.com> Subject: [net-next PATCH v3 3/3] net/fsl: enable extended scanning in xgmac_mdio Date: Mon, 22 Jun 2020 20:35:34 +0530 Message-Id: <20200622150534.27482-4-calvin.johnson@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200622150534.27482-1-calvin.johnson@oss.nxp.com> References: <20200622150534.27482-1-calvin.johnson@oss.nxp.com> Content-Type: text/plain X-ClientProxiedBy: SG2PR03CA0115.apcprd03.prod.outlook.com (2603:1096:4:91::19) To AM0PR04MB5636.eurprd04.prod.outlook.com (2603:10a6:208:130::22) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from lsv03152.swis.in-blr01.nxp.com (14.142.151.118) by SG2PR03CA0115.apcprd03.prod.outlook.com (2603:1096:4:91::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.10 via Frontend Transport; Mon, 22 Jun 2020 15:06:13 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [14.142.151.118] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ce8e54b4-33fd-41e6-ee55-08d816bdcfb8 X-MS-TrafficTypeDiagnostic: AM0PR04MB4289: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <AM0PR04MB428916784770F4F6EF630697D2970@AM0PR04MB4289.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-Forefront-PRVS: 0442E569BC X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EB/abq3HxrsyLoLSyyqk9e8zYfD1GmhN74uJjy+vTypc2JFEDyzn3pldkkuDpuul4mO9ztsbafbGWHmCpyEhoz16kXUzMPt5ZMol9aEmvJG7LDV8x6tsk5srpxddf4R+4i3Co4LDeRhPj7ajlfUXV2OjZnoZj/lXZ/OUjvoWMHRLl6Izc9FC0D5Gv3cpgD4cOa8XZIBkDW0nrcUAMu9wckFKwetqbcoZ8WmcZ6WyEEUgMgz/fVZxxemTFRO1lghcK4+1HaIY5MDKq/GGF2NaoGx3wTAX2/dnHdKJufP3YtlfAnmK03A0X0UofGSoHHuUrGmM7+hbGZiNr1olHZ+UkQQ9Fj1c1uJ3K6UZID5Slu/Gn8X6fPa3sSyRst4z7PKd X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB5636.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(396003)(366004)(136003)(39860400002)(346002)(6506007)(478600001)(26005)(16526019)(52116002)(186003)(55236004)(316002)(8936002)(2616005)(1076003)(5660300002)(110136005)(66476007)(44832011)(66556008)(6636002)(6512007)(2906002)(66946007)(6666004)(6486002)(86362001)(4326008)(956004)(8676002)(1006002)(110426005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: fKV3SfeCDBPLCPW5jEAuYhQVMd2MSFjSWXnY8PANzb49r7Erd37P6Lz5DO/uc39KY18biyqz26EqXlibpQgek9grq3cEZT3z39WysqJMMSsOMtKlkDFe4wHmkurmdP9doPeoTNHfdvhCfJmIHsKthrU7AJHd+HScXHNQvttprDTvAitGa+jKYV2zHRfYo48bBwGpvsBW1/9dV0c3V+6O0tTc0DBLY9yJYU/8lhPba8L13lBPjQtXn+xOJQ4c5k6jK41a2EW4XwJpQLlX0PcUmQZ2oiSALLvw6i70voItAIZ9+9kQqno3NSHSkrQd4xRtMFgebuM/dSNMupLz9g9nKOnCwZBUD7INWeeGKDOKP+Q4BwAN5CeYsWMKiJUEE/PiVRHZx7SE2Uws9H20+6SqYyC6oGf0QexAl2IEmZo0JG2FJ4HqS4pCXVz8AEVRYjgs8pxaS69flHaLdCwDN5DSmsC1OF396YJolzFTK3DYlUehf0nQokIOmWa7yslRNbGo X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce8e54b4-33fd-41e6-ee55-08d816bdcfb8 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2020 15:06:16.5986 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2FRrxmqrqZq2Ot9P4xjYTBe/qv1CoWTivrA1T86Qj7Sap08XfWc1eInsJBoHMmkp49c0tLKjifpUg93CA5Kxzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4289 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
[net-next,v3,1/3] net: phy: Allow mdio buses to auto-probe c45 devices
|
expand
|
diff --git a/drivers/net/ethernet/freescale/xgmac_mdio.c b/drivers/net/ethernet/freescale/xgmac_mdio.c index b4ed5f837975..98be51d8b08c 100644 --- a/drivers/net/ethernet/freescale/xgmac_mdio.c +++ b/drivers/net/ethernet/freescale/xgmac_mdio.c @@ -268,6 +268,7 @@ static int xgmac_mdio_probe(struct platform_device *pdev) bus->read = xgmac_mdio_read; bus->write = xgmac_mdio_write; bus->parent = &pdev->dev; + bus->probe_capabilities = MDIOBUS_C22_C45; snprintf(bus->id, MII_BUS_ID_SIZE, "%pa", &res->start); /* Set the PHY base address */