From patchwork Fri Mar 18 08:55:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prasanna Vengateshan X-Patchwork-Id: 552716 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26421C433F5 for ; Fri, 18 Mar 2022 08:56:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234068AbiCRI5c (ORCPT ); Fri, 18 Mar 2022 04:57:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234047AbiCRI5Y (ORCPT ); Fri, 18 Mar 2022 04:57:24 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 931F31F6F32; Fri, 18 Mar 2022 01:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1647593761; x=1679129761; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=M0gfP5Lho+73K76CJHMgytyB85l30uTjrKHhOak+u5A=; b=OwJccE7n0o9Knp0bYY+3v9ggK1Gb9fVGJKtpY2a8y2xGqHjwXgK27WNB K4MIj2q3MBnA2NvaXaQeF1oiWw6dDzAxyB3xf5uOAE9CgoSlSO+w+a40O TQAUDlVrt1Gl+FK0suEEQLXBMyNvEOlr/2/vKU2XgdM15r6qvCUt4BypR 5fdbU+dRSEVqpIq9cGI/xPulnKpp+RAC+hKCVaSwW/QxTcZ6mKyjiNWH7 A0cng9PqL2bzxWaLoic7oMDqli3y67ecNWcyYj0vZt1MVVUruA0pYeDw6 9hesYgLG7Z98bhu4c0EmsMq0WCwPkQFGWNL1zixnjAdHHrHr2975es9gd A==; X-IronPort-AV: E=Sophos;i="5.90,191,1643698800"; d="scan'208";a="157367479" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Mar 2022 01:56:00 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 18 Mar 2022 01:56:00 -0700 Received: from CHE-LT-I21427LX.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 18 Mar 2022 01:55:54 -0700 From: Prasanna Vengateshan To: , , , CC: , , , , , , , , , Subject: [PATCH v9 net-next 02/11] dt-bindings: net: add mdio property Date: Fri, 18 Mar 2022 14:25:31 +0530 Message-ID: <20220318085540.281721-3-prasanna.vengateshan@microchip.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220318085540.281721-1-prasanna.vengateshan@microchip.com> References: <20220318085540.281721-1-prasanna.vengateshan@microchip.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org mdio bus is applicable to any switch hence it is added as per the below request, https://lore.kernel.org/netdev/1300f84832ef1c43ecb9edb311fb817e3aab5420.camel@microchip.com/ Signed-off-by: Prasanna Vengateshan --- 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 b9d48e357e77..0f8426e219eb 100644 --- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml +++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml @@ -31,6 +31,10 @@ properties: switch 1. <1 0> is cluster 1, switch 0. A switch not part of any cluster (single device hanging off a CPU port) must not specify this property $ref: /schemas/types.yaml#/definitions/uint32-array + + mdio: + $ref: /schemas/net/mdio.yaml# + unevaluatedProperties: false patternProperties: "^(ethernet-)?ports$":