Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2595704rwd; Fri, 2 Jun 2023 11:35:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5l435jCaTfYAEBJ9Xlu1beIo5e9zCIIQzV/lvHd5YQoPx1EcVhZsbWZ//V9FBzaT2p7/KA X-Received: by 2002:a05:6a20:43a9:b0:110:f66c:a0f6 with SMTP id i41-20020a056a2043a900b00110f66ca0f6mr8907128pzl.23.1685730944366; Fri, 02 Jun 2023 11:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685730944; cv=none; d=google.com; s=arc-20160816; b=N8oR5Acj+y47uX+BP99NG+9SU2mhWqOFoeUr0P2EzQTXo+8Rfvk4g0DRxSgpQExMmv Av5p5BtQrcXaDOQDbgs7z4Uldbk6RYUtlLdi1TKxyZsYrBtG68GVcRjI86Uuf+OaL1rE RMjMXQK52WxetOo/50kiiIzoayXrMiqLkLIroUsPnr+4eobiRy5ztjy+dUkoIA1EzBEc lzvLU7IDfanQOLTpSk+6nhxTfLW7mABrkFWqU+wS/z6PVcuLycHsULt/67g47AVOslmN 0JHe918CENlbyo8OdWwXwyy9ZZjnICz0TKrulkFOO+C+k+LM93fiSncJJRyg07tlCyAw UK0A== 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=TtdJP8ohGSP6I979AVSW+luTZFo4Dkoo/NJMVPV9qeE=; b=B7PHJuLFsAl9W3UITEGoU+eQ4A2z80imiUvDugWfU+xl8anG+KbZFQWBmCEHRAFoEc 0erBN+jVIoMXjfIIo4JLVBHgtaADVS25SFe0Snih9jsRO/jQoAQtWjaaUIv8uWhMOEjv Yy40x3qTRUFfxTb0z+Y8GuvTNA2YLa4LQkdOVIugHy85cN0NgPT7LOGQCyQxAd2qm8Zk TNAeVxV6rFSeqadpKouKhrF67hRESG19zdrLR53ZdOrU5evdmnscCme6x6+YDPmOUT7q 6InA7BItNi15eJmXVVq6NSfqkpwRDSxxyU+0h95sSO3Qm2ZtDqi8yDL1xj56B+8/s94T gi9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Mz9YqxM6; 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 s28-20020a63525c000000b0053ef1b5a506si1328718pgl.275.2023.06.02.11.35.29; Fri, 02 Jun 2023 11:35:44 -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=Mz9YqxM6; 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 S236351AbjFBS1L (ORCPT + 99 others); Fri, 2 Jun 2023 14:27:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235575AbjFBS1J (ORCPT ); Fri, 2 Jun 2023 14:27:09 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C7AA123; Fri, 2 Jun 2023 11:27:07 -0700 (PDT) Received: from arisu.hitronhub.home (unknown [23.233.251.139]) (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 63A1266066EC; Fri, 2 Jun 2023 19:27:04 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685730425; bh=oceu11ynUm4Aadbni5SseGKgOMyd/2PaucSJemy3+Ek=; h=From:To:Cc:Subject:Date:From; b=Mz9YqxM6QV+KY0Yku7jxz+kI54+5/oaIEkaJ5jyABtgogIc0ivvkN9LbY9cLih19r a+jCjeOLROW34zp3QOeq2L/zjIOTH6fsHU6HDxZkD7ZqTEysQWa/d0f9dXU1obtZXr METtnrlm0HEOlRJA48hC94X34k1/WOXUKuTybrQ1Pia6VHDdM0h86SCCcxmRd0LCTp itOqag2iifQZ2hp7eych3eqiklie1hlSDPOPAczilfnVq1xABZ/YXbZ2fzMBfd6lgo 80KTDTBiJR9rsE1ccGw9QJIO7KWAOji+Ehz0MJScdbquc8OLUad5HpLRujtJfgEecC F4uD8jMq6xqYQ== 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: Fri, 2 Jun 2023 14:26:56 -0400 Message-Id: <20230602182659.307876-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,URIBL_BLOCKED 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 Hi, thank you for your comments ! HEre are the changes that were discussed. Some PHYs can use an external clock that must be enabled before probing it. 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