From patchwork Thu Jul 13 20:21:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Ardelean X-Patchwork-Id: 1807408 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=shruggie-ro.20221208.gappssmtp.com header.i=@shruggie-ro.20221208.gappssmtp.com header.a=rsa-sha256 header.s=20221208 header.b=YkD+Q83l; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4R25bz0Zyqz20bh for ; Fri, 14 Jul 2023 06:21:35 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232854AbjGMUVd (ORCPT ); Thu, 13 Jul 2023 16:21:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232770AbjGMUVc (ORCPT ); Thu, 13 Jul 2023 16:21:32 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9E71270B for ; Thu, 13 Jul 2023 13:21:29 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-3fbc77e76abso10712265e9.1 for ; Thu, 13 Jul 2023 13:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shruggie-ro.20221208.gappssmtp.com; s=20221208; t=1689279688; x=1691871688; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tu/GDhcwUxsvL43jGqclDZQDypGt+f942j4Xw/QXrGg=; b=YkD+Q83ltv+kU8HU1a1in/Vn+A/+Xwen6hJBVY+vo3OV5uUfwbiU2zsuoRGcRr6NXR QKCBiPjoCJNEBsjd9EFvtNFI+wumxisFxgWc3yqfLfLTeL/CyOeSwCifte3tAXiu8WGn XuXtW5w9SXyZEzJcQ/R9i7dj8YGVrFHwxR/pxPvTLTol/tZPHLKNqbjPiZmzf7rFDx6E Rh0URafWo0vEiE2KSlyLKp/e9pmgUtMv27OxKaNiIBVOzaumAiv09OiMbpQXw/IE81dv O14sgmFFcX3k9cC4fp1hgWZgjMzKx8Rx/H9XFSiAKOudZWz7G/z3nhjSvU4HoDw1y5Oz dNRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689279688; x=1691871688; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tu/GDhcwUxsvL43jGqclDZQDypGt+f942j4Xw/QXrGg=; b=AZRM5/lbu9kIQzKAMEawPoijVR824S251cgML6/l4YTwvWichnq7Yk4QpcgNOlIppm bEa2vykYlaBIlNln4QqKVyEIoFGDRaoFL9DcO5ZrcF9zPGY6W+IJTNaoZFY84IF605C7 m1Tf1mtgvxQdI7mm/BS7FfjDEeu2Tk2SjrJyEL7XbLpl25eeCTQPR3IBedMV1u3Tf/O8 4AiO81qcv7NTz4/uiuFETk0VMQCzpXVfeFz77w5n1tQ7bqfzIGyAqrNrTRcyZ+MI+Wc5 p4scr4jC9EonAomMMYAUAo7gZp5KuEQoyKEDu7PgOV8S/854kgYT68FsPILFVrmzO0R6 eGLw== X-Gm-Message-State: ABy/qLbjAo5B72GIM4HP89grIUYfoU/qUuf1lytJda9Nhyg+1yNssGMo fdZhDjIYGQaPxJ1W0eV9tPu0Sw== X-Google-Smtp-Source: APBJJlHBykbtYqkHA08c+4gz/CRYPt9l0egxhftE4bkM/EwH/3Exd9LU6Vp1eWCc+sTTmMpXsjpQlg== X-Received: by 2002:a7b:c40d:0:b0:3fc:1a6:7764 with SMTP id k13-20020a7bc40d000000b003fc01a67764mr2241997wmi.16.1689279688330; Thu, 13 Jul 2023 13:21:28 -0700 (PDT) Received: from localhost.localdomain ([188.27.129.168]) by smtp.gmail.com with ESMTPSA id l13-20020a5d560d000000b0031590317c26sm8880170wrv.61.2023.07.13.13.21.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 13:21:28 -0700 (PDT) From: Alexandru Ardelean To: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, olteanv@gmail.com, alex@shruggie.ro, marius.muresan@mxt.ro Subject: [PATCH v2 2/2] dt-bindings: net: phy: vsc8531: document 'vsc8531,clkout-freq-mhz' property Date: Thu, 13 Jul 2023 23:21:23 +0300 Message-ID: <20230713202123.231445-2-alex@shruggie.ro> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230713202123.231445-1-alex@shruggie.ro> References: <20230713202123.231445-1-alex@shruggie.ro> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org For VSC8351 and similar PHYs, a new property was added to generate a clock signal on the CLKOUT pin. This change documents the change in the device-tree bindings doc. Signed-off-by: Alexandru Ardelean --- Changelog v1 -> v2: * https://lore.kernel.org/netdev/20230706081554.1616839-2-alex@shruggie.ro/ * changed property name 'vsc8531,clkout-freq-mhz' -> 'mscc,clkout-freq-mhz' as requested by Rob * added 'net-next' tag as requested by Andrew Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt b/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt index 0a3647fe331b..085d0e8a834e 100644 --- a/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt +++ b/Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt @@ -31,6 +31,10 @@ Optional properties: VSC8531_LINK_100_ACTIVITY (2), VSC8531_LINK_ACTIVITY (0) and VSC8531_DUPLEX_COLLISION (8). +- mscc,clkout-freq-mhz : For VSC8531 and similar PHYs, this will output + a clock signal on the CLKOUT pin of the chip. + The supported values are 25, 50 & 125 Mhz. + Default value is no clock signal on the CLKOUT pin. - load-save-gpios : GPIO used for the load/save operation of the PTP hardware clock (PHC). @@ -69,5 +73,6 @@ Example: vsc8531,edge-slowdown = <7>; vsc8531,led-0-mode = ; vsc8531,led-1-mode = ; + mscc,clkout-freq-mhz = <50>; load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>; };