Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752631AbdHJIzQ (ORCPT ); Thu, 10 Aug 2017 04:55:16 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33094 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361AbdHJIxx (ORCPT ); Thu, 10 Aug 2017 04:53:53 -0400 From: Corentin Labbe To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, wens@csie.org, peppe.cavallaro@st.com, alexandre.torgue@st.com, andrew@lunn.ch, f.fainelli@gmail.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Corentin Labbe Subject: [PATCH 1/3] Documentation: bindings: Add documentation for phy-is-integrated Date: Thu, 10 Aug 2017 10:51:27 +0200 Message-Id: <20170810085129.20463-2-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170810085129.20463-1-clabbe.montjoie@gmail.com> References: <20170810085129.20463-1-clabbe.montjoie@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1190 Lines: 30 This patch adds documentation for phy-is-integrated, a boolean property for PHY which permit to know if the PHY is integrated in the SoC. For example, Allwinner H3 embeds an internal PHY but still permit to connect an external PHY. Since it is possible in theory to have the same PHY model both internal and external, the only way to detect the location of the PHY is via this property. Signed-off-by: Corentin Labbe --- Documentation/devicetree/bindings/net/phy.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/phy.txt b/Documentation/devicetree/bindings/net/phy.txt index b55857696fc3..6fabc14da432 100644 --- a/Documentation/devicetree/bindings/net/phy.txt +++ b/Documentation/devicetree/bindings/net/phy.txt @@ -52,6 +52,10 @@ Optional Properties: Mark the corresponding energy efficient ethernet mode as broken and request the ethernet to stop advertising it. +- phy-is-integrated: If set, indicates that the PHY is integrated in the SoC + and so is not an external PHY. (Some SoC embeds a PHY and still provide + support for an optional external PHY) + Example: ethernet-phy@0 { -- 2.13.0