Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3968065imm; Mon, 30 Jul 2018 06:35:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdHOiDe7zhXyNrg+GN7mg7nUFY1Zk+nry5JSV1SFCisP4dScL8LCB1cSwYNHWKE3uz6SIdg X-Received: by 2002:a65:560a:: with SMTP id l10-v6mr16775223pgs.130.1532957757797; Mon, 30 Jul 2018 06:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532957757; cv=none; d=google.com; s=arc-20160816; b=vu3fd47dN1kcAstLN+fzeZ4ZD/WwyrlQUXurfXsy2rG6cUlwOAWdboQekrhsJVoGqp 8xReTdXeHss6f7BeZJMFAiOwNRGUWs5atgPOlMOCmXnEEsRGxpz/KyNT8vvVyzQSSKLq 9Np0NrZ5+u8jBpx2w8GNIqJbtilf8rTlvIThtUCtXZP8HvQ1JKL9JxLnO8l+T2t5T2dj 5D9+/cAhKCDBVQGvJhFviPOF1YLO8FzRACslhdDuntV1Sndp//VARMRM8MYky6cIGq/5 CfIx75fbNpMsjkxMLRIDrutBZPuRbxZ1dSOETlPs7jU/t0aRlQ0Lc7H+3yhoJ9z2xUGr fluQ== 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:dkim-signature:arc-authentication-results; bh=m/UngLPTmZIQ+RQ2vs0wOdHdGz9MGHtZfbBwdMsJfoU=; b=XAbbdaeNwANPBr6PTb/XOuIIj2apLO9Mg4hgRk7TkNlKmIfj8JkeeTaxyeFoHZz7Qy T8C6yXpdB/lJfr60fjtOfYB6w8ZcajYwXRmsS33OWp+knfZMMZPd7KygrxACw3QD4f2x Z1QiWVIGVpmWB0iJaWNmCpX9B4jUOr2JMsh+/JK204h6W+AUpUydQjBdGq36x82pTJlt unSCZylB4XeUu/hoYCgbN4Ua5bSt1f1bn0VqLRMIwFvmk6xAUGU3pBBHovHX5hpVBp8g 538PJXh4WOOIPNEibJZhua7kkTIRRQbrP+LdMAvgV2vq36r1kWa3+cbPMSAx2agy0FBH SVEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=RB6Z8MTC; 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 f89-v6si3213429plf.20.2018.07.30.06.35.43; Mon, 30 Jul 2018 06:35:57 -0700 (PDT) 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=@lunn.ch header.s=20171124 header.b=RB6Z8MTC; 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 S1731704AbeG3PJ6 (ORCPT + 99 others); Mon, 30 Jul 2018 11:09:58 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:50400 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729138AbeG3PJ6 (ORCPT ); Mon, 30 Jul 2018 11:09:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=m/UngLPTmZIQ+RQ2vs0wOdHdGz9MGHtZfbBwdMsJfoU=; b=RB6Z8MTCYeHVUoWm3fJw/kXu+bhHQT3rCIAg90Kmj56JM36GO4/LiYlPp+iyB0/V4Wynpj4puuQE/ZFrjcxULd2012nAg6gBAXHQaLenovgjLRn5/rXxanZ6CLn6+VR4LPtXzMAYc/15LfJSL1mNcQVKtT03TetK6v0n0An02EA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1fk8K0-00085O-LS; Mon, 30 Jul 2018 15:34:48 +0200 Date: Mon, 30 Jul 2018 15:34:48 +0200 From: Andrew Lunn To: Quentin Schulz Cc: alexandre.belloni@bootlin.com, ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, davem@davemloft.net, kishon@ti.com, f.fainelli@gmail.com, linux-mips@linux-mips.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, allan.nielsen@microsemi.com, thomas.petazzoni@bootlin.com Subject: Re: [PATCH 07/10] dt-bindings: phy: add DT binding for Microsemi Ocelot SerDes muxing Message-ID: <20180730133448.GD13198@lunn.ch> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +Required properties: > + > +- compatible: should be "mscc,vsc7514-serdes" > +- #phy-cells : from the generic phy bindings, must be 3. The first number > + defines the kind of Serdes (1 for SERDES1G_X, 6 for > + SERDES6G_X), the second defines the macros in the specified > + kind of Serdes (X for SERDES1G_X or SERDES6G_X) and the > + last one defines the input port to use for a given SerDes > + macro, It looks like there are some space vs tab issues here. > + > +Example: > + > + serdes: serdes { Maybe this should be serdes-mux? The SERDES itself should have some registers somewhere. If you ever decide to make use of phylink, e.g. to support SFP, you are going to need to know if the SERDES is up. So you might need to add the actual SERDES device, in addition to the mux for the SERDES. > + compatible = "mscc,vsc7514-serdes"; > + #phy-cells = <3>; > + };