Received: by 10.223.148.5 with SMTP id 5csp7355880wrq; Thu, 18 Jan 2018 04:35:18 -0800 (PST) X-Google-Smtp-Source: ACJfBosfG2W7bCmp/ovZHj9jO1zgh1n1EGT6PPCImSi8OtGPrQb6aYVNehvaZkaaw22LkdMVUDVE X-Received: by 10.101.90.71 with SMTP id z7mr26981963pgs.15.1516278918190; Thu, 18 Jan 2018 04:35:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516278918; cv=none; d=google.com; s=arc-20160816; b=yqXO+lUNlHc/IsIYaafotnFBakZHCfddJpzJrGT9BFHKmsOeGV6ux7pZ70TV2JToVM L0tBLNaReAy/ofpYJKAuKGgNjTcfg7weAhyqZOQsRRyzA+PrI811RcL9oTVEgOJhPnOv Bx270vyE17HYux2XPoUcPxF1iz47uI8+RVVB03e9Dm9ovvJuj/cTQE6mw1svgqrDPTry Q0pqx5Nf1xuaETbFl0ut07n3Al5FwwbdbEbGUgFm7waepLtAvuiS96gRvKhuugjBnVB/ u/pyIRwS8dZ73OZksHL4LTLo1GN/SpPryv9hAGLLmaY53GYHSssZ6dyYCvI5os2DHxYJ PcjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=gn2XX+wc6zjAiMTrfAZ3n1Aj90unVuh5xdaKHYIovkE=; b=ryEneslYAbV2KfbGlf3bsgvqQETNgKvSrkHDDLPdtVMKqMNfv2Ib6lYO00YyY0OzHJ 2/TW3dGcPYInd81l8KV8AiRkE4om8e8ztXNvQbaDufLGBFfdevSD9TlMQFcTWt2+SUQl yJ3o3VWwu4AHNDSBuOwsJ5Bx7ufdNkrTqu1wBGQgQ4SrfpWcQLDrlMmS3sjHZ2xSFj+B R32RfgV1ImZ7Q9CixCwigI4VFv6wVxrYxb+L4XzXsctcM4nCyAyajZeFermNSWsHdM9r sifVceOLt+q7j7EFxj8BJABtFxcW7nJ81GquPkBAuDXQCF8z4ObVNM0TzUqvry8oPQTP heWg== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si6671925pfq.5.2018.01.18.04.35.03; Thu, 18 Jan 2018 04:35:18 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755601AbeARMbx (ORCPT + 99 others); Thu, 18 Jan 2018 07:31:53 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:54308 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754998AbeARMbu (ORCPT ); Thu, 18 Jan 2018 07:31:50 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 474461529; Thu, 18 Jan 2018 04:31:50 -0800 (PST) Received: from e107981-ln.cambridge.arm.com (e107981-ln.cambridge.arm.com [10.1.207.54]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 93AA43F557; Thu, 18 Jan 2018 04:31:46 -0800 (PST) Date: Thu, 18 Jan 2018 12:31:41 +0000 From: Lorenzo Pieralisi To: Andrew Lunn Cc: Marcin Wojtas , Graeme Gregory , Ard Biesheuvel , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "" , "David S. Miller" , Russell King - ARM Linux , "Rafael J. Wysocki" , Florian Fainelli , Antoine T?nart , Thomas Petazzoni , Gregory CLEMENT , Ezequiel Garcia , Nadav Haklai , Neta Zur Hershkovits , Grzegorz Jaszczyk , Tomasz Nowicki , Hanjun Guo , Sudeep Holla , mika.westerberg@linux.intel.com Subject: Re: [net-next: PATCH 0/8] Armada 7k/8k PP2 ACPI support Message-ID: <20180118123141.GA2839@e107981-ln.cambridge.arm.com> References: <20180104160939.GA7785@xora-haswell> <20180104162036.GL3401@lunn.ch> <20180108144548.GA31502@xora-haswell> <20180108145312.GH10940@lunn.ch> <20180108151453.GB31502@xora-haswell> <20180108154243.GA30962@lunn.ch> <20180109101941.GD31502@xora-haswell> <20180109130012.GA27447@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180109130012.GA27447@lunn.ch> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [+cc Mika] On Tue, Jan 09, 2018 at 02:00:12PM +0100, Andrew Lunn wrote: > On Tue, Jan 09, 2018 at 11:22:00AM +0100, Marcin Wojtas wrote: > > 2018-01-09 11:19 GMT+01:00 Graeme Gregory : > > > On Mon, Jan 08, 2018 at 06:17:06PM +0100, Marcin Wojtas wrote: > > >> Hi Andrew, > > >> > > >> > > >> > > >> 2018-01-08 16:42 GMT+01:00 Andrew Lunn : > > >> > w> I am not familiar with MDIO, but if its similar or a specific > > >> >> implementation of a serial bus that does sound sane! > > >> > > > >> > > >> Thanks for digging, I will check if and how we can use > > >> GenericSerialBus with MDIO. > > >> > > > Maybe Lorenzo, Hanjun, Sudeep can comment here they might have come > > > across similar on other ARM boards. > > > > > > > I'm looking forward to their feedback, however, what I've noticed, > > each driver handles mdio/phys on its own, not using any generic > > solution, which is what I need to actually avoid :) > > Agreed. Lets define it once for all drivers using phylib/phylink. To start with, I am not entirely familiar with MDIO, apologies in advance. Building something on top of GenericSerialBus sounds correct but if I am not mistaken you would need a new bus type in the ACPI specs. I CC'ed Mika since he is more familiar with handling these bits of ACPI specs - I wonder whether this is a problem that cropped up on x86 systems too. I do not think there is one and only answer but there must be a single set of bindings and if the ACPI specs already cater for some of them we have to reuse them. Please take some time to ensure the solution you are pushing is widely deployable. Thanks, Lorenzo