From patchwork Mon Sep 30 09:51:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddharth Vadapalli X-Patchwork-Id: 13815807 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 AEA14CF6497 for ; Mon, 30 Sep 2024 10:05:02 +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:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=FpjCUlqj/npY/3KoH9Yoyz6bWbmAqbUo8uX4w3FlqoY=; b=dhr0eC2Vu16I5myTOFOZ4yazR7 QY9/ABAjHT8sh0OJK17OGI48aL+o7xRNnIiJh+vSF+Xr0fmZHxckhZByW3YZj1tMUTTop4Bh0nvjD uT9LTMOUwF1xi8/FazHlq5tX9XrfGEH+Lm6K5WNsavBMne5yPQu2jZp4W+m/s8bx1AfRFH8E9gIg3 QzRurN6cgxIDGuXObzX9diugOQfs2Be38I74EXVhod7dz66sCzSxLuu4k6gxh6V5YSHYNKk7shOn4 BXJAUo0bqWOMhv+ZLS1mVI7fJ1sIcj5hIPGZtLs31yLoy8RUGitUvM7oIVUt55CYnRgA91so2hGYB 346QGmzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svDGp-0000000GdU0-23U4; Mon, 30 Sep 2024 10:04:47 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svD4P-0000000Gace-3XXB; Mon, 30 Sep 2024 09:51:59 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 48U9ppeU056451; Mon, 30 Sep 2024 04:51:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1727689911; bh=FpjCUlqj/npY/3KoH9Yoyz6bWbmAqbUo8uX4w3FlqoY=; h=From:To:CC:Subject:Date; b=XirWzPnNML7Q5EMq5/2rLvm2QQtzFylDneewUWSr0i716snU7PsVizW0KS2MCF8Po T72pEDTXJg6PWPGdWY12qWtm5YwDFr1B+EVIBWEz23KsMqmTvf7l4fmKbrfLSeyCfI sTIEWvZHX/MaspsZU6V12gxWXwsWbt7IRBFP3lEo= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 48U9ppoT018783; Mon, 30 Sep 2024 04:51:51 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 30 Sep 2024 04:51:51 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 30 Sep 2024 04:51:50 -0500 Received: from uda0492258.dhcp.ti.com (uda0492258.dhcp.ti.com [10.24.72.81]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 48U9pkBw042299; Mon, 30 Sep 2024 04:51:46 -0500 From: Siddharth Vadapalli To: , , , , , , CC: , , , , , , , Subject: [PATCH v2] dt-bindings: phy: cadence-sierra: Allow PHY types QSGMII and SGMII Date: Mon, 30 Sep 2024 15:21:45 +0530 Message-ID: <20240930095145.3004053-1-s-vadapalli@ti.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_025157_994670_9F3C7B45 X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. 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 The Sierra SERDES can be configured for QSGMII and SGMII protocols. Hence, update the bindings to treat "PHY_TYPE_QSGMII" and "PHY_TYPE_SGMII" as valid values for the "cdns,phy-type" property. Signed-off-by: Siddharth Vadapalli Acked-by: Conor Dooley --- Hello, This patch is based on linux-next tagged next-20240930. v1: https://lore.kernel.org/r/20240830105316.1824319-1-s-vadapalli@ti.com/ Changes since v1: - Rebased patch on next-20240930. - Collected Acked-by tag from Conor Dooley Regards, Siddharth. Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml index 37f028f7a095..137ac5703853 100644 --- a/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml +++ b/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml @@ -96,7 +96,7 @@ patternProperties: Specifies the type of PHY for which the group of PHY lanes is used. Refer include/dt-bindings/phy/phy.h. Constants from the header should be used. $ref: /schemas/types.yaml#/definitions/uint32 - enum: [2, 4] + enum: [2, 4, 8, 9] cdns,num-lanes: description: