Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3749247rdb; Thu, 14 Sep 2023 01:03:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHpE8IX74Sg8UvK5hRafksVdz19J29mzr24CjURKlRbCLdbWS3tH4lsBMlBWXpf/fGfS9E1 X-Received: by 2002:a05:6a00:139b:b0:68f:c9e0:1a68 with SMTP id t27-20020a056a00139b00b0068fc9e01a68mr5914444pfg.3.1694678633310; Thu, 14 Sep 2023 01:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694678633; cv=none; d=google.com; s=arc-20160816; b=IjJ3qe2HSSEbyoSECKlkkG46QNURB9GJ50LoeQn9AOvDURrrXVtNxq5PW5qmT9Vzvk BainzSS+AOIOskARMWgsLWoRAWZ9H6/aFqDctss159slZ+90fnLvDBrvXa19+mqKGPKE QxvTjyAbpLeGpGLuYDLaFPuP/GCLUsedMWCGrlfP2yD1oHtCvDd8pf4qG59tB/8fLuiU F1T9WDAx2rQbZTjipSqUOin/EYkzHE5X0l3kIrGT1HFqTxxpTzj6vqGOFZncWLJFljDF Zk5NEkAUHotFvq9bSYTEJn2EsY6COJTHsC15fyQ8IgKC7xTDaDdlQGnkor5N4t6s4tah VxvA== 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; bh=NvI6BQIdphJ3arxgBpWOAM8afvKb09aZbX22CEvgL90=; fh=QYgetpj+LOEvs5ynX+30eh4P4Npdt60PJuMQcqSbs1E=; b=nBnq38cjcX8mmdwKekin/944hTaI5mFa5T3U59wNV6aHWREBELrVd+AvkRg3x8VJR7 F2tMXhXGQqn9HyJzyTrYPpgeJY9TShO/St35Y98G+ers4nYQXBUIzfov2JXkhFfCRFxJ PYdX4jjJk8kHxzwSEe5yYqPM8vg1/Jx387GaigRdlAP6KYxvb4vhEfZBj+JndAGYa54X wzqAq6WGzz41L+pJ4Qs4pt2jTy+mwvFL3if4PBoiXATG5LlRR+DAydg1sAsL3uVHMwjI L3vZk2vGrwqPN6Te4hdm+Q8sydwNbcalV15P1Swjt69gl9jJW5bmnmHp4TLPXFM2bgkC Q6iQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id e20-20020a656794000000b00577f87e6210si361607pgr.332.2023.09.14.01.03.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 01:03:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id CEF3D8325D3D; Thu, 14 Sep 2023 00:51:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231274AbjINHvl (ORCPT + 99 others); Thu, 14 Sep 2023 03:51:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235889AbjINHvk (ORCPT ); Thu, 14 Sep 2023 03:51:40 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7F5A1FC6 for ; Thu, 14 Sep 2023 00:51:35 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qgh82-0001Gv-Bd; Thu, 14 Sep 2023 09:51:10 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qgh80-006FdB-Pl; Thu, 14 Sep 2023 09:51:08 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qgh80-009P5Y-22; Thu, 14 Sep 2023 09:51:08 +0200 From: Oleksij Rempel To: "David S. Miller" , Andrew Lunn , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , Woojung Huh , Arun Ramadoss , Conor Dooley , Krzysztof Kozlowski , Rob Herring Cc: Oleksij Rempel , Rob Herring , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, "Russell King (Oracle)" , devicetree@vger.kernel.org Subject: [PATCH net-next v5 1/2] dt-bindings: net: dsa: microchip: Update ksz device tree bindings for drive strength Date: Thu, 14 Sep 2023 09:51:06 +0200 Message-Id: <20230914075107.2239886-2-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230914075107.2239886-1-o.rempel@pengutronix.de> References: <20230914075107.2239886-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 14 Sep 2023 00:51:42 -0700 (PDT) Extend device tree bindings to support drive strength configuration for the ksz* switches. Introduced properties: - microchip,hi-drive-strength-microamp: Controls the drive strength for high-speed interfaces like GMII/RGMII and more. - microchip,lo-drive-strength-microamp: Governs the drive strength for low-speed interfaces such as LEDs, PME_N, and others. - microchip,io-drive-strength-microamp: Controls the drive strength for for undocumented Pads on KSZ88xx variants. Signed-off-by: Oleksij Rempel Reviewed-by: Rob Herring Reviewed-by: Andrew Lunn --- .../bindings/net/dsa/microchip,ksz.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml index 03b5567be389..41014f5c01c4 100644 --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml @@ -49,6 +49,26 @@ properties: Set if the output SYNCLKO clock should be disabled. Do not mix with microchip,synclko-125. + microchip,io-drive-strength-microamp: + description: + IO Pad Drive Strength + enum: [8000, 16000] + default: 16000 + + microchip,hi-drive-strength-microamp: + description: + High Speed Drive Strength. Controls drive strength of GMII / RGMII / + MII / RMII (except TX_CLK/REFCLKI, COL and CRS) and CLKO_25_125 lines. + enum: [2000, 4000, 8000, 12000, 16000, 20000, 24000, 28000] + default: 24000 + + microchip,lo-drive-strength-microamp: + description: + Low Speed Drive Strength. Controls drive strength of TX_CLK / REFCLKI, + COL, CRS, LEDs, PME_N, NTRP_N, SDO and SDI/SDA/MDIO lines. + enum: [2000, 4000, 8000, 12000, 16000, 20000, 24000, 28000] + default: 8000 + interrupts: maxItems: 1 -- 2.39.2