From patchwork Mon Oct 21 13:58:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Machon X-Patchwork-Id: 13844305 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 54961D15DA5 for ; Mon, 21 Oct 2024 15:05:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:CC:To:In-Reply-To:References :Message-ID:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KoJ+OZ9v0Spy0N010tdDKMFLdXmucm3bdFqyItmmJ28=; b=AGFydHj4TsAedoOP7ts9vCygCX IhA4bNJvn5iAXFYlg0lDsRxcasoQIJhgE+ZwJzqHXL80WW8RrMzBRrTQukv1SHRwtFcZW2ygEXqag F3CsDnaLouDN1IppmMyZ2ZlqdFQFK6fYCPLADgAC5BPmPUuvqbbWJGmQEcEJgmSstuh6U4XwIsm6Q h2kmQpitYfdR1FfhboDiUO7oHUO4zXRLLj/yA/8f/lf2aU2SqHo0ggREB0Jpnb+uuMEjHlcNe6AYz EVkikug+9moPvq8Q+juSESXs7e0dO4lBC9mAqZ1wgYmdudfcqQHQEI97N9ApMrEt/vfdmeW6NvhkS A8PyX3dg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2tyC-00000007izc-2qXB; Mon, 21 Oct 2024 15:05:20 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2sxB-00000007Wlj-39E5 for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 14:00:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1729519213; x=1761055213; h=from:date:subject:mime-version:content-transfer-encoding: message-id:references:in-reply-to:to:cc; bh=ngOehsscgKeABTUPd2zTYRgy1/B3PAnX7UqlfISLwO4=; b=ImfqS+ULIh4V5gEAVRT/E/gThwzYbsetyenfmWE/nq5BJla+Rx2OoSR2 kJ9vW6mZLXvztdYjXezzOYKIQC+DwoBy2HYdKzqyUpj+rqJMhQsThDEwH /l0bSytSr2U/ILtFDizxxbjytffo0G2EtKgXFoPmm1SESyiuiKFb3ohos G0GZX0sBMsuPa8A5EobhCbjDqH63jt416TmTwV9WvAXz7Tk0D1+SxSNYi z2M87NtTfxkqs8wPYERqT+TVKp18BgILo+A11Wrv50q+q7LjGDiahq5lO /HFYQoSHLTCIdZCMrExdmZuYOyCkOP55h0EifN3IvkJTUyhmR0Lk3WiYU Q==; X-CSE-ConnectionGUID: wjlJ/ymcRaqntxTcHXMHhA== X-CSE-MsgGUID: s/1xQN3ZTSGKfQvmRD5cyA== X-IronPort-AV: E=Sophos;i="6.11,221,1725346800"; d="scan'208";a="33285732" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 21 Oct 2024 07:00:12 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 21 Oct 2024 06:59:47 -0700 Received: from DEN-DL-M70577.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 21 Oct 2024 06:59:44 -0700 From: Daniel Machon Date: Mon, 21 Oct 2024 15:58:50 +0200 Subject: [PATCH net-next 13/15] dt-bindings: net: add compatible strings for lan969x SKU's MIME-Version: 1.0 Message-ID: <20241021-sparx5-lan969x-switch-driver-2-v1-13-c8c49ef21e0f@microchip.com> References: <20241021-sparx5-lan969x-switch-driver-2-v1-0-c8c49ef21e0f@microchip.com> In-Reply-To: <20241021-sparx5-lan969x-switch-driver-2-v1-0-c8c49ef21e0f@microchip.com> To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , , Lars Povlsen , Steen Hegelund , , , , , , Richard Cochran , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , CC: , , , Steen Hegelund , X-Mailer: b4 0.14-dev X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_070013_947724_B3CB82DD X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add compatible strings for the twelve different lan969x SKU's (Stock Keeping Unit) that we need to support. We need to support all of them, as we are going to use them in the driver, for deriving the devicetree target in a subsequent patch. Also, add myself as a maintainer. Reviewed-by: Steen Hegelund Signed-off-by: Daniel Machon --- .../bindings/net/microchip,sparx5-switch.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml b/Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml index fcafef8d5a33..c38f0bd9a481 100644 --- a/Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml +++ b/Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml @@ -9,6 +9,7 @@ title: Microchip Sparx5 Ethernet switch controller maintainers: - Steen Hegelund - Lars Povlsen + - Daniel Machon description: | The SparX-5 Enterprise Ethernet switch family provides a rich set of @@ -34,7 +35,21 @@ properties: pattern: "^switch@[0-9a-f]+$" compatible: - const: microchip,sparx5-switch + items: + - enum: + - microchip,sparx5-switch + - microchip,lan9691-switch + - microchip,lan9692-switch + - microchip,lan9693-switch + - microchip,lan9694-switch + - microchip,lan9695-switch + - microchip,lan9696-switch + - microchip,lan9697-switch + - microchip,lan9698-switch + - microchip,lan9699-switch + - microchip,lan969a-switch + - microchip,lan969b-switch + - microchip,lan969c-switch reg: items: