Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp511792ybv; Sat, 22 Feb 2020 08:17:32 -0800 (PST) X-Google-Smtp-Source: APXvYqxZDX7Te7HEuHWhPfJEnzVo4u94VErNYWnTkbiHxdAFMhCvvvPt6cT0l3kyIt7kDr8gPNC7 X-Received: by 2002:a9d:32f:: with SMTP id 44mr32536199otv.234.1582388252764; Sat, 22 Feb 2020 08:17:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582388252; cv=none; d=google.com; s=arc-20160816; b=KrQe66A66wOs0uK8r+H4Jz1WWtO+Onny22MJcTr5GyUOkCPaLpcWnW1ZeXDYPquBV/ XgO4xmqzLk0D5Hsfuke7T623DXgd4QFVKHPT6y4FKszuO//YvY5c391GqbQ5zvm9Nv06 gvhKBbOggHJu/bpg0tnJoUv7sFDGLkyZAoeHxXDEl4/+3VmU6TDpuMYufKwGhHUXRviv n8p2obQjNLS+MVbqfBilS3Iru+dl3YXTtLBSHMRyCKZ49S0nFUiEHkQnbhKyj6go9l87 PnTolywZ/Ud1IkSz/DpGzF5FB/2QyKaCFgsm6kbccvQQ0qPkiFYeF7/NLo6AzPQiKj2d i8mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=kGlgDo9M9XGHB0o0rwRFWRiv//bvSK3bYB5+0sd515M=; b=CKGoibTzmpW+CsBlVXjCO4rdrjFvKWjVSDzMfgx4hhVN1FhHdBewfJUbUzqZZalDZ5 0sRg5Q+YL/ie6ggSc3sQHEVMxZDNZQyZdcH1YkN2BjUhTNVmr0uNVjyF7WaS/hnyMLPU nzkSSuOMHFWYaN5Lz6SpyzN+eXiPsm7v4SOcreHB5vJtCYnwnEQP+YrYhfl9I3Je+pfP vpEoZKv72caax9L9HBUpTzvfggccVYTJTNKKwK6ZYc2D3lXHg9PrBDG6xnmeuNIKVxqv nZNwVZZD3ropEfWMjDzt5aEkhihLI/iAc/XFV8mI7EG6z5SDCg8cTVom1u65l2oU73ma S3hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=iSyv5Uf3; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13si3512008otq.210.2020.02.22.08.17.21; Sat, 22 Feb 2020 08:17:32 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=iSyv5Uf3; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727935AbgBVQQr (ORCPT + 99 others); Sat, 22 Feb 2020 11:16:47 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:38286 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727339AbgBVQQr (ORCPT ); Sat, 22 Feb 2020 11:16:47 -0500 Received: by mail-wm1-f68.google.com with SMTP id a9so5062127wmj.3; Sat, 22 Feb 2020 08:16:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kGlgDo9M9XGHB0o0rwRFWRiv//bvSK3bYB5+0sd515M=; b=iSyv5Uf3jTCZi1qP7OEoGBdZIyralVcALePGw4cvaNP7kfkmVQGREiKmNzA7wQDrO8 cBZ1BO/P8iec24Usy7d3kOzOBOOgKSOtpDtPs100S2W7K+sbWcsAa/SQlG/R4xFPYmpB 4D8fCPiaD26lHJvNcl73hvZD2v/H0ke3f34x8i3X4zqHebQZQgGoq4/YpykzvYHuAVId mhYPJBoFPE59KXttN7/wCF2pGYrP7YuLjJcsPhDyhXFUZdH/w6wbogmYa2+8kgCidEFW JAqQqPNLfZXrludv7QhZSjC/V+MH7/TyQo8MtftNBITJbP1dV94DuvrnejW+pDOSkqJf uFaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kGlgDo9M9XGHB0o0rwRFWRiv//bvSK3bYB5+0sd515M=; b=oXkLJfrjxh6KcgjqE8NlNTFgeyK23R5yUxzen/Rru7ewXyFWZ2anPWRvxRoLuSBHk+ M6hxDSz3iIphIAli4obZUZMOzeVkjPIVMLE6BxZ9O8/SE8XUkLAnQyjtYN3nQmNgN2P5 OwCw2gkVWEjfH4ChzXb2zck2UvWGVE5Y9vkDTqbGyyaHr5fGph/FZrtYFW8y77P7D1jr 643jSCbBD13MS/LQFxKg9aUnbTmJluqMaTH44ObMu20VQ8J0kKnfTcFNwbidg1DIwTFe RG/qLfFmECAgC2jDGIIk0RtWDsHUwQzqTJ5/bUkf0V1f5KL8HzeLHJ9QUFIZg6zPYyJm AbHA== X-Gm-Message-State: APjAAAWZGiqhuSMto7tozm6QG8EcUKHITnTWgC++v6iEtxtjHQs6i5D7 form76WLxo2q4UxuDS5bHLsBWUWVjBI= X-Received: by 2002:a7b:c14e:: with SMTP id z14mr10726823wmi.58.1582388205505; Sat, 22 Feb 2020 08:16:45 -0800 (PST) Received: from Ansuel-XPS.localdomain (host110-18-dynamic.45-213-r.retail.telecomitalia.it. [213.45.18.110]) by smtp.googlemail.com with ESMTPSA id a198sm8906855wme.12.2020.02.22.08.16.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Feb 2020 08:16:44 -0800 (PST) From: Ansuel Smith Cc: Ansuel Smith , Andy Gross , Bjorn Andersson , "David S. Miller" , Rob Herring , Mark Rutland , Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 2/2] Documentation: devictree: Add ipq806x mdio bindings Date: Sat, 22 Feb 2020 17:16:27 +0100 Message-Id: <20200222161629.1862-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200222161629.1862-1-ansuelsmth@gmail.com> References: <20200222161629.1862-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentations for ipq806x mdio driver. Signed-off-by: Ansuel Smith --- .../bindings/net/qcom,ipq8064-mdio.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml diff --git a/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml new file mode 100644 index 000000000000..d2254a5ff2ad --- /dev/null +++ b/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/qcom,ipq8064-mdio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm ipq806x MDIO bus controller + +maintainers: + - Ansuel Smith + +description: |+ + The ipq806x soc have a MDIO dedicated controller that is + used to comunicate with the gmac phy conntected. + Child nodes of this MDIO bus controller node are standard + Ethernet PHY device nodes as described in + Documentation/devicetree/bindings/net/phy.txt + +allOf: + - $ref: "mdio.yaml#" + +properties: + compatible: + const: qcom,ipq8064-mdio + reg: + maxItems: 1 + description: address and length of the register set for the device + clocks: + maxItems: 1 + description: A reference to the clock supplying the MDIO bus controller + +required: + - compatible + - reg + - clocks + - "#address-cells" + - "#size-cells" + +examples: + - | + mdio0: mdio@37000000 { + #address-cells = <1>; + #size-cells = <0>; + + compatible = "qcom,ipq8064-mdio", "syscon"; + reg = <0x37000000 0x200000>; + resets = <&gcc GMAC_CORE1_RESET>; + reset-names = "stmmaceth"; + clocks = <&gcc GMAC_CORE1_CLK>; + + switch@10 { + compatible = "qca,qca8337"; + ... + } + }; -- 2.25.0