From patchwork Thu Nov 12 04:50:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 11899063 X-Patchwork-Delegate: kuba@kernel.org 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=-12.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 29ACCC2D0A3 for ; Thu, 12 Nov 2020 05:43:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D50C92076E for ; Thu, 12 Nov 2020 05:43:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="g6wbI6f1" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728382AbgKLFde (ORCPT ); Thu, 12 Nov 2020 00:33:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729066AbgKLEux (ORCPT ); Wed, 11 Nov 2020 23:50:53 -0500 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 665AAC0617A6; Wed, 11 Nov 2020 20:50:51 -0800 (PST) Received: by mail-pl1-x644.google.com with SMTP id w11so2150876pll.8; Wed, 11 Nov 2020 20:50:51 -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=Uqi5SmFeacH0e1NTAAchTyTLbhiC4KKjnBGY2RO3cPg=; b=g6wbI6f1iAZoNRVs3X9fFCbppPuY9jroWGJMB+KAix8kmBvWj2+swEm9ZDOoxlxBMR 862uB3jqVVnBG5nlX9MsdpxGmkAUvKVG9GjPAm3Klc4tMc9wRilLP5bGR1K7/GSJIg23 zfNiqjMM4+kYnNmvg61snpQbqfNIe52rT+qVDTJXN1+mZWlsIIyqt8MhJw1RCShZFce7 aTkP1yiOlbFvzN9lvoK2uavdh9otEGu2XFk3L4oa12ZPXkuEhAdmVXQOoaK49LsPXARA a6RFEpp11c1XgMIS8Uh/DyScWSyn3waHuT7m6HGSmaZ99YlsA7aFCeBD9QmnRdRpxYWR VoGg== 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=Uqi5SmFeacH0e1NTAAchTyTLbhiC4KKjnBGY2RO3cPg=; b=p78X63XFLikHdMPRe1tiL0f6L5MN++sW6AbGC8YuMm75fzfAXZj5xiy//Fe7C1TDv/ x4C2rC8TbOF7IT3TkMeokUyFw+CMVsbLbhsXHb+psJfm4B2lodgsP8vqf8NPaoDP3em5 qN2QNr4fWSDLlmL7f95Kk54tEU7DZsL6ExZpo7lmSChwFPBTrtTvhdyC3sCq0h4FJuCF IQtVZQR6sS5vor1aAg49T+iBxRuDKjTT5YDvZbTbfoZ4PisNU96e/AL4Nlt1XJ3WnpiM WwCUB0oFr9OMaUuUUhYdWzxgWeKj9wbtTcuhphkhpaBlB0wPdPWdFfKaZ77BIGedmnT2 wLMg== X-Gm-Message-State: AOAM532vCEAbOov+oOJ6HFXgjDlvDNEgVXOh/6C8gc1Bd4MvvyYbeiON JzWX51Tf5KEX0xBZIiuq5YM= X-Google-Smtp-Source: ABdhPJzX3Wk+CjiK3j44F23MWb2WHdQhpOnkm7zo6QbcQP65qEl3hYVXNO+jKiwHZ18O+M4aD5En4A== X-Received: by 2002:a17:902:b192:b029:d7:ca4a:4ec1 with SMTP id s18-20020a170902b192b02900d7ca4a4ec1mr22426101plr.76.1605156650963; Wed, 11 Nov 2020 20:50:50 -0800 (PST) Received: from 1G5JKC2.Broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id gk22sm4189087pjb.39.2020.11.11.20.50.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 20:50:50 -0800 (PST) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: Florian Fainelli , Rob Herring , Andrew Lunn , Vivien Didelot , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Rob Herring , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM IPROC ARM ARCHITECTURE), Hauke Mehrtens , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , netdev@vger.kernel.org (open list:NETWORKING DRIVERS), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list), Kurt Kanzenbach Subject: [PATCH v2 02/10] dt-bindings: net: dsa: Document sfp and managed properties Date: Wed, 11 Nov 2020 20:50:12 -0800 Message-Id: <20201112045020.9766-3-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112045020.9766-1-f.fainelli@gmail.com> References: <20201112045020.9766-1-f.fainelli@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org The 'sfp' and 'managed' properties are commonly used to describe Ethernet switch ports connecting to SFP/SFF cages, describe these two properties as valid that we inherit from ethernet-controller.yaml. Acked-by: Rob Herring Signed-off-by: Florian Fainelli --- Documentation/devicetree/bindings/net/dsa/dsa.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/Documentation/devicetree/bindings/net/dsa/dsa.yaml index 5f8f5177938a..8e044631bcf7 100644 --- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml +++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml @@ -78,6 +78,10 @@ patternProperties: mac-address: true + sfp: true + + managed: true + required: - reg