Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp77932rdb; Thu, 7 Sep 2023 14:15:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFNCrUaMoYFZlIiiWtJAjHY6+n8pxIfdSOHoucX4fAhhjh7MCBlOpaHcxwQyuGZv2EImeHd X-Received: by 2002:a05:6a20:7d84:b0:13f:9cee:ff42 with SMTP id v4-20020a056a207d8400b0013f9ceeff42mr1075054pzj.41.1694121336780; Thu, 07 Sep 2023 14:15:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694121336; cv=none; d=google.com; s=arc-20160816; b=GL0OkAB6iqvCstB6f+XNLZLvxL810hkiCU6vO6XxU0tzPB1EhCSKWlwvEwupbpoET7 aDhXI+0ptXfPPmzPbGtwkeJgtHhU6FBOSTHk5mOwradc9O3g4W6aOU7G34itYDxkd7It UTkR9aPBRekUPfdOFjx5E6EsFQbrWNL0zLk7pXt2z+OujrwsDlwUqQAlJTpPYFEggyhK RQTR1xOWUtYG7AuMdEV45oYFeSv7GKql118f3wSqM4BWWAfGesgqUHTuaC5L8jiWmQT1 xpJ0hqrcuWMazXPDpFJcgv3qCc3ZfVpqB64mXXFgdLhE0GZjqT1Y6Vnd1r9ZMU2C/Z4z qYuw== 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=u81lTLUa6eGPTC2dzntzMEzyni5u16QhvlXCPp5cq8o=; fh=J4gjwt0mePoRaYCjaHLm28JnUFi5LyPM6ZZbSRFLAL0=; b=Qg6SZV2Fs8KJ8CbKs0af++UmlVeZDhecWSJ2Ro+F3hEiotBMKfZFlpleUHK2emN1V4 JJktrXRlvtjUhJMhxSaV1+cTZwIpAx8clFJwukUbF8lX+cifnlJuUzsF2e/uad3uuh3v gFAyEWAnRcYWWxY2SDJhVs40LaQFfq76DP0v0vJrCGopqZo/xE+1KxAOxNfZu7f7yAI/ ZeHdUxTlJ+OSxARDu5ogtqdyUq2K2JSrmlzDiWgtkDrDjmCPzpKPxVHkD91mM3nqGu9/ wHM14SBvu+pBEz9K29joJvt/RSNbfVnwtAv+1RCK1IRLFtxzjVPePZObyeWNIdE1vync TsZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s3-20020a63d043000000b00573f7f0ecc3si125069pgi.830.2023.09.07.14.15.15; Thu, 07 Sep 2023 14:15:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243464AbjIGRZ4 (ORCPT + 99 others); Thu, 7 Sep 2023 13:25:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243254AbjIGRZz (ORCPT ); Thu, 7 Sep 2023 13:25:55 -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 82E521FEA for ; Thu, 7 Sep 2023 10:25:26 -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 1qeB1H-0004gl-2t; Thu, 07 Sep 2023 11:09:47 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1qeB1F-004c5o-Ag; Thu, 07 Sep 2023 11:09:45 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qeB1F-00A0Vy-00; Thu, 07 Sep 2023 11:09:45 +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 , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, "Russell King (Oracle)" , devicetree@vger.kernel.org Subject: [RFC net-next v3 1/2] dt-bindings: net: dsa: microchip: Update ksz device tree bindings for drive strength Date: Thu, 7 Sep 2023 11:09:42 +0200 Message-Id: <20230907090943.2385053-2-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230907090943.2385053-1-o.rempel@pengutronix.de> References: <20230907090943.2385053-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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- .../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 e51be1ac03623..f2b6a66a9d22d 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 + required: - compatible - reg -- 2.39.2