Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E44DAC4BA3B for ; Thu, 27 Feb 2020 09:52:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B4F1E222C2 for ; Thu, 27 Feb 2020 09:52:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="yBlaHRGs" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728630AbgB0Jwq (ORCPT ); Thu, 27 Feb 2020 04:52:46 -0500 Received: from pandora.armlinux.org.uk ([78.32.30.218]:34886 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728454AbgB0Jwq (ORCPT ); Thu, 27 Feb 2020 04:52:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Date:Sender:Message-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Subject:Cc:To:From:References: In-Reply-To:Reply-To: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=dfDOS8M/h/5R66JW8YhaCe/EtnNvHeTQ5r1lVZWQiwQ=; b=yBlaHRGsDFtSmTVYu8yFJsIllT ahvp4g81kEkx5qvwHCvfjV02/sm9DljMGyrxhgFlLekTrMuAN9L9dFcP/bBG5zKifRqGui6P8pHrV AFdDbtAMLzBwcuCObiUrGUNSfmu81fweAubNtdwMjzksu/apuz+Vs2/GfksgeK4Pbts6O4eLdJB24 zE/m2073WPfSq9YhG5DNLzWhemLdATIxY4iVwjFw+gQevEQrF0Dq8PCrfoVO8YYDxhaT93ATK/yBa kaxyD/Z7awREl6rpSWvolkSCYAjBypugbInwnZjTezq6UjqmoyCny0olwEwpC0qu+0QUeBHiwObFB 4DY4dzRQ==; Received: from e0022681537dd.dyn.armlinux.org.uk ([fd8f:7570:feb6:1:222:68ff:fe15:37dd]:45374 helo=rmk-PC.armlinux.org.uk) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1j7FqP-0004k4-H8; Thu, 27 Feb 2020 09:52:37 +0000 Received: from rmk by rmk-PC.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1j7FqO-0003sv-Ho; Thu, 27 Feb 2020 09:52:36 +0000 In-Reply-To: <20200227095159.GJ25745@shell.armlinux.org.uk> References: <20200227095159.GJ25745@shell.armlinux.org.uk> From: Russell King To: Andrew Lunn , Florian Fainelli , Heiner Kallweit Cc: "David S. Miller" , devicetree@vger.kernel.org, Jason Cooper , linux-arm-kernel@lists.infradead.org, Mark Rutland , netdev@vger.kernel.org, Rob Herring , Sebastian Hesselbarth Subject: [PATCH net-next 1/3] dt-bindings: net: add dt bindings for marvell10g driver MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Message-Id: Date: Thu, 27 Feb 2020 09:52:36 +0000 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add a DT bindings document for the Marvell 10G driver, which will augment the generic ethernet PHY binding by having LED mode configuration. Signed-off-by: Russell King --- .../devicetree/bindings/net/marvell,10g.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/marvell,10g.yaml diff --git a/Documentation/devicetree/bindings/net/marvell,10g.yaml b/Documentation/devicetree/bindings/net/marvell,10g.yaml new file mode 100644 index 000000000000..da597fc5314d --- /dev/null +++ b/Documentation/devicetree/bindings/net/marvell,10g.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0+ +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/marvell,10g.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Alaska X family Ethernet PHYs + +maintainers: + - Russell King + +allOf: + - $ref: ethernet-phy.yaml# + +properties: + marvell,led-mode: + description: | + An array of one to four 16-bit integers to write to the PHY LED + configuration registers. + allOf: + - $ref: /schemas/types.yaml#/definitions/uint16-array + - minItems: 1 + maxItems: 4 + +examples: + - | + ethernet-phy@0 { + reg = <0>; + compatible = "ethernet-phy-ieee802.3-c45"; + marvell,led-mode = /bits/ 16 <0x0129 0x095d 0x0855>; + }; -- 2.20.1