Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5805019rwd; Mon, 5 Jun 2023 08:47:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6qmD8+PRJ6ITNgkNPwGZ0G47OfE4U7OXY+w35ib/T15ktHj3Wh+Q14S37kNVYXgrtt2fwk X-Received: by 2002:a17:902:ce8f:b0:1b0:6c10:6836 with SMTP id f15-20020a170902ce8f00b001b06c106836mr4331818plg.33.1685980068958; Mon, 05 Jun 2023 08:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685980068; cv=none; d=google.com; s=arc-20160816; b=ouSn52WGmcn6IjI8pVRg5rFhDZneINxR8KeBApCmLRxZKKyR0wnv6Al0yiZb2YADFu yiWqHbXvVCAw4JImUhHYRx5Z/YhP75N4nHNGxstAjy9hjRhAtNGPN60V06kv3/RkNZnr HRi8/mEQ2d5XlY2Q1LWl6Qaa2ArJSP+ageFCEKL6PpnTtZtYo531raBubT7gM2oV8mJg Ua/aNpdjFUxV0pTDfOKIaNevINe74/X8n2gM/U0UO61c/yE9aQKEQgwDy/RKipTtfvwI Uidm1rSgAE12+lkD3vEwmRDt+IFtzt/ExxHax6xvBSpVTq4KrPIL5IkxZR8a2Ftwrqvo vgYQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LZcmBu265eWt7O+ZSRdOKiTK/GA5uscmp+S6l7f8CXI=; b=bv7w70wsiv8Fey7fF8c4gqSspHNrR+q1/wRtO33yda8XMrjLW5wUIl93mNTASAm4ZX RAF5KD7UiyqiiZ5FKmqyYJCOybdUqZmqzMg9G9LglIDJITJuZ18VkbLjFwMGmsYhnd9c pHTQ94BRvODHCgBN9j/PgIRys7KQPIwBM2de6oCRgR5ozCgoFrCGT2JdeLr3EfjOyY9t 1LtnqM4dh5jEbJcRMIWQb/Ar9pZJhOcx8x/8tp9ikCZJJ9krh9cEywQyCm37bHAsPJua aqdLpNQ6zBYuHptKU9p/PIkSO+8ukkp0UtfHJh7mjfIN8IVf4L3mq3AJz+LJLgdYXY5M sBfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=OP6jCf1A; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k5-20020a170902ba8500b001aae741abafsi5448648pls.440.2023.06.05.08.47.35; Mon, 05 Jun 2023 08:47:48 -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; dkim=pass header.i=@collabora.com header.s=mail header.b=OP6jCf1A; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234896AbjFEPkb (ORCPT + 99 others); Mon, 5 Jun 2023 11:40:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233890AbjFEPkW (ORCPT ); Mon, 5 Jun 2023 11:40:22 -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 968F9130; Mon, 5 Jun 2023 08:40:13 -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 AA0EE660036A; Mon, 5 Jun 2023 16:40:10 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685979612; bh=GZl6ZhnAnG6jIOD1vjYTq8i9dEDF+bhtGx3LOe6W+Ig=; h=From:To:Cc:Subject:Date:From; b=OP6jCf1A4MiKSEjBCv4IlmWs4/fnvnKlEkWD25RfUnm/z9zLKiX6tNXclcoXhI3iE tDLBCCd5Q3EtlLWz40vBpznWg4QDsYmqblZxAbNnt7pUI/Ayd1q7gEYo+e96X1OMyH YsnGE3TRRxevmjIwvXcP764f/faXLUov1z4EmSitCGW6GVOlgFcsufB2U8sxCGcZF5 dVfOYix7Va4lCkbobfXeg9CDg9zVIW81wS/cGJ3J7B1XRe+k4088Hke7PZczpJdQeW oElIltkn0u5ZxVN0p3QzjVfhP9kKwMt9w7SsPxN1VAnNGJG0vVy/uezDgwvTsBkqKT KEDWRdKeu36Gg== 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: [PATCH v4 0/3] net: phy: realtek: Support external PHY clock Date: Mon, 5 Jun 2023 11:40:07 -0400 Message-Id: <20230605154010.49611-1-detlev.casanova@collabora.com> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Some PHYs can use an external clock that must be enabled before communicating with them. Changes since v3: * Do not call genphy_suspend if WoL is enabled. 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