From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Chevallier Subject: Re: [PATCH 04/15] phy: mvebu-cp110-comphy: Add RXAUI support Date: Tue, 2 Apr 2019 10:43:49 +0200 Message-ID: <20190402104349.2d61ed39@bootlin.com> References: <20190401165131.23370-1-miquel.raynal@bootlin.com> <20190401165131.23370-5-miquel.raynal@bootlin.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190401165131.23370-5-miquel.raynal@bootlin.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Miquel Raynal Cc: Andrew Lunn , Jason Cooper , devicetree@vger.kernel.org, Antoine Tenart , Gregory Clement , Russell King , Kishon Vijay Abraham I , Nadav Haklai , Rob Herring , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth List-Id: devicetree@vger.kernel.org Hi Miquel, On Mon, 1 Apr 2019 18:51:20 +0200 Miquel Raynal wrote: >Add support for RXAUI mode by adding an entry in the COMPHY modes list. > >There is nothing more to handle besides avoiding to return an error to >the caller: someone using a DT updated with the right 'phys' property >with an old firmware would get an error when initializing the lanes in >RXAUI mode, while it could have already been initialized by eg. the >bootloader. It would prevent the interface to work with no reason. However, this would mask-away errors that could occur when we have a correct firmware and DT. Maybe we should simply return the error, this mode isn't supported in PPv2 yet so I don't expect this to break any existing setups. Maxime