Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp445125ybx; Wed, 30 Oct 2019 18:02:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqy09BcBphh32S6NF9gH6BFWAMrOBEtlcLZnCz0nlHstsLWleGDKBQAplx2otVbo2JhBHJ0j X-Received: by 2002:aa7:d552:: with SMTP id u18mr3052768edr.86.1572483773060; Wed, 30 Oct 2019 18:02:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572483773; cv=none; d=google.com; s=arc-20160816; b=NfREMjuPZemUasy65O2V58QpFcRU0E92hLIrw8Kr0eELjFSwGqWYYfoFhJIy0ytrv6 PZBAnnrYwAzxWhXOEaDve9fGxme44XtJ9unw/Ejx5rrIUP23PSJwxaiWV6cAFVrJmCIo XUrNYppWjlnVXP69Ekq+TfYAdqXwDeHnGTvZCKgIFnBHxcs3PUeZcnwOUNRx3BuDQwUJ 6uMK42SAH4KSpr+zGxJPH/EAgR3FgJihofyaB76YfmijnKkzcJ5oSqBmW0+OnV78EtFh t7SA7WbWL73/juZgoCO2Cm/xju/wLmnUspRC3DSW0Wq8Ryw6uVkWIy7m+5s7n1e5gkec qCtQ== 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; bh=ZgKGJ98QB0gP/+GLbKgAYSif2cfIQOt7fPddnuAlRsI=; b=cUlAGvtr/M1Y0tELxckWZro3PJylVOqK3u+6lr+dAa/JMC0yw/UcVMRM9e6Vki+cIb YzsIns2uzGvt5cOBl40H7T4Km02eSrnPsQkcaGW1K5nAQq5NMQ/yeyBIfsRhHburzeKu smgj75cSKznZXadCAnpeyAKX2GxofeYuCWGgWxbU0KF9IQcG1y6wI2KXJgj01tLHqQSC ZsEAJCLL7nnWLvOHS6bPcFUWzJZp6eW1ORxaDZSouRnfq3umDqhpQhKp8+dOhTpJjysS VI96PFDAzYftHZ2xog+BuqmgO/2J2sXYw9DGgMxOzYPdBGGsm7lfKEXXDuc7vnQX4qJQ abBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=yuBlehyh; 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 f37si2989682eda.190.2019.10.30.18.02.26; Wed, 30 Oct 2019 18:02:53 -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=fail header.i=@lunn.ch header.s=20171124 header.b=yuBlehyh; 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 S1727582AbfJ3XRJ (ORCPT + 99 others); Wed, 30 Oct 2019 19:17:09 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:42582 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726677AbfJ3XRI (ORCPT ); Wed, 30 Oct 2019 19:17:08 -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:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ZgKGJ98QB0gP/+GLbKgAYSif2cfIQOt7fPddnuAlRsI=; b=yuBlehyhEqvE5ANG3sGHX2QhMs /Vv5hS6OuVcHcpYeoc6a1i18gIXhncNwKTu/fP73gKUaWD42wBWOAenYU+wNmbPXOGVG+e+M9xkp7 Qk+F/dQDNI7JSLTm5u3DqYxE17/sI47Md8QRkIgfa3piDqTC+dSvnRpMGDhfzh8UFYgM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.92.2) (envelope-from ) id 1iPxD8-0005Wy-QP; Thu, 31 Oct 2019 00:17:06 +0100 Date: Thu, 31 Oct 2019 00:17:06 +0100 From: Andrew Lunn To: Michael Walle Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [RFC PATCH 2/3] dt-bindings: net: phy: Add support for AT803X Message-ID: <20191030231706.GG10555@lunn.ch> References: <20191030224251.21578-1-michael@walle.cc> <20191030224251.21578-3-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191030224251.21578-3-michael@walle.cc> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 30, 2019 at 11:42:50PM +0100, Michael Walle wrote: > Document the Atheros AR803x PHY bindings. > > Signed-off-by: Michael Walle > --- > .../bindings/net/atheros,at803x.yaml | 58 +++++++++++++++++++ > include/dt-bindings/net/atheros-at803x.h | 13 +++++ > 2 files changed, 71 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/atheros,at803x.yaml > create mode 100644 include/dt-bindings/net/atheros-at803x.h > > diff --git a/Documentation/devicetree/bindings/net/atheros,at803x.yaml b/Documentation/devicetree/bindings/net/atheros,at803x.yaml > new file mode 100644 > index 000000000000..60500fd90fd8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/atheros,at803x.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: GPL-2.0+ > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/atheros,at803x.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Atheros AR803x PHY > + > +maintainers: > + - TBD Hi Michael If you don't want to maintain it, then list the PHY maintainers. > + > +description: | > + Bindings for Atheros AR803x PHYs > + > +allOf: > + - $ref: ethernet-phy.yaml# > + > +properties: > + atheros,clk-out-frequency: > + description: Clock output frequency in Hertz. > + enum: [ 25000000, 50000000, 62500000, 125000000 ] > + > + atheros,clk-out-strength: > + description: Clock output driver strength. > + enum: [ 0, 1, 2 ] > + > + atheros,keep-pll-enabled: > + description: | > + If set, keep the PLL enabled even if there is no link. Useful if you > + want to use the clock output without an ethernet link. > + type: boolean > + > + atheros,rgmii-io-1v8: > + description: | > + The PHY supports RGMII I/O voltages of 2.5V, 1.8V and 1.5V. By default, > + the PHY uses a voltage of 1.5V. If this is set, the voltage will changed > + to 1.8V. > + The 2.5V voltage is only supported with an external supply voltage. So we can later add atheros,rgmii-io-2v5. That might need a regulator as well. Maybe add that 2.5V is currently not supported. Andrew