Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2375545rdb; Mon, 11 Sep 2023 22:48:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsYA+0voxysHl/1+Nblw98En+r0J1HVURsCdFJuWC2jAWlP1WSs8MP6bQWN/zQWaQSDmaj X-Received: by 2002:a05:6a00:2301:b0:68a:5877:bfb1 with SMTP id h1-20020a056a00230100b0068a5877bfb1mr14155019pfh.20.1694497682956; Mon, 11 Sep 2023 22:48:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694497682; cv=none; d=google.com; s=arc-20160816; b=KuoWRN9brBJKLZUukWo6xOA7/JRKgGZMM29tVUVp2pfnHKR/vUUotG+aw1tCdWszFg jOOfBormqUv8R/gIRM4QIGixOGrncou4A2D7JWhYc54Q1TIZVajsF9CnhbeRfruplPlV pGb4r+mxTVrSU9w67SHnc9ki/akeDsBB3kN4lVS/yghj+DePqMQFHDjzWR72N7XNpPXs bAlFnwQpHpOHA5MHk6ddt7VbqByH+j0P0E0XA0wAvgHTQ1tiv1B53orfwuuyqADstq7M GxCbtH8MJ1X0JeG5tSvvU8MkfoAczcNe4dtilB1JEnL+b2w6orcTM40dT2aMQUjUpoow dk0A== 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=SO89Z/sjNWAKrudvotwfzDBjefA/VDc2WAc8idDKG3w=; fh=QYgetpj+LOEvs5ynX+30eh4P4Npdt60PJuMQcqSbs1E=; b=ZCvUubG27ihDEVcl2DIKdR646OWR2QSRvC08b+YlsBu9tgBQ2aPoDCH0evprvSBejv L4nmdqbGNTb79zitGysRxZhsuWpBn6e+mNK6+IFXcNzuhfwt9ityEn4Vc1I0YUbew5tK oDgYPbxciKcdOvPP5h6Fa6tIvKkEplK0IMuA/jhTYPfQpaO8iBOJbute+1SAvcOc/KQ+ 3FelXyhEQ2BoETbPTAmq9Db5dRhVmVm4wWhHDdHsXl7AZBvn6DMNQzkwfGjxKiLFmRWP fR+vNEemte+xfQHwqimU8n+UmYj7zFOKGMM1u7Jw5zSSozZ75r0Vk3RLF2PydeRkxAHs a2WQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bd42-20020a056a0027aa00b0068a2f6b841esi7436988pfb.293.2023.09.11.22.47.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 22:48:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 0D7B480BB3D5; Mon, 11 Sep 2023 22:06:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231290AbjILFG4 (ORCPT + 99 others); Tue, 12 Sep 2023 01:06:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231248AbjILFGp (ORCPT ); Tue, 12 Sep 2023 01:06:45 -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 8B2105FE9 for ; Mon, 11 Sep 2023 21:55:24 -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 1qfvQV-00040k-BA; Tue, 12 Sep 2023 06:55:03 +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 1qfvQT-005hVo-JV; Tue, 12 Sep 2023 06:55:01 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qfvQS-007owQ-34; Tue, 12 Sep 2023 06:55:00 +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 v4 1/2] dt-bindings: net: dsa: microchip: Update ksz device tree bindings for drive strength Date: Tue, 12 Sep 2023 06:54:58 +0200 Message-Id: <20230912045459.1864085-2-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230912045459.1864085-1-o.rempel@pengutronix.de> References: <20230912045459.1864085-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 (agentk.vger.email [0.0.0.0]); Mon, 11 Sep 2023 22:06:57 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email 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 --- .../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 03b5567be3897..41014f5c01c42 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