Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3971852imm; Mon, 30 Jul 2018 06:39:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf2MJ4+3UoNAjD4A+zuZLG2wMpw6ZsIc7Xx5+bU2gFy09BnW25FnbwZfaCs+LIZulBN9/3l X-Received: by 2002:a62:c60e:: with SMTP id m14-v6mr17946833pfg.40.1532957980027; Mon, 30 Jul 2018 06:39:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532957980; cv=none; d=google.com; s=arc-20160816; b=udxwoc5t2yPmfbuGCiAA3A/jPbvJEQ94Klr81d3dFF2A9/BLqtgn30iz56dpNy6NSR 0tnmXfVxyk0cUeXSkA/ph5bgOYZj0KFO7efDKQjKggA43x0yVuAlt+jv/wWIXG2a4khV Y2n9hvfFaCqwViB8WQdQmoegT4ujkQ07cLeoGxZztNIlTNIwmdfcGk7ZyDOm7WK0R3mM 5xJiV+f/aesPU/nSkuCZ/+kUOabrOlmY0tR5q9zWXRPHyHpDPXODWOE2e0iZtUiovz38 1P3oAXtjxL23mYHdD2SMoPRkxrFBb0/iz8gKwKU/dgTMGIymcxXsFOtqLK7roWcEa0uf HHag== 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=+rKLiq1M1kX2R2tpcENwFfJPLIiikYRzBVwQ+1HmghI=; b=mpxYTaFsN1stRjREyNc2oKCWiA1ATpTUOnA3HFuAc1LhCz/OhT2/WqVc1dL+gQVUwP ghbe+lU/HeW9qN0VHGIy0QpniMdoT5UUzAgF3hKsF6MUNyulP1MNaE5ErhfUFusMYXOZ /lzlEUQP39Jn4YsvkJC6bjeGFo4gsgtHwE6xw7bf23g+KAM+PdgutNQb5HJ11b2ezlt9 R3y04/7jLKonYliIHL8H8vwh3vfneZjdzI6PVoUc4dfOEKFJ8sNH7ty5maG21KY9DPSr a1bVYRq7QVUOtMz/hc18DEil42hKgtoeu7qyJW84DlMPc9qlZhtgzORELHuVPTw1mONp qzkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Zh1V3u+u; 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 y26-v6si10195037pfe.269.2018.07.30.06.39.25; Mon, 30 Jul 2018 06:39:39 -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=Zh1V3u+u; 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 S1726722AbeG3PNm (ORCPT + 99 others); Mon, 30 Jul 2018 11:13:42 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:50412 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726530AbeG3PNm (ORCPT ); Mon, 30 Jul 2018 11:13:42 -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=+rKLiq1M1kX2R2tpcENwFfJPLIiikYRzBVwQ+1HmghI=; b=Zh1V3u+uQhI9Rx9YpUQ/++2uZpihTKnzC4KMa97ifVOc7GOCe+dB5TQviqAgxRhBkjE0PWL3r1NQWhU3Dy9a0dzQrtofPXJjaiZV9nzJDaChyMfN0EJjc+UaxAMZUATQfcn+iWy6NbOqEAT4u1MqupX+NDTs7UfHuSPvJE/74Rg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1fk8Na-00088B-7F; Mon, 30 Jul 2018 15:38:30 +0200 Date: Mon, 30 Jul 2018 15:38:30 +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: <20180730133830.GE13198@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 > +- 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, Hi Quentin Maybe add #defines in an include file to make the binding less magic? Andrew