Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4070137rwb; Tue, 20 Sep 2022 08:25:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4fy6iLic7f6U1d/tv0ELCPkqUeg1Ghrtl7ozYAoLwPv16rjr3I2/4jaY80JZMtQU3mdrOy X-Received: by 2002:a05:6a00:2409:b0:54e:a3ad:d32d with SMTP id z9-20020a056a00240900b0054ea3add32dmr11390176pfh.70.1663687501165; Tue, 20 Sep 2022 08:25:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663687501; cv=none; d=google.com; s=arc-20160816; b=vQ3D4qdJRI8mzyaE7iulKqSf++dZovgpep+rlQ4n1evLYcYK7OCaDHQY1WIF/GCY1F IJyn9IfjoDySJYG6xl8dFgnwXbT97AZ8xIAgikBD761bUcqX5zyrCNuqLIIrwT7WN3+K 7UbUCIYNpMF6JW7ozG5sjeg/c/11/UieeegUATmwiaZwNkXDHMhe0lQN2Rar1SVQHc/U g4BaYwfHTfI2O2BCjymrosT2vyVmxOZGJvNdkVGhq0zfanr16YbjWzvVITvf/1cllgQY yDsXdfzkn6TS0pvQXyLoZGjh1tNOgwYsZrUrLhd/NJKvNKArJScbiyqwuBEM5SqEL+8h QZhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=k3tV7BYNoaMmGkk9sPvJNO+QjiH32hWSnEMAx88EIiE=; b=Od/O9Fzh3uHkVQ1JlJtYKj5AZUrLc/6SYbLR2fEGkJPXQmxi3vyR8g3xDZi+rXfqZP YJALvUz7M7heqbgg7rPPJKv0MkjtMtFvJ6tcXFCU2rMkGq8AJLqDjkyEHRlzJ9bZft0h +FCEZvDVC9JnT75EgIVeXQ+9TQCnYAtQ9G8FlfGbSGK9EAze98i1Q/NpNYcwORpXe91p AW53kr23Tlaq/5uMHnLQlfubsyIFSknax7N+ZP7a5zHEf/Q9ez3AnnCIyQYSALrMaPrw GeEpdIJz/NYlncQm+QsHIK8EJkbPs1CD5ZOgoqkSbT1KErTdV37X5I1AGGWl8bh2HzDl vuww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=bpbpNyCK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q13-20020a170902f78d00b001780ba83636si1804401pln.612.2022.09.20.08.24.49; Tue, 20 Sep 2022 08:25:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=bpbpNyCK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231153AbiITPOY (ORCPT + 99 others); Tue, 20 Sep 2022 11:14:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230344AbiITPOT (ORCPT ); Tue, 20 Sep 2022 11:14:19 -0400 Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA92C58083; Tue, 20 Sep 2022 08:14:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1663686859; x=1695222859; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=k3tV7BYNoaMmGkk9sPvJNO+QjiH32hWSnEMAx88EIiE=; b=bpbpNyCKTIUbv/eo/P6SA8y4hHd4/Y4XmJ58o7Mu/Z6TPj0fyr3xXL73 rWZhFVAjQWQRy3ZM/XmudF/yTsAHOAcHyLY49YamO8SRuswuVq5SHmTeD zX6U1dtSBJZNV11pn7sMYS1P8+HtJItopzfXItWTTUHlLvxG8MLdWZqDi YEQ5tdlLbWuzVzGwkRXUjvu+eYWLCQ+brxXTKozKOlYhIKXHCD/gLY/LJ GBqlDdf6KDusarBAu/llMHtdJDkpLUymOuaiyR3osqjgTAVpbFnPFtWS0 //sr2tYqhus+5n6WXCJqLaZlI8NSRoDbdm8OcWTDBEO9/2b0BRjXQnMrI g==; From: Marcus Carlberg To: , CC: , , Marcus Carlberg , Heiner Kallweit , , Russell King , "David S. Miller" , Eric Dumazet , "Jakub Kicinski" , Paolo Abeni , Subject: [PATCH net-next 1/2] dt-bindings: net: Add mxl,gpy Date: Tue, 20 Sep 2022 17:14:10 +0200 Message-ID: <20220920151411.12523-2-marcus.carlberg@axis.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220920151411.12523-1-marcus.carlberg@axis.com> References: <20220920151411.12523-1-marcus.carlberg@axis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add dual-led-mode override property specific to mxl,gpy. Signed-off-by: Marcus Carlberg --- .../devicetree/bindings/net/mxl,gpy.yaml | 39 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 1 + 3 files changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/mxl,gpy.yaml diff --git a/Documentation/devicetree/bindings/net/mxl,gpy.yaml b/Documentation/devicetree/bindings/net/mxl,gpy.yaml new file mode 100644 index 000000000000..423d2a5e1ce9 --- /dev/null +++ b/Documentation/devicetree/bindings/net/mxl,gpy.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/mxl,gpy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxlinear Phy + +maintainers: + - Xu Liang + +allOf: + - $ref: ethernet-phy.yaml# + +properties: + mxl,dual-led-mode: + $ref: /schemas/types.yaml#/definitions/flag + description: + If set, indicates that the hardware only have connected pins led0 and + led1 where led0 is used for noting the highest network speed (2500) and + led1 for the rest (10, 100, 1000). The absence of this property + indicates that the PHY uses all four led pins to communicate link speed, + one pin for each speed. + +unevaluatedProperties: false + +examples: + - | + ethernet { + #address-cells = <1>; + #size-cells = <0>; + + ethernet-phy@0 { + compatible = "ethernet-phy-id67c9.de10", "ethernet-phy-ieee802.3-c45"; + reg = <0>; + mxl,dual-led-mode; + }; + }; + diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 2f0151e9f6be..3c833827a790 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -757,6 +757,8 @@ patternProperties: description: MaxBotix Inc. "^maxim,.*": description: Maxim Integrated Products + "^mxl,.*": + description: Maxlinear Inc. "^mbvl,.*": description: Mobiveil Inc. "^mcube,.*": diff --git a/MAINTAINERS b/MAINTAINERS index 9ae989b32ebb..accc4242c027 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12455,6 +12455,7 @@ MAXLINEAR ETHERNET PHY DRIVER M: Xu Liang L: netdev@vger.kernel.org S: Supported +F: Documentation/devicetree/bindings/net/phy/mxl,gpy.yaml F: drivers/net/phy/mxl-gpy.c MCBA MICROCHIP CAN BUS ANALYZER TOOL DRIVER -- 2.20.1