From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37EBAC77B73 for ; Mon, 5 Jun 2023 15:20:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234509AbjFEPUQ (ORCPT ); Mon, 5 Jun 2023 11:20:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234363AbjFEPUN (ORCPT ); Mon, 5 Jun 2023 11:20:13 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07141D2; Mon, 5 Jun 2023 08:20:12 -0700 (PDT) Received: from arisu.mtl.collabora.ca (mtl.collabora.ca [66.171.169.34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: detlev) by madras.collabora.co.uk (Postfix) with ESMTPSA id BCAD26600368; Mon, 5 Jun 2023 16:20:09 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685978411; bh=Ye2OPJTrKVJ6tXJ7CFNhgEilyt6Zi31GJyG9LSEVmZY=; h=From:To:Cc:Subject:Date:From; b=Pe0WnA1vJCDPhX6P6HNWN4SRl5A7/ZytShvV/StDkqw46eGnVTXBp+SIpBNe2SDu/ 7wyzcm38TOsUrz/Zy3tlZnq/5CkYTy5dDVvWIacHFRPzW9htiEUUZr9f+UD7+uSZ/9 4wd9KiaEHpFulI2tI6CbSLngCPy1nnEPFqRVq0awUne79rg+7Go3K8Q7jbeoMAv7ZH kn/7GAmwZYAfUdHTo5dMEH+OsT5v0yAV2stDLDoO7U4FV1IZ7GVKmrC3QtLiWecXru Ny1GWeQURhkjsxLP9aaRWzRgFXiAu6NYErAjEQ5GS2xL8dpDeagmGg0asDw30T/4O3 HGH69cvay9mQw== From: Detlev Casanova To: linux-kernel@vger.kernel.org Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , netdev@vger.kernel.org, devicetree@vger.kernel.org Subject: net: phy: realtek: Support external PHY clock Date: Mon, 5 Jun 2023 11:19:50 -0400 Message-Id: <20230605151953.48539-1-detlev.casanova@collabora.com> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some PHYs can use an external clock that must be enabled before communicating with them. Changes since v2: * Reword documentation commit message Changes since v1: * Remove the clock name as it is not guaranteed to be identical across different PHYs * Disable/Enable the clock when suspending/resuming