Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp764226ybl; Fri, 31 Jan 2020 07:36:40 -0800 (PST) X-Google-Smtp-Source: APXvYqxJ0c3c91axV7vmwgY2MMrW6slq/LmXenchn0AIUYlZlUv3eBO2QyqCEUc7VWkGwG2dcO0W X-Received: by 2002:aca:1c0d:: with SMTP id c13mr6444036oic.44.1580485000607; Fri, 31 Jan 2020 07:36:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1580485000; cv=pass; d=google.com; s=arc-20160816; b=KZTwX1lwIWBJw4I8awxhgMiYqZj7VHSDd/BYXd3LHlLN69LRbm8c6zRMPgnrXZMFLb UPzFU1k1Osjd06Lse/IepZALqPRI8AH2Uqipls1VHgwnFsn7wik8aorsapawtXZTeuMI ECb7nyNj4JyDQdSYqaxQ5VlVcJX9nku1Wk2bFNiA5Hk4Y0+3BEn1vRqi62cTJX0AIdZ0 rDV1OsFjAOBveeljT9J9E3YdW+b5THrRej7b8DvTrTl0ylAWw1JpxwVLCS+OObmBO1NU OU7KyQUF6ny92zZsboU7LUQdaif2Ecp5QNHkLBRL/rE+put9PQ+oZHQ5SiOL7jQZDVOt HdWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=clFll6eNfoQrDQehZCKdxzep2tSqrv0KWx+dkgbUCTc=; b=Xa0wt0dv84TnDTmBYuKymmmWkcIpJLWCC+ooPAb8GFUoTnID00HaA01fNjBH6o8ZJZ okpN0EFdrXXksCAo8jAOAWwFQZa8TyUNv+bw55cjhPicvzKPXcsyNqLOvZmDYTLlS4Ej JdN36fimi7C8jwfVuqXmDoSHJQohjxKqDm9RHZc2xmJ33JazhdUIQ1ImQP7uvREEIm4Y tjHG2jQrjNh3G+X1o4hlKJd3o8ByV1A5nA32jV1GkEr8ohfuE4rTHeoOO9v55g9RtsE+ zAjTiye+You/cmw0o4rBLHf8E7+ntKAbU6m7kljOP0/yvrdA7/bno/DBEhgJTQ4ODhD6 nzkw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=o8en1Pau; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k202si4244208oih.244.2020.01.31.07.36.20; Fri, 31 Jan 2020 07:36:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=o8en1Pau; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729161AbgAaPfY (ORCPT + 99 others); Fri, 31 Jan 2020 10:35:24 -0500 Received: from mail-eopbgr150072.outbound.protection.outlook.com ([40.107.15.72]:12674 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728922AbgAaPfY (ORCPT ); Fri, 31 Jan 2020 10:35:24 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mzoLKqR0SUWzPX1T0ESEYg3wCCbbpA6/ZzFon82tbGqmvql01lN5Hg8X3oy0DHLmUfYkyQ9d9/uTMStWdbIkVe93v8roebCcqGpHTcPmtTBd+ombc/AGdQMpcFV1ogZPDQE5N5U3Dxws8ydZlGTNCUfnAfdX9m808teW8Vyq5hEXrKu+7tiJ6vUDS++S9Y6TAX1aMKulr7Sq9WbhI4cZxxy7rVRCiVVM1e/Wzj5gYuYzlFnNYbkOTorkN4cPBgCYeO5e37XcOK+TO7K+NCt/xsqrK6Oa7eQRr6kg2ReJQnwqeC9wGA1VBRFBvr+qYS3ftJnQoLWWSS/iJzDvxCACsw== 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=clFll6eNfoQrDQehZCKdxzep2tSqrv0KWx+dkgbUCTc=; b=jDrllZvxYPDom0lPEhkI2TvJEUf4jW2Oe5x3c3lBCuiRymOOSXB9qLV55P+POBSdJrxtCMlxvjP9wVwR8WfZmiRIqbgZP9WmmTFi3xVHwp+qO1tIBUseRi496q27WBbmvFUqg3hdWENvd42XxwxLSx/cd8Q7vmzyQ+Vpu8pK91z0rj+njngt2SG+ePJexXnUXwWjdfm+7UHjTGRiHF37WCeJBwnOhxqg9Y1REup7QdG6rjeJi+Xgit9Vb4vwI1hnJWM0H1hhI4NefSCNLIJFbdUv55ZoT2hAf5aQh2juYp6lit/lE37LsTIaNYLv96BiMxyValhtmx3WdZREJey9aA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=clFll6eNfoQrDQehZCKdxzep2tSqrv0KWx+dkgbUCTc=; b=o8en1PaudL3PJCFPqMEYDlN9bM4QM0t722I5p/OJFEsOc2YxQQn2xSvUnY120awtpJUk4jIeniw31bbw12e4M38+brUaFZ4k9N5KeAyIg0BZl8NyWQI8AdW2bnvaV6RqoGAnsps4ai0GfhBXmKAaN6+9u9IdA0HIVooPq/97cOI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=calvin.johnson@nxp.com; Received: from DB8PR04MB5643.eurprd04.prod.outlook.com (20.179.10.153) by DB8PR04MB6730.eurprd04.prod.outlook.com (20.179.249.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.22; Fri, 31 Jan 2020 15:35:18 +0000 Received: from DB8PR04MB5643.eurprd04.prod.outlook.com ([fe80::e1be:98ef:d81c:1eef]) by DB8PR04MB5643.eurprd04.prod.outlook.com ([fe80::e1be:98ef:d81c:1eef%2]) with mapi id 15.20.2686.025; Fri, 31 Jan 2020 15:35:18 +0000 From: Calvin Johnson To: linux.cj@gmail.com, Jon Nettleton , linux@armlinux.org.uk, Makarand Pawagi , cristian.sovaiala@nxp.com, laurentiu.tudor@nxp.com, ioana.ciornei@nxp.com, V.Sethi@nxp.com, pankaj.bansal@nxp.com, "Rajesh V . Bikkina" Cc: Calvin Johnson , Andrew Lunn , Andy Shevchenko , Antoine Tenart , "David S. Miller" , Dmitry Torokhov , Florian Fainelli , Greg Kroah-Hartman , Heikki Krogerus , Heiner Kallweit , Ioana Radulescu , Madalin Bucur , Matteo Croce , Maxime Chevallier , "Rafael J. Wysocki" , Russell King , Sakari Ailus , Thomas Gleixner , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v1 0/7] ACPI support for xgmac_mdio and dpaa2-mac drivers. Date: Fri, 31 Jan 2020 21:04:33 +0530 Message-Id: <20200131153440.20870-1-calvin.johnson@nxp.com> X-Mailer: git-send-email 2.17.1 Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0061.apcprd02.prod.outlook.com (2603:1096:4:54::25) To DB8PR04MB5643.eurprd04.prod.outlook.com (2603:10a6:10:aa::25) MIME-Version: 1.0 Received: from lsv03152.swis.in-blr01.nxp.com (14.142.151.118) by SG2PR02CA0061.apcprd02.prod.outlook.com (2603:1096:4:54::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.29 via Frontend Transport; Fri, 31 Jan 2020 15:35:11 +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: 15913266-e5f0-4be7-fca2-08d7a6632cb3 X-MS-TrafficTypeDiagnostic: DB8PR04MB6730:|DB8PR04MB6730: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4125; X-Forefront-PRVS: 029976C540 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(396003)(346002)(136003)(366004)(376002)(189003)(199004)(52116002)(7696005)(1006002)(66556008)(66476007)(2906002)(66946007)(8676002)(110136005)(55236004)(8936002)(26005)(81156014)(81166006)(316002)(6666004)(478600001)(54906003)(7416002)(1076003)(36756003)(6636002)(6486002)(186003)(16526019)(5660300002)(956004)(86362001)(44832011)(2616005)(4326008)(110426005)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR04MB6730;H:DB8PR04MB5643.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qFYkQMSMcS3g2gWdBpTowxAFw1THbMGyh107udo76OUN7kjh1VpvBgaHfsFFmAx5nYFeyh3Uw0par63KGEW3FU9mDHhJCk0+PqOM/66eXLTuXqThrSf+zhJkHdbVViq++zHMIWrJX1HqbDzOsRsjQX+GuXA93sTfQjEbnhh/VdFztEz+WL0CnAgvtl82S3GQgvgoG0890OGPyixhU5VmWgaDw6M6auRQTK2FgzH9B7zATJEPbXuvtJnIR+1AUnKi8RZLObKF2N19YbBb9DYqobAALl2MzMBykwMUbE9HCCHuyJE4FwDCcrVBv6DV/v8aUSccAj2jslNsliNr64TLaCe6gjhFQ+/rmmUiT4aRfa8BXVxtGn5h81Qrd96Lm7Vgfo5oxJgj4lLWjU9YtJB2JX1BwwjRICsqUyrMXAQuly++wq9AbOqNMyC4kMmkE3OBRqXHs2mW3du8JzQDgHuiQm/Yy/S+gc01phjSsSS/XsYxcvUYjxF4CYpxI4At1oZPSPXpQyVL957Zq9uyrOA007iQys5HPhBB/kHWGGua658= X-MS-Exchange-AntiSpam-MessageData: yEfY9LPLVOx6EEr1koTHQw2xvhR/0JjpJTYYi8p+wjHhqWY6JXl13gNac5KPakinbutuPjA4GkBLk7/Zl/B6KaxYGIidHCTuH1yL2Wwz7K44N61ePdOF6BuMTgP4KWaFpddgS+6LbLJfXTT+FORcpQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 15913266-e5f0-4be7-fca2-08d7a6632cb3 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2020 15:35:18.0949 (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: C7x5TjopqNzW2k7xQ54NGYlr63w0PaIn4xX5G0MfIxF3SdbsohjvJxPSHyEtywLEIdB9glXH5XntVTrXZ92uog== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6730 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Calvin Johnson This patch series provides ACPI support for xgmac_mdio and dpaa2-mac driver. Most of the DT APIs are replaced with fwnode APIs to handle both DT and ACPI nodes. Old patch by Marcin Wojtas: (mdio_bus: Introduce fwnode MDIO helpers), is reused in this series to get some fwnode mdio helper APIs. Calvin Johnson (6): mdio_bus: modify fwnode phy related functions net/fsl: add ACPI support for mdio bus device property: fwnode_get_phy_mode: Change API to solve int/unit warnings device property: Introduce fwnode_phy_is_fixed_link() net: phylink: Introduce phylink_fwnode_phy_connect() dpaa2-eth: Add ACPI support for DPAA2 MAC driver Marcin Wojtas (1): mdio_bus: Introduce fwnode MDIO helpers drivers/base/property.c | 43 ++- .../net/ethernet/freescale/dpaa2/dpaa2-mac.c | 78 ++++-- drivers/net/ethernet/freescale/xgmac_mdio.c | 63 +++-- .../net/ethernet/marvell/mvpp2/mvpp2_main.c | 7 +- drivers/net/phy/mdio_bus.c | 244 ++++++++++++++++++ drivers/net/phy/phylink.c | 64 +++++ include/linux/mdio.h | 3 + include/linux/phylink.h | 2 + include/linux/property.h | 5 +- 9 files changed, 450 insertions(+), 59 deletions(-) -- 2.17.1