Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3569409pxu; Tue, 15 Dec 2020 09:58:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzR+72TZKVlGtERjO48Uc6IpdGVpunZrfqbKIW4OWhGNQPNaJ0YgMV0Ygt0EXqSgZrBHJhA X-Received: by 2002:a17:906:ae14:: with SMTP id le20mr28611415ejb.451.1608055134278; Tue, 15 Dec 2020 09:58:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608055134; cv=none; d=google.com; s=arc-20160816; b=Pzqu924EkIQ/w/wtluTc6EtfCIVMbHwZ5uFLZVBzSTlBg85Y7jYX1/m9grQzgvrR36 Qapdvtcd2HxSiUi0+/lOQN+c5liQ1dJXoS+ux+xCGrbifXpa6xxTzFtty6TY7d1w6joC /w6Grx/LIclD3N7cFmZKl8eymsYFQK3PNDh7U4ewbA5NIemfQlp0ftg/QeVZ6B6Y3DOd A1Lmg4Q+4CDBnqZBYZDpIfrvqTk3nmsR5pTsfi0h8GOF1qnGksBeT3CQNL+U3+e/1R7w uyi3hiJwqgBjZtFsdw0lhG5IaRt8NaDQOWXpsPNCgj1Fm61+B2Smzw8HAjXhrwgK108Z bMfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Imm3qTkuoDk7CQF3C2jQl/pGCHvRyWbGvp5H8N4iN3o=; b=JnLQ9oOdl8YTYEjAsP2kI4kE47U9VDvTSuOUDr+ZlnwxNr/8BTD/tYLQb05fk0647B 2AKkmHaXGv/ehLdBe6SM7kWyD+Cg+RFEYyMefkIMDRInrwH0LV5ar8KnhRJ43odLRslN +oi3wa6h1LcTCWRpU+9rET3dxmfm+5LiUuCZGJGqSGL7mD3/jMfC/z0AgZAusYx3qFSl vjemJQXc+7cZ1UVdRPCVEMIUNGvCvNdCNjvG6FKb9KBp5GewjYxJNV+HFzVQz+ZhtCuT zmeorTGFtSxN5zExzuAAhBJcapPDyieGHKa6KZxClVHWifmWBSYHTVfmDBMn6WGOelhx cmqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vHZrgEGJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bs24si1255147edb.519.2020.12.15.09.58.30; Tue, 15 Dec 2020 09:58:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmail.com header.s=20161025 header.b=vHZrgEGJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731267AbgLORzA (ORCPT + 99 others); Tue, 15 Dec 2020 12:55:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725973AbgLORyx (ORCPT ); Tue, 15 Dec 2020 12:54:53 -0500 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 478CBC06179C; Tue, 15 Dec 2020 09:54:13 -0800 (PST) Received: by mail-pl1-x642.google.com with SMTP id v3so11422061plz.13; Tue, 15 Dec 2020 09:54:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Imm3qTkuoDk7CQF3C2jQl/pGCHvRyWbGvp5H8N4iN3o=; b=vHZrgEGJHh/22GCAt73JD6CLGnlrkFlwoF/Nvnh1Rx1k/74QEBbQoOXXeb4yYITNDM Mzy3FUS8e+etYpgCZ2n4aP1R8JjTVnV/QlHXa5jwnwh2BZdV0eRaDL4KJEPgNTv2ixoo VCTjBM9cD25taOOJQldrnDK8bw6AeLYi00tiskafi9VpuqXDssSE/PCIBogBEve/RkBi vCH16c/GXjzk85CA5BCJ08U8SFOdJ8iXLM+sWlO7LtQaUo7hVjH9cwkYbraHQ6s+2ZSR xBXRZxRKqvC47sO2sILhomBGtfgoEwO07T49bzxmezasRXIucbNEERX9WO7vMoLMRG12 2k3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Imm3qTkuoDk7CQF3C2jQl/pGCHvRyWbGvp5H8N4iN3o=; b=lf4ue0UYvQGPvrP7siBTezB997kV6IHc7sZhSbzZyXBWlX8k7rMmilRS0ByeUMcNC2 gA1RQz5tBvEC67fx0ZQHANLt0c9FdXw4ur9t0PaAvTbXsQkShX/dvwL0xNnWrIDG9XJS eQH9yGTNFBpW0lahy+/Qb/iksFNKXQbw8l+UWjfU5VnS7ZApChKmG8e6TSHH8WZUYD/m ki2LKSynRNL4uxY0Ppi7SciUiEKkaJbDO2tcSFEHf5qsk3SPPHCn2gKWskJ3Tab+O8LU K/gzpFEIErKp9nq+yU29ZU/c7OpVyKdRCykUpSGzJVclbzstdfkxka8msBedA0i5zLEt yaLQ== X-Gm-Message-State: AOAM533P2yt5f3TPblIv1tID8dqzYY+/vqO3HBR4qd+kEpFi7sKB+iHz fMDCwCc/T2wBZAWVTEET6AJn1rbayF+y3IGJQUQ= X-Received: by 2002:a17:902:b7c3:b029:da:76bc:2aa9 with SMTP id v3-20020a170902b7c3b02900da76bc2aa9mr28627847plz.21.1608054852814; Tue, 15 Dec 2020 09:54:12 -0800 (PST) MIME-Version: 1.0 References: <20201215164315.3666-1-calvin.johnson@oss.nxp.com> <20201215164315.3666-10-calvin.johnson@oss.nxp.com> In-Reply-To: <20201215164315.3666-10-calvin.johnson@oss.nxp.com> From: Andy Shevchenko Date: Tue, 15 Dec 2020 19:55:01 +0200 Message-ID: Subject: Re: [net-next PATCH v2 09/14] net/fsl: Use fwnode_mdiobus_register() To: Calvin Johnson Cc: Grant Likely , "Rafael J . Wysocki" , Jeremy Linton , Andrew Lunn , Florian Fainelli , Russell King - ARM Linux admin , Cristi Sovaiala , Florin Laurentiu Chiculita , Ioana Ciornei , Madalin Bucur , Heikki Krogerus , Marcin Wojtas , Pieter Jansen Van Vuuren , Jon , "linux.cj" , Laurentiu Tudor , Diana Madalina Craciun , ACPI Devel Maling List , Linux Kernel Mailing List , linux-arm Mailing List , netdev , "David S. Miller" , Jakub Kicinski , Jamie Iles Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 15, 2020 at 6:44 PM Calvin Johnson wrote: > > fwnode_mdiobus_register() internally takes care of both DT > and ACPI cases to register mdiobus. Replace existing > of_mdiobus_register() with fwnode_mdiobus_register(). > > Note: For both ACPI and DT cases, endianness of MDIO controller > need to be specified using "little-endian" property. ... > @@ -2,6 +2,7 @@ > * QorIQ 10G MDIO Controller > * > * Copyright 2012 Freescale Semiconductor, Inc. > + * Copyright 2020 NXP > * > * Authors: Andy Fleming > * Timur Tabi > @@ -11,6 +12,7 @@ I guess this... > priv->is_little_endian = device_property_read_bool(&pdev->dev, > "little-endian"); > - > priv->has_a011043 = device_property_read_bool(&pdev->dev, > "fsl,erratum-a011043"); ...this... > - ...and this changes can go to a separate patch. -- With Best Regards, Andy Shevchenko