From patchwork Thu Aug 10 08:51:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 800139 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aCY0PdjE"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3xShmc32qrz9s82 for ; Thu, 10 Aug 2017 18:55:28 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752610AbdHJIzQ (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 Received: by mail-wm0-f66.google.com with SMTP id q189so2229036wmd.0; Thu, 10 Aug 2017 01:53:52 -0700 (PDT) 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; bh=bwdUPntjddJ3GUWU2PL5Ku1KFaLQtz3Y/ZJRYMDAkW8=; b=aCY0PdjElVHJbHtELZpHjQ3LnzeOyRTqga25b/rdsEeskF4wJ26+AnyqXlUqoewG3h QJ+6JpksU2L9rd6Pos+rG91Koxlldc2ZM8ARwqsWosogwton3ecVxyB3pkAWtQNqtL16 bdhH1oMuW0FCTDOnrMy+OrxAJwF1xFz272VHWs+gsHC//lQMrFjxq2E5r1hS8nJcKC/i O0gNVF0zAZWlBg7CVUIaSMzau3QF9IEH48m2XOR+4ODOlqBuRHgz1RuzMpHCZx8ntyhX 32qAKq7SYrt6tpHaYhkSgJxg2PBxxKrewjyCq++SdhY0y3sm7U7gz5ETVLuOzCRkADxY CQsQ== 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; bh=bwdUPntjddJ3GUWU2PL5Ku1KFaLQtz3Y/ZJRYMDAkW8=; b=dwQA1YnJ2D1GTdHj7Q+U27gaqB+7WrkpMPjKRvcVt2tKL+Sv0Gzjz3UNFtI6RGa4Jb rH19UfYJzYvnPNCqGDhHPXAGeZ2apOFVjERQQSQqWtk7YW9SrufdWiP8C2sKSuWYq+ef l/LUFZvsNWhbh/VfYnagaQUwu6iE/B4Er/55ayCQ0Y3b2YDYYK/uPcmGotpxwBK4CHDo pbWBfuKjVxOE82hN/67Nj2q6qxKqb726VrWbrScIE/CwHwvFBDEuS2HjQEDFJolbPuha Dmw1SFE41XyqclgJy1OFLXA73Z+0S3bokHk5IvVdo0GZHXYGL7Gl/0jo12tFd3hF5auJ z5rg== X-Gm-Message-State: AHYfb5hTx4d9LEeWqxQrTw626HII0LURxs4mesSpfAt3wexGYzyMpFe/ Chv5lKMBv+8tSw== X-Received: by 10.28.155.84 with SMTP id d81mr6384672wme.160.1502355232337; Thu, 10 Aug 2017 01:53:52 -0700 (PDT) Received: from Red.local (LFbn-1-7109-228.w90-116.abo.wanadoo.fr. [90.116.45.228]) by smtp.googlemail.com with ESMTPSA id u17sm5802713wra.42.2017.08.10.01.53.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Aug 2017 01:53:51 -0700 (PDT) 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 {