From patchwork Mon Jun 5 15:40:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Detlev Casanova X-Patchwork-Id: 10310 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2794819vqr; Mon, 5 Jun 2023 09:10:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6PQ5T6AbA25Bn8MmEuToeE5QvqL85whHlFv4hAl7vd4AU3lXe7YN1XtZZaNixjFIYRFH+S X-Received: by 2002:a17:902:e5ce:b0:1ae:7631:7fa9 with SMTP id u14-20020a170902e5ce00b001ae76317fa9mr3965086plf.37.1685981401270; Mon, 05 Jun 2023 09:10:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685981401; cv=none; d=google.com; s=arc-20160816; b=RVJArr2MMjb5O4ouyI66GeIQn2XdTmspkpjoEm7YI5dH/UlzSdJ0WoZOEZJUaVstbY Aji6nkBL6h5OmmSyXy2OrAuPiWqtIHlyUk8uLxfJSY29AsYiZl1/x+BleJWcLXMsXOy5 uAQtYIWFnKIj2Q23+MA7/PE+8yLw5z8uTVOziL5+pGqA3AhqYclvwZEyQ++eh6kcFJ1T /P48HKeTJPkjy9gj5d+SgbcsBCPi3HyYX+wPAV+f98fj05yNdSebHgrw32YsawFHsCrF Tn5wijI5GNv2UFmXN1QhRUcznt+gk6OdfKeI24iqNqi7GolpbSWaTIC0TwKYnKKzqXJ0 w91w== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d14-20020a170902cece00b001992f451a28si5840940plg.384.2023.06.05.09.09.47; Mon, 05 Jun 2023 09:10:01 -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 S234899AbjFEPkc (ORCPT + 99 others); Mon, 5 Jun 2023 11:40:32 -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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767876822578846655?= X-GMAIL-MSGID: =?utf-8?q?1767879634110083581?= 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