Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1432945pxu; Thu, 8 Oct 2020 11:19:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3ARn5VzM0Vg2F7Y6tWhYEsoJrwgoWIMPzHC+nzwThnaYxTp+DUXxjMd2N34RdpR8ULgJw X-Received: by 2002:aa7:c659:: with SMTP id z25mr10240457edr.219.1602181162097; Thu, 08 Oct 2020 11:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602181162; cv=none; d=google.com; s=arc-20160816; b=jp2/QAi/5KCeSGGb7XRYl2o60knSoiK6FxvnpPdiZpcYZ87F9VipvIyxQ4qwgX2zpj 4x4EuuVOfZ6p1sK630VvEa6kjvTgRDhX3uPiX4ExcI3etlodLkDdb7iQVzk4gPoQXaV1 LUW38b7+VrHsOC40v4KN+Oj+7AExyvSkZo8uSY6nmpXKtTFjTZudfGGiD60CUBtMeU3f 4zd+eANemWDaIyUYmxJMvXokmh3G/5GAoScQqMQXP++vgAZibu70XQvr+vrbiXx9HeYD pHipNInpCjZNbGZS61HSrifyat3sBoCGvsmqRJvMF7ZViIH6/CZVDtTcdD+6QXAsJepG tm7A== 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=d2C336kf8kXSjtJB83lMwcrDM1z4omiDyk6EHiTg4m4=; b=HCIxPPnPuMKsvUdF7A9hXg6lWpaT2phuc8qJW1oKHtbKnviZQMtih/vAOhZFcDEbbM PWIhcQzsXGZV1vLwTOCXajZ4jXGsrdCp0EIvChdnLuNVwIXlPXa+EfcAd7qz60Z8Ksmj DN4vF3Pv2xzNbGiwfrffDb9GeC71QWlAUVEsftQX9Wdd0jGf5Ft1ZotB5joDEBbTUyqk U/ZOeLLEZdeGtqxWrk6F8w7LoyCpdeDzxDAZVGAMPmawfsS1TvxL4uBDhYuLUNIdxNBR R2tkDKFSr6cLeLUJEIu2lydZm9YDghhoqGsdqr3tcyqJShA31c+7dbgnf87zVRVj8yyj 0hZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="JVjGIr/d"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lu19si4111661ejb.346.2020.10.08.11.18.58; Thu, 08 Oct 2020 11:19:22 -0700 (PDT) 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=@kernel.org header.s=default header.b="JVjGIr/d"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729989AbgJHQfV (ORCPT + 99 others); Thu, 8 Oct 2020 12:35:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:57234 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726029AbgJHQfT (ORCPT ); Thu, 8 Oct 2020 12:35:19 -0400 Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0103E221FE; Thu, 8 Oct 2020 16:35:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602174919; bh=Qlahj53lYVNiYg7AJ2rpRjvr+jIGD1GKJKKVML4NVdo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JVjGIr/dcnN1xksiqNbG+5EbegsU/oIDX9jUBqAS8FdCiPm8u2/qWXBDB5A5SPFTI BT867zshbo4KKSkX6On8oFk14J9agHw/y0p3/tUCfKwANiGzETo77Iy2nIexDbM5qM XppPODIVfAmfdTX/Ba5zWmqqdjewjp/z+lEODdI8= Received: by mail-ot1-f51.google.com with SMTP id f37so6007514otf.12; Thu, 08 Oct 2020 09:35:18 -0700 (PDT) X-Gm-Message-State: AOAM5308ejA7VVCA00+mx+0sroV9fwEpwbzYWpWLV5uN5ahWHAnVE86b dUjU8i1XFHZM0WrdY7mp/KRXwgjhtFWTsRO6Xw== X-Received: by 2002:a9d:1c90:: with SMTP id l16mr5952657ota.192.1602174918204; Thu, 08 Oct 2020 09:35:18 -0700 (PDT) MIME-Version: 1.0 References: <20201008144706.8212-1-calvin.johnson@oss.nxp.com> In-Reply-To: <20201008144706.8212-1-calvin.johnson@oss.nxp.com> From: Rob Herring Date: Thu, 8 Oct 2020 11:35:07 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [net-next PATCH v1] net: phy: Move of_mdio from drivers/of to drivers/net/mdio To: Calvin Johnson Cc: Florian Fainelli , Grant Likely , Jeremy Linton , Andrew Lunn , Andy Shevchenko , Russell King - ARM Linux admin , Cristi Sovaiala , Florin Laurentiu Chiculita , Ioana Ciornei , Madalin Bucur , Heikki Krogerus , Diana Madalina Craciun , netdev , Laurentiu Tudor , linux-arm-kernel , "linux-kernel@vger.kernel.org" , "open list:ACPI FOR ARM64 (ACPI/arm64)" , linux.cj@gmail.com, "David S. Miller" , Frank Rowand , Heiner Kallweit , Jakub Kicinski , Mauro Carvalho Chehab , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 8, 2020 at 9:47 AM Calvin Johnson wrote: > > Better place for of_mdio.c is drivers/net/mdio. > Move of_mdio.c from drivers/of to drivers/net/mdio One thing off my todo list. I'd started this ages ago[1]. > > Signed-off-by: Calvin Johnson > --- > > MAINTAINERS | 2 +- > drivers/net/mdio/Kconfig | 8 ++++++++ > drivers/net/mdio/Makefile | 2 ++ > drivers/{of => net/mdio}/of_mdio.c | 0 > drivers/of/Kconfig | 7 ------- > drivers/of/Makefile | 1 - > 6 files changed, 11 insertions(+), 9 deletions(-) > rename drivers/{of => net/mdio}/of_mdio.c (100%) of_mdio.c is really a combination of mdio and phylib functions, so it should be split up IMO. With that, I think you can get rid of CONFIG_OF_MDIO. See my branch[1] for what I had in mind. But that can be done after this if the net maintainers prefer. Acked-by: Rob Herring Rob [1] git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git dt/move-net